.react-flow{--xy-edge-stroke-default:#b1b1b7;--xy-edge-stroke-width-default:1;--xy-edge-stroke-selected-default:#555;--xy-connectionline-stroke-default:#b1b1b7;--xy-connectionline-stroke-width-default:1;--xy-attribution-background-color-default:#ffffff80;--xy-minimap-background-color-default:#fff;--xy-minimap-mask-background-color-default:#f0f0f099;--xy-minimap-mask-stroke-color-default:transparent;--xy-minimap-mask-stroke-width-default:1;--xy-minimap-node-background-color-default:#e2e2e2;--xy-minimap-node-stroke-color-default:transparent;--xy-minimap-node-stroke-width-default:2;--xy-background-color-default:transparent;--xy-background-pattern-dots-color-default:#91919a;--xy-background-pattern-lines-color-default:#eee;--xy-background-pattern-cross-color-default:#e2e2e2;background-color:var(--xy-background-color,var(--xy-background-color-default));--xy-node-color-default:inherit;--xy-node-border-default:1px solid #1a192b;--xy-node-background-color-default:#fff;--xy-node-group-background-color-default:#f0f0f040;--xy-node-boxshadow-hover-default:0 1px 4px 1px #00000014;--xy-node-boxshadow-selected-default:0 0 0 .5px #1a192b;--xy-node-border-radius-default:3px;--xy-handle-background-color-default:#1a192b;--xy-handle-border-color-default:#fff;--xy-selection-background-color-default:#0059dc14;--xy-selection-border-default:1px dotted #0059dccc;--xy-controls-button-background-color-default:#fefefe;--xy-controls-button-background-color-hover-default:#f4f4f4;--xy-controls-button-color-default:inherit;--xy-controls-button-color-hover-default:inherit;--xy-controls-button-border-color-default:#eee;--xy-controls-box-shadow-default:0 0 2px 1px #00000014;--xy-edge-label-background-color-default:#fff;--xy-edge-label-color-default:inherit;--xy-resize-background-color-default:#3367d9;direction:ltr}.react-flow.dark{--xy-edge-stroke-default:#3e3e3e;--xy-edge-stroke-width-default:1;--xy-edge-stroke-selected-default:#727272;--xy-connectionline-stroke-default:#b1b1b7;--xy-connectionline-stroke-width-default:1;--xy-attribution-background-color-default:#96969640;--xy-minimap-background-color-default:#141414;--xy-minimap-mask-background-color-default:#3c3c3c99;--xy-minimap-mask-stroke-color-default:transparent;--xy-minimap-mask-stroke-width-default:1;--xy-minimap-node-background-color-default:#2b2b2b;--xy-minimap-node-stroke-color-default:transparent;--xy-minimap-node-stroke-width-default:2;--xy-background-color-default:#141414;--xy-background-pattern-dots-color-default:#555;--xy-background-pattern-lines-color-default:#333;--xy-background-pattern-cross-color-default:#333;--xy-node-color-default:#f8f8f8;--xy-node-border-default:1px solid #3c3c3c;--xy-node-background-color-default:#1e1e1e;--xy-node-group-background-color-default:#f0f0f040;--xy-node-boxshadow-hover-default:0 1px 4px 1px #ffffff14;--xy-node-boxshadow-selected-default:0 0 0 .5px #999;--xy-handle-background-color-default:#bebebe;--xy-handle-border-color-default:#1e1e1e;--xy-selection-background-color-default:#c8c8dc14;--xy-selection-border-default:1px dotted #c8c8dccc;--xy-controls-button-background-color-default:#2b2b2b;--xy-controls-button-background-color-hover-default:#3e3e3e;--xy-controls-button-color-default:#f8f8f8;--xy-controls-button-color-hover-default:#fff;--xy-controls-button-border-color-default:#5b5b5b;--xy-controls-box-shadow-default:0 0 2px 1px #00000014;--xy-edge-label-background-color-default:#141414;--xy-edge-label-color-default:#f8f8f8}.react-flow__background{background-color:var(--xy-background-color-props,var(--xy-background-color,var(--xy-background-color-default)));pointer-events:none;z-index:-1}.react-flow__container{width:100%;height:100%;position:absolute;top:0;left:0}.react-flow__pane{z-index:1;touch-action:none}.react-flow__pane.draggable{cursor:grab}.react-flow__pane.dragging{cursor:grabbing}.react-flow__pane.selection{cursor:pointer}.react-flow__viewport{transform-origin:0 0;z-index:2;pointer-events:none}.react-flow__renderer{z-index:4}.react-flow__selection{z-index:6}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible{outline:none}.react-flow__edge-path{stroke:var(--xy-edge-stroke,var(--xy-edge-stroke-default));stroke-width:var(--xy-edge-stroke-width,var(--xy-edge-stroke-width-default));fill:none}.react-flow__connection-path{stroke:var(--xy-connectionline-stroke,var(--xy-connectionline-stroke-default));stroke-width:var(--xy-connectionline-stroke-width,var(--xy-connectionline-stroke-width-default));fill:none}.react-flow .react-flow__edges{position:absolute}.react-flow .react-flow__edges svg{pointer-events:none;position:absolute;overflow:visible}.react-flow__edge{pointer-events:visibleStroke}.react-flow__edge.selectable{cursor:pointer}.react-flow__edge.animated path{stroke-dasharray:5;animation:.5s linear infinite dashdraw}.react-flow__edge.animated path.react-flow__edge-interaction{stroke-dasharray:none;animation:none}.react-flow__edge.inactive{pointer-events:none}.react-flow__edge.selected,.react-flow__edge:focus,.react-flow__edge:focus-visible{outline:none}.react-flow__edge.selected .react-flow__edge-path,.react-flow__edge.selectable:focus .react-flow__edge-path,.react-flow__edge.selectable:focus-visible .react-flow__edge-path{stroke:var(--xy-edge-stroke-selected,var(--xy-edge-stroke-selected-default))}.react-flow__edge-textwrapper{pointer-events:all}.react-flow__edge .react-flow__edge-text{pointer-events:none;-webkit-user-select:none;user-select:none}.react-flow__arrowhead polyline{stroke:var(--xy-edge-stroke,var(--xy-edge-stroke-default))}.react-flow__arrowhead polyline.arrowclosed{fill:var(--xy-edge-stroke,var(--xy-edge-stroke-default))}.react-flow__connection{pointer-events:none}.react-flow__connection .animated{stroke-dasharray:5;animation:.5s linear infinite dashdraw}svg.react-flow__connectionline{z-index:1001;position:absolute;overflow:visible}.react-flow__nodes{pointer-events:none;transform-origin:0 0}.react-flow__node{-webkit-user-select:none;user-select:none;pointer-events:all;transform-origin:0 0;box-sizing:border-box;cursor:default;position:absolute}.react-flow__node.selectable{cursor:pointer}.react-flow__node.draggable{cursor:grab;pointer-events:all}.react-flow__node.draggable.dragging{cursor:grabbing}.react-flow__nodesselection{z-index:3;transform-origin:0 0;pointer-events:none}.react-flow__nodesselection-rect{pointer-events:all;cursor:grab;position:absolute}.react-flow__handle{pointer-events:none;background-color:var(--xy-handle-background-color,var(--xy-handle-background-color-default));border:1px solid var(--xy-handle-border-color,var(--xy-handle-border-color-default));border-radius:100%;width:6px;min-width:5px;height:6px;min-height:5px;position:absolute}.react-flow__handle.connectingfrom{pointer-events:all}.react-flow__handle.connectionindicator{pointer-events:all;cursor:crosshair}.react-flow__handle-bottom{top:auto;bottom:0;left:50%;transform:translate(-50%,50%)}.react-flow__handle-top{top:0;left:50%;transform:translate(-50%,-50%)}.react-flow__handle-left{top:50%;left:0;transform:translate(-50%,-50%)}.react-flow__handle-right{top:50%;right:0;transform:translate(50%,-50%)}.react-flow__edgeupdater{cursor:move;pointer-events:all}.react-flow__pane.selection .react-flow__panel{pointer-events:none}.react-flow__panel{z-index:5;margin:15px;position:absolute}.react-flow__panel.top{top:0}.react-flow__panel.bottom{bottom:0}.react-flow__panel.top.center,.react-flow__panel.bottom.center{left:50%;transform:translate(-15px)translate(-50%)}.react-flow__panel.left{left:0}.react-flow__panel.right{right:0}.react-flow__panel.left.center,.react-flow__panel.right.center{top:50%;transform:translateY(-15px)translateY(-50%)}.react-flow__attribution{background:var(--xy-attribution-background-color,var(--xy-attribution-background-color-default));margin:0;padding:2px 3px;font-size:10px}.react-flow__attribution a{color:#999;text-decoration:none}@keyframes dashdraw{0%{stroke-dashoffset:10px}}.react-flow__edgelabel-renderer{pointer-events:none;-webkit-user-select:none;user-select:none;width:100%;height:100%;position:absolute;top:0;left:0}.react-flow__viewport-portal{-webkit-user-select:none;user-select:none;width:100%;height:100%;position:absolute;top:0;left:0}.react-flow__minimap{background:var(--xy-minimap-background-color-props,var(--xy-minimap-background-color,var(--xy-minimap-background-color-default)))}.react-flow__minimap-svg{display:block}.react-flow__minimap-mask{fill:var(--xy-minimap-mask-background-color-props,var(--xy-minimap-mask-background-color,var(--xy-minimap-mask-background-color-default)));stroke:var(--xy-minimap-mask-stroke-color-props,var(--xy-minimap-mask-stroke-color,var(--xy-minimap-mask-stroke-color-default)));stroke-width:var(--xy-minimap-mask-stroke-width-props,var(--xy-minimap-mask-stroke-width,var(--xy-minimap-mask-stroke-width-default)))}.react-flow__minimap-node{fill:var(--xy-minimap-node-background-color-props,var(--xy-minimap-node-background-color,var(--xy-minimap-node-background-color-default)));stroke:var(--xy-minimap-node-stroke-color-props,var(--xy-minimap-node-stroke-color,var(--xy-minimap-node-stroke-color-default)));stroke-width:var(--xy-minimap-node-stroke-width-props,var(--xy-minimap-node-stroke-width,var(--xy-minimap-node-stroke-width-default)))}.react-flow__background-pattern.dots{fill:var(--xy-background-pattern-color-props,var(--xy-background-pattern-color,var(--xy-background-pattern-dots-color-default)))}.react-flow__background-pattern.lines{stroke:var(--xy-background-pattern-color-props,var(--xy-background-pattern-color,var(--xy-background-pattern-lines-color-default)))}.react-flow__background-pattern.cross{stroke:var(--xy-background-pattern-color-props,var(--xy-background-pattern-color,var(--xy-background-pattern-cross-color-default)))}.react-flow__controls{box-shadow:var(--xy-controls-box-shadow,var(--xy-controls-box-shadow-default));flex-direction:column;display:flex}.react-flow__controls.horizontal{flex-direction:row}.react-flow__controls-button{background:var(--xy-controls-button-background-color,var(--xy-controls-button-background-color-default));border:none;border-bottom:1px solid var(--xy-controls-button-border-color-props,var(--xy-controls-button-border-color,var(--xy-controls-button-border-color-default)));width:26px;height:26px;color:var(--xy-controls-button-color-props,var(--xy-controls-button-color,var(--xy-controls-button-color-default)));cursor:pointer;-webkit-user-select:none;user-select:none;justify-content:center;align-items:center;padding:4px;display:flex}.react-flow__controls-button svg{fill:currentColor;width:100%;max-width:12px;max-height:12px}.react-flow__edge.updating .react-flow__edge-path{stroke:#777}.react-flow__edge-text{font-size:10px}.react-flow__node.selectable:focus,.react-flow__node.selectable:focus-visible{outline:none}.react-flow__node-input,.react-flow__node-default,.react-flow__node-output,.react-flow__node-group{border-radius:var(--xy-node-border-radius,var(--xy-node-border-radius-default));width:150px;color:var(--xy-node-color,var(--xy-node-color-default));text-align:center;border:var(--xy-node-border,var(--xy-node-border-default));background-color:var(--xy-node-background-color,var(--xy-node-background-color-default));padding:10px;font-size:12px}.react-flow__node-input.selectable:hover,.react-flow__node-default.selectable:hover,.react-flow__node-output.selectable:hover,.react-flow__node-group.selectable:hover{box-shadow:var(--xy-node-boxshadow-hover,var(--xy-node-boxshadow-hover-default))}.react-flow__node-input.selectable.selected,.react-flow__node-input.selectable:focus,.react-flow__node-input.selectable:focus-visible,.react-flow__node-default.selectable.selected,.react-flow__node-default.selectable:focus,.react-flow__node-default.selectable:focus-visible,.react-flow__node-output.selectable.selected,.react-flow__node-output.selectable:focus,.react-flow__node-output.selectable:focus-visible,.react-flow__node-group.selectable.selected,.react-flow__node-group.selectable:focus,.react-flow__node-group.selectable:focus-visible{box-shadow:var(--xy-node-boxshadow-selected,var(--xy-node-boxshadow-selected-default))}.react-flow__node-group{background-color:var(--xy-node-group-background-color,var(--xy-node-group-background-color-default))}.react-flow__nodesselection-rect,.react-flow__selection{background:var(--xy-selection-background-color,var(--xy-selection-background-color-default));border:var(--xy-selection-border,var(--xy-selection-border-default))}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible,.react-flow__selection:focus,.react-flow__selection:focus-visible{outline:none}.react-flow__controls-button:hover{background:var(--xy-controls-button-background-color-hover-props,var(--xy-controls-button-background-color-hover,var(--xy-controls-button-background-color-hover-default)));color:var(--xy-controls-button-color-hover-props,var(--xy-controls-button-color-hover,var(--xy-controls-button-color-hover-default)))}.react-flow__controls-button:disabled{pointer-events:none}.react-flow__controls-button:disabled svg{fill-opacity:.4}.react-flow__controls-button:last-child{border-bottom:none}.react-flow__controls.horizontal .react-flow__controls-button{border-bottom:none;border-right:1px solid var(--xy-controls-button-border-color-props,var(--xy-controls-button-border-color,var(--xy-controls-button-border-color-default)))}.react-flow__controls.horizontal .react-flow__controls-button:last-child{border-right:none}.react-flow__resize-control{position:absolute}.react-flow__resize-control.left,.react-flow__resize-control.right{cursor:ew-resize}.react-flow__resize-control.top,.react-flow__resize-control.bottom{cursor:ns-resize}.react-flow__resize-control.top.left,.react-flow__resize-control.bottom.right{cursor:nwse-resize}.react-flow__resize-control.bottom.left,.react-flow__resize-control.top.right{cursor:nesw-resize}.react-flow__resize-control.handle{background-color:var(--xy-resize-background-color,var(--xy-resize-background-color-default));border:1px solid #fff;border-radius:1px;width:5px;height:5px;translate:-50% -50%}.react-flow__resize-control.handle.left{top:50%;left:0}.react-flow__resize-control.handle.right{top:50%;left:100%}.react-flow__resize-control.handle.top{top:0;left:50%}.react-flow__resize-control.handle.bottom{top:100%;left:50%}.react-flow__resize-control.handle.top.left,.react-flow__resize-control.handle.bottom.left{left:0}.react-flow__resize-control.handle.top.right,.react-flow__resize-control.handle.bottom.right{left:100%}.react-flow__resize-control.line{border-color:var(--xy-resize-background-color,var(--xy-resize-background-color-default));border-style:solid;border-width:0}.react-flow__resize-control.line.left,.react-flow__resize-control.line.right{width:1px;height:100%;top:0;transform:translate(-50%)}.react-flow__resize-control.line.left{border-left-width:1px;left:0}.react-flow__resize-control.line.right{border-right-width:1px;left:100%}.react-flow__resize-control.line.top,.react-flow__resize-control.line.bottom{width:100%;height:1px;left:0;transform:translateY(-50%)}.react-flow__resize-control.line.top{border-top-width:1px;top:0}.react-flow__resize-control.line.bottom{border-bottom-width:1px;top:100%}.react-flow__edge-textbg{fill:var(--xy-edge-label-background-color,var(--xy-edge-label-background-color-default))}.react-flow__edge-text{fill:var(--xy-edge-label-color,var(--xy-edge-label-color-default))}:root{--paper:#f4eedd;--panel:#fff9eb;--ink:#201b18;--muted:#665e54;--wine:#7b181c;--gold:#a57a32;--line:#d8cbb4;--rubie-ui-build:47}*{box-sizing:border-box}body{background:var(--paper);color:var(--ink);margin:0;font-family:Inter,Arial,sans-serif}button,input,textarea{font:inherit}button{cursor:pointer}.app-shell{background:radial-gradient(circle at 75% 5%,#ffffffa6,#0000 34%),linear-gradient(120deg,#f6f0df,#f2ead6);min-height:100vh;display:flex}.sidebar{border-right:1px solid var(--line);z-index:5;background:#f7f0dfe0;flex-direction:column;width:220px;padding:26px 16px 24px;display:flex;position:fixed;inset:0 auto 0 0}.brand{align-items:center;gap:13px;padding:0 7px 34px;display:flex}.brand>span{background:var(--wine);color:#e8c48a;border-radius:8px;place-items:center;width:52px;height:64px;font-family:Georgia,serif;font-size:24px;display:grid;box-shadow:inset 0 0 0 3px #5d1114,0 4px 10px #57340b25}.brand div{flex-direction:column;display:flex}.brand strong{font:600 18px Georgia,serif}.brand small{color:var(--muted);margin-top:2px;font-size:13px}.sidebar nav{gap:8px;display:grid}.sidebar nav button,.settings{color:#3b342e;text-align:left;background:0 0;border:0;border-radius:9px;align-items:center;gap:13px;padding:15px 14px;display:flex}.sidebar nav .nav-active{color:var(--wine);background:#eee3cd;box-shadow:inset 0 0 0 1px #dfd0b7}.new-chapter{border:1px solid var(--wine);color:var(--wine);background:0 0;border-radius:9px;justify-content:center;align-items:center;gap:10px;margin-top:auto;padding:14px 17px;font-family:Georgia,serif;font-size:16px;display:flex}.settings{border-top:1px solid var(--line);color:#756b60;border-radius:0;margin-top:22px;padding-top:22px}.topbar{border-bottom:1px solid var(--line);background:#f9f3e5aa;justify-content:space-between;align-items:center;min-height:124px;padding:28px 3.4vw;display:flex}.project-title{width:min(650px,48vw);color:var(--ink);background:0 0;border:0;outline:none;padding:0;font:500 clamp(28px,2.5vw,40px) Georgia,serif;display:block}.meta{color:var(--muted);align-items:center;gap:10px;margin-top:8px;font-size:14px;display:flex}.meta i{background:var(--gold);border-radius:50%;width:4px;height:4px}.status-dot{background:var(--wine);border-radius:50%;width:8px;height:8px}.header-actions{align-items:center;gap:13px;display:flex}.saved{color:var(--muted);white-space:nowrap;align-items:center;gap:6px;font-size:14px;display:flex}.connection{color:#5f735e;background:#e7eee1;border:1px solid #cddbc5;border-radius:99px;padding:5px 8px;font-size:11px}.connection.offline{color:#7b181c;background:#f7e6df;border-color:#e6c7bc}.install{border:1px solid var(--wine);color:var(--wine);background:#fff9eb;border-radius:9px;align-items:center;gap:8px;padding:14px 16px;font-family:Georgia,serif;font-size:15px;display:flex}.export,.done{color:#fff5e6;background:linear-gradient(#841c21,#691216);border:0;border-radius:9px;align-items:center;gap:10px;padding:16px 21px;font-family:Georgia,serif;font-size:16px;display:flex;box-shadow:0 4px 12px #6b10142a}.icon-button{border:1px solid var(--line);color:#4d433a;background:#f8f0df;border-radius:9px;place-items:center;width:46px;height:46px;display:grid}.content{padding:25px 3vw 42px}.section-heading{justify-content:space-between;align-items:end;margin-bottom:17px;display:flex}.section-heading h1{margin:0 0 7px;font:500 clamp(28px,2.3vw,38px) Georgia,serif}.section-heading p{color:var(--muted);margin:0}.mobile-add{display:none}.chapter-grid{grid-template-columns:repeat(3,minmax(230px,1fr));gap:20px;display:grid}.chapter-card{border:1px solid var(--line);-webkit-user-select:none;user-select:none;cursor:pointer;background:linear-gradient(145deg,#fffaf0,#fbf3e2);border-radius:11px;min-height:180px;padding:18px 21px;transition:all .18s;box-shadow:0 6px 15px #4d351319}.chapter-card.selected{border:2px solid var(--wine);background:linear-gradient(145deg,#fff9ed,#fbefe7);padding:17px 20px}.chapter-card.dragging{opacity:.42;transform:scale(.98)}.card-top{color:var(--gold);text-transform:uppercase;letter-spacing:.08em;align-items:center;gap:11px;font-size:12px;display:flex}.card-top .grip{color:#342d27;cursor:grab}.card-top>svg:last-child,.card-check{margin-left:auto}.card-check{background:var(--wine);color:#fff;border-radius:50%;place-items:center;width:24px;height:24px;display:grid}.chapter-card h2{margin:13px 0 8px;font:500 clamp(23px,2vw,30px) Georgia,serif}.chapter-card p{color:#5d554d;-webkit-line-clamp:3;-webkit-box-orient:vertical;margin:0;font-size:14px;line-height:1.52;display:-webkit-box;overflow:hidden}.add-card{min-height:180px;color:var(--wine);background:#f9f1df75;border:1.5px dashed #bca98a;border-radius:11px;flex-direction:column;justify-content:center;align-items:center;gap:10px;font-family:Georgia,serif;font-size:17px;display:flex}.preview-panel{border:1px solid var(--line);border-left:3px solid var(--wine);background:#fff9ebd9;border-radius:10px;grid-template-columns:2fr 1fr;margin-top:20px;display:grid;overflow:hidden;box-shadow:0 5px 14px #4d351315}.preview-copy{padding:25px 28px}.preview-title{align-items:center;gap:20px;display:flex}.preview-title span{color:var(--wine);font:500 16px Georgia,serif}.preview-title i{background:#938878;width:24px;height:1px}.preview-title h2{margin:0;font:500 clamp(26px,2.5vw,38px) Georgia,serif}.preview-copy>p{white-space:pre-line;color:#49413a;max-height:75px;font:15px/1.55 Georgia,serif;overflow:hidden}.preview-copy small{color:var(--muted)}.preview-action{text-align:center;color:var(--wine);border-left:1px solid #e3d6c0;flex-direction:column;justify-content:center;align-items:center;padding:20px;display:flex}.preview-action p{color:#5e554c;line-height:1.4}.preview-action button{background:var(--wine);color:#fff7e8;border:0;border-radius:8px;align-items:center;gap:9px;padding:14px 20px;font-family:Georgia,serif;font-size:16px;display:flex}.modal-backdrop{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);z-index:20;background:#251a14a8;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.editor-modal{background:#fbf5e8;border-radius:13px;flex-direction:column;width:min(950px,95vw);height:min(800px,92vh);display:flex;overflow:hidden;box-shadow:0 24px 80px #1e0e08a0}.editor-modal header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;padding:22px 28px;display:flex}.editor-modal header span{color:var(--gold);text-transform:uppercase;letter-spacing:.1em;margin-bottom:4px;font-size:12px;display:block}.editor-modal header input{background:0 0;border:0;outline:none;width:min(700px,70vw);font:500 30px Georgia,serif}.editor-modal label{color:#756a5e;text-transform:uppercase;letter-spacing:.08em;flex-direction:column;padding:15px 28px 0;font-size:12px;display:flex}.editor-modal textarea{resize:none;border:1px solid var(--line);color:var(--ink);text-transform:none;letter-spacing:0;background:#fffaf0;border-radius:8px;outline:none}.summary-editor{height:70px;margin-top:7px;padding:10px 12px;font:14px/1.45 Inter,sans-serif}.editor-modal label:has(.text-editor){flex:1;min-height:0}.text-editor{flex:1;margin-top:7px;padding:20px 24px;font:18px/1.75 Georgia,serif}.editor-modal footer{border-top:1px solid var(--line);color:var(--muted);justify-content:space-between;align-items:center;padding:16px 28px;font-size:13px;display:flex}.editor-modal footer div{gap:10px;display:flex}.delete{color:#8b2e2e;background:0 0;border:1px solid #cbbca5;border-radius:8px;align-items:center;gap:7px;padding:11px 14px;display:flex}.done{padding:11px 24px}@media (width<=1100px){.chapter-grid{grid-template-columns:repeat(2,1fr)}.saved{display:none}.preview-panel{grid-template-columns:1fr}.preview-action{border-top:1px solid #e3d6c0;border-left:0}.preview-action>svg,.preview-action p{display:none}.preview-action button{margin:12px}.export{font-size:0}.export svg{margin:0}.project-title{width:45vw}}@media (width<=760px){.sidebar{display:none}.workspace{width:100%;margin-left:0}.topbar{min-height:auto;padding:18px 20px}.project-title{width:58vw;font-size:24px}.meta{font-size:12px}.header-actions .icon-button{display:none}.export{padding:13px}.content{padding:22px 18px}.section-heading{align-items:center}.section-heading p{font-size:13px}.mobile-add{border:1px solid var(--wine);color:var(--wine);background:0 0;border-radius:8px;align-items:center;gap:6px;padding:9px;font-size:0;display:flex}.chapter-grid{grid-template-columns:1fr}.chapter-card,.add-card{min-height:165px}.preview-panel{display:none}.editor-modal{width:98vw;height:96vh}.editor-modal header input{width:70vw;font-size:23px}.editor-modal label,.editor-modal header,.editor-modal footer{padding-left:17px;padding-right:17px}}.project-picker{color:#776b5e;text-transform:uppercase;letter-spacing:.08em;flex-direction:column;gap:6px;padding:0 4px 10px;font-size:11px;display:flex}.project-picker select{border:1px solid var(--line);width:100%;color:var(--ink);text-transform:none;letter-spacing:0;white-space:nowrap;text-overflow:ellipsis;background:#fff9eb;border-radius:8px;padding:10px 30px 10px 10px;font:15px Georgia,serif;overflow:hidden}.project-actions{gap:5px;margin:0 4px 16px;display:grid}.add-project,.delete-project{color:var(--wine);background:#f9f0dc;border:1px dashed #a78863;border-radius:8px;justify-content:center;align-items:center;gap:7px;padding:9px;font:14px Georgia,serif;display:flex}.delete-project{color:#93635e;background:0 0;border-color:#0000;font:12px Inter,sans-serif}.delete-project:hover:not(:disabled){color:#7b181c;background:#f5e3dc}.delete-project:disabled{opacity:.38;cursor:not-allowed}.sidebar .new-chapter{margin-top:auto}.note-mark{color:var(--wine);margin-left:auto}.note-mark+.card-check{margin-left:0}.delete-chapter-card{color:#a3726b;opacity:.28;background:0 0;border:0;border-radius:5px;place-items:center;margin-left:auto;padding:4px;transition:all .15s;display:grid}.chapter-card:hover .delete-chapter-card,.chapter-card.selected .delete-chapter-card{opacity:1}.delete-chapter-card:hover{color:#7b181c;background:#f2ddd5}.card-check+.delete-chapter-card{margin-left:0}.feature-view{max-width:1180px;margin:0 auto}.view-heading{justify-content:space-between;align-items:flex-end;margin-bottom:25px;display:flex}.view-heading h1{margin:0 0 7px;font:500 clamp(30px,3vw,42px) Georgia,serif}.view-heading p{color:var(--muted);margin:0}.primary-small{background:var(--wine);color:#fff8e9;border:0;border-radius:8px;align-items:center;gap:8px;padding:12px 17px;font-family:Georgia,serif;display:flex}.search-box{border:1px solid var(--line);height:62px;color:var(--wine);background:#fffaf0;border-radius:12px;align-items:center;gap:12px;padding:0 18px;display:flex;box-shadow:0 5px 16px #50361413}.search-box input{color:var(--ink);background:0 0;border:0;outline:none;flex:1;font:19px Georgia,serif}.search-box button{color:#817568;background:0 0;border:0;padding:8px}.result-count{color:var(--muted);margin:15px 2px;font-size:13px}.result-list{gap:12px;display:grid}.result-list>button{border:1px solid var(--line);text-align:left;color:var(--ink);background:#fff9eb;border-radius:10px;padding:17px 21px;transition:all .15s}.result-list>button:hover{border-color:var(--wine);transform:translate(3px)}.result-list span{color:var(--gold);text-transform:uppercase;font-size:11px}.result-list h2{margin:5px 0;font:500 24px Georgia,serif}.result-list p{color:var(--muted);margin:0}.empty-state{text-align:center;color:#958878;flex-direction:column;justify-content:center;align-items:center;min-height:260px;display:flex}.empty-state h2{color:#5d5349;margin:15px 0 5px;font:500 25px Georgia,serif}.empty-state p{margin:0}.character-grid{grid-template-columns:repeat(3,minmax(240px,1fr));gap:18px;display:grid}.character-card,.add-character-card{border:1px solid var(--line);background:#fff9eb;border-radius:12px;flex-direction:column;min-height:330px;padding:20px;display:flex;box-shadow:0 5px 14px #50361412}.character-icon{width:44px;height:44px;color:var(--wine);background:#f0dfc5;border-radius:50%;place-items:center;margin-bottom:13px;display:grid}.character-card input,.character-card textarea{color:var(--ink);background:0 0;border:0;border-bottom:1px solid #e2d4bd;outline:none}.character-name{padding:5px 0;font:500 25px Georgia,serif}.character-role{color:var(--gold);padding:9px 0}.character-card textarea{resize:none;flex:1;padding:12px 0;font:14px/1.55 Inter,sans-serif}.card-delete{color:#9a5d58;background:0 0;border:0;align-self:flex-start;align-items:center;gap:6px;padding:9px 0 0;font-size:12px;display:flex}.add-character-card{color:var(--wine);background:#f9f1df75;border-style:dashed;justify-content:center;align-items:center;gap:11px;font:17px Georgia,serif}.project-notes{border:1px solid var(--line);color:var(--gold);background:#fff9eb;border-radius:12px;grid-template-columns:auto 1fr;gap:16px;padding:21px;display:grid;box-shadow:0 5px 14px #50361412}.project-notes textarea{resize:vertical;min-height:190px;color:var(--ink);background:0 0;border:0;outline:none;font:17px/1.65 Georgia,serif}.subheading{margin:32px 0 15px;font:500 28px Georgia,serif}.chapter-notes-list{gap:12px;display:grid}.chapter-notes-list article{border:1px solid var(--line);background:#fff9eb;border-radius:10px;grid-template-columns:minmax(200px,1fr) 2fr;gap:18px;padding:16px 18px;display:grid}.chapter-notes-list span{color:var(--gold);text-transform:uppercase;font-size:11px}.chapter-notes-list h3{margin:5px 0;font:500 20px Georgia,serif}.chapter-notes-list textarea{resize:vertical;background:#fffaf1;border:1px solid #e2d4bd;border-radius:7px;outline:none;min-height:70px;padding:10px}.chapter-note-editor{height:74px;margin-top:7px;padding:10px 12px;font:14px/1.45 Inter,sans-serif}.editor-modal{height:min(880px,94vh)}.editor-modal .text-label{flex:1;min-height:150px}.editor-modal .text-editor{min-height:150px}.sidebar .settings{margin-top:14px}@media (width<=1100px){.character-grid{grid-template-columns:repeat(2,1fr)}.install{padding:13px;font-size:0}.install svg{margin:0}.sidebar{width:210px}.workspace{width:calc(100% - 210px);margin-left:210px}}@media (width<=760px){.character-grid,.chapter-notes-list article{grid-template-columns:1fr}.view-heading{align-items:flex-start;gap:12px}.view-heading p{font-size:13px}.feature-view{padding-bottom:30px}}body{background:var(--paper);font-family:Arial,Helvetica,sans-serif}.sidebar{background:#eeece6;border-right:1px solid #c9c5bc;padding-left:18px;padding-right:18px}.brand>span{color:#f4f2ed;width:48px;height:48px;box-shadow:none;letter-spacing:-1px;background:#171715;border:1px solid #171715;border-radius:2px;font:400 17px Georgia,serif}.brand strong{letter-spacing:.14em;font:600 16px Georgia,serif}.brand small{letter-spacing:.28em;color:#842027;font-size:10px}.project-picker select,.search-box,.character-card,.project-notes,.chapter-notes-list article{box-shadow:none;background:#fbfaf7;border-radius:2px}.project-actions{margin-bottom:18px}.add-project{color:#171715;background:0 0;border:1px solid #a9a49a;border-radius:2px}.delete-project{border-radius:2px}.sidebar nav button{border-left:2px solid #0000;border-radius:1px}.sidebar nav .nav-active{color:#171715;box-shadow:none;background:#e2ded5;border-left-color:#842027}.new-chapter{color:#171715;background:0 0;border-color:#171715;border-radius:2px;font-family:Georgia,serif}.topbar{background:#f7f5f0;border-color:#cbc7be;min-height:112px}.project-title{font-family:Georgia,Times New Roman,serif;font-weight:400}.status-dot{background:#842027}.connection{color:#4e5c4d;background:0 0;border-color:#c2beb5;border-radius:20px}.install,.import-button,.export{box-shadow:none;border-radius:2px;padding:13px 15px;font:14px Arial,sans-serif}.install,.import-button{color:#171715;background:0 0;border:1px solid #9e9990;align-items:center;gap:7px;display:flex}.export{color:#fff;background:#171715}.section-heading h1,.view-heading h1{font-family:Georgia,Times New Roman,serif;font-weight:400}.chapter-grid{gap:16px}.chapter-card{box-shadow:none;background:#fbfaf7;border-color:#d1cdc4;border-radius:2px}.chapter-card:hover{transform:translateY(-1px);box-shadow:0 5px 14px #1b1b1811}.chapter-card.selected{background:#fbf8f5;border:1px solid #842027;padding:18px 21px}.chapter-card h2,.preview-title h2,.result-list h2,.subheading{font-family:Georgia,Times New Roman,serif;font-weight:400}.card-check{background:#842027}.add-card,.add-character-card{background:0 0;border-radius:2px}.preview-panel{box-shadow:none;background:#fbfaf7;border-left:2px solid #842027;border-radius:2px}.preview-action button,.primary-small,.done{box-shadow:none;background:#171715;border-radius:2px}.editor-modal,.import-modal{background:#f7f5f0;border-radius:2px}.editor-modal textarea,.summary-editor,.chapter-note-editor,.character-card{border-radius:2px}.character-icon{color:#842027;background:#e5e0d6;border-radius:2px}.search-box{border-radius:2px}.result-list>button{background:#fbfaf7;border-radius:2px}.delete-chapter-card{border-radius:1px}.import-modal{flex-direction:column;width:min(760px,95vw);max-height:92vh;display:flex;overflow:hidden;box-shadow:0 28px 90px #0008}.import-modal>header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;padding:22px 26px;display:flex}.import-modal>header span{letter-spacing:.25em;color:#842027;font-size:10px}.import-modal>header h2{margin:4px 0 0;font:400 30px Georgia,serif}.import-body{padding:24px 26px;overflow:auto}.file-drop{text-align:center;cursor:pointer;background:#fbfaf7;border:1px dashed #9c978d;flex-direction:column;justify-content:center;align-items:center;gap:9px;min-height:170px;display:flex}.file-drop strong{font:400 20px Georgia,serif}.file-drop span{color:var(--muted);font-size:12px}.file-drop input{opacity:0;width:1px;height:1px;position:absolute}.import-error{color:#842027;background:#f2e4e2;border-left:2px solid #842027;padding:11px 14px}.import-preview{margin-top:20px}.import-preview>label{color:#6d6a64;text-transform:uppercase;letter-spacing:.08em;flex-direction:column;gap:7px;font-size:11px;display:flex}.import-preview>label input{color:#171715;text-transform:none;letter-spacing:0;background:0 0;border:0;border-bottom:1px solid #aaa59b;outline:none;padding:8px 0;font:24px Georgia,serif}.import-summary{color:#6d6a64;justify-content:space-between;gap:12px;margin:20px 0 10px;font-size:12px;display:flex}.import-list{border-top:1px solid var(--line);max-height:220px;overflow:auto}.import-list>div{border-bottom:1px solid var(--line);grid-template-columns:36px 1fr;gap:10px;padding:11px 5px;display:grid}.import-list>div>span{color:#8b7658;font-size:11px}.import-list>div div{justify-content:space-between;gap:12px;display:flex}.import-list strong{font:400 16px Georgia,serif}.import-list small{color:#6d6a64}.import-modal>footer{border-top:1px solid var(--line);justify-content:flex-end;gap:9px;padding:16px 26px;display:flex}.secondary{background:0 0;border:1px solid #a9a49a;padding:11px 18px}.import-modal .done:disabled{opacity:.35;cursor:not-allowed}.import-target{background:#eee9e0;border-left:2px solid #842027;gap:4px;margin-bottom:18px;padding:13px 15px;display:grid}.import-target>span{color:#842027;letter-spacing:.15em;text-transform:uppercase;font-size:9px}.import-target>strong{font:400 19px Georgia,serif}.import-target>small{color:#6d6860;font-size:11px;line-height:1.45}@media (width<=1100px){.import-button{font-size:0}.import-button svg{margin:0}}.card-editor-button{border:0;border-top:1px solid var(--line);color:#842027;letter-spacing:.02em;background:0 0;justify-content:center;align-items:center;gap:7px;width:100%;margin-top:14px;padding:11px 0 1px;font-size:12px;display:flex}.card-editor-button:hover{color:#171715}.chapter-card{flex-direction:column;display:flex}.chapter-card>p{flex:1}.character-name-display{margin:4px 0 5px;font:400 25px Georgia,serif}.character-role-display{color:#8b7658;margin:0 0 13px;font-size:13px}.character-description-display{color:#5e5a53;-webkit-line-clamp:5;-webkit-box-orient:vertical;flex:1;margin:0;font-size:14px;line-height:1.55;display:-webkit-box;overflow:hidden}.character-card-actions{border-top:1px solid var(--line);justify-content:space-between;align-items:center;margin-top:16px;padding-top:10px;display:flex}.edit-character{color:#842027;background:0 0;border:0;align-items:center;gap:6px;padding:6px 0;font-size:12px;display:flex}.character-card-actions .card-delete{padding:6px 0}.compact-dialog,.character-dialog{background:#f7f5f0;border-radius:2px;width:min(520px,94vw);overflow:hidden;box-shadow:0 28px 90px #0008}.character-dialog{width:min(650px,94vw)}.compact-dialog>header,.character-dialog>header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;padding:21px 24px;display:flex}.compact-dialog>header span,.character-dialog>header span{letter-spacing:.2em;text-transform:uppercase;color:#842027;font-size:10px}.compact-dialog>header h2,.character-dialog>header h2{margin:4px 0 0;font:400 28px Georgia,serif}.dialog-body{gap:18px;padding:24px;display:grid}.dialog-body label{color:#6d6a64;text-transform:uppercase;letter-spacing:.08em;flex-direction:column;gap:7px;font-size:11px;display:flex}.dialog-body input,.dialog-body textarea{color:#171715;text-transform:none;letter-spacing:0;background:#fbfaf7;border:1px solid #c9c5bc;border-radius:1px;outline:none;padding:12px 13px;font:17px Georgia,serif}.dialog-body input:focus,.dialog-body textarea:focus{border-color:#842027}.dialog-body textarea{resize:vertical;min-height:180px;font:15px/1.6 Arial,sans-serif}.compact-dialog>footer,.character-dialog>footer{border-top:1px solid var(--line);justify-content:flex-end;align-items:center;gap:9px;padding:15px 24px;display:flex}.character-dialog>footer{justify-content:space-between}.compact-dialog .done:disabled{opacity:.35;cursor:not-allowed}.merge-chapter-card{color:#7b6c58;opacity:.35;background:0 0;border:0;border-radius:1px;place-items:center;margin-left:auto;padding:4px;transition:all .15s;display:grid}.chapter-card:hover .merge-chapter-card,.chapter-card.selected .merge-chapter-card{opacity:1}.merge-chapter-card:hover:not(:disabled){color:#171715;background:#e7e1d7}.merge-chapter-card:disabled{opacity:.18;cursor:not-allowed}.merge-chapter-card+.delete-chapter-card{margin-left:0}.dialog-body select{color:#171715;text-transform:none;letter-spacing:0;background:#fbfaf7;border:1px solid #c9c5bc;border-radius:1px;outline:none;padding:12px 13px;font:15px Georgia,serif}.dialog-body select:focus{border-color:#842027}.merge-warning{color:#5d574f;background:#eee8df;border-left:2px solid #842027;margin:0;padding:12px 14px;font-size:13px;line-height:1.5}.merge-dialog .done{align-items:center;gap:7px;display:flex}.projects-view{max-width:1280px;margin:0 auto}.projects-heading{justify-content:space-between;align-items:end;margin-bottom:28px;display:flex}.projects-heading>div>span{color:var(--wine);letter-spacing:.2em;text-transform:uppercase;font-size:10px}.projects-heading h1{margin:7px 0;font:400 clamp(32px,3vw,45px) Georgia,serif}.projects-heading p{color:var(--muted);margin:0}.project-library-grid{grid-template-columns:repeat(3,minmax(250px,1fr));gap:20px;display:grid}.project-library-card{background:#fbfaf7;border:1px solid #d1cdc4;grid-template-columns:minmax(120px,42%) 1fr;min-height:320px;transition:all .18s;display:grid;box-shadow:0 5px 18px #1b1b180d}.project-library-card:hover{transform:translateY(-2px);box-shadow:0 9px 24px #1b1b1818}.project-library-card.current{border-color:#9e7375}.project-cover{color:#f5f1e9;cursor:pointer;background:linear-gradient(145deg,#22211f,#4b4540);flex-direction:column;justify-content:center;align-items:center;min-height:320px;display:flex;position:relative;overflow:hidden}.project-cover>span{letter-spacing:.08em;font:400 39px Georgia,serif}.project-cover>small{color:#fff;opacity:0;background:#171715c9;justify-content:center;align-items:center;gap:5px;padding:8px 5px;font-size:10px;transition:all .18s;display:flex;position:absolute;bottom:12px;left:10px;right:10px}.project-cover:hover>small{opacity:1}.project-cover input{opacity:0;width:1px;height:1px;position:absolute}.project-cover img{object-fit:cover;width:100%;height:100%;position:absolute;inset:0}.project-cover.has-cover:after{content:"Змінити обкладинку";color:#fff;text-align:center;opacity:0;background:#171715d9;padding:8px;font-size:10px;transition:all .18s;position:absolute;bottom:8px;left:8px;right:8px}.project-cover.has-cover:hover:after{opacity:1}.project-card-copy{flex-direction:column;min-width:0;padding:22px 18px;display:flex}.current-project-label{color:var(--wine);letter-spacing:.12em;text-transform:uppercase;margin-bottom:11px;font-size:9px}.project-card-copy h2{overflow-wrap:anywhere;margin:0 0 18px;font:400 24px/1.16 Georgia,serif}.project-card-copy>p{color:var(--muted);margin:0 0 7px;font-size:12px}.project-card-actions{align-items:center;gap:7px;margin-top:auto;padding-top:18px;display:flex}.open-project{border:0;border-top:1px solid var(--line);color:var(--wine);text-align:left;background:0 0;flex:1;justify-content:space-between;align-items:center;padding:12px 0 0;font:13px Georgia,serif;display:flex}.project-card-delete{color:#9a6460;background:0 0;border:0;place-items:center;padding:12px 2px 0;display:grid}.project-card-delete:disabled{opacity:.25}.new-project-library-card{min-height:320px;color:var(--wine);background:0 0;border:1px dashed #aaa49a;flex-direction:column;justify-content:center;align-items:center;gap:9px;display:flex}.new-project-library-card strong{font:400 19px Georgia,serif}.new-project-library-card span{color:var(--muted);font-size:12px}@media (width<=1180px){.project-library-grid{grid-template-columns:repeat(2,minmax(250px,1fr))}}@media (width<=760px){.project-library-grid{grid-template-columns:1fr}.projects-heading{align-items:flex-start;gap:15px}.project-library-card{grid-template-columns:130px 1fr}.project-cover{min-height:270px}.new-project-library-card{min-height:210px}}.project-library-card{align-items:stretch;min-height:0}.project-cover{aspect-ratio:2/3;align-self:start;width:100%;min-height:0}.project-cover img{object-fit:contain;background:#22211f}@media (width<=760px){.project-cover{min-height:0}}.project-library-card{align-self:start;height:auto}.project-card-copy{box-sizing:border-box;height:100%}@media (width<=520px){html,body{width:100%;max-width:100%;overflow-x:hidden}.sidebar{display:none}.workspace{width:100%;min-width:0;margin-left:0}.topbar{z-index:10;align-items:center;gap:10px;min-height:72px;padding:11px 16px;position:sticky;top:0}.project-title{white-space:nowrap;text-overflow:ellipsis;width:auto;max-width:165px;font-size:21px;overflow:hidden}.meta{margin-top:4px;font-size:10px}.header-actions{flex-wrap:nowrap;justify-content:flex-end;gap:6px;margin-left:auto}.connection,.saved{display:none}.install,.import-button,.export{place-items:center;width:42px;height:42px;padding:0;font-size:0;display:grid}.install svg,.import-button svg,.export svg{margin:0}.content{padding:22px 16px 96px}.projects-heading{margin-bottom:22px;display:grid}.projects-heading h1{font-size:36px}.projects-heading p{max-width:280px;line-height:1.45}.projects-heading .primary-small{justify-self:start;margin-top:2px}.project-library-grid{grid-template-columns:minmax(0,1fr);gap:18px;width:100%;display:grid}.project-library-card{grid-template-columns:1fr;width:100%;max-width:340px}.project-cover{justify-self:center;width:min(240px,100%)}.project-card-copy{min-height:190px;padding:20px}.new-project-library-card{width:100%;max-width:340px}.section-heading{align-items:flex-start;gap:12px}.section-heading h1{font-size:30px}.chapter-grid{grid-template-columns:minmax(0,1fr)}.view-heading{gap:14px;display:grid}.view-heading h1{font-size:31px}.view-heading .primary-small{justify-self:start}.search-box{height:54px;padding:0 12px}.search-box input{min-width:0;font-size:16px}.project-notes{grid-template-columns:1fr}.project-notes>svg{display:none}.modal-backdrop{padding:8px}.compact-dialog,.character-dialog,.import-modal{width:100%;max-height:96vh}.dialog-body{padding:18px}.editor-modal footer{gap:8px}.editor-modal footer>span{display:none}}.mobile-nav{display:none}@media (width<=520px){.mobile-nav{z-index:18;height:72px;padding:7px max(8px,env(safe-area-inset-right)) calc(7px + env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#f7f5f0f5;border-top:1px solid #c9c5bc;grid-template-columns:repeat(4,1fr);display:grid;position:fixed;bottom:0;left:0;right:0}.mobile-nav button{color:#706a62;background:0 0;border:0;flex-direction:column;justify-content:center;align-items:center;gap:4px;min-width:0;font-size:10px;display:flex}.mobile-nav button.active{color:var(--wine)}.mobile-nav button.active:before{content:"";background:var(--wine);width:28px;height:2px;position:absolute;top:0}.mobile-nav button{position:relative}.mobile-nav{grid-template-columns:repeat(5,1fr)}.mobile-nav button{font-size:9px}}.search-occurrences>button p{color:#3f3b36;font:16px/1.65 Georgia,serif}.search-occurrences mark{color:#171715;background:#f0d887;padding:2px 1px}.search-occurrences>button:hover mark{background:#e6c44e}.sidebar{width:198px}.topbar{min-height:101px;padding-top:25px;padding-bottom:25px}@media (width<=1100px){.sidebar{width:189px}.workspace{width:calc(100% - 189px);margin-left:189px}}@media (width<=760px){.sidebar{display:none}.workspace{width:100%;margin-left:0}.topbar{min-height:auto;padding:16px 18px}}@media (width<=520px){.workspace{width:100%;margin-left:0}.topbar{min-height:65px;padding:10px 14px}}.landing-page{--lp-paper:#f4f1ea;--lp-ink:#171715;--lp-wine:#842027;--lp-muted:#6f6a62;background:var(--lp-paper);color:var(--lp-ink);min-height:100vh;overflow:hidden}.landing-page button,.landing-page a{font-family:inherit}.landing-header{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);z-index:20;background:#f7f4eeec;border-bottom:1px solid #cbc6bc;align-items:center;height:84px;padding:0 clamp(24px,6vw,96px);display:flex;position:relative}.landing-brand{color:var(--lp-ink);text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:11px;padding:0;display:flex}.landing-brand>span{background:var(--lp-ink);color:#f7f3eb;place-items:center;width:42px;height:42px;font:16px Georgia,serif;display:grid}.landing-brand div{gap:2px;display:grid}.landing-brand strong{letter-spacing:.16em;font:600 15px Georgia,serif}.landing-brand small{letter-spacing:.3em;color:var(--lp-wine);font:9px Arial,sans-serif}.landing-header nav{align-items:center;gap:34px;margin:auto;display:flex}.landing-header nav a{color:#514d47;font-size:13px;text-decoration:none}.landing-header nav a:hover{color:var(--lp-wine)}.landing-open,.hero-primary{background:var(--lp-ink);color:#fff;cursor:pointer;border:0;justify-content:center;align-items:center;gap:10px;padding:14px 19px;font:14px Georgia,serif;display:flex}.landing-open:hover,.hero-primary:hover{background:var(--lp-wine)}.landing-hero{grid-template-columns:minmax(430px,.84fr) minmax(600px,1.16fr);align-items:center;gap:clamp(35px,5vw,90px);min-height:calc(100vh - 84px);padding:80px 0 90px clamp(28px,7vw,120px);display:grid;position:relative}.landing-hero:before{content:"";border:1px solid #d9d3c8;border-radius:50%;width:410px;height:410px;position:absolute;top:110px;left:-220px}.hero-copy{z-index:2;max-width:620px;position:relative}.landing-kicker{color:var(--lp-wine);letter-spacing:.24em;text-transform:uppercase;margin-bottom:18px;font:10px Arial,sans-serif;display:block}.hero-copy h1{letter-spacing:-.045em;margin:0 0 28px;font:400 clamp(54px,5.7vw,92px)/.98 Georgia,Times New Roman,serif}.hero-copy>p{max-width:590px;color:var(--lp-muted);margin:0;font:17px/1.72 Arial,sans-serif}.hero-actions{align-items:center;gap:27px;margin:35px 0 27px;display:flex}.hero-primary{padding:17px 23px;font-size:16px}.hero-actions>a{color:var(--lp-ink);text-underline-offset:5px;font-size:13px}.hero-trust{color:#625e57;flex-wrap:wrap;gap:18px;font-size:11px;display:flex}.hero-trust span{align-items:center;gap:5px;display:flex}.hero-trust svg{color:var(--lp-wine)}.hero-product{min-width:0;position:relative}.product-window{background:#f9f7f2;border:1px solid #bbb5aa;width:min(910px,100%);box-shadow:0 35px 80px #2e24191f}.product-bar{color:#fff;background:#171715;align-items:center;gap:7px;height:42px;padding:0 15px;display:flex}.product-bar span{letter-spacing:.14em;margin-right:auto;font-size:9px}.product-bar i{border:1px solid #8d8880;border-radius:50%;width:7px;height:7px}.product-body{grid-template-columns:130px 1fr;height:500px;display:grid}.product-body aside{background:#ece9e2;border-right:1px solid #d3cec4;flex-direction:column;gap:8px;padding:25px 14px;display:flex}.product-body aside b{color:#fff;background:#171715;place-items:center;width:35px;height:35px;margin-bottom:21px;font:12px Georgia,serif;display:grid}.product-body aside span{color:#676159;padding:10px 8px;font-size:9px}.product-body aside .active{border-left:2px solid var(--lp-wine);color:#171715;background:#ded9d0}.product-canvas{background:#f5f3ee;padding:45px 33px;overflow:hidden}.product-title{display:grid}.product-title small{color:var(--lp-wine);letter-spacing:.18em;font-size:8px}.product-title strong{margin:8px 0;font:32px Georgia,serif}.product-title em{color:#746f67;font:10px Arial,sans-serif}.demo-cards{grid-template-columns:repeat(3,minmax(160px,1fr));gap:12px;margin-top:34px;display:grid}.demo-cards article{background:#fbfaf7;border:1px solid #d0cbc2;flex-direction:column;height:230px;padding:18px;transition:all .2s;display:flex}.demo-cards .featured{border-color:var(--lp-wine);transform:translateY(-12px)}.demo-cards small{letter-spacing:.13em;color:var(--lp-wine);font-size:8px}.demo-cards b{margin:17px 0 12px;font:21px/1.13 Georgia,serif}.demo-cards p{color:#716c64;font-size:10px;line-height:1.6}.demo-cards span{color:var(--lp-wine);border-top:1px solid #ded8ce;margin-top:auto;padding-top:12px;font-size:9px}.floating-note{border-left:3px solid var(--lp-wine);background:#fffdf8;align-items:center;gap:12px;padding:16px 20px;display:flex;position:absolute;bottom:-27px;left:-35px;box-shadow:0 18px 45px #2e241926}.floating-note svg{color:var(--lp-wine)}.floating-note div{gap:5px;display:grid}.floating-note small{color:var(--lp-wine);letter-spacing:.14em;font-size:7px}.floating-note b{font:14px Georgia,serif}.landing-intro{text-align:center;border-top:1px solid #d2cdc3;padding:130px clamp(28px,7vw,120px)}.landing-intro>h2,.landing-flow h2,.landing-quiet h2,.landing-final h2{letter-spacing:-.035em;margin:0 auto;font:400 clamp(40px,4.4vw,68px)/1.04 Georgia,serif}.landing-intro>h2{max-width:820px}.landing-intro>p{max-width:690px;color:var(--lp-muted);margin:25px auto 55px;line-height:1.7}.benefit-grid{text-align:left;border-top:1px solid #c9c3b9;grid-template-columns:repeat(3,1fr);max-width:1220px;margin:auto;display:grid}.benefit-grid article{border-right:1px solid #c9c3b9;min-height:260px;padding:43px 38px 35px;position:relative}.benefit-grid article:first-child{border-left:1px solid #c9c3b9}.benefit-grid article>span{color:#9d978e;font:10px Georgia,serif;position:absolute;top:19px;right:19px}.benefit-grid svg{color:var(--lp-wine);margin-bottom:35px}.benefit-grid h3{margin:0 0 14px;font:400 25px Georgia,serif}.benefit-grid p{color:var(--lp-muted);margin:0;font-size:13px;line-height:1.65}.landing-flow{color:#f6f2e9;background:#1b1b19;grid-template-columns:1fr 1fr;align-items:center;gap:clamp(60px,11vw,180px);padding:120px clamp(28px,9vw,170px);display:grid}.landing-flow h2{margin:0}.landing-flow>div>p{color:#aaa59d;max-width:560px;margin:25px 0 34px;line-height:1.75}.text-cta{color:#fff;cursor:pointer;background:0 0;border:0;border-bottom:1px solid #918b82;align-items:center;gap:12px;padding:11px 0;font:15px Georgia,serif;display:flex}.landing-flow ol{border-top:1px solid #4a4843;margin:0;padding:0;list-style:none}.landing-flow li{border-bottom:1px solid #4a4843;grid-template-columns:48px 1fr;gap:22px;padding:27px 0;display:grid}.landing-flow li>b{color:#a34c51;font:12px Georgia,serif}.landing-flow li div{gap:8px;display:grid}.landing-flow li strong{font:22px Georgia,serif}.landing-flow li span{color:#aaa59d;font-size:12px;line-height:1.5}.landing-quiet{text-align:center;padding:135px 24px}.landing-quiet>svg{color:var(--lp-wine);width:36px;height:36px;margin-bottom:28px}.landing-quiet h2{max-width:930px}.landing-quiet>p{max-width:660px;color:var(--lp-muted);margin:28px auto 0;line-height:1.7}.landing-final{text-align:center;background:#e7e2d8;border-top:1px solid #cbc5ba;padding:105px 25px}.landing-final>span{color:var(--lp-wine);letter-spacing:.25em;margin-bottom:22px;font-size:9px;display:block}.landing-final .hero-primary{margin:34px auto 0}.landing-footer{border-top:1px solid #cbc5ba;align-items:center;gap:50px;min-height:110px;padding:25px clamp(24px,6vw,96px);display:flex}.landing-footer p{color:var(--lp-muted);font:14px Georgia,serif}.landing-footer>small{color:#89847c;margin-left:auto;font-size:10px}.landing-login{color:#25231f;cursor:pointer;background:0 0;border:1px solid #9f998f;justify-content:center;align-items:center;gap:7px;max-width:170px;height:46px;margin-right:8px;padding:0 15px;font:13px Georgia,serif;display:flex}.landing-open{height:46px}.landing-login:hover,.landing-login.signed-in{color:#842027;background:#f1ebe2;border-color:#842027}.landing-login:disabled{opacity:.6;cursor:wait}.landing-login span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.home-brand{width:100%;color:inherit;text-align:left;cursor:pointer;background:0 0;border:0}@media (width<=1050px){.landing-hero{grid-template-columns:1fr;padding-right:0}.hero-copy{padding-right:28px}.hero-product{margin-left:10vw}.landing-header nav{display:none}.landing-open{margin-left:auto}.product-window{max-width:900px}.landing-flow{grid-template-columns:1fr;gap:60px}.benefit-grid article{padding:35px 25px}.product-body{height:450px}}@media (width<=650px){.landing-header{height:68px;padding:0 16px}.landing-header .landing-brand>div{display:none}.landing-login{width:40px;height:40px;margin:0 6px 0 auto;padding:0}.landing-login span{display:none}.landing-open{height:40px;padding:0 14px;font-size:12px}.landing-hero{min-height:auto;padding:72px 0 75px 20px;display:block}.hero-copy{padding-right:20px}.hero-copy h1{font-size:48px}.hero-copy>p{font-size:15px;line-height:1.65}.hero-actions{flex-direction:column;align-items:flex-start;gap:18px}.hero-trust{gap:9px;display:grid}.hero-product{margin:65px 0 0 20px}.product-window{transform-origin:0 0;width:720px;margin-bottom:-220px;transform:scale(.56)}.floating-note{display:none}.landing-intro{padding:85px 20px}.landing-intro>h2,.landing-flow h2,.landing-quiet h2,.landing-final h2{font-size:39px}.landing-intro>p{margin-bottom:38px;font-size:14px}.benefit-grid{border-top:1px solid #c9c3b9;grid-template-columns:1fr}.benefit-grid article,.benefit-grid article:first-child{border-bottom:1px solid #c9c3b9;border-left:1px solid #c9c3b9;min-height:220px}.landing-flow{padding:82px 22px}.landing-quiet{padding:90px 20px}.landing-final{padding:82px 20px}.landing-footer{flex-direction:column;align-items:flex-start;gap:18px;padding:35px 20px}.landing-footer>small{margin-left:0}.landing-footer p{margin:0}}.editorial-desk{aspect-ratio:1022/863;background:#2b2119;border:1px solid #bdb5a9;width:min(100%,1022px);margin:0;position:relative;overflow:hidden;box-shadow:0 34px 75px #2e241928}.editorial-desk:after{content:"";pointer-events:none;position:absolute;inset:0;box-shadow:inset 0 0 0 1px #fff2}.editorial-desk img{object-fit:cover;width:100%;height:100%;display:block}.landing-hero{grid-template-columns:minmax(430px,.9fr) minmax(520px,1.1fr);padding-right:clamp(20px,3vw,58px)}@media (width<=1050px){.editorial-desk{aspect-ratio:1.3;width:min(860px,90vw)}.editorial-desk img{object-position:center 55%}}@media (width<=650px){.editorial-desk{aspect-ratio:1;width:calc(100% - 20px);margin:58px 0 0}.editorial-desk img{object-position:center center}}.update-notice{z-index:100;box-sizing:border-box;color:#171715;background:#f9f6ef;border:1px solid #aaa299;border-left:3px solid #842027;grid-template-columns:auto minmax(210px,1fr) auto;align-items:center;gap:15px;width:min(620px,100vw - 48px);padding:19px 20px;display:grid;position:fixed;bottom:24px;right:24px;box-shadow:0 20px 55px #1d18133d}.update-mark{color:#842027;background:#e8e1d6;place-items:center;width:42px;height:42px;display:grid}.update-notice strong{font:400 18px/1.25 Georgia,Times New Roman,serif}.update-notice p{color:#6d6860;margin:5px 0 0;font-size:12px}.update-actions{align-items:center;gap:8px;display:flex}.update-actions button{color:#37332f;cursor:pointer;background:0 0;border:1px solid #aaa299;padding:10px 13px;font-size:12px}.update-actions .update-now{color:#fff;background:#171715;border-color:#171715}.update-actions .update-now:hover{background:#842027;border-color:#842027}.landing-page .update-notice{font-family:Arial,Helvetica,sans-serif}@media (width<=650px){.update-notice{grid-template-columns:auto 1fr;width:calc(100vw - 24px);padding:15px;bottom:86px;right:12px}.landing-page .update-notice{bottom:12px}.update-mark{width:36px;height:36px}.update-notice strong{font-size:16px}.update-actions{grid-column:1/-1;justify-content:flex-end}.update-actions button{flex:1}.update-actions .update-now{flex:1.35}}.rich-editor-shell{border:1px solid var(--line);text-transform:none;letter-spacing:0;background:#fffaf0;flex-direction:column;flex:1;min-height:0;margin-top:7px;display:flex;overflow:hidden}.format-toolbar{border-bottom:1px solid var(--line);background:#eeeae2;flex-wrap:wrap;flex:none;align-items:center;gap:5px;min-height:45px;padding:5px 8px;display:flex}.format-toolbar>div{border-right:1px solid #cbc5bb;align-items:center;padding-right:5px;display:flex}.format-toolbar>div:last-child{border-right:0}.format-toolbar button{color:#504a43;cursor:pointer;background:0 0;border:0;place-items:center;width:32px;height:32px;display:grid}.format-toolbar button:hover,.format-toolbar button:focus-visible,.format-toolbar button.active{color:#842027;background:#ddd7cd;outline:none}.format-toolbar button:disabled{opacity:.28;cursor:not-allowed}.editor-content-wrap,.editor-content-wrap>div{flex:1;min-width:0;min-height:0;display:flex;overflow:hidden}.rich-text-editor{width:100%;height:100%;min-height:0;color:var(--ink);text-transform:none;letter-spacing:0;white-space:normal;outline:none;flex:1;padding:25px clamp(20px,4vw,48px);font:18px/1.78 Georgia,Times New Roman,serif;overflow:hidden auto}.rich-text-editor p.is-editor-empty:first-child:before{content:"Почніть писати текст розділу…";color:#a39a8e;float:left;pointer-events:none;height:0}.rich-text-editor div,.rich-text-editor p{margin:0 0 .8em}.rich-text-editor h2{margin:1.2em 0 .55em;font:400 28px/1.3 Georgia,serif}.rich-text-editor blockquote{color:#5e5750;border-left:2px solid #842027;margin:1em 0;padding:5px 0 5px 20px;font-style:italic}.rich-text-editor ul,.rich-text-editor ol{padding-left:28px}.rich-text-editor ::selection{background:#dfc3b2}.editor-modal>header,.editor-modal>footer,.editor-modal>.summary-label,.editor-modal>.chapter-note-label{flex:none}.editor-modal .text-label{color:#756a5e;text-transform:uppercase;letter-spacing:.08em;flex-direction:column;flex:1 1 0;min-width:0;min-height:0;padding:15px 28px 0;font-size:12px;display:flex;overflow:hidden}.field-caption{flex:none}.editor-header-actions{align-items:center;gap:8px;display:flex}.focus-toggle{color:#403b36;cursor:pointer;background:0 0;border:1px solid #a9a49a;align-items:center;gap:7px;padding:9px 12px;font-size:12px;display:flex}.focus-toggle:hover{color:#842027;border-color:#842027}.focus-backdrop{-webkit-backdrop-filter:none;backdrop-filter:none;background:#f1eee7;padding:0}.editor-modal.concentration-mode{width:100vw;max-width:none;height:100vh;max-height:none;box-shadow:none;background:#f5f2ec;border-radius:0}.concentration-mode header{background:#ebe7df;padding:13px clamp(18px,4vw,62px)}.concentration-mode header>div:first-child{align-items:baseline;gap:16px;display:flex}.concentration-mode header span{margin:0}.concentration-mode header input{font-size:21px}.concentration-mode .summary-label,.concentration-mode .chapter-note-label{display:none}.concentration-mode .text-label{color:#0000;padding:16px clamp(18px,8vw,150px) 0;font-size:0}.concentration-mode .rich-editor-shell{background:#fbfaf7;border:0;margin:0;box-shadow:0 0 0 1px #d4cfc6}.concentration-mode .format-toolbar{z-index:2;background:#efebe4;justify-content:center;position:sticky;top:0}.concentration-mode .rich-text-editor{padding:48px clamp(28px,12vw,190px);font-size:20px;line-height:1.9}.concentration-mode footer{background:#ebe7df;padding:10px clamp(18px,4vw,62px)}.concentration-mode footer .delete{display:none}@media (width<=760px){.format-toolbar{flex-wrap:nowrap;min-height:43px;overflow-x:auto}.format-toolbar>div{flex:none}.rich-text-editor{padding:20px 18px;font-size:17px}.editor-modal .text-label{padding-left:17px;padding-right:17px}.focus-toggle span{display:none}.focus-toggle{justify-content:center;width:40px;height:40px;padding:0}.editor-header-actions{gap:4px}.concentration-mode header{padding:8px 12px}.concentration-mode header input{width:58vw;font-size:18px}.concentration-mode header>div:first-child{display:block}.concentration-mode .text-label{padding:8px 8px 0}.concentration-mode .rich-text-editor{padding:28px 20px;font-size:18px}.concentration-mode footer{padding:8px 12px}}.projects-heading-actions{align-items:center;gap:9px;display:flex}.restore-button{color:#171715;cursor:pointer;background:0 0;border:1px solid #9e9990;align-items:center;gap:7px;padding:12px 15px;font-size:13px;display:flex}.restore-button:hover{color:#842027;border-color:#842027}.restore-dialog{width:min(720px,95vw)}.restore-preview{margin-top:20px}.restore-stats{background:#eee9e0;border-left:2px solid #842027;gap:5px;padding:15px 17px;display:grid}.restore-stats span{color:#842027;letter-spacing:.15em;text-transform:uppercase;font-size:9px}.restore-stats strong{font:400 20px Georgia,serif}.restore-stats small{color:#6d6860}.restore-preview fieldset{border:0;gap:9px;margin:22px 0 0;padding:0;display:grid}.restore-preview legend{color:#6d6860;text-transform:uppercase;letter-spacing:.12em;margin-bottom:10px;font-size:10px}.restore-preview fieldset>label{cursor:pointer;background:#fbfaf7;border:1px solid #c8c2b8;grid-template-columns:auto 1fr;align-items:start;gap:12px;padding:14px 15px;display:grid}.restore-preview fieldset>label.selected{background:#f8f1ee;border-color:#842027}.restore-preview fieldset>label.danger{background:#f5ece9}.restore-preview input{accent-color:#842027;margin-top:4px}.restore-preview label span{gap:5px;display:grid}.restore-preview label strong{font:400 17px Georgia,serif}.restore-preview label small{color:#6d6860;line-height:1.45}.restore-dialog .done:disabled{opacity:.35;cursor:not-allowed}@media (width<=760px){.projects-heading-actions{align-items:stretch;width:100%}.projects-heading-actions button{flex:1;justify-content:center}.restore-button{padding:11px 9px;font-size:11px}.restore-dialog{width:100%}.restore-stats strong{font-size:18px}}.sidebar nav{max-height:none}.constructor-view{flex-direction:column;height:calc(100vh - 168px);min-height:560px;display:flex}.constructor-heading{justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:16px;display:flex}.constructor-heading h1{margin:0 0 7px;font:400 clamp(30px,3vw,42px) Georgia,Times New Roman,serif}.constructor-heading p{color:var(--muted);margin:0}.constructor-toolbar{background:#eeebe4;border:1px solid #c9c4bb;border-bottom:0;flex:none;justify-content:space-between;align-items:center;gap:18px;min-height:54px;padding:8px 12px;display:flex}.constructor-toolbar span{text-transform:uppercase;letter-spacing:.1em;color:#746e66;font-size:9px}.constructor-colors,.edge-tools{align-items:center;gap:7px;display:flex}.constructor-colors span,.edge-tools span{margin-right:5px}.constructor-colors button,.block-color-picker button{cursor:pointer;border:1px solid #aaa49a;width:26px;height:26px}.constructor-colors button.active,.block-color-picker button.active{outline-offset:2px;outline:2px solid #842027}.edge-tools button{color:#3f3a35;background:#f8f5ef;border:1px solid #aaa49a;padding:7px 10px;font-size:11px}.edge-tools button.active{color:#fff;background:#171715;border-color:#171715}.edge-tools .edge-delete{color:#842027;background:0 0;border-color:#0000;align-items:center;gap:5px;display:flex}.constructor-canvas{background:#f8f6f1;border:1px solid #c9c4bb;flex:1;min-height:0;position:relative;overflow:hidden}.constructor-canvas .react-flow__attribution{display:none}.constructor-canvas .react-flow__controls{box-shadow:none;border:1px solid #bdb7ad}.constructor-canvas .react-flow__controls button{background:#f8f5ef;border-bottom-color:#d1ccc3}.constructor-canvas .react-flow__minimap{background:#eeeae2;border:1px solid #bdb7ad}.story-block{color:#171715;border:1px solid #9f988e;flex-direction:column;width:210px;min-height:126px;padding:15px 17px;display:flex;box-shadow:0 7px 18px #2a21151a}.story-block.selected{border-color:#842027;box-shadow:0 0 0 1px #842027,0 9px 22px #2a211522}.story-block>span{color:#842027;letter-spacing:.14em;text-transform:uppercase;font-size:8px}.story-block>strong{margin:9px 0 7px;font:400 20px/1.2 Georgia,serif}.story-block>p{color:#625d56;white-space:pre-wrap;margin:0;font-size:11px;line-height:1.45}.story-block>small{color:#842027;align-items:center;gap:5px;margin-top:auto;padding-top:11px;font-size:9px;display:flex}.story-block .react-flow__handle{background:#842027;border:2px solid #f8f6f1;width:11px;height:11px}.constructor-empty{pointer-events:none;text-align:center;color:#8a847a;flex-direction:column;justify-content:center;align-items:center;gap:9px;display:flex;position:absolute;inset:0}.constructor-empty strong{color:#49443e;font:400 22px Georgia,serif}.constructor-empty span{max-width:380px;font-size:12px;line-height:1.5}.constructor-dialog{width:min(680px,95vw)}.constructor-dialog .constructor-summary{min-height:80px}.constructor-dialog .constructor-details{min-height:190px}.block-color-picker{border:0;align-items:center;gap:10px;margin:0;padding:4px 0 0;display:flex}.block-color-picker legend{color:#6d6860;text-transform:uppercase;letter-spacing:.09em;margin-bottom:10px;font-size:10px}.edge-tools .constructor-add-block{color:#fff;background:#171715;border-color:#171715;align-items:center;gap:6px;margin-left:3px;display:flex}.edge-tools .constructor-add-block:hover{background:#842027;border-color:#842027}@media (width<=760px){.constructor-view{height:calc(100vh - 178px);min-height:520px}.constructor-toolbar{flex-direction:column;align-items:flex-start;gap:10px;overflow-x:auto}.constructor-colors,.edge-tools{min-width:max-content}.constructor-colors span,.edge-tools span{display:none}.constructor-canvas{min-height:380px}.story-block{width:185px}.mobile-nav{grid-template-columns:repeat(6,1fr)}.constructor-dialog .constructor-details{min-height:150px}}.project-title-row{align-items:center;gap:9px;min-width:0;display:flex}.project-title-row .project-title{text-overflow:ellipsis;white-space:nowrap;width:auto;max-width:min(650px,48vw);overflow:hidden}.rename-project-icon{color:#756f67;cursor:pointer;background:0 0;border:1px solid #0000;flex:none;place-items:center;width:31px;height:31px;display:grid}.rename-project-icon:hover,.rename-project-icon:focus-visible{color:#842027;background:#f2eee7;border-color:#aaa49a;outline:none}@media (width<=760px){.project-title-row{gap:4px}.project-title-row .project-title{max-width:50vw}.rename-project-icon{width:29px;height:29px}.rename-project-icon svg{width:14px}}:root{--paper:#f5f3ee;--panel:#fcfbf8;--ink:#191816;--muted:#716d66;--wine:#812229;--gold:#87745a;--line:#d4d0c8}.app-shell{background:linear-gradient(135deg,#f6f4ef 0%,#f2f0ea 100%)}.sidebar{background:#efede8;border-right-color:#c8c4bc;width:178px;padding:22px 13px 20px;box-shadow:3px 0 18px #29251f08}.workspace{width:calc(100% - 178px);margin-left:178px}.brand{gap:10px;padding:0 3px 26px}.brand>span{width:43px;height:43px;font-size:15px}.brand strong{letter-spacing:.13em;font-size:14px}.brand small{letter-spacing:.25em;font-size:8px}.sidebar nav{gap:3px}.sidebar nav button{color:#4b4741;gap:10px;min-height:43px;padding:11px 10px;font-size:13px;transition:background-color .16s,color .16s,border-color .16s}.sidebar nav button svg{stroke-width:1.7px;width:18px;height:18px}.sidebar nav button:hover{color:#191816;background:#e7e3dc}.sidebar nav .nav-active{color:#191816;background:linear-gradient(90deg,#dfdbd3,#e7e3dc);border-left-color:#812229}.sidebar .new-chapter{background:#f7f5f0;border-color:#77716a;padding:12px 10px;font-size:14px}.sidebar .new-chapter:hover{color:#812229;background:#fbfaf7;border-color:#812229}.topbar{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#f9f8f4ed;border-bottom-color:#cac6be;min-height:91px;padding:16px 3.2vw;box-shadow:0 4px 18px #28231d08}.project-title{font-size:clamp(26px,2.25vw,36px)}.meta{letter-spacing:.015em;margin-top:6px;font-size:11px}.header-actions{gap:7px}.install,.import-button,.export{min-height:40px;padding:11px 13px;font-size:13px}.saved{font-size:12px}.rename-project-icon{width:29px;height:29px}.content{padding-top:22px}.chapter-card,.project-library-card,.character-card,.project-notes,.chapter-notes-list article{background:#fcfbf8;border-color:#d2cec6}.chapter-card,.character-card,.project-library-card{box-shadow:0 6px 22px #29241d0a}.chapter-card:hover,.project-library-card:hover{box-shadow:0 10px 28px #29241d12}.primary-small,.done,.export{background:#1b1a18}.primary-small:hover,.done:hover,.export:hover{background:#812229}.search-box{background:#fcfbf8}.editor-modal,.import-modal,.compact-dialog,.character-dialog{box-shadow:0 28px 90px #17130f4d}.constructor-view{height:calc(100vh - 155px)}@media (width<=1100px){.sidebar{width:170px}.workspace{width:calc(100% - 170px);margin-left:170px}.sidebar nav button{padding-left:8px;padding-right:8px;font-size:12px}.brand strong{font-size:13px}}@media (width<=760px){.sidebar{display:none}.workspace{width:100%;margin-left:0}.topbar{min-height:64px;padding:10px 14px}.content{padding-top:18px}.constructor-view{height:calc(100vh - 170px)}}.story-block{border-radius:7px}.story-block>small.story-block-links{margin-top:0;padding-top:5px}.edge-tools .constructor-icon-tool{place-items:center;width:34px;height:32px;padding:0;display:grid;position:relative}.edge-tools .constructor-icon-tool:disabled{opacity:.35;cursor:not-allowed}.edge-tools .constructor-icon-tool b{color:#fff;background:#842027;border-radius:9px;min-width:16px;height:16px;padding:0 4px;font:700 9px/16px Arial,sans-serif;position:absolute;top:-6px;right:-5px}.linked-reference-chips{gap:8px;display:grid}.linked-reference-chips>span{color:#6d6860;text-transform:uppercase;letter-spacing:.09em;font-size:10px}.linked-reference-chips>div{flex-wrap:wrap;gap:7px;display:flex}.linked-reference-chips button{color:#842027;background:#fbfaf7;border:1px solid #c9c4bb;border-radius:14px;align-items:center;gap:5px;padding:6px 10px;font-size:11px;display:flex}.constructor-link-dialog{width:min(760px,95vw);max-height:min(760px,94vh)}.constructor-reference-list{gap:22px;padding:20px 24px;display:grid;overflow:auto}.constructor-reference-list section h3{align-items:center;gap:7px;margin:0 0 10px;font:400 17px Georgia,serif;display:flex}.constructor-reference-list section>div{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.constructor-reference-list section>div>button{text-align:left;background:#fbfaf7;border:1px solid #ccc6bc;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;display:flex}.constructor-reference-list section>div>button.linked{background:#f7eeeb;border-color:#842027}.constructor-reference-list button span{min-width:0;display:grid}.constructor-reference-list button strong{white-space:nowrap;text-overflow:ellipsis;font:400 14px Georgia,serif;overflow:hidden}.constructor-reference-list button small{color:#777068;white-space:nowrap;text-overflow:ellipsis;margin-top:3px;font-size:10px;overflow:hidden}.constructor-reference-list button i{color:#842027;text-transform:uppercase;letter-spacing:.06em;font-size:9px;font-style:normal}.constructor-reference-list section>p{color:#8a847a;font-size:12px}.constructor-link-dialog>footer>span{color:#716b63;margin-right:auto;font-size:11px}.character-profile-dialog{width:min(760px,95vw)}.character-name-field{padding:18px 24px 14px}.character-name-field label,.character-tab-panel label{color:#6d6a64;text-transform:uppercase;letter-spacing:.08em;flex-direction:column;gap:7px;font-size:10px;display:flex}.character-name-field input,.character-tab-panel textarea{color:#171715;text-transform:none;letter-spacing:0;background:#fbfaf7;border:1px solid #c9c5bc;border-radius:2px;outline:none;padding:12px 13px}.character-name-field input{font:20px Georgia,serif}.character-tabs{scrollbar-width:thin;border-bottom:1px solid #c9c5bc;padding:0 24px;display:flex;overflow-x:auto}.character-tabs button{color:#6d6860;background:0 0;border:0;border-bottom:2px solid #0000;flex:none;padding:11px 13px;font-size:11px}.character-tabs button.active{color:#842027;border-bottom-color:#842027}.character-tab-panel{padding:20px 24px}.character-tab-panel textarea{resize:vertical;min-height:220px;font:15px/1.6 Arial,sans-serif}.character-tab-panel textarea:focus,.character-name-field input:focus{border-color:#842027}@media (width<=760px){.constructor-reference-list section>div{grid-template-columns:1fr}.character-tabs{padding:0 14px}.character-name-field,.character-tab-panel{padding-left:18px;padding-right:18px}.character-tab-panel textarea{min-height:180px}.editor-modal:not(.concentration-mode)>header{align-items:center;gap:8px;padding:12px 12px 12px 16px}.editor-modal:not(.concentration-mode)>header>div:first-child{flex:1;min-width:0;overflow:hidden}.editor-modal:not(.concentration-mode)>header span{margin-bottom:3px;font-size:9px;line-height:1.2}.editor-modal:not(.concentration-mode)>header input{white-space:nowrap;text-overflow:ellipsis;width:100%;min-width:0;font-size:21px;line-height:1.2;display:block;overflow:hidden}.editor-modal:not(.concentration-mode) .editor-header-actions{flex:none;gap:5px}.editor-modal:not(.concentration-mode) .focus-toggle{color:#28241f;width:39px;min-width:39px;height:39px;box-shadow:none;background:#f3efe7;border:1px solid #aaa49a;border-radius:8px;justify-content:center;padding:0}.editor-modal:not(.concentration-mode) .focus-toggle:hover,.editor-modal:not(.concentration-mode) .focus-toggle:focus-visible{color:#812229;outline-offset:1px;background:#e7e1d7;border-color:#812229;outline:2px solid #81222933}.editor-modal:not(.concentration-mode) .focus-toggle span{display:none}.editor-modal:not(.concentration-mode) .editor-close-button{border-radius:8px;width:39px;min-width:39px;height:39px}.editor-modal:not(.concentration-mode) .focus-toggle svg,.editor-modal:not(.concentration-mode) .editor-close-button svg{width:19px;height:19px}}.focus-backdrop{z-index:1000;cursor:default;background:#f1ede3;width:100vw;height:100vh;padding:0;inset:0}.editor-modal.concentration-mode{width:100vw;max-width:none;height:100vh;max-height:none;box-shadow:none;cursor:default;background:#f1ede3;border:0;border-radius:0;margin:0;position:fixed;inset:0}.concentration-mode>header,.concentration-mode>.summary-label,.concentration-mode>.chapter-note-label,.concentration-mode>footer{display:none}.concentration-mode .text-label{color:#0000;cursor:default;background:#f1ede3;flex:1;padding:0;font-size:0}.concentration-mode .field-caption{display:none}.concentration-mode .rich-editor-shell{height:100%;box-shadow:none;cursor:default;background:#f1ede3;border:0;margin:0}.concentration-mode .format-toolbar{z-index:2;cursor:default;background:#e8e3d9;border-bottom:1px solid #cbc4b8;flex:none;justify-content:center;min-height:50px;padding:7px 18px;position:relative;top:auto;box-shadow:0 5px 18px #3c31220a}.concentration-mode .format-toolbar button{cursor:pointer}.concentration-mode .rich-text-editor{color:#29251f;caret-color:#812229;cursor:text;background:#f1ede3;height:100%;padding:52px max(46px,50vw - 460px);font-size:20px;line-height:1.9}.concentration-mode .editor-content-wrap,.concentration-mode .editor-content-wrap>div{cursor:default;background:#f1ede3}@media (width<=760px){.concentration-mode .text-label{padding:0}.concentration-mode .format-toolbar{justify-content:flex-start;padding:6px 8px}.concentration-mode .rich-text-editor{background:#f1ede3;padding:32px 22px;font-size:18px;line-height:1.82}}.concentration-mode .editor-content-wrap{flex:1 1 0;height:auto;min-height:0;overflow:hidden}.concentration-mode .editor-content-wrap>div{flex:1 1 0;height:100%;min-height:0;overflow:hidden}.concentration-mode .rich-text-editor{overscroll-behavior:contain;cursor:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='24' viewBox='0 0 16 24'%3E%3Cpath d='M4 2h8M8 2v20M4 22h8' fill='none' stroke='%23000000' stroke-width='2'/%3E%3C/svg%3E") 8 12,text;height:100%;min-height:0;max-height:100%;padding-bottom:120px;scroll-padding-top:52px;scroll-padding-bottom:120px;overflow:hidden auto}@media (width<=760px){.concentration-mode .rich-text-editor{padding-bottom:88px;scroll-padding-bottom:88px}}.backup-icon-group{background:#f7f5f0;border:1px solid #aaa49a;align-items:center;display:flex}.backup-icon-button{color:#403c37;cursor:pointer;background:0 0;border:0;border-right:1px solid #c8c3ba;place-items:center;width:43px;height:42px;padding:0;display:grid}.backup-icon-button:last-child{border-right:0}.backup-icon-button:hover,.backup-icon-button:focus-visible{color:#812229;background:#e8e3db;outline:none}.backup-icon-button svg{stroke-width:1.7px}@media (width<=760px){.projects-heading-actions{align-items:center}.backup-icon-group{flex:none}.projects-heading-actions .backup-icon-button{flex:0 0 42px;width:42px}.projects-heading-actions>.primary-small{flex:1}.backup-icon-button{height:40px}.topbar{gap:8px;padding:12px 13px}.topbar>div:first-child{flex:1;min-width:0;overflow:hidden}.topbar .project-title-row{gap:4px;min-width:0}.topbar .project-title{white-space:nowrap;text-overflow:ellipsis;width:auto;min-width:0;max-width:100%;font-size:21px;overflow:hidden}.topbar .rename-project-icon{width:32px;min-width:32px;height:38px}.topbar .header-actions{flex:none;gap:5px}.topbar .import-button,.topbar .export{width:40px;min-width:40px;height:40px;box-shadow:none;border-radius:8px;place-items:center;gap:0;padding:0;font-size:0;display:grid}.topbar .import-button{color:#28241f;background:#f3efe7;border:1px solid #aaa49a}.topbar .export{color:#fff;background:#1b1a18;border:1px solid #1b1a18}.topbar .import-button:hover,.topbar .import-button:focus-visible{color:#812229;outline-offset:1px;background:#e7e1d7;border-color:#812229;outline:2px solid #81222933}.topbar .export:hover,.topbar .export:focus-visible{outline-offset:1px;background:#812229;border-color:#812229;outline:2px solid #81222933}.topbar .import-button svg,.topbar .export svg{width:19px;height:19px;margin:0}}.storage-status-button,.snapshot-header-button,.split-here-button{color:#3b3833;cursor:pointer;background:#fbfaf6;border:1px solid #bdb7ad;border-radius:2px;align-items:center;gap:7px;min-height:40px;padding:9px 12px;font:12px Arial,sans-serif;display:flex}.storage-status-button:hover,.snapshot-header-button:hover,.split-here-button:hover{color:#842027;background:#fffaf3;border-color:#842027}.storage-status-button.error{color:#8a211e;background:#fff3ef;border-color:#a63b35}.snapshot-header-button,.split-here-button{font-family:Georgia,serif;font-size:14px}.structure-safety-note{color:#40483b;background:#edf1e8;border-left:3px solid #66765d;align-items:flex-start;gap:9px;margin:0;padding:12px 13px;line-height:1.45;display:flex}.structure-safety-note svg{flex:none;margin-top:1px}.split-preview{color:#5f5951;background:#f0ece4;border:1px solid #d3cec4;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px;padding:14px;display:grid}.split-preview span{text-align:center;font:15px Georgia,serif}.split-dialog .dialog-body>small{color:#716b63;line-height:1.45}.merge-preview{background:#f5f2ec;border:1px solid #d3cec4;grid-template-columns:1fr 1fr;display:grid}.merge-preview>span{color:#332f2a;grid-template-columns:25px 1fr;gap:4px 8px;padding:12px;display:grid}.merge-preview>span+span{border-left:1px solid #d3cec4}.merge-preview b{color:#fff;background:#842027;border-radius:50%;grid-row:1/3;place-items:center;width:23px;height:23px;font-size:11px;display:grid}.merge-preview small{color:#777068}.version-history-dialog,.storage-control-dialog{background:#f7f5f0;width:min(760px,94vw);max-height:88vh}.version-history-body,.storage-control-body{padding:22px 28px 28px;overflow:auto}.snapshot-create{gap:9px;display:flex}.snapshot-create input{background:#fffdf8;border:1px solid #bbb5aa;flex:1;padding:12px 13px;font:15px Arial,sans-serif}.snapshot-create button,.recovery-heading button{color:#fff;background:#1b1a18;border:0;align-items:center;gap:7px;padding:11px 14px;font:14px Georgia,serif;display:flex}.version-history-body>p{color:#716b63;margin:10px 0 18px;font-size:13px}.snapshot-list,.recovery-list{gap:8px;display:grid}.snapshot-list article,.recovery-list article{background:#fffdf8;border:1px solid #d3cec4;justify-content:space-between;align-items:center;gap:15px;padding:12px 13px;display:flex}.snapshot-list article>div:first-child,.recovery-list article>div:first-child{gap:4px;display:grid}.snapshot-list article span,.recovery-list article span{color:#746d64;font-size:12px}.snapshot-list article>div:last-child,.recovery-list article>div:last-child{gap:6px;display:flex}.snapshot-list button,.recovery-list button{color:#3e3933;background:0 0;border:1px solid #b9b2a7;align-items:center;gap:6px;padding:8px 10px;display:flex}.snapshot-list .snapshot-delete,.recovery-list .snapshot-delete{color:#842027;padding:8px}.history-empty{text-align:center;color:#716b63;border:1px dashed #bdb7ad;flex-direction:column;justify-content:center;align-items:center;gap:6px;min-height:160px;display:flex}.history-empty strong{color:#3f3a34;font-family:Georgia,serif}.storage-health{color:#485441;background:#eef2e9;border:1px solid #bfc9b8;align-items:center;gap:13px;padding:16px;display:flex}.storage-health.error{color:#842027;background:#fff0ec;border-color:#dfb7ad}.storage-health>div{gap:4px;display:grid}.storage-health span{font-size:12px}.recovery-heading{justify-content:space-between;align-items:end;gap:15px;margin:22px 0 10px;display:flex}.recovery-heading>div{gap:4px;display:grid}.recovery-heading span{color:#746d64;font-size:12px}@media (width<=760px){.snapshot-header-button,.storage-status-button{border-radius:8px;place-items:center;width:40px;min-width:40px;height:40px;padding:0;font-size:0;display:grid}.snapshot-header-button span,.storage-status-button span{display:none}.editor-header-actions{gap:5px}.split-here-button,.focus-toggle{place-items:center;width:42px;height:42px;padding:0;display:grid}.split-here-button span{display:none}.snapshot-create{display:grid}.snapshot-list article,.recovery-list article{align-items:flex-start}.snapshot-list article>div:last-child,.recovery-list article>div:last-child{flex-direction:column}.recovery-heading{flex-direction:column;align-items:stretch}.merge-preview{grid-template-columns:1fr}.merge-preview>span+span{border-top:1px solid #d3cec4;border-left:0}.version-history-body,.storage-control-body{padding:18px}}.topbar .header-actions{gap:7px}.topbar .storage-status-button,.topbar .snapshot-header-button,.topbar .install,.topbar .import-button,.topbar .export{width:44px;min-width:44px;height:44px;min-height:44px;box-shadow:none;border-radius:7px;place-items:center;gap:0;padding:0;font-size:0;line-height:0;display:grid!important}.topbar .storage-status-button svg,.topbar .snapshot-header-button svg,.topbar .install svg,.topbar .import-button svg,.topbar .export svg{width:19px;height:19px;margin:0}.topbar .storage-status-button,.topbar .snapshot-header-button,.topbar .install,.topbar .import-button{color:#302c27;background:#f7f4ed;border:1px solid #aaa49a}.topbar .storage-status-button:hover,.topbar .snapshot-header-button:hover,.topbar .install:hover,.topbar .import-button:hover{color:#812229;background:#ebe5db;border-color:#812229}.topbar .export{color:#fff;background:#1b1a18;border:1px solid #1b1a18}.topbar .export:hover{background:#812229;border-color:#812229}.topbar .storage-status-button.error{color:#8a211e;background:#fff3ef;border-color:#a63b35}.editor-modal:not(.concentration-mode)>header>div:first-child{flex:1;min-width:0;overflow:hidden}.editor-modal:not(.concentration-mode)>header input{white-space:nowrap;text-overflow:ellipsis;width:100%;min-width:0;display:block;overflow:hidden}.editor-modal:not(.concentration-mode) .editor-header-actions{flex:none;gap:7px}.editor-modal:not(.concentration-mode) .review-editor-button,.editor-modal:not(.concentration-mode) .split-here-button,.editor-modal:not(.concentration-mode) .focus-toggle,.editor-modal:not(.concentration-mode) .editor-close-button{color:#302c27;width:44px;min-width:44px;height:44px;min-height:44px;box-shadow:none;background:#f7f4ed;border:1px solid #aaa49a;border-radius:7px;place-items:center;gap:0;padding:0;font-size:0;line-height:0;display:grid}.editor-modal:not(.concentration-mode) .review-editor-button span,.editor-modal:not(.concentration-mode) .split-here-button span,.editor-modal:not(.concentration-mode) .focus-toggle span{display:none}.editor-modal:not(.concentration-mode) .review-editor-button svg,.editor-modal:not(.concentration-mode) .split-here-button svg,.editor-modal:not(.concentration-mode) .focus-toggle svg,.editor-modal:not(.concentration-mode) .editor-close-button svg{width:19px;height:19px;margin:0}.editor-modal:not(.concentration-mode) .review-editor-button:hover,.editor-modal:not(.concentration-mode) .split-here-button:hover,.editor-modal:not(.concentration-mode) .focus-toggle:hover,.editor-modal:not(.concentration-mode) .editor-close-button:hover{color:#812229;background:#ebe5db;border-color:#812229}.editor-modal:not(.concentration-mode) .review-editor-button.suggestion{color:#3d6658}.editor-modal:not(.concentration-mode) .review-editor-button:disabled{opacity:.35;cursor:not-allowed}@media (width<=520px){.topbar .storage-status-button,.topbar .snapshot-header-button,.topbar .install,.topbar .import-button,.topbar .export{width:40px;min-width:40px;height:40px;min-height:40px}.topbar .header-actions{gap:5px}.editor-modal:not(.concentration-mode) .review-editor-button,.editor-modal:not(.concentration-mode) .split-here-button,.editor-modal:not(.concentration-mode) .focus-toggle,.editor-modal:not(.concentration-mode) .editor-close-button{width:39px;min-width:39px;height:39px;min-height:39px}}.constructor-link-dialog{flex-direction:column;height:min(760px,94vh);max-height:94vh;display:flex;overflow:hidden}.constructor-link-dialog>header,.constructor-link-dialog>footer{flex:none}.constructor-reference-list{overscroll-behavior:contain;scrollbar-gutter:stable;flex:auto;min-height:0;padding-bottom:28px;overflow:hidden auto}.constructor-reference-list section{scroll-margin-top:16px}.constructor-reference-list section h3 b{color:#625c55;background:#e7e1d8;border-radius:10px;place-items:center;min-width:20px;height:20px;margin-left:2px;font:600 10px Arial,sans-serif;display:inline-grid}@media (width<=760px){.constructor-link-dialog{width:calc(100vw - 16px);height:calc(100dvh - 16px);max-height:calc(100dvh - 16px)}.constructor-reference-list{padding:16px 17px 30px}.constructor-link-dialog>header,.constructor-link-dialog>footer{padding-left:17px;padding-right:17px}}.plot-matrix-view{flex-direction:column;min-width:0;height:calc(100vh - 145px);min-height:540px;display:flex}.plot-matrix-heading{flex:none;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:17px;display:flex}.plot-matrix-heading>div>span{color:#812229;letter-spacing:.18em;text-transform:uppercase;font-size:9px}.plot-matrix-heading h1{margin:6px 0;font:400 clamp(30px,3vw,42px) Georgia,Times New Roman,serif}.plot-matrix-heading p{color:#716d66;margin:0;font-size:13px}.plot-matrix-scroll{overscroll-behavior:contain;scrollbar-gutter:stable;background:#f7f5f0;border:1px solid #c9c4bb;outline:none;flex:auto;min-height:0;overflow:auto}.plot-matrix-scroll:focus-visible{box-shadow:0 0 0 2px #81222955}.plot-matrix-table{border-collapse:separate;border-spacing:0;table-layout:fixed;color:#191816;min-width:max-content}.plot-matrix-table th,.plot-matrix-table td{vertical-align:top;background:#fbfaf7;border-bottom:1px solid #d4d0c8;border-right:1px solid #d4d0c8;width:240px;min-width:240px;padding:0}.plot-matrix-table thead th{z-index:3;border-top:4px solid var(--matrix-color,#812229);background:#ece9e2;height:92px;padding:10px 12px;position:sticky;top:0}.plot-matrix-table .matrix-corner,.plot-matrix-table tbody th{z-index:4;background:#eeebe4;width:250px;min-width:250px;position:sticky;left:0}.plot-matrix-table .matrix-corner{z-index:6;text-align:left;border-top-color:#1b1a18;display:table-cell;top:0}.matrix-corner span{color:#812229;letter-spacing:.13em;text-transform:uppercase;margin-bottom:10px;font-size:9px;display:block}.matrix-corner strong{font:400 18px Georgia,serif}.matrix-column-color{justify-content:space-between;align-items:center;margin-bottom:8px;display:flex}.matrix-column-color>input{cursor:pointer;background:0 0;border:0;width:22px;height:22px;padding:0}.matrix-column-color>input::-webkit-color-swatch-wrapper{padding:0}.matrix-column-color>input::-webkit-color-swatch{border:1px solid #8f8980;border-radius:50%}.matrix-column-color>span{background:var(--matrix-color);width:22px;height:3px;margin-left:6px;margin-right:auto}.matrix-column-color>div{gap:2px;display:flex}.matrix-column-color button{color:#716b64;background:0 0;border:0;place-items:center;width:24px;height:24px;padding:0;display:grid}.matrix-column-color button:hover:not(:disabled){color:#812229;background:#ddd8cf}.matrix-column-color button:disabled{opacity:.22;cursor:not-allowed}.matrix-column-title{color:#191816;background:0 0;border:0;border-bottom:1px solid #0000;outline:none;width:100%;padding:3px 1px 5px;font:400 16px/1.2 Georgia,serif}.matrix-column-title:focus{border-bottom-color:var(--matrix-color)}.plot-matrix-table tbody th{z-index:2;text-align:left;border-left:3px solid #0000;padding:13px 14px}.plot-matrix-table tbody th>span{color:#812229;letter-spacing:.12em;text-transform:uppercase;margin-bottom:6px;font-size:8px;display:block}.plot-matrix-table tbody th>button{text-align:left;color:#191816;background:0 0;border:0;width:100%;padding:0;display:grid}.plot-matrix-table tbody th strong{font:400 18px/1.25 Georgia,serif}.plot-matrix-table tbody th small{color:#716d66;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin-top:5px;font-size:10px;line-height:1.35;display:-webkit-box;overflow:hidden}.plot-matrix-table tbody th i{color:#812229;opacity:.75;align-items:center;gap:5px;margin-top:10px;font-size:9px;font-style:normal;display:flex}.plot-matrix-table tbody th:hover{background:#e9e5dd;border-left-color:#812229}.plot-matrix-table td{background:linear-gradient(180deg,color-mix(in srgb,var(--matrix-color) 5%,#fbfaf7),#fbfaf7 34%);height:132px;padding:8px}.plot-matrix-table td textarea{resize:none;color:#292623;background:0 0;border:1px solid #0000;outline:none;width:100%;height:100%;min-height:112px;padding:8px;font:12px/1.5 Arial,sans-serif;display:block}.plot-matrix-table td textarea::placeholder{color:#a49d94}.plot-matrix-table td textarea:hover{border-color:#d3cec5}.plot-matrix-table td textarea:focus{border-color:var(--matrix-color);box-shadow:0 0 0 2px color-mix(in srgb,var(--matrix-color) 14%,transparent);background:#fffefa}.matrix-empty{text-align:center;color:#716d66;background:#f7f5f080;border:1px dashed #aaa49a;flex-direction:column;flex:1;justify-content:center;align-items:center;display:flex}.matrix-empty strong{color:#393530;font:400 23px Georgia,serif}.matrix-empty p{font-size:13px}@media (width<=760px){.mobile-nav{grid-template-columns:repeat(7,1fr)}.plot-matrix-view{height:calc(100dvh - 142px);min-height:430px}.plot-matrix-heading{align-items:flex-start;gap:10px;margin-bottom:12px}.plot-matrix-heading h1{margin-top:4px;font-size:27px}.plot-matrix-heading p{display:none}.plot-matrix-heading .primary-small{flex:0 0 40px;place-items:center;width:40px;height:40px;padding:0;font-size:0;display:grid}.plot-matrix-table th,.plot-matrix-table td{width:205px;min-width:205px}.plot-matrix-table .matrix-corner,.plot-matrix-table tbody th{width:158px;min-width:158px}.plot-matrix-table thead th{height:86px;padding:8px}.plot-matrix-table tbody th{padding:11px 10px}.plot-matrix-table tbody th strong{font-size:15px}.plot-matrix-table tbody th small{display:none}.plot-matrix-table td{height:120px}.plot-matrix-table td textarea{min-height:100px}.mobile-nav button span{font-size:8px}}.manuscript-hierarchy{max-width:1420px;margin:0 auto}.hierarchy-heading>div:last-child{align-items:center;gap:8px;display:flex}.hierarchy-heading .secondary{align-items:center;gap:7px;padding:11px 14px;display:flex}.manuscript-part{background:#f7f5f0;border:1px solid #c9c4bb;margin-bottom:22px}.manuscript-part>header{background:#eae7e0;border-bottom:1px solid #d2cdc4;justify-content:space-between;align-items:center;gap:18px;min-height:84px;padding:14px 16px 14px 19px;display:flex}.manuscript-part>header>div:first-child{flex:1;grid-template-columns:auto minmax(180px,360px) minmax(180px,1fr);align-items:center;gap:13px;min-width:0;display:grid}.manuscript-part>header span{color:#812229;letter-spacing:.14em;text-transform:uppercase;white-space:nowrap;font-size:9px}.manuscript-part>header input{color:#191816;background:0 0;border:0;border-bottom:1px solid #0000;outline:none;min-width:0;padding:5px 2px;font:400 23px Georgia,serif}.manuscript-part>header input:focus{border-bottom-color:#812229}.manuscript-part>header .part-description{color:#716d66;font:12px Arial,sans-serif}.manuscript-part>header>div:last-child{align-items:center;gap:3px;display:flex}.manuscript-part>header button{color:#625d56;background:0 0;border:1px solid #0000;place-items:center;width:34px;height:34px;padding:0;display:grid}.manuscript-part>header button:hover:not(:disabled){color:#812229;background:#f5f2ec;border-color:#aaa49a}.manuscript-part>header button:disabled{opacity:.22;cursor:not-allowed}.hierarchy-chapter-grid{grid-template-columns:repeat(3,minmax(260px,1fr));align-items:start;gap:16px;padding:16px;display:grid}.chapter-structure-card{background:#fcfbf8;border:1px solid #d1cdc4;min-width:0;box-shadow:0 6px 22px #29241d0a}.chapter-structure-card>.chapter-card{min-height:185px;box-shadow:none;border:0;border-bottom:1px solid #d4d0c8}.chapter-structure-card>.chapter-card:hover{box-shadow:none}.chapter-scenes{min-height:62px;padding:11px 12px 13px}.chapter-scenes>div:first-child{justify-content:space-between;align-items:center;margin-bottom:7px;display:flex}.chapter-scenes>div:first-child>span{color:#716d66;text-transform:uppercase;letter-spacing:.1em;font-size:9px}.chapter-scenes>div:first-child>button{color:#812229;background:0 0;border:0;align-items:center;gap:4px;padding:4px;font-size:10px;display:flex}.hierarchy-scene{color:#302d29;text-align:left;background:0 0;border:0;border-top:1px solid #e0dcd4;grid-template-columns:15px 18px minmax(0,1fr) auto;align-items:center;gap:5px;width:100%;min-width:0;padding:8px 3px;display:grid}.hierarchy-scene:hover{background:#f0ece5}.hierarchy-scene>svg{color:#918a81}.hierarchy-scene>span{color:#812229;font-size:9px}.hierarchy-scene>strong{white-space:nowrap;text-overflow:ellipsis;font:400 13px Georgia,serif;overflow:hidden}.hierarchy-scene>small{color:#847e76;white-space:nowrap;font-size:9px}.empty-part-add{color:#812229;background:0 0;border:1px dashed #aaa49a;flex-direction:column;justify-content:center;align-items:center;gap:8px;min-height:145px;font:14px Georgia,serif;display:flex}.unassigned-scenes{background:#f6f3ed;border:1px dashed #aaa49a;margin:8px 0 25px;padding:17px}.unassigned-scenes>header{justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:13px;display:flex}.unassigned-scenes>header span{color:#812229;text-transform:uppercase;letter-spacing:.13em;font-size:9px}.unassigned-scenes h2{margin:4px 0 0;font:400 23px Georgia,serif}.unassigned-scenes>header small{color:#716d66;max-width:520px;font-size:11px;line-height:1.4}.unassigned-scenes>div{flex-wrap:wrap;gap:8px;display:flex}.unassigned-scenes>div>button{color:#292623;text-align:left;background:#fcfbf8;border:1px solid #cbc6bd;grid-template-columns:auto auto;align-items:center;gap:3px 7px;padding:9px 11px;display:grid}.unassigned-scenes button>svg{color:#812229;grid-row:1/3}.unassigned-scenes button strong{font:400 13px Georgia,serif}.unassigned-scenes button span{color:#817a72;font-size:9px}.scene-card-meta{color:#827b72;margin-top:10px;font-size:10px}.scene-editor-dialog{flex-direction:column;width:min(900px,96vw);height:min(880px,95vh);display:flex}.scene-editor-dialog>header,.scene-editor-dialog>footer{flex:none}.scene-dialog-body{flex:auto;align-content:start;min-height:0;overflow-y:auto}.scene-fields-row{grid-template-columns:1fr 1fr;gap:13px;display:grid}.scene-fields-row label{color:#6d6a64;text-transform:uppercase;letter-spacing:.08em;flex-direction:column;gap:7px;font-size:11px;display:flex}.scene-dialog-body .scene-summary-editor{min-height:78px}.scene-dialog-body .scene-manuscript-editor{background:#f4f0e7;min-height:300px;font:18px/1.75 Georgia,Times New Roman,serif}.scene-dialog-body .scene-notes-editor{min-height:82px}.scene-editor-dialog>footer>span{color:#716d66;font-size:11px}.scene-editor-dialog>footer>div{gap:8px;display:flex}@media (width<=1180px){.hierarchy-chapter-grid{grid-template-columns:repeat(2,minmax(250px,1fr))}}@media (width<=760px){.hierarchy-heading{align-items:flex-start}.hierarchy-heading>div:last-child{flex:none}.hierarchy-heading .secondary,.hierarchy-heading .primary-small{place-items:center;width:40px;height:40px;padding:0;font-size:0;display:grid}.manuscript-part>header{align-items:flex-start;padding:11px 10px}.manuscript-part>header>div:first-child{grid-template-columns:1fr;gap:2px}.manuscript-part>header>div:first-child>span{display:none}.manuscript-part>header input{font-size:19px}.manuscript-part>header .part-description{font-size:11px}.manuscript-part>header>div:last-child{grid-template-columns:repeat(2,30px);display:grid}.manuscript-part>header button{width:30px;height:30px}.hierarchy-chapter-grid{grid-template-columns:1fr;gap:12px;padding:10px}.unassigned-scenes>header{display:block}.unassigned-scenes>header small{margin-top:8px;display:block}.scene-editor-dialog{width:100%;height:98vh}.scene-fields-row{grid-template-columns:1fr}.scene-dialog-body .scene-manuscript-editor{min-height:240px}.hierarchy-scene{grid-template-columns:15px 18px minmax(0,1fr)}.hierarchy-scene>small{display:none}}.matrix-heading-actions{align-items:center;gap:9px;display:flex}.matrix-mode-switch{background:#f7f5f0;border:1px solid #aaa49a;display:flex}.matrix-mode-switch button{color:#5e5952;background:0 0;border:0;border-right:1px solid #c9c4bb;min-height:40px;padding:0 14px;font-size:11px}.matrix-mode-switch button:last-child{border-right:0}.matrix-mode-switch button.active{color:#fff;background:#1b1a18}.matrix-mode-switch button:hover:not(.active){color:#812229;background:#e8e3db}.plot-matrix-table tbody .matrix-part-row>th,.plot-matrix-table tbody .matrix-chapter-group>th{z-index:2;background:#dedad2;border-left:0;width:auto;min-width:0;padding:0;position:sticky;left:0}.matrix-part-row>th{height:42px}.matrix-part-row>th>svg{vertical-align:middle;color:#812229;margin-left:14px}.matrix-part-row>th>span{color:#812229;letter-spacing:.13em;text-transform:uppercase;margin:0 8px;font-size:8px;display:inline-block}.matrix-part-row>th>strong{font:400 15px Georgia,serif}.matrix-unassigned-row>th{background:#eee4df}.matrix-chapter-group>th{background:#eeebe5;height:37px}.matrix-chapter-group>th>button{text-align:left;background:0 0;border:0;align-items:center;gap:9px;width:100%;height:100%;padding:0 14px;display:flex}.matrix-chapter-group button>span{color:#812229;text-transform:uppercase;letter-spacing:.1em;font-size:8px}.matrix-chapter-group button>strong{font:400 14px Georgia,serif}.matrix-chapter-group button>small{color:#7b756e;font-size:9px}.matrix-chapter-group button:hover{background:#e5e0d8}.plot-matrix-table .matrix-scene-row>th{border-left:3px solid #b7aaa0;padding-left:25px}.matrix-scene-row>th>span,.matrix-scene-row>th i{color:#6f718f}@media (width<=760px){.matrix-heading-actions{gap:5px}.matrix-mode-switch button{min-height:40px;padding:0 9px;font-size:9px}.matrix-part-row>th>strong{font-size:13px}.matrix-chapter-group>th>button{padding-left:10px}.matrix-chapter-group button>strong{font-size:12px}.plot-matrix-table .matrix-scene-row>th{padding-left:16px}}.scene-based-matrix .matrix-heading-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.matrix-character-filter,.matrix-sync-button,.matrix-bird-toggle,.matrix-location-button{color:#393631;background:#f7f5f0;border:1px solid #aaa49a;align-items:center;gap:7px;height:40px;padding:0 11px;font:11px Arial,sans-serif;display:flex}.matrix-character-filter:focus-within,.matrix-bird-toggle:hover,.matrix-location-button:hover{color:#812229;border-color:#812229}.matrix-character-filter select{max-width:180px;color:inherit;font:inherit;background:0 0;border:0;outline:0}.matrix-bird-toggle.active{color:#fff;background:#1b1a18;border-color:#1b1a18}.matrix-sync-button:hover{color:#812229;border-color:#812229}.matrix-sync-button.synced{color:#3d6658;background:#eef3ef;border-color:#55776a}.scene-matrix-table .matrix-component-heading{text-align:left;border-top-color:#82796d;width:190px;min-width:190px}.scene-matrix-table .matrix-component-heading strong{margin-top:9px;font:400 15px Georgia,serif;display:block}.scene-matrix-table .matrix-scene-row>th{border-left:3px solid #0000;padding:12px 13px}.matrix-thesis-input{color:#4c4741;background:#f8f5ef;border:1px solid #d1ccc3;outline:0;width:100%;margin-top:9px;padding:6px 7px;font:10px/1.35 Arial,sans-serif}.matrix-thesis-input:focus{background:#fffefa;border-color:#812229}.matrix-scene-order{align-items:center;gap:4px;margin:0 0 5px -7px;display:flex}.plot-matrix-table tbody th .matrix-scene-order>span{color:#812229;letter-spacing:.12em;text-transform:uppercase;margin:0;font-size:8px}.matrix-scene-order>button{color:#888179;cursor:grab;background:0 0;border:0;place-items:center;width:24px;height:24px;padding:0;display:grid}.matrix-scene-order>button:hover{color:#812229;background:#ded9d1}.matrix-scene-order>button:active{cursor:grabbing}.matrix-scene-dragging{opacity:.42}.matrix-scene-row.matrix-scene-dragging~.matrix-scene-row{transition:background .12s}.matrix-scene-row:has(~.matrix-scene-dragging){transition:background .12s}.scene-matrix-table .matrix-characters-cell,.scene-matrix-table .matrix-location-cell{background:#f7f4ee;width:190px;min-width:190px;padding:10px}.matrix-characters-cell details{position:relative}.matrix-characters-cell summary{cursor:pointer;color:#514c46;background:#fffdfa;border:1px solid #cbc5bc;padding:9px;font-size:11px;list-style:none}.matrix-characters-cell summary::-webkit-details-marker{display:none}.matrix-characters-cell details>div{z-index:12;background:#fffefa;border:1px solid #aaa49a;width:210px;max-height:230px;padding:7px;position:absolute;top:38px;left:0;overflow:auto;box-shadow:0 10px 28px #29241d24}.matrix-characters-cell details label{color:#393631;align-items:center;gap:7px;padding:7px 5px;font-size:11px;display:flex}.matrix-characters-cell details label:hover{background:#eee9e1}.matrix-characters-cell details p{color:#77716a;padding:7px;font-size:10px}.matrix-location-cell select{color:#514c46;background:#fffdfa;border:1px solid #cbc5bc;width:100%;padding:9px;font-size:11px}.bird-summary{white-space:nowrap;text-overflow:ellipsis;color:#514c46;font-size:10px;display:block;overflow:hidden}.scene-based-matrix.bird-view .plot-matrix-table thead th{height:66px}.scene-based-matrix.bird-view .plot-matrix-table td{height:62px;padding:6px}.scene-based-matrix.bird-view .plot-matrix-table td textarea{height:48px;min-height:48px;padding:5px;font-size:10px;line-height:1.25}.scene-based-matrix.bird-view .matrix-scene-row>th{height:62px;padding:7px 10px}.scene-based-matrix.bird-view .matrix-scene-row>th i{display:none}.scene-based-matrix.bird-view .matrix-thesis-input{white-space:nowrap;text-overflow:ellipsis;margin-top:4px;padding:3px 5px}.scene-based-matrix.bird-view .matrix-scene-row>th strong{font-size:14px}.matrix-filter-empty td{text-align:center;color:#746e67;font-size:12px;vertical-align:middle!important;height:100px!important}.matrix-location-dialog{flex-direction:column;width:min(700px,94vw);max-height:86vh;display:flex}.matrix-location-list{min-height:180px;padding:20px 25px;overflow:auto}.matrix-location-list>article{border-bottom:1px solid #ddd8cf;grid-template-columns:auto 1fr auto;align-items:start;gap:11px;padding:12px 0;display:grid}.matrix-location-list article>svg{color:#812229;margin-top:9px}.matrix-location-list article>div{gap:7px;display:grid}.matrix-location-list input,.matrix-location-list textarea{background:#fffefa;border:1px solid #c9c4bb;width:100%;padding:8px}.matrix-location-list textarea{resize:vertical;min-height:58px}.matrix-location-list article>button{color:#8b8279;background:0 0;border:0;padding:8px}.matrix-location-list article>button:hover{color:#812229}.matrix-location-list>p{text-align:center;color:#77716a;padding:40px}.scene-character-picker{border:1px solid #cbc6bd;padding:10px 12px}.scene-character-picker legend{color:#6d6a64;text-transform:uppercase;letter-spacing:.08em;padding:0 6px;font-size:10px}.scene-character-picker>div{flex-wrap:wrap;gap:7px;display:flex}.scene-character-picker label{background:#f7f4ee;border:1px solid #d5d0c7;align-items:center;gap:6px;padding:7px 9px;font-size:11px;display:flex}.scene-character-picker p{color:#77716a;margin:4px;font-size:11px}@media (width<=760px){.scene-based-matrix .plot-matrix-heading{display:block}.scene-based-matrix .matrix-heading-actions{justify-content:flex-start;margin-top:10px}.matrix-character-filter{flex:1}.matrix-character-filter select{width:100%;max-width:none}.matrix-sync-button span,.matrix-bird-toggle span,.matrix-location-button span{display:none}.matrix-sync-button,.matrix-bird-toggle,.matrix-location-button{justify-content:center;width:40px;padding:0}.scene-matrix-table .matrix-component-heading,.scene-matrix-table .matrix-characters-cell,.scene-matrix-table .matrix-location-cell{width:155px;min-width:155px}.scene-matrix-table .matrix-scene-row>th{padding-left:10px}.matrix-location-list{padding:14px}}.editorial-tools-view{max-width:1500px;margin:0 auto;padding-bottom:40px}.editorial-heading{justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:18px;display:flex}.editorial-heading>div:first-child>span{color:#812229;letter-spacing:.16em;text-transform:uppercase;font-size:9px}.editorial-heading h1{margin:6px 0;font:400 42px Georgia,serif}.editorial-heading p{color:#716d66;margin:0;font-size:13px}.editorial-heading>div:last-child{gap:8px;display:flex}.editorial-heading button{align-items:center;gap:7px;display:flex}.editorial-heading button:disabled{opacity:.4;cursor:not-allowed}.editorial-summary{background:#f8f6f1;border:1px solid #c8c3ba;grid-template-columns:repeat(5,1fr);margin-bottom:16px;display:grid}.editorial-summary button{text-align:left;color:#5c5750;background:0 0;border:0;border-right:1px solid #d5d0c7;justify-content:space-between;align-items:center;min-height:73px;padding:12px 15px;display:flex}.editorial-summary button:last-child{border-right:0}.editorial-summary button:hover,.editorial-summary button.active{color:#812229;background:#e9e4dc}.editorial-summary span{font-size:11px}.editorial-summary strong{font:400 25px Georgia,serif}.editorial-layout{grid-template-columns:minmax(0,1fr) 245px;align-items:start;gap:16px;display:grid}.editorial-main{gap:16px;display:grid}.editorial-panel,.frequency-panel{background:#fbfaf7;border:1px solid #c9c4bb}.editorial-panel>header,.frequency-panel>header{background:#ece9e2;border-bottom:1px solid #d3cec5;justify-content:space-between;align-items:center;gap:12px;min-height:62px;padding:12px 15px;display:flex}.editorial-panel>header>div,.frequency-panel>header{align-items:center;gap:10px;display:flex}.editorial-panel header svg,.frequency-panel header svg{color:#812229}.editorial-panel header span,.frequency-panel header div{gap:3px;display:grid}.editorial-panel header strong,.frequency-panel header strong{font:400 16px Georgia,serif}.editorial-panel header small,.frequency-panel header small{color:#7a746c;font-size:9px}.editorial-panel header select{background:#f9f7f2;border:1px solid #bdb7ae;padding:8px;font-size:10px}.editorial-issue-list{max-height:500px;overflow:auto}.editorial-issue-list article{border-bottom:1px solid #e0dcd4;grid-template-columns:minmax(0,1fr) auto;display:grid}.issue-copy{text-align:left;color:#282522;background:0 0;border:0;padding:13px 16px}.issue-copy:hover{background:#f2eee7}.issue-copy>span{color:#812229;letter-spacing:.1em;text-transform:uppercase;margin-bottom:5px;font-size:8px;display:block}.issue-copy>strong{font:400 14px Georgia,serif}.issue-copy p{color:#6d6760;white-space:pre-wrap;margin:6px 0 0;font:11px/1.5 Arial,sans-serif}.issue-fix{color:#812229;background:#f8f5ef;border:1px solid #b9b2a8;align-self:center;align-items:center;gap:5px;margin-right:13px;padding:7px 9px;font-size:9px;display:flex}.issue-fix:hover{color:#fff;background:#812229}.editorial-empty{color:#55776a;flex-direction:column;justify-content:center;align-items:center;gap:8px;min-height:150px;font:14px Georgia,serif;display:flex}.replace-controls{grid-template-columns:1fr auto 1fr auto;align-items:end;gap:10px;padding:16px;display:grid}.replace-controls label{color:#716b64;text-transform:uppercase;letter-spacing:.09em;gap:6px;font-size:9px;display:grid}.replace-controls input{background:#fffefa;border:1px solid #bdb7ae;height:39px;padding:0 10px;font:12px Arial,sans-serif}.replace-controls>svg{color:#8b847b;margin-bottom:10px}.replace-controls>button{color:#fff;background:#1b1a18;border:1px solid #1b1a18;height:39px;padding:0 14px;font-size:10px}.replace-controls>button:disabled{opacity:.35}.replace-options{color:#625d56;align-items:center;gap:17px;padding:0 16px 14px;font-size:10px;display:flex}.replace-options label{align-items:center;gap:6px;display:flex}.replace-options button{color:#812229;background:0 0;border:0;margin-left:auto;font-size:10px}.replace-preview{border-top:1px solid #ddd8cf;max-height:280px;overflow:auto}.replace-preview>p{color:#716b64;background:#f1eee8;margin:0;padding:9px 15px;font-size:9px}.replace-preview>label{border-top:1px solid #e7e3db;align-items:flex-start;gap:9px;padding:9px 15px;display:flex}.replace-preview label>span{gap:3px;display:grid}.replace-preview strong{font:400 12px Georgia,serif}.replace-preview small{color:#716b64;font-size:10px;line-height:1.35}.frequency-panel{position:sticky;top:0}.frequency-panel>header{justify-content:flex-start}.frequency-panel ol{max-height:670px;margin:0;padding:0;list-style:none;overflow:auto}.frequency-panel li{border-bottom:1px solid #e5e1d9;grid-template-columns:25px minmax(0,1fr) auto;align-items:center;gap:7px;padding:8px 11px;display:grid}.frequency-panel li>span{color:#9b948b;font-size:8px}.frequency-panel li>strong{text-overflow:ellipsis;font:400 12px Georgia,serif;overflow:hidden}.frequency-panel li>b{text-align:center;color:#812229;background:#e8e3db;border-radius:10px;min-width:27px;padding:3px 6px;font-size:9px}.frequency-panel>p{color:#77716a;text-align:center;padding:25px;font-size:11px}.editor-modal .ProseMirror ::selection{color:#fff;text-shadow:none;background:#2775d8}.editor-modal .ProseMirror::selection{color:#fff;text-shadow:none;background:#2775d8}.editorial-selection-source::selection{color:#fff;text-shadow:none;background:#2775d8}.account-control{background:#f7f5f0;border:1px solid #aaa49a;align-items:center;min-height:40px;display:flex}.account-button,.account-signout{color:#423e38;background:0 0;border:0;align-items:center;gap:7px;height:38px;padding:0 11px;font:12px Arial,sans-serif;display:flex}.account-button{max-width:180px}.account-button span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.account-button:hover:not(:disabled),.account-button.active{color:#812229;background:#e8e3db}.account-button:disabled{opacity:.65;cursor:wait}.account-signout{border-left:1px solid #c8c3ba;padding:0 10px}.account-signout:hover{color:#812229;background:#f2e5e2}.auth-dialog{width:min(470px,94vw)}.auth-dialog .dialog-body{gap:14px}.auth-form footer{border-top:1px solid var(--line);justify-content:flex-end;gap:9px;margin-top:3px;padding:17px 0 0;display:flex}.auth-mode-switch{background:#f7f5f0;border:1px solid #c9c5bc;grid-template-columns:1fr 1fr;display:grid}.auth-mode-switch button{color:#5f5a53;background:0 0;border:0;border-right:1px solid #c9c5bc;padding:11px;font:13px Georgia,serif}.auth-mode-switch button:last-child{border-right:0}.auth-mode-switch button.active{color:#fff;background:#1b1a18}.auth-error{color:#842027;background:#f2e4e2;border-left:2px solid #842027;margin:0;padding:10px 12px;font-size:12px;line-height:1.45}.auth-form>small,.account-profile>small{color:#716b63;font-size:11px;line-height:1.45}.account-profile{grid-template-columns:auto 1fr;align-items:center;column-gap:13px}.account-avatar{color:#842027;background:#ece7de;border:1px solid #bdb7ad;place-items:center;width:46px;height:46px;display:grid}.account-profile>div:nth-child(2){gap:4px;display:grid}.account-profile>div:nth-child(2) strong{font:400 20px Georgia,serif}.account-profile>div:nth-child(2) span{color:#716b63;overflow-wrap:anywhere;font-size:12px}.account-profile p,.account-profile>small{grid-column:1/-1;margin:0}.account-verified,.account-unverified{align-items:center;gap:7px;padding:10px 11px;font-size:12px;display:flex}.account-verified{color:#45503e;background:#edf1e8;border-left:2px solid #66765d}.account-unverified{color:#6a5426;background:#f5eddd;border-left:2px solid #9c722f}.guest-mode .sidebar nav button:disabled{opacity:.42;cursor:not-allowed;color:#827c73}.guest-mode .sidebar nav button:disabled:hover{color:#827c73;background:0 0}.guest-mode .review-editor-button,.guest-mode .editor-review-strip,.guest-mode .backup-icon-button:nth-child(2){display:none}.guest-mode .projects-heading>div:first-child:after{content:"Гостьовий режим · 1 проєкт";color:#6a5544;letter-spacing:.04em;background:#eee8df;border-left:2px solid #842027;margin-top:10px;padding:5px 8px;font-size:10px;display:inline-block}.export-format-dialog{width:min(560px,94vw)}.export-format-dialog .dialog-body>p{color:#6d6860;margin:0;font-size:13px}.export-format-options{border:1px solid #c9c5bc;grid-template-columns:1fr 1fr;display:grid}.export-format-options button{text-align:left;color:#24211e;background:#fbfaf7;border:0;border-right:1px solid #c9c5bc;align-content:start;gap:12px;min-height:154px;padding:20px;display:grid}.export-format-options button:last-child{border-right:0}.export-format-options button:hover,.export-format-options button:focus-visible{color:#842027;background:#eee8df;outline:none}.export-format-options strong{font:400 28px Georgia,serif}.export-format-options span{color:#6d6860;font-size:12px;line-height:1.5}.export-format-options button:hover span{color:#5c5148}.parts-organizer-dialog{flex-direction:column;width:min(820px,95vw);max-height:90vh;display:flex}.parts-organizer-body{grid-template-columns:minmax(230px,.8fr) minmax(330px,1.3fr);gap:24px;min-height:0;padding:20px 24px;display:grid;overflow:auto}.parts-organizer-body>section{min-width:0}.parts-organizer-body>section>strong,.parts-organizer-subhead>strong{color:#812229;margin-bottom:11px;font:400 15px Georgia,serif;display:block}.parts-organizer-subhead{justify-content:space-between;align-items:center;gap:10px;display:flex}.parts-organizer-subhead>button{color:#812229;background:0 0;border:0;align-items:center;gap:5px;padding:5px;font-size:9px;display:flex}.organizer-part-name{grid-template-columns:27px 1fr;align-items:center;gap:7px;margin-bottom:7px;display:grid}.organizer-part-name>span{color:#9a9389;font-size:9px}.organizer-part-name>input{background:#fffefa;border:1px solid #cbc6bd;outline:none;width:100%;padding:9px 10px;font:13px Georgia,serif}.organizer-part-name>input:focus{border-color:#812229}.organizer-chapter-list{border:1px solid #d1ccc3}.organizer-chapter-list>label{border-bottom:1px solid #ded9d0;grid-template-columns:minmax(0,1fr) minmax(150px,210px);align-items:center;gap:12px;padding:10px 11px;display:grid}.organizer-chapter-list>label:last-child{border-bottom:0}.organizer-chapter-list label>span{gap:3px;min-width:0;display:grid}.organizer-chapter-list small{color:#8a837a;text-transform:uppercase;letter-spacing:.08em;font-size:8px}.organizer-chapter-list b{text-overflow:ellipsis;white-space:nowrap;font:400 13px Georgia,serif;overflow:hidden}.organizer-chapter-list select{background:#fbf9f4;border:1px solid #c6c0b7;min-width:0;padding:8px;font-size:10px}.organizer-empty{text-align:center;color:#77716a;border:1px dashed #bdb7ae;padding:25px;font-size:11px}.parts-organizer-dialog>footer{flex:none}@media (width<=760px){.parts-organizer-open{place-items:center;width:40px!important;height:40px!important;padding:0!important;font-size:0!important;display:grid!important}.parts-organizer-body{grid-template-columns:1fr;gap:20px;padding:15px}.organizer-chapter-list>label{grid-template-columns:1fr}.parts-organizer-dialog{height:96vh;max-height:96vh}.export-format-options{grid-template-columns:1fr}.export-format-options button{border-bottom:1px solid #c9c5bc;border-right:0;min-height:112px}.export-format-options button:last-child{border-bottom:0}.account-control{min-width:40px}.account-button{justify-content:center;width:40px;padding:0}.account-button span,.account-signout{display:none}.auth-dialog{width:100%}.auth-dialog .dialog-body{padding:18px}.account-profile{grid-template-columns:auto minmax(0,1fr)}}@media (width<=1050px){.editorial-layout{grid-template-columns:1fr}.frequency-panel{position:static}.frequency-panel ol{grid-template-columns:repeat(3,1fr);max-height:330px;display:grid}.editorial-summary{grid-template-columns:repeat(3,1fr)}}@media (width<=760px){.mobile-nav{scrollbar-width:none;grid-template-columns:repeat(10,minmax(58px,1fr));overflow-x:auto}.mobile-nav::-webkit-scrollbar{display:none}.editorial-heading{align-items:flex-start}.editorial-heading h1{font-size:30px}.editorial-heading p{display:none}.editorial-heading>div:last-child button{place-items:center;width:40px;height:40px;padding:0;font-size:0;display:grid}.editorial-summary{display:flex;overflow-x:auto}.editorial-summary button{min-width:130px}.replace-controls{grid-template-columns:1fr}.replace-controls>svg{display:none}.replace-options{flex-wrap:wrap;align-items:flex-start}.replace-options button{margin-left:0}.frequency-panel ol{grid-template-columns:1fr 1fr}.editorial-issue-list{max-height:430px}.editorial-issue-list article{grid-template-columns:1fr}.issue-fix{justify-self:start;margin:0 13px 10px}}.writing-statistics{max-width:980px;margin:0 auto;padding-bottom:48px}.writing-goal-card,.writing-chart-card{background:#f8f6f1;border:1px solid #c9c4bb;box-shadow:0 8px 24px #2a21150c}.writing-goal-card{grid-template-columns:auto minmax(220px,1fr) 150px 120px;align-items:center;gap:20px;padding:24px;display:grid}.writing-goal-icon{color:#fff;background:#842027;place-items:center;width:48px;height:48px;display:grid}.writing-goal-copy{gap:5px;display:grid}.writing-goal-copy>span,.writing-goal-card label{letter-spacing:.1em;text-transform:uppercase;color:#716b63;font-size:10px}.writing-goal-copy strong{color:#282520;font:400 22px Georgia,Times New Roman,serif}.writing-goal-copy small{color:#716b63;font-size:12px}.writing-progress-track{background:#e1ddd5;height:7px;overflow:hidden}.writing-progress-track i{background:#842027;height:100%;transition:width .2s;display:block}.writing-goal-card label{gap:7px;display:grid}.writing-goal-card select,.writing-goal-card input{color:#2c2925;background:#fffdf9;border:1px solid #bcb6ad;height:39px;padding:0 10px;font:14px Georgia,serif}.writing-chart-card{margin-top:20px;padding:24px}.writing-chart-card header>div{color:#842027;align-items:center;gap:11px;display:flex}.writing-chart-card header strong,.writing-chart-card header span{display:block}.writing-chart-card header strong{color:#2c2925;font:400 21px Georgia,Times New Roman,serif}.writing-chart-card header span{color:#716b63;margin-top:3px;font-size:12px}.writing-chart{border-top:1px solid #ddd8d0;grid-template-columns:repeat(7,1fr);align-items:end;gap:14px;height:285px;margin-top:24px;padding:12px 4px 0;display:grid}.writing-chart>div{text-align:center;grid-template-rows:25px 1fr 20px;align-items:end;gap:6px;min-width:0;height:100%;display:grid}.writing-chart span{color:#625d56;text-overflow:ellipsis;font-size:11px;overflow:hidden}.writing-chart i{background:linear-gradient(#a8464b,#842027);align-self:end;width:100%;min-height:0;box-shadow:0 -1px #6e171e}.writing-chart small{letter-spacing:.05em;text-transform:uppercase;color:#807970;font-size:10px}.writing-chart>div:hover i{background:#5e1117}.writing-chart>div:hover span{color:#842027;font-weight:700}@media (width<=760px){.writing-goal-card{grid-template-columns:auto minmax(0,1fr);gap:16px}.writing-goal-card label{grid-column:span 1}.writing-goal-copy{grid-column:2}.writing-chart-card,.writing-goal-card{padding:18px}.writing-chart{gap:7px;height:230px}.writing-chart span{font-size:9px}}@media (width<=430px){.writing-goal-card label{grid-column:span 2}.writing-chart{height:210px}}.manuscript-part>header{gap:13px;min-height:63px;padding:10px 12px 10px 15px}.manuscript-part>header>div:first-child{grid-template-columns:auto minmax(150px,300px);gap:10px}.manuscript-part>header span{font-size:8px}.manuscript-part>header input{padding:3px 1px;font-size:17px}.manuscript-part>header .part-description{display:none}.manuscript-part>header>div:last-child{gap:2px}.manuscript-part>header button{width:26px;height:26px}.manuscript-part>header button svg{width:15px;height:15px}@media (width<=760px){.manuscript-part>header{min-height:50px;padding:8px 9px}.manuscript-part>header>div:first-child{grid-template-columns:minmax(0,1fr);gap:0}.manuscript-part>header input{font-size:16px}.manuscript-part>header>div:last-child{grid-template-columns:repeat(2,25px)}.manuscript-part>header button{width:25px;height:25px}.manuscript-part>header button svg{width:14px;height:14px}}.hierarchy-heading{align-items:center;margin-bottom:13px}.hierarchy-heading h1{margin-bottom:4px;font-size:clamp(25px,1.9vw,30px);line-height:1.08}.hierarchy-heading p{font-size:14px;line-height:1.3}.hierarchy-heading>div:last-child{gap:6px}.hierarchy-heading .secondary,.hierarchy-heading .primary-small{justify-content:center;min-height:54px;padding:8px 11px;font-size:13px;line-height:1.12}.hierarchy-heading .secondary{gap:6px}.hierarchy-heading .secondary svg,.hierarchy-heading .primary-small svg{width:15px;height:15px}@media (width<=760px){.hierarchy-heading{gap:9px;margin-bottom:10px}.hierarchy-heading h1{margin-bottom:3px;font-size:24px}.hierarchy-heading p{font-size:12px;line-height:1.25}.hierarchy-heading .secondary,.hierarchy-heading .primary-small{width:34px;height:34px;min-height:34px;padding:0}.hierarchy-heading .secondary svg,.hierarchy-heading .primary-small svg{width:14px;height:14px}}.locale-toggle{z-index:18;background:#f7f5f0;border:1px solid #aaa49a;display:flex;position:fixed;bottom:18px;right:18px;box-shadow:0 5px 16px #17130f24}.locale-toggle button{color:#5f5a53;letter-spacing:.05em;cursor:pointer;background:0 0;border:0;border-right:1px solid #c9c4bb;width:38px;height:34px;font:600 11px Arial,sans-serif}.locale-toggle button:last-child{border-right:0}.locale-toggle button:hover,.locale-toggle button.active{color:#fff;background:#1b1a18}@media (width<=760px){.locale-toggle{bottom:84px;right:12px}}html[data-locale=en] .guest-mode .projects-heading>div:first-child:after{content:"Guest mode · 1 project"}.review-workspace{max-width:1450px;margin:0 auto;padding-bottom:48px}.review-heading{justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:20px;display:flex}.review-heading>div:first-child>span{color:#812229;letter-spacing:.16em;text-transform:uppercase;font-size:9px}.review-heading h1{margin:6px 0;font:400 42px Georgia,serif}.review-heading p{color:#716d66;margin:0;font-size:13px}.review-heading-actions{align-items:flex-end;gap:9px;display:flex}.review-heading-actions label{color:#716b64;text-transform:uppercase;letter-spacing:.09em;gap:5px;font-size:9px;display:grid}.review-heading-actions input{background:#fffefa;border:1px solid #bdb7ae;width:165px;height:38px;padding:0 10px}.review-heading-actions button{align-items:center;gap:7px;height:38px;display:flex}.review-overview{background:#f8f6f1;border:1px solid #c8c3ba;grid-template-columns:repeat(3,minmax(110px,170px)) minmax(370px,1fr);margin-bottom:12px;display:grid}.review-overview article{border-right:1px solid #d5d0c7;justify-content:space-between;align-items:center;min-height:72px;padding:13px 15px;display:flex}.review-overview article span{color:#67615a;font-size:10px}.review-overview article strong{color:#812229;font:400 25px Georgia,serif}.review-display-modes{grid-template-columns:repeat(3,1fr);align-items:stretch;display:grid}.review-display-modes button{color:#5e5952;background:0 0;border:0;border-left:1px solid #d5d0c7;font-size:10px}.review-display-modes button.active{color:#fff;background:#1b1a18}.review-bulk-actions{background:#eae6df;border:1px solid #c8c3ba;align-items:center;gap:8px;min-height:48px;margin-bottom:12px;padding:7px 10px 7px 14px;display:flex}.review-bulk-actions>span{color:#57514a;align-items:center;gap:8px;margin-right:auto;font-size:11px;display:flex}.review-bulk-actions button{background:#f8f6f1;border:1px solid #aaa49a;align-items:center;gap:6px;height:32px;padding:0 10px;font-size:9px;display:flex}.review-bulk-actions button:disabled{opacity:.38}.review-filters{grid-template-columns:minmax(220px,1.5fr) repeat(4,minmax(135px,1fr));gap:8px;margin-bottom:14px;display:grid}.review-filters>label,.review-filters>select{background:#fbf9f4;border:1px solid #c6c0b7;min-width:0;height:39px;padding:0 10px;font-size:10px}.review-filters>label{align-items:center;gap:7px;display:flex}.review-filters input,.review-filters label select{background:0 0;border:0;outline:0;width:100%;font-size:10px}.review-list{gap:12px;display:grid}.review-card{background:#fbfaf7;border:1px solid #cbc6bd;border-left:3px solid #812229}.review-card.suggestion{border-left-color:#3d6658}.review-card.resolved{opacity:.72}.review-card-main{text-align:left;color:#282522;background:0 0;border:0;gap:7px;width:100%;padding:15px 17px;display:grid}.review-card-main:hover{background:#f1ede6}.review-card-main small{color:#817970;text-transform:uppercase;letter-spacing:.08em;font-size:9px}.review-card-main blockquote{color:#55504a;background:#f1eee8;border-left:2px solid #b9b2a8;margin:1px 0;padding:8px 11px;font:13px/1.5 Georgia,serif}.review-card-main>strong{font:400 15px/1.45 Georgia,serif}.review-category{color:#812229;text-transform:uppercase;letter-spacing:.1em;background:#eee7e0;justify-self:start;padding:4px 7px;font-size:8px}.suggestion-diff{grid-template-columns:1fr 1fr;gap:8px;font:12px/1.5 Georgia,serif;display:grid}.suggestion-diff del,.suggestion-diff ins{padding:8px 10px;text-decoration:none}.suggestion-diff del{color:#78443f;background:#f5e5e3;text-decoration:line-through}.suggestion-diff ins{color:#3d6658;background:#e5efe9}.review-card-meta,.review-card-actions{border-top:1px solid #ded9d1;align-items:center;gap:7px;padding:8px 13px;display:flex}.review-card-meta>span{color:#837c74;margin-right:auto;font-size:9px}.review-card-meta button,.review-card-actions button{color:#5f5952;background:0 0;border:0;align-items:center;gap:5px;padding:6px 8px;font-size:9px;display:flex}.review-card-actions button:hover{color:#812229;background:#e8e3db}.review-card-actions .accept-review{color:#3d6658}.review-card-actions .delete-review{margin-left:auto}.review-thread,.review-history{background:#f4f1eb;border-top:1px solid #ded9d1;padding:13px 16px}.review-thread>div{border-left:2px solid #c4bdb4;margin-bottom:10px;padding-left:10px}.review-thread strong{font-size:11px}.review-thread span{color:#898178;margin-left:8px;font-size:8px}.review-thread p{margin:4px 0;font:12px/1.5 Georgia,serif}.review-thread>label{grid-template-columns:auto 1fr auto;align-items:start;gap:8px;display:grid}.review-thread textarea,.review-inline-editor textarea{resize:vertical;background:#fffefa;border:1px solid #c4bdb4;min-height:65px;padding:9px;font:12px/1.45 Arial,sans-serif}.review-thread button{color:#fff;background:#1b1a18;border:1px solid #1b1a18;height:34px;padding:0 11px;font-size:9px}.review-history>div{border-bottom:1px solid #ded9d1;grid-template-columns:145px 120px 1fr;gap:8px;padding:5px 0;font-size:9px;display:grid}.review-history p{margin:0}.review-inline-editor{gap:7px;display:grid}.review-empty{text-align:center;color:#77716a;border:1px dashed #bdb7ae;flex-direction:column;justify-content:center;align-items:center;min-height:230px;display:flex}.review-empty h2{margin:10px 0 4px;font:400 21px Georgia,serif}.review-empty p{max-width:530px;font-size:11px}.editor-review-create-buttons{align-items:center;gap:5px;display:flex}.editor-review-create-buttons button{color:#514c46;background:#f7f4ee;border:1px solid #aaa49a;place-items:center;width:44px;height:44px;display:grid}.editor-review-create-buttons button:disabled{opacity:.32}.editor-review-create-buttons button:hover:not(:disabled){color:#812229;border-color:#812229}.review-composer-dialog{width:min(680px,94vw)}.review-composer-dialog blockquote{background:#eeeae3;border-left:3px solid #812229;margin:0 0 15px;padding:11px 13px;font:14px/1.5 Georgia,serif}.review-composer-dialog label{color:#6d6a64;text-transform:uppercase;letter-spacing:.08em;gap:7px;margin-bottom:13px;font-size:10px;display:grid}.review-composer-dialog select,.review-composer-dialog textarea{background:#fffefa;border:1px solid #c4bdb4;padding:10px}.review-composer-dialog textarea{resize:vertical;min-height:90px}.review-final-preview{color:#201f1c;white-space:pre-wrap;background:#f3eee4;min-height:420px;padding:52px 60px;font:20px/1.8 Georgia,serif}.editor-review-strip{background:#eeeae2;border-top:1px solid #d1cbc1;gap:7px;padding:8px 12px;display:flex;overflow-x:auto}.editor-review-strip button{color:#514b45;text-overflow:ellipsis;white-space:nowrap;background:#fffdfa;border:1px solid #c5bfb5;flex:none;max-width:290px;padding:7px 9px;font-size:9px;overflow:hidden}.editor-review-strip button.suggestion{border-color:#759184}@media (width<=1050px){.review-overview{grid-template-columns:repeat(3,1fr)}.review-display-modes{border-top:1px solid #d5d0c7;grid-column:1/-1}.review-display-modes button{min-height:42px}.review-filters{grid-template-columns:repeat(2,1fr)}.review-search{grid-column:1/-1}}@media (width<=760px){.review-heading{align-items:flex-start}.review-heading h1{font-size:30px}.review-heading p,.review-heading-actions label{display:none}.review-heading-actions button{place-items:center;width:40px;padding:0;font-size:0;display:grid}.review-overview{display:flex;overflow-x:auto}.review-overview article{min-width:120px}.review-display-modes{border-top:0;grid-column:auto;min-width:330px}.review-bulk-actions>span{font-size:0}.review-bulk-actions>span svg{display:block}.review-bulk-actions button{justify-content:center;width:35px;padding:0;font-size:0}.review-filters{grid-template-columns:1fr}.review-search{grid-column:auto}.review-card-actions{overflow-x:auto}.review-card-actions button{flex:none}.suggestion-diff,.review-history>div,.review-thread>label{grid-template-columns:1fr}.review-final-preview{padding:28px 22px;font-size:18px}}.hierarchy-scene{align-items:center;gap:5px;display:flex}.hierarchy-scene>svg,.hierarchy-scene>span,.hierarchy-scene>small{flex:none}.hierarchy-scene>strong{white-space:nowrap;text-overflow:ellipsis;flex:auto;width:auto;min-width:120px;max-width:none;font:400 13px Georgia,serif;display:block;overflow:hidden}.chapter-numbering-control{color:#625d56;text-transform:uppercase;letter-spacing:.08em;align-items:center;gap:9px;width:max-content;max-width:100%;margin:0 0 14px auto;font-size:10px;display:flex}.chapter-numbering-control select{color:#292622;text-transform:none;letter-spacing:0;background:#f8f6f1;border:1px solid #aaa49a;outline:none;max-width:275px;height:36px;padding:0 30px 0 10px;font:12px Georgia,serif}.chapter-numbering-control select:focus{border-color:#812229}@media (width<=760px){.chapter-numbering-control{justify-content:space-between;width:100%;margin:0 0 10px;font-size:9px}.chapter-numbering-control select{max-width:220px;height:34px;font-size:11px}}
