:root{--toolbar-height:56px;--surface:#fff;--surface-muted:#e5e7eb;--border:#d1d5db;--text:#1f2937;--accent:#2563eb;--toast-surface:#1f2937;--paper:#fff;--paper-text:#111827;--page-width:793.7px;--margin-top:94.5px;--margin-right:94.5px;--margin-bottom:94.5px;--margin-left:94.5px;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}@media (prefers-color-scheme:dark){:root:not([data-theme=light]){--surface:#1f2937;--surface-muted:#111827;--border:#374151;--text:#e5e7eb;--accent:#3b82f6;--toast-surface:#374151;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}}:root[data-theme=dark]{--surface:#1f2937;--surface-muted:#111827;--border:#374151;--text:#e5e7eb;--accent:#3b82f6;--toast-surface:#374151;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*{box-sizing:border-box}html,body{height:100%;margin:0}body{background:var(--surface-muted);color:var(--text);flex-direction:column;font-family:system-ui,sans-serif;display:flex;overflow:hidden}[hidden]{display:none!important}.toolbar{z-index:20;height:var(--toolbar-height);border-bottom:1px solid var(--border);background:var(--surface);flex:none;align-items:center;gap:4px;padding:0 8px;display:flex;position:relative}.toolbar__button{min-width:48px;height:48px;color:inherit;font:inherit;touch-action:manipulation;cursor:pointer;background:0 0;border:0;border-radius:8px;flex:none;justify-content:center;align-items:center;gap:2px;padding:0;display:inline-flex;position:relative}.toolbar__icon{flex:none;width:26px;height:26px}.toolbar__caret{opacity:.7;flex:none;width:14px;height:14px;margin-right:-2px}.toolbar__group-button{padding:0 6px 0 8px}.toolbar__button:hover:not(:disabled){background:var(--surface-muted)}.toolbar__button[aria-pressed=true],.toolbar__button[aria-pressed=true]:hover:not(:disabled){background:var(--accent);color:#fff}.toolbar__group-button[aria-expanded=true]{background:var(--surface-muted)}.toolbar__button.is-marked:after{background:var(--accent);content:"";border-radius:50%;width:7px;height:7px;position:absolute;top:7px;right:7px}.toolbar__button:disabled{opacity:.35;cursor:default}.toolbar__label{display:none}.toolbar__group{flex:none;position:relative}.toolbar__panel{z-index:30;min-width:220px;max-height:calc(100vh - var(--toolbar-height) - 16px);overscroll-behavior:contain;border:1px solid var(--border);background:var(--surface);border-radius:12px;flex-direction:column;gap:2px;padding:6px;display:flex;position:absolute;top:calc(100% + 4px);left:0;overflow-y:auto;box-shadow:0 8px 24px #00000040}.toolbar__panel.is-right{left:auto;right:0}.toolbar__panel .toolbar__button{text-align:left;justify-content:flex-start;gap:12px;width:100%;padding:0 10px;font-size:16px}.toolbar__panel .toolbar__label{display:inline}.toolbar__section+.toolbar__section{border-top:1px solid var(--border);margin-top:4px;padding-top:4px}.toolbar__section-title{opacity:.7;padding:4px 10px 2px;font-size:13px}.toolbar__section-items{flex-direction:column;gap:2px;display:flex}.toolbar__section--icons .toolbar__section-items{flex-flow:wrap;max-width:312px}.toolbar__section--icons .toolbar__button{justify-content:center;width:48px;padding:0}.toolbar__section--icons .toolbar__label{display:none}.toolbar__swatch{border:1px solid #00000040;border-radius:6px;width:28px;height:28px}.toolbar__swatch--none{background:linear-gradient(to top right,#0000 calc(50% - 1.5px),#dc2626 calc(50% - 1.5px) calc(50% + 1.5px),#0000 calc(50% + 1.5px))!important}.toolbar__button:has(.toolbar__swatch)[aria-pressed=true]{box-shadow:inset 0 0 0 2px var(--accent);background:0 0}.toolbar__button:has(.toolbar__swatch)[aria-pressed=true]:hover:not(:disabled){box-shadow:inset 0 0 0 2px var(--accent);background:0 0}.toolbar__menu{z-index:30;overscroll-behavior:contain;border:1px solid var(--border);background:var(--surface);border-radius:12px;flex-direction:column;gap:2px;width:min(280px,100vw - 16px);padding:6px;display:flex;position:absolute;top:100%;right:8px;overflow-y:auto;box-shadow:0 8px 24px #00000040}.toolbar__menu .toolbar__button{text-align:left;justify-content:flex-start;gap:12px;width:100%;padding:0 10px;font-size:16px}.toolbar__menu .toolbar__label{display:inline}.toolbar__menu .toolbar__caret{margin-left:auto}.toolbar__menu .toolbar__group-button[aria-expanded=true] .toolbar__caret{transform:rotate(180deg)}.toolbar__menu .toolbar__panel{min-width:0;max-height:none;box-shadow:none;border:0;border-radius:0;padding:2px 0 6px 24px;position:static;overflow:visible}.toolbar__menu .toolbar__section--icons .toolbar__button{justify-content:center;width:48px;padding:0}.toolbar__menu .toolbar__section--icons .toolbar__label{display:none}.toolbar__status{white-space:nowrap;text-overflow:ellipsis;flex:0 auto;min-width:min(9em,20vw);margin-left:auto;padding:0 8px;font-size:16px;overflow:hidden}@media (width<=520px){.toolbar__status{display:none}}.toolbar__status.is-dirty:before{content:"• ";color:var(--accent);font-weight:700}.search-bar{border-bottom:1px solid var(--border);background:var(--surface);flex-direction:column;flex:none;gap:8px;padding:8px;display:flex}.search-bar__row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.search-bar input{border:1px solid var(--border);background:var(--surface-muted);min-width:0;min-height:48px;color:inherit;font:inherit;border-radius:8px;flex:0 320px;padding:0 12px;font-size:18px}.search-bar__status{font-variant-numeric:tabular-nums;flex:none;min-width:64px}.search-bar__status.is-missing{color:#dc2626}.search-bar .secondary-button{flex:none;padding:0 16px}.document .search-match{background:#ffcc0073}.document .search-match.is-current{background:#ff780099;box-shadow:0 0 0 1.5px #cc5200}.workspace{overscroll-behavior:contain;flex:1;min-height:0;padding:24px 16px 48px;position:relative;overflow:auto}.is-dropping .workspace:after{inset:calc(var(--toolbar-height) + 8px) 8px 8px;z-index:5;border:3px dashed var(--accent);content:"";pointer-events:none;border-radius:12px;position:fixed}.editor-host{max-width:var(--page-width);margin:0 auto;position:relative}.document{min-height:calc(100vh - var(--toolbar-height) - 72px);padding:var(--margin-top) var(--margin-right) var(--margin-bottom) var(--margin-left);background:var(--paper);color:var(--paper-text);box-shadow:0 0 0 1px var(--border), 0 1px 4px #0000001f;overflow-wrap:break-word;caret-color:var(--paper-text);border-radius:2px;outline:none;font-family:Calibri,Carlito,Liberation Sans,Arial,sans-serif;font-size:12pt;line-height:1.15}.document>:first-child{margin-top:0}.document p{margin:0 0 8pt}.document h1,.document h2,.document h3{margin:16pt 0 8pt;line-height:1.25}.document h1{font-size:20pt}.document h2{font-size:16pt}.document h3{font-size:13pt}.document ul,.document ol{margin:0 0 8pt;padding-left:24pt}.document li p{margin:0 0 2pt}.document blockquote{color:#4b5563;border-left:3px solid #d1d5db;margin:0 0 8pt;padding-left:12pt}.document a{color:#1d4ed8}.document .tableWrapper{margin:0 0 8pt;overflow-x:auto}.document table{border-collapse:collapse;table-layout:fixed;width:100%}.document td,.document th{vertical-align:top;text-align:left;border:1px solid #000;min-width:1em;padding:2pt 5pt;position:relative}.document th{background:#f2f2f2;font-weight:700}.document td p,.document th p{margin:0}.document .selectedCell:after{content:"";pointer-events:none;background:#2563eb2e;position:absolute;inset:0}.document .column-resize-handle{pointer-events:none;background:#2563eb;width:4px;position:absolute;top:0;bottom:-2px;right:-2px}.document.resize-cursor{cursor:col-resize}.document [data-resize-container]{vertical-align:bottom;max-width:100%}.document [data-resize-wrapper] img{max-width:100%;height:auto;display:block}.document .ProseMirror-selectednode img,.document img.ProseMirror-selectednode{outline:2px solid #2563eb}.document [data-resize-handle]{z-index:2;opacity:0;touch-action:none;background:#2563eb;border:2px solid #fff;border-radius:50%;width:20px;height:20px}.document [data-resize-handle=top-left]{cursor:nwse-resize;transform:translate(-50%,-50%)}.document [data-resize-handle=top-right]{cursor:nesw-resize;transform:translate(50%,-50%)}.document [data-resize-handle=bottom-left]{cursor:nesw-resize;transform:translate(-50%,50%)}.document [data-resize-handle=bottom-right]{cursor:nwse-resize;transform:translate(50%,50%)}.document .ProseMirror-selectednode [data-resize-handle],.document [data-resize-state=true] [data-resize-handle]{opacity:1}.document mark{color:inherit;padding:0 1px}.document .formula{cursor:default;white-space:nowrap;border-radius:3px;padding:0 1px;display:inline-block}.document .formula.ProseMirror-selectednode{outline:2px solid var(--accent)}.document .formula.is-wrong{color:#b91c1c;font-family:DejaVu Sans Mono,monospace;font-size:.9em}.document{counter-reset:question figure footnote}.document .question{counter-increment:question;margin:0 0 12pt;padding-left:2em;position:relative}.document .question:before{content:counter(question) ".";font-weight:700;position:absolute;top:0;left:0}.document .question[data-points]{padding-right:5.5em}.document .question[data-points]:after{color:#374151;content:"(" attr(data-points) " puan)";font-size:.9em;position:absolute;top:0;right:0}.document .question>p{margin:0 0 4pt}.document .choices{counter-reset:choice;margin:2pt 0 0}.document .choices[data-layout=row]{grid-auto-columns:1fr;grid-auto-flow:column;column-gap:1em;display:grid}.document .choices[data-layout=grid]{grid-template-columns:1fr 1fr;column-gap:1em;display:grid}.document .choice{counter-increment:choice;min-height:1.15em;margin:0 0 3pt;padding-left:1.6em;position:relative}.document .choice:before{content:counter(choice, upper-alpha) ")";font-weight:700;position:absolute;top:0;left:0}@media screen{.document.ProseMirror-focused .question.has-cursor{box-shadow:-10px 0 0 -8px var(--accent)}}.document .question-row{grid-template-columns:1fr 1fr;column-gap:1.5em;margin:0 0 12pt;display:grid}.document .question-row>.question{margin:0}@media screen{.editor-host.show-answers .document .choice[data-correct]:before{color:#166534;background:#dcfce7;border-radius:999px;margin:-1px 0 0 -3px;padding:0 3px;box-shadow:0 0 0 1.5px #16a34a}}.document .footnote-ref{color:var(--accent);cursor:pointer;padding:0 1px;font-size:.7em;line-height:0}.document .footnote-ref:after{counter-increment:footnote;content:counter(footnote)}@media print{.document .footnote-ref{color:inherit}}.page-notes__list,.footnotes-list{color:#000;text-align:left;text-indent:0;white-space:normal;font-family:Calibri,Carlito,Liberation Sans,Arial,sans-serif;font-size:10pt;font-style:normal;font-weight:400;line-height:1.25}.page-notes__list{overflow:hidden}.document .page-notes--after{margin:-8pt 0 8pt}.page-notes__list:before{content:"";border-top:1px solid #000;width:33%;height:8px;margin-top:3px;display:block}.page-notes__item{overflow-wrap:anywhere;margin:0;padding:0}.page-notes__item sup{font-size:.75em}.page-notes-measure{visibility:hidden;pointer-events:none;position:absolute;top:0;left:-10000px}.page-notes-measure:before{display:none}.footnotes-list{border-top:1px solid #000;margin-top:18pt;padding-top:6pt}.footnotes-list__title{margin-bottom:4pt;font-weight:700}.editor-host.is-paged.is-paginated .footnotes-list{display:none}@media print{.editor-host.is-paginated .footnotes-list{display:none}.editor-host.is-paginated .document .page-gap.page-notes{break-inside:avoid;break-before:auto!important;height:auto!important;display:block!important}.editor-host.is-paginated .document tr.page-gap.page-notes{display:table-row!important}.editor-host.is-paginated .document tr.page-gap.page-notes td{height:auto!important}}.document .comment-mark{cursor:pointer;background:#facc1559;border-bottom:2px solid #eab308cc}.document .change-insertion{color:#15803d;text-decoration:underline}.document .change-deletion{color:#b91c1c;text-decoration:line-through}@media print{.document .comment-mark{background:0 0;border:0}}.comments-panel{top:var(--toolbar-height);z-index:20;border-left:1px solid var(--border);background:var(--surface);flex-direction:column;width:min(340px,100vw);display:flex;position:fixed;bottom:0;right:0;box-shadow:-6px 0 18px #0000001f}.comments-panel[hidden]{display:none}.comments-panel__header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;padding:8px 12px;display:flex}.comments-panel__header h2{margin:0;font-size:18px}.comments-panel__close{min-width:44px;min-height:44px;color:inherit;cursor:pointer;background:0 0;border:0;font-size:20px}.comments-panel__list{flex:1;padding:8px 12px 24px;overflow:auto}.comments-panel__empty{color:var(--muted,#6b7280)}.comment-item{border:1px solid var(--border);cursor:pointer;border-left:4px solid #eab308;border-radius:8px;margin-bottom:10px;padding:10px 12px}.comment-item.is-current{outline:2px solid var(--accent)}.comment-item.is-done{border-left-color:var(--border);opacity:.6}.comment-item__head{opacity:.75;font-size:13px}.comment-item__quote{overflow-wrap:anywhere;margin:4px 0;font-size:14px;font-style:italic}.comment-item__text{white-space:pre-wrap;overflow-wrap:anywhere;margin:4px 0 8px}.comment-item__actions{gap:8px;display:flex}.comment-item__actions .secondary-button{min-height:36px;padding:0 12px;font-size:14px}.comment-dialog__quote{overflow-wrap:anywhere;font-style:italic}.document .contents{cursor:default;margin:0 0 12pt}.document .contents.ProseMirror-selectednode{outline:2px solid var(--accent);outline-offset:2px}.document .contents__title{margin-bottom:8pt;font-size:16pt;font-weight:700}.document .contents__entry{width:100%;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;align-items:baseline;padding:1pt 0;display:flex}.document .contents__entry:hover .contents__text{text-decoration:underline}.document .contents__entry--1{font-weight:700}.document .contents__entry--2{padding-left:14pt}.document .contents__entry--3{padding-left:28pt}.document .contents__leader{border-bottom:1.5px dotted;flex:1;min-width:12pt;margin:0 4pt;transform:translateY(-3pt)}.document .contents__empty{color:#6b7280;font-style:italic}@media print{.document .contents__empty{display:none}}.document .merge-field{color:#3730a3;background:#e0e7ff;border-radius:3px;padding:0 2px}@media print{.document .merge-field{color:inherit;background:0 0}}.merge-dialog__choose{width:100%;margin-bottom:12px}.merge-dialog__fields{flex-wrap:wrap;gap:8px;margin-bottom:12px;display:flex}.merge-dialog__fields .merge-dialog__field{min-height:40px;padding:0 12px;font-size:16px}.document .answer-key{cursor:default;border:1px solid #000;margin:0 0 12pt;padding:8pt 10pt}.document .answer-key.ProseMirror-selectednode{outline:2px solid var(--accent)}.document .answer-key__title{text-align:center;margin-bottom:6pt;font-weight:700}.document .answer-key__list{grid-template-columns:repeat(auto-fill,minmax(4.5em,1fr));gap:3pt 8pt;margin:0;padding:0;list-style:none;display:grid}@media screen{.document .answer-key__list .is-missing{color:#b91c1c}}.document [data-resize-container]:has(img[data-wrap=center]){justify-content:center;width:100%;margin:2pt 0;display:flex!important}.document [data-resize-container]:has(img[data-wrap=left]){float:left;margin:2pt 10pt 4pt 0}.document [data-resize-container]:has(img[data-wrap=right]){float:right;margin:2pt 0 4pt 10pt}.document .question,.document .choice{display:flow-root}.document p[data-caption]{clear:both;counter-increment:figure;font-size:10pt;font-style:italic}.document p[data-caption]:before{content:"Şekil " counter(figure) ": ";font-style:normal;font-weight:700}.document .page-break[data-restart]{counter-reset:question figure footnote}.document .page-break{clear:both;cursor:default;height:1.5em;margin:0 0 8pt;position:relative}.document .page-break:before{content:"";border-top:1px dashed #9ca3af;position:absolute;top:50%;left:0;right:0}.document .page-break:after{background:var(--paper);color:#6b7280;content:"Sayfa sonu";padding:0 8px;font-size:9pt;line-height:1.2;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.document .page-break.ProseMirror-selectednode:before{border-top:2px solid var(--accent)}.document .columns-start{cursor:default;height:1.5em;margin:0 0 8pt;position:relative}.document .columns-start:before{content:"";border-top:1px dashed #93c5fd;position:absolute;top:50%;left:0;right:0}.document .columns-start:after{background:var(--paper);color:#2563eb;content:"İki sütun buradan başlar";padding:0 8px;font-size:9pt;line-height:1.2;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.document .columns-start.ProseMirror-selectednode:before{border-top:2px solid var(--accent)}.editor-host.is-paginated .document>.in-columns{box-sizing:border-box;width:calc(50% - 12px)}.editor-host.is-paginated .document>.in-columns.page-break:after{content:"Sütun sonu"}.editor-host:not(.is-paged) .document>.in-columns,.editor-host.is-measuring-columns .document>.in-columns{transform:none!important}.editor-host.is-paged .document .columns-start,.editor-host.is-measuring .document .columns-start{height:0;margin:0}.editor-host.is-paged .document .columns-start:not(.ProseMirror-selectednode):before,.editor-host.is-paged .document .columns-start:not(.ProseMirror-selectednode):after{display:none}@media screen{.editor-host.is-paged.has-columns .document{box-sizing:border-box;height:var(--pages-height);min-height:0}}@media print{.document .columns-start{display:none}.editor-host.is-paginated.has-columns .document{column-count:2;column-fill:auto;column-gap:24px}.editor-host.is-paginated.has-columns .document>.before-columns{column-span:all}.editor-host.is-paginated.has-columns .document>.in-columns{width:auto;transform:none!important}.editor-host.is-paginated.has-columns .document>.column-start{break-before:column}.editor-host.is-paginated.has-columns .document>.in-columns.page-break{break-after:auto}}.page-sheets{display:none}@media screen{.editor-host.is-paged{width:var(--page-width);max-width:none}.editor-host.is-paged .document{z-index:1;min-height:var(--pages-height,var(--page-height));padding:var(--margin-top) var(--margin-right) var(--margin-bottom) var(--margin-left);box-shadow:none;background:0 0;border-radius:0;position:relative}.editor-host.is-paged .page-sheets{z-index:0;pointer-events:none;display:block;position:absolute;inset:0}.page-sheet{height:var(--page-height);background:var(--paper);box-shadow:0 0 0 1px var(--border), 0 1px 4px #00000024;color:#374151;font-family:Calibri,Carlito,Liberation Sans,Arial,sans-serif;font-size:10pt;position:absolute;left:0;right:0}.page-sheet__header,.page-sheet__footer,.page-sheet__number{right:var(--margin-right);left:var(--margin-left);white-space:pre;justify-content:center;align-items:center;display:flex;position:absolute;overflow:hidden}.page-sheet__header{height:var(--margin-top);top:0}.page-sheet__footer,.page-sheet__number[data-place^=bottom]{height:var(--margin-bottom);bottom:0}.page-sheet__number[data-place=top-right]{height:var(--margin-top);top:0}.page-sheet__number[data-place$=right]{justify-content:flex-end}.page-sheet__number[data-place=none]{display:none}.page-gap{display:block}tr.page-gap{display:table-row}tr.page-gap td{border:0;padding:0}.editor-host:not(.is-paged) .page-gap,.editor-host.is-measuring .page-gap{display:none}.editor-host.is-paged .page-break,.editor-host.is-measuring .page-break{height:0;margin:0}.editor-host.is-paged .page-break:before{top:0}.editor-host.is-paged .page-break:after{top:0;transform:translate(-50%)}}@media (width<=700px){.workspace{padding:0}.document{min-height:calc(100vh - var(--toolbar-height));box-shadow:none;border-radius:0;padding:24px 20px}.editor-host.is-paged{margin:12px}}.workspace.is-welcome .editor-host{display:none}.welcome{flex-direction:column;justify-content:center;align-items:center;gap:16px;min-height:100%;padding:16px;display:flex}.welcome[hidden]{display:none}.welcome__actions{gap:16px;display:grid}.welcome__recovery{background:var(--surface);text-align:center;border:1px solid #f59e0b;border-radius:10px;flex-direction:column;align-items:center;gap:12px;width:min(440px,100%);padding:12px 16px;display:flex}.welcome__recovery[hidden],.welcome__recent[hidden]{display:none}.welcome__recovery p{margin:0}.welcome__recovery-actions{flex-wrap:wrap;justify-content:center;gap:8px;display:flex}.welcome__recent{flex-direction:column;align-items:center;gap:12px;width:min(440px,100%);display:flex}.welcome__recent h2{margin:8px 0 0;font-size:18px}.welcome__recent-list{flex-direction:column;gap:4px;width:100%;max-height:40vh;display:flex;overflow-y:auto}.welcome__startup{opacity:.8;margin:0;font-size:15px}@media (height<=500px){.welcome,.welcome__actions{gap:8px}.welcome img{width:64px;height:64px}.welcome .primary-button,.welcome .secondary-button{min-height:44px}}.primary-button,.secondary-button{min-height:48px;font:inherit;touch-action:manipulation;cursor:pointer;border:1px solid #0000;border-radius:8px;padding:0 24px;font-size:18px}.primary-button{background:var(--accent);color:#fff}.secondary-button{border-color:var(--border);background:var(--surface);color:inherit}.danger-button.primary-button{background:#dc2626}.danger-button.secondary-button{color:#dc2626}.dialog{background:var(--surface);width:min(440px,100vw - 32px);color:inherit;border:0;border-radius:12px;padding:24px}.dialog h2{margin:0 0 8px}.dialog p{overflow-wrap:anywhere;margin:0 0 24px}.dialog__field{flex-direction:column;gap:8px;margin-bottom:24px;display:flex}.dialog__field input{border:1px solid var(--border);background:var(--surface-muted);min-height:48px;color:inherit;font:inherit;border-radius:8px;padding:0 12px;font-size:18px}.dialog__field select{border:1px solid var(--border);background:var(--surface-muted);min-height:48px;color:inherit;font:inherit;border-radius:8px;padding:0 8px;font-size:18px}.page-dialog{width:min(520px,100vw - 32px);max-height:calc(100vh - 32px)}.page-dialog .dialog__field{margin-bottom:16px}.page-dialog__choice{border:0;gap:24px;margin:0 0 8px;padding:0;display:flex}.page-dialog__choice legend{margin-bottom:4px;padding:0}.page-dialog__choice .dialog__check{margin-bottom:0}.page-dialog__margins{grid-template-columns:repeat(4,1fr);gap:12px;display:grid}.page-dialog__margins .dialog__field{min-width:0}.page-dialog__margins input{width:100%;min-width:0}@media (width<=480px){.page-dialog__margins{grid-template-columns:1fr 1fr}}.formula-dialog{width:min(720px,100vw - 32px);max-height:calc(100vh - 32px)}.formula-dialog__field math-field{border:2px solid var(--accent);color:#111827;background:#fff;border-radius:8px;width:100%;min-height:72px;padding:8px 12px;font-size:28px;display:block}.formula-dialog__field math-field::part(menu-toggle),.formula-dialog__field math-field::part(virtual-keyboard-toggle){display:none}.formula-dialog .ML__keyboard{height:var(--_keyboard-height);position:fixed;inset:auto 0 0}.formula-dialog.has-keyboard{margin-top:8px}.formula-dialog__loading{min-height:72px}.formula-dialog .formula-dialog__hint{opacity:.8;margin:8px 0 12px;font-size:14px}.formula-dialog__hint kbd{border:1px solid var(--border);border-radius:4px;padding:0 4px;font-family:inherit}.formula-dialog__palette{grid-template-columns:repeat(auto-fill,minmax(52px,1fr));gap:4px;max-height:30vh;margin-bottom:12px;display:grid;overflow-y:auto}.formula-dialog__piece{border:1px solid var(--border);color:#111827;cursor:pointer;touch-action:manipulation;background:#fff;border-radius:6px;min-height:48px;padding:2px;font-size:17px}.formula-dialog__piece:hover{border-color:var(--accent)}.formula-dialog__latex{margin-bottom:16px}.formula-dialog__latex summary{cursor:pointer;min-height:32px}.formula-dialog__latex input{border:1px solid var(--border);background:var(--surface-muted);width:100%;min-height:44px;color:inherit;border-radius:8px;padding:0 10px;font-family:DejaVu Sans Mono,monospace;font-size:15px}.formula-dialog__keyboard{margin-right:auto}.crop-dialog{width:min(760px,100vw - 32px);max-height:calc(100vh - 32px)}.crop-dialog .crop-dialog__hint{opacity:.8;margin:0 0 12px;font-size:14px}.crop-dialog__stage{touch-action:none;-webkit-user-select:none;user-select:none;background:#6b7280;border-radius:8px;width:fit-content;max-width:100%;margin:0 auto 16px;padding:14px}.crop-dialog__picture{position:relative}.crop-dialog__stage img{max-width:100%;max-height:55vh;display:block}.crop-dialog__box{cursor:move;outline:2px solid #fff;position:absolute;box-shadow:0 0 0 9999px #00000073}.crop-dialog__stage{overflow:hidden}.crop-dialog__box [data-handle]{border:2px solid var(--accent);background:#fff;border-radius:50%;width:22px;height:22px;margin:-11px 0 0 -11px;position:absolute}.crop-dialog__box [data-handle=nw]{cursor:nwse-resize;top:0;left:0}.crop-dialog__box [data-handle=n]{cursor:ns-resize;top:0;left:50%}.crop-dialog__box [data-handle=ne]{cursor:nesw-resize;top:0;left:100%}.crop-dialog__box [data-handle=w]{cursor:ew-resize;top:50%;left:0}.crop-dialog__box [data-handle=e]{cursor:ew-resize;top:50%;left:100%}.crop-dialog__box [data-handle=sw]{cursor:nesw-resize;top:100%;left:0}.crop-dialog__box [data-handle=s]{cursor:ns-resize;top:100%;left:50%}.crop-dialog__box [data-handle=se]{cursor:nwse-resize;top:100%;left:100%}.dialog .booklet-dialog__note{opacity:.8;margin:4px 0 20px;font-size:14px}.bank-dialog{width:min(720px,100vw - 32px);max-height:calc(100vh - 32px)}.dialog .bank-dialog__hint,.dialog .bank-dialog__empty{opacity:.8;margin:0 0 12px;font-size:14px}.bank-dialog .dialog__field{margin-bottom:12px}.bank-dialog__list{flex-direction:column;gap:6px;max-height:50vh;margin-bottom:16px;display:flex;overflow-y:auto}.bank-item{border:1px solid var(--border);border-radius:8px;align-items:center;gap:8px;padding:8px 10px;display:flex}.bank-item__text{flex:1;min-width:0}.bank-item__preview{overflow-wrap:anywhere;font-size:16px}.bank-item__meta{opacity:.7;font-size:13px}.bank-item button{min-height:44px;padding:0 14px;font-size:16px}.dialog__error{color:#dc2626;font-weight:600}.dialog__pair{grid-template-columns:1fr 1fr;gap:16px;display:grid}.dialog__pair .dialog__field{min-width:0}.dialog__pair .dialog__field input{width:100%;min-width:0}.dialog__check{align-items:center;gap:12px;min-height:48px;margin-bottom:16px;font-size:18px;display:flex}.dialog__check input{width:24px;height:24px}.recent-list{flex-direction:column;gap:4px;max-height:50vh;margin:8px 0 24px;display:flex;overflow-y:auto}.recent-item{border:1px solid var(--border);background:var(--surface);min-height:56px;color:inherit;font:inherit;text-align:left;cursor:pointer;border-radius:8px;flex-direction:column;align-items:flex-start;gap:2px;padding:8px 12px;display:flex}.recent-item:hover{background:var(--surface-muted)}.recent-item__name{overflow-wrap:anywhere;font-size:17px;font-weight:600}.recent-item__date{opacity:.7;font-size:14px}.count-list{grid-template-columns:1fr auto;gap:8px 24px;margin:16px 0 24px;font-size:18px;display:grid}.count-list dd{font-variant-numeric:tabular-nums;text-align:right;margin:0}.dialog__actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.dialog__actions .secondary-button{order:-1}.dialog--unsaved{border-radius:8px;padding:18px 20px 16px}.dialog--unsaved h2{margin:0 0 12px;font-size:17px;font-weight:600}.dialog--unsaved p{margin:0 0 16px;font-size:14px;line-height:1.55}.dialog__actions--row{flex-wrap:nowrap}.dialog__actions--row>button{border-radius:6px;min-width:84px;min-height:36px;padding:0 14px;font-size:14px}@media (width<=480px){.dialog__actions--row>button{flex:1 1 0;min-width:0;padding:0 6px}}.soft-danger-button.secondary-button{color:#b3261e;background:#fdecea;border-color:#f3b8b4}:root[data-theme=dark] .soft-danger-button.secondary-button{color:#fca5a5;background:#dc26262e;border-color:#f8717173}@media (prefers-color-scheme:dark){:root:not([data-theme=light]) .soft-danger-button.secondary-button{color:#fca5a5;background:#dc26262e;border-color:#f8717173}}.toast{z-index:100;background:var(--toast-surface);color:#fff;border:0;border-radius:8px;width:fit-content;height:fit-content;margin:auto;padding:12px 20px;position:fixed;inset:auto 16px 16px}.about-dialog{width:min(360px,100vw - 32px);padding:0}.about-dialog__header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;padding:12px 14px;display:flex}.about-dialog__header h2{margin:0;font-size:17px}.about-dialog__close{background:var(--surface-muted);width:32px;height:32px;color:inherit;cursor:pointer;border:0;border-radius:8px;font-size:20px;line-height:1}.about-dialog__body{text-align:center;flex-direction:column;align-items:center;gap:4px;padding:18px 18px 20px;display:flex}.about-dialog .about-dialog__body p{margin:0}.about-dialog__icon{width:72px;height:72px;margin-bottom:6px}.about-dialog__name strong{font-size:20px}.about-dialog__description{opacity:.75}.about-dialog .about-dialog__maker{margin-top:10px}.about-dialog__body a{color:var(--accent);text-decoration:none}.about-dialog__body a:hover{text-decoration:underline}.about-dialog__brand{color:var(--text);font-weight:700}.about-dialog__brand span{color:var(--accent)}.about-dialog__facts{text-align:left;grid-template-columns:auto auto;gap:4px 12px;margin:14px 0 0;display:grid}.about-dialog__facts dt{opacity:.7}.about-dialog__facts dd{margin:0}.about-dialog__mail{-webkit-user-select:all;user-select:all}@media print{html,body{background:0 0;height:auto;display:block;overflow:visible}body>:not(.workspace),.welcome{display:none!important}.workspace.is-welcome .editor-host{display:block}.workspace{padding:0;overflow:visible}.editor-host{max-width:none}.document{min-height:0;box-shadow:none;border:0;padding:0}.document [data-resize-handle],.document .search-match{display:none}.document{caret-color:#0000}.document .ProseMirror-selectednode img{outline:0}.document{orphans:1;widows:1}.document tr{break-inside:avoid}.document .formula{contain:paint}.document .choices[data-layout=row],.document .choices[data-layout=grid],.document .question-row{break-inside:avoid}.document .tableWrapper{overflow:visible}.page-gap{display:none}.editor-host.is-paginated .page-gap:not(.page-gap--forced){break-before:page;display:block;height:0!important}.editor-host.is-paginated tr.page-gap:not(.page-gap--forced){display:table-row}tr.page-gap td{border:0;padding:0;height:0!important}.document .page-break{break-after:page;height:0;margin:0}.document .page-break:before,.document .page-break:after{display:none}}:root{--titlebar-height:36px}.titlebar{z-index:10000;height:var(--titlebar-height);color:#e2e8f0;-webkit-user-select:none;user-select:none;background:#6b7280;justify-content:space-between;align-items:stretch;font-family:system-ui,sans-serif;display:flex;position:fixed;top:0;left:0;right:0}.titlebar__drag{-webkit-app-region:drag;flex:1;align-items:center;gap:8px;min-width:0;padding:0 12px;display:flex}.titlebar__icon{object-fit:contain;pointer-events:none;width:18px;height:18px;display:block}.titlebar__title{white-space:nowrap;text-overflow:ellipsis;letter-spacing:.2px;color:#e2e8f0;font-size:13px;font-weight:600;overflow:hidden}.titlebar__controls{-webkit-app-region:no-drag;align-items:stretch;display:flex}.titlebar__button{color:#cbd5e1;cursor:pointer;-webkit-app-region:no-drag;background:0 0;border:0;place-items:center;width:46px;padding:0;display:grid}.titlebar__button:hover{color:#fff;background:#ffffff1f}.titlebar__button--close:hover{color:#fff;background:#e11d48}.titlebar__button svg{width:12px;height:12px;display:block}body.has-custom-titlebar{padding-top:var(--titlebar-height)}
