.text-editor-container{border-radius:var(--ap-var-border-radius);background-color:#0000;width:100%}.editor-shell-layout{--editor-z-floating:20;--editor-z-menu:30;--editor-z-dialog:40;background:0 0;border:none;flex-direction:column;display:flex;overflow:visible}.editor-shell-header,.editor-shell-footer{z-index:var(--editor-z-menu);flex:none;position:relative}.editor-shell-canvas{z-index:1;isolation:isolate;flex:auto;min-height:250px;position:relative}.editor-file-input{display:none}.editor-toolbar{z-index:var(--editor-z-menu);background-color:#0000;flex-wrap:wrap;align-items:center;gap:8px;padding:4px 0 12px;display:flex;position:relative}.toolbar-section{flex-wrap:wrap;align-items:center;gap:5px;display:flex}.toolbar-section-label{color:var(--ap-colour-text-secondary,#888);letter-spacing:.06em;text-transform:uppercase;flex-basis:100%;margin-bottom:2px;font-size:10px;font-weight:700;line-height:1}.editor-toolbar-section-inline,.editor-toolbar-section-blocks{background:0 0;border:none;border-radius:0;padding:0}.toolbar-section:not(:last-child){border-right:none;margin-right:8px;padding-right:8px}.toolbar-button{min-width:30px;min-height:30px;color:var(--ap-colour-text);cursor:pointer;background-color:#0000;border:1px solid #0000;border-radius:6px;justify-content:center;align-items:center;padding:4px 7px;font-size:14px;font-weight:500;transition:background-color .15s,color .15s;display:flex}.toolbar-button-text{width:auto;min-width:42px;padding:4px 10px}.toolbar-button:hover{background-color:var(--ap-colour-gray-2);border-color:#0000}.toolbar-button.active{background-color:var(--ap-colour-primary-o15,#6366f11f);color:var(--ap-colour-primary);border-color:#0000}.toolbar-select{min-width:80px;height:32px;color:var(--ap-colour-text);cursor:pointer;background-color:#0000;border:1px solid #0000;border-radius:6px;outline:none;padding:4px 8px;font-size:14px}.toolbar-select:hover{background-color:var(--ap-colour-gray-2);border-color:#0000}.toolbar-select:focus{border-color:var(--ap-colour-primary);box-shadow:0 0 0 2px var(--ap-colour-primary-o30)}.toolbar-select option{background-color:var(--ap-colour-black-2);color:var(--ap-colour-text)}.editor-container{min-width:0;min-height:250px;position:relative;overflow:visible}.editor-shell-canvas{min-width:0}.editor-content{min-height:220px;max-height:inherit;box-sizing:border-box;max-width:100%;color:var(--ap-colour-text);overflow-wrap:anywhere;background-color:#0000;outline:none;padding:18px 18px 18px 0;scroll-padding:20px 20px 92px;font-family:Montserrat Regular,sans-serif;font-size:16px;line-height:1.55;overflow:auto}.editor-content-with-block-controls{padding-left:56px}.editor-content:focus{outline:none}.editor-placeholder{color:var(--ap-colour-gray);pointer-events:none;font-style:italic;position:absolute;top:18px;left:0}.editor-container-with-block-controls .editor-placeholder{left:56px}.editor-inline-completion-inline{color:var(--ap-colour-gray);opacity:.72;display:inline}.editor-inline-completion-text{white-space:pre-wrap;word-break:break-word;display:inline}.editor-inline-completion-accept{vertical-align:middle;border:1px solid var(--ap-colour-gray);min-width:26px;height:22px;color:inherit;opacity:.95;pointer-events:auto;cursor:pointer;background:0 0;border-radius:999px;margin-left:8px;padding:0 6px;font-size:12px;line-height:1;display:inline-flex}@media (hover:none),(pointer:coarse){.editor-inline-completion-accept{gap:4px;min-width:44px;padding:0 10px}.editor-inline-completion-accept:after{content:"Tap";font-size:11px}}.editor-paragraph{border-radius:6px;margin:0 0 10px;padding:2px 0}.editor-paragraph:focus-within,.editor-listitem:focus-within,.editor-heading-h1:focus-within,.editor-heading-h2:focus-within,.editor-heading-h3:focus-within,.editor-heading-h4:focus-within,.editor-heading-h5:focus-within{background:var(--ap-colour-card-2,#ffffff08)}.editor-heading-h1{color:var(--ap-colour-text);margin:0 0 16px;font-size:2em;font-weight:700}.editor-heading-h2{color:var(--ap-colour-text);margin:0 0 16px;font-size:1.5em;font-weight:700}.editor-heading-h3{color:var(--ap-colour-text);margin:0 0 16px;font-size:1.17em;font-weight:700}.editor-heading-h4{color:var(--ap-colour-text);margin:0 0 16px;font-size:1em;font-weight:700}.editor-heading-h5{color:var(--ap-colour-text);margin:0 0 16px;font-size:.83em;font-weight:700}.editor-list-ul,.editor-list-ol{margin:0 0 16px;padding-left:24px}.editor-listitem{margin:4px 0}.editor-link{color:var(--ap-colour-primary);cursor:pointer;text-decoration:underline}.editor-link:hover{color:var(--ap-colour-primary-o90)}.editor-inline-image-wrapper{width:100%;max-width:100%;display:block}.editor-inline-image{flex-direction:column;align-items:flex-start;max-width:min(100%,640px);margin:8px 0;display:flex;position:relative}.editor-inline-image-frame{line-height:0;display:inline-block;position:relative}.editor-inline-image.is-selected img{outline:2px solid var(--ap-colour-primary);outline-offset:2px}.editor-inline-image img{cursor:pointer;border-radius:8px;max-width:100%;height:auto;display:block}.editor-inline-image.is-resizing img{cursor:nwse-resize;-webkit-user-select:none;user-select:none}.editor-inline-image-handle{border:1px solid var(--ap-colour-white);background:var(--ap-colour-primary);cursor:nwse-resize;z-index:2;-webkit-user-select:none;user-select:none;border-radius:50%;width:16px;height:16px;position:absolute;bottom:-6px;right:-6px;box-shadow:0 1px 4px #00000059}.editor-inline-image-handle:before{content:"";border-right:2px solid var(--ap-colour-white);border-bottom:2px solid var(--ap-colour-white);pointer-events:none;position:absolute;inset:4px}.editor-inline-image-controls{border:1px solid var(--ap-colour-gray);background-color:var(--ap-colour-card-header);border-radius:8px;flex-wrap:wrap;align-items:center;gap:8px;margin-top:8px;padding:8px;display:flex}.editor-inline-image-control{color:var(--ap-colour-text);align-items:center;gap:6px;font-size:12px;font-weight:600;display:inline-flex}.editor-inline-image-control input{background-color:var(--ap-colour-black-2);border:1px solid var(--ap-colour-gray);width:92px;height:32px;color:var(--ap-colour-text);border-radius:4px;padding:4px 8px}.editor-inline-image-delete{color:var(--ap-colour-white);background-color:var(--ap-colour-red,#c0392b);border-color:var(--ap-colour-red,#c0392b);margin-left:auto}.editor-inline-image-delete:hover{filter:brightness(1.1)}.editor-text-bold{font-weight:700}.editor-text-italic{font-style:italic}.editor-text-underline{text-decoration:underline}.editor-text-strikethrough{text-decoration:line-through}.editor-text-underlineStrikethrough{text-decoration:underline line-through}.editor-text-code{background-color:var(--ap-colour-gray-2);border-radius:3px;padding:2px 4px;font-family:Courier New,monospace;font-size:.9em}.editor-code{background-color:var(--ap-colour-black-3);border:1px solid var(--ap-colour-gray);border-radius:4px;margin:16px 0;padding:16px;font-family:Courier New,monospace;font-size:14px;line-height:1.4;overflow-x:auto}.editor-tokenAttr{color:#ff9d00}.editor-tokenProperty{color:#ff628c}.editor-tokenSelector{color:#a5ff90}.editor-tokenComment{color:#7a7a7a;font-style:italic}.editor-tokenFunction{color:#ff9d00}.editor-tokenOperator{color:#ff628c}.editor-tokenVariable{color:#ff9d00}.editor-tokenPunctuation{color:#fff}.editor-table{border-collapse:collapse;border:1px solid var(--ap-colour-gray);width:100%;margin:16px 0}.editor-table th,.editor-table td,.editor-table-cell{border:1px solid var(--ap-colour-gray);text-align:left;vertical-align:top;min-width:72px;padding:8px 12px}.editor-table th,.editor-table-cell-header{background-color:var(--ap-colour-card-header);color:var(--ap-colour-text);font-weight:700}.editor-table td,.editor-table-cell{background-color:var(--ap-colour-card);color:var(--ap-colour-text)}.editor-table tr:hover td{background-color:var(--ap-colour-gray-2)}.editor-table .selected{background-color:var(--ap-colour-primary-o30)!important}.editor-table .resize-handle{background-color:var(--ap-colour-primary);cursor:col-resize;opacity:0;width:4px;transition:opacity .2s;position:absolute;top:0;bottom:0;right:-2px}.editor-table:hover .resize-handle{opacity:1}.editor-horizontal-rule{border:none;border-top:2px solid var(--ap-colour-gray);opacity:.9;cursor:pointer;height:0;margin:18px 0;display:block}.editor-horizontal-rule-selected{border-top-color:var(--ap-colour-primary);box-shadow:0 0 0 3px var(--ap-colour-primary-o15,#6366f11f)}.table-toolbar{background-color:var(--ap-colour-card-header);border:1px solid var(--ap-colour-gray);z-index:1000;border-radius:4px;gap:4px;padding:4px;display:flex;position:absolute}.table-toolbar button{background-color:var(--ap-colour-black-2);border:1px solid var(--ap-colour-gray);color:var(--ap-colour-text);cursor:pointer;border-radius:3px;padding:4px 8px;font-size:12px}.table-toolbar button:hover{background-color:var(--ap-colour-gray-2)}.editor-table td[contenteditable=true]:focus{outline:2px solid var(--ap-colour-primary);outline-offset:-2px}@media (max-width:768px){.editor-table{font-size:14px}.editor-table th,.editor-table td{padding:6px 8px}.text-editor-container,.editor-shell-layout,.editor-shell-canvas,.editor-container{min-width:0;max-width:100%}.editor-toolbar{flex-direction:row;align-items:flex-start;gap:8px;width:100%;max-width:100%;padding:4px 0 10px;overflow-x:clip}.editor-toolbar>.toolbar-section{flex:0 auto;width:auto;min-width:0}.editor-toolbar>.editor-toolbar-section-inline{-webkit-overflow-scrolling:touch;scrollbar-width:none;flex-wrap:nowrap;flex:none;max-width:100%;overflow-x:auto}.editor-toolbar>.editor-toolbar-section-inline::-webkit-scrollbar{display:none}.editor-toolbar>.editor-toolbar-section-inline .toolbar-section-label{display:none}.editor-toolbar>.toolbar-section:not(.editor-toolbar-section-inline){flex:100%;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.editor-toolbar>.toolbar-section:not(.editor-toolbar-section-inline) .toolbar-section-label{grid-column:1/-1}.toolbar-button,.toolbar-select,.editor-inline-toggle,.editor-ai-prompt-primary,.editor-ai-prompt-secondary{min-height:44px}.editor-toolbar>.toolbar-section{border-right:none}.editor-toolbar .toolbar-section:not(.editor-toolbar>.toolbar-section){border-right:none;border-bottom:1px solid var(--ap-colour-gray);margin-bottom:8px;margin-right:0;padding-bottom:8px;padding-right:0}.editor-toolbar .toolbar-section:last-child{border-bottom:none;margin-bottom:0;padding-bottom:0}.toolbar-select{width:100%;min-width:0;max-width:100%}.editor-content{padding:12px;scroll-padding-bottom:140px;font-size:14px}.editor-content-with-block-controls{padding-top:54px;padding-left:12px}.editor-container-with-block-controls .editor-placeholder{top:66px;left:12px}.editor-code,.editor-table{max-width:100%}.editor-table{-webkit-overflow-scrolling:touch;width:max-content;min-width:100%;display:block;overflow-x:auto}.editor-inline-image-controls{align-items:stretch}.editor-inline-image-control,.editor-inline-image-delete{width:100%}.editor-inline-image-control input{flex:auto;width:100%;min-width:0}.editor-ai-prompt-bar{left:8px;right:8px;bottom:max(8px, env(safe-area-inset-bottom));max-width:calc(100vw - 16px)}.editor-ai-prompt-row{align-items:stretch}.editor-ai-prompt-row input,.editor-ai-prompt-primary,.editor-ai-prompt-secondary{width:100%}.editor-character-counter{padding-bottom:max(10px, env(safe-area-inset-bottom));flex-wrap:wrap;align-items:stretch}.editor-ai-actions{width:100%}.editor-inline-toggle{flex:180px}.editor-pro-character-info{width:100%;margin-right:0}.editor-block-controls{-webkit-overflow-scrolling:touch;width:-moz-fit-content;width:fit-content;max-width:calc(100vw - 24px);position:sticky;left:8px;right:8px;overflow-x:auto;top:6px!important}.editor-block-handle,.editor-block-command-button,.editor-block-mini-action{width:40px;min-height:40px}.editor-block-mini-action{width:auto}.editor-block-menu{width:min(280px,100vw - 32px);max-width:calc(100vw - 32px)}.editor-slash-menu,.editor-ai-inline-actions{max-width:calc(100vw - 24px)}.editor-ai-inline-actions{left:max(8px, env(safe-area-inset-left));right:max(8px, env(safe-area-inset-right))}}@media (max-width:480px){.editor-toolbar>.toolbar-section:not(.editor-toolbar-section-inline){grid-template-columns:1fr}.editor-content{padding:10px;font-size:14px}.editor-content-with-block-controls{padding-left:10px}.editor-container-with-block-controls .editor-placeholder{left:10px}.editor-ai-prompt-bar-floating,.editor-slash-menu{width:calc(100vw - 16px)!important}.editor-ai-inline-actions{width:calc(100vw - 16px)}.editor-ai-inline-actions .editor-ai-prompt-primary,.editor-ai-inline-actions .editor-ai-prompt-secondary{flex:120px}}.editor-upgrade-prompt{background-color:var(--ap-colour-card-header);border-top:1px solid var(--ap-colour-gray);padding:12px 16px}.editor-character-counter{background-color:var(--ap-colour-card-header);border-top:1px solid var(--ap-colour-gray);color:var(--ap-colour-text);opacity:.7;justify-content:flex-end;align-items:center;gap:10px;padding:8px 16px;font-size:13px;transition:color .2s;display:flex}.editor-upgrade-content{gap:10px;display:grid}.editor-upgrade-message{margin:0}.editor-upgrade-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.editor-upgrade-button{padding:6px 12px;font-size:14px}.editor-pro-character-info{margin-right:10px}.editor-inline-toggle{border:1px solid var(--ap-colour-gray);min-height:28px;color:var(--ap-colour-text);cursor:pointer;background-color:#0000;border-radius:999px;justify-content:center;align-items:center;padding:0 10px;font-size:12px;font-weight:600;transition:background-color .2s,border-color .2s,color .2s;display:inline-flex}.editor-ai-actions{flex-wrap:wrap;align-items:center;gap:8px;margin-right:auto;display:inline-flex}.editor-inline-toggle:hover{border-color:var(--ap-colour-primary)}.editor-inline-toggle.active{background-color:var(--ap-colour-primary-o20);border-color:var(--ap-colour-primary);color:var(--ap-colour-primary)}.editor-inline-toggle.pro-locked{border-color:var(--ap-colour-primary);color:var(--ap-colour-primary)}.editor-ai-prompt-bar{z-index:var(--editor-z-floating);border:1px solid var(--ap-colour-gray);background:var(--ap-colour-card);border-radius:12px;padding:10px;position:absolute;bottom:12px;left:12px;right:12px;box-shadow:0 10px 34px #00000047}.editor-ai-prompt-bar-floating{z-index:10050;position:fixed;bottom:auto;right:auto}.editor-ai-prompt-row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.editor-ai-prompt-row input{border:1px solid var(--ap-colour-gray);background:var(--ap-colour-black-2);min-width:min(260px,100%);height:36px;color:var(--ap-colour-text);border-radius:8px;flex:1;padding:0 12px}.editor-ai-prompt-primary,.editor-ai-prompt-secondary{border:1px solid var(--ap-colour-gray);cursor:pointer;min-height:34px;color:var(--ap-colour-text);border-radius:8px;padding:0 12px}.editor-ai-prompt-primary{background:var(--ap-colour-primary);border-color:var(--ap-colour-primary);color:var(--ap-colour-white)}.editor-ai-prompt-secondary{background:0 0}.editor-ai-prompt-error{color:var(--ap-colour-error,#f44);margin:8px 0 0;font-size:13px}.editor-ai-prompt-preview{border:1px solid var(--ap-colour-gray);background:var(--ap-colour-card-header);border-radius:10px;margin-top:10px;padding:10px}.editor-ai-prompt-preview p{white-space:pre-wrap;margin:0 0 10px}.editor-ai-inline-preview{color:var(--ap-colour-primary);background:var(--ap-colour-primary-o15,#6366f11f);white-space:pre-wrap;border-radius:4px;padding:1px 3px;display:inline}.editor-ai-prompt-preview-inline{width:100%;display:inline-flex}.editor-ai-inline-actions{z-index:10050;border:1px solid var(--ap-colour-gray);background:var(--ap-colour-card);border-radius:10px;flex-wrap:wrap;gap:6px;max-width:min(420px,100vw - 32px);padding:6px;display:flex;position:fixed;box-shadow:0 12px 32px #00000047}.editor-ai-prompt-actions{flex-wrap:wrap;gap:8px;display:flex}.editor-floating-layer{z-index:10050;position:fixed}.editor-block-controls{z-index:var(--editor-z-menu);pointer-events:auto;max-width:calc(100% - 24px);box-shadow:none;background:0 0;border:none;border-radius:0;align-items:center;gap:2px;padding:0;display:flex;position:absolute;left:4px}.editor-block-command-button,.editor-block-handle,.editor-block-mini-action{width:28px;min-height:28px;color:var(--ap-colour-text-secondary,#888);cursor:grab;opacity:.62;background:0 0;border:1px solid #0000;border-radius:6px;justify-content:center;align-items:center;font-weight:700;line-height:1;transition:background-color .15s,color .15s,opacity .15s;display:inline-flex}.editor-block-command-button{cursor:pointer}.editor-block-mini-action{cursor:pointer;width:auto;min-width:32px;padding:0 8px;font-size:11px;font-weight:600}.editor-block-mini-action-danger{color:var(--ap-colour-error,#f44)}.editor-block-command-button:hover,.editor-block-command-button[aria-expanded=true],.editor-block-mini-action:hover{color:var(--ap-colour-primary);background:var(--ap-colour-primary-o10,var(--ap-colour-gray-2));opacity:1;border-color:#0000}.editor-block-handle:active,.editor-block-handle.is-dragging{cursor:grabbing;color:var(--ap-colour-primary);background:var(--ap-colour-primary-o10,var(--ap-colour-gray-2));opacity:1;border-color:#0000}.editor-block-menu{z-index:2;border:1px solid var(--ap-colour-gray);background:var(--ap-colour-card);border-radius:10px;min-width:180px;max-height:min(70vh,520px);padding:6px;display:grid;position:absolute;top:calc(100% + 6px);left:0;overflow:auto;box-shadow:0 12px 32px #00000047}.editor-block-menu button{min-height:32px;color:var(--ap-colour-text);cursor:pointer;text-align:left;background:0 0;border:none;border-radius:6px;padding:6px 10px}.editor-block-menu button:hover{background:var(--ap-colour-gray-2)}.editor-block-menu hr{border:none;border-top:1px solid var(--ap-colour-gray);width:100%;margin:6px 0}.editor-block-menu-label{color:var(--ap-colour-text-secondary,#888);letter-spacing:.06em;text-transform:uppercase;padding:6px 10px 4px;font-size:11px;font-weight:700}.editor-slash-menu{z-index:10050;border:1px solid var(--ap-colour-gray);background:var(--ap-colour-card);overscroll-behavior:contain;border-radius:12px;min-width:220px;max-width:min(320px,100vw - 32px);padding:6px;display:grid;position:fixed;overflow:auto;box-shadow:0 12px 32px #00000047}.editor-slash-menu[data-placement=top]{box-shadow:0 -12px 32px #0000003d}.editor-slash-query,.editor-slash-empty{color:var(--ap-colour-text-secondary,#888);padding:8px 10px;font-size:12px}.editor-slash-menu button{min-height:36px;color:var(--ap-colour-text);cursor:pointer;text-align:left;background:0 0;border:none;border-radius:8px;padding:8px 10px}.editor-slash-menu button:hover,.editor-slash-menu button.active{background:var(--ap-colour-gray-2)}.editor-block-drag-ghost{z-index:10060;pointer-events:none;border:1px solid var(--ap-colour-primary);background:var(--ap-colour-card);color:var(--ap-colour-primary);white-space:nowrap;border-radius:8px;padding:6px 10px;font-size:12px;font-weight:700;position:absolute;box-shadow:0 10px 28px #00000040}.editor-block-drop-indicator{z-index:10055;background:var(--ap-colour-primary);pointer-events:none;border-radius:999px;height:3px;position:absolute}.editor-block-drop-indicator:before,.editor-block-drop-indicator:after{content:"";background:var(--ap-colour-primary);border-radius:50%;width:8px;height:8px;position:absolute;top:50%;transform:translateY(-50%)}.editor-block-drop-indicator:before{left:0}.editor-block-drop-indicator:after{right:0}.editor-pro-feature-dialog p{margin:0 0 14px}.editor-pro-feature-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.editor-character-counter .character-count{font-weight:500}.editor-character-counter .character-separator{opacity:.6;margin:0 4px}.editor-character-counter .character-max{opacity:.7}.editor-character-counter.near-limit{color:var(--ap-colour-warning,orange)}.editor-character-counter.over-limit{color:var(--ap-colour-error,#f44)}.editor-character-counter .character-warning{color:var(--ap-colour-error,#f44);margin-left:8px;font-weight:600}@media (prefers-color-scheme:dark){.editor-toolbar{border-bottom-color:var(--ap-colour-gray-dark);background-color:#0000}.toolbar-button,.toolbar-select{background-color:#0000;border-color:#0000}.editor-upgrade-prompt,.editor-character-counter{background-color:var(--ap-colour-black-3);border-top-color:var(--ap-colour-gray-dark)}}.responsive-dialog__panel.inline-images-pro-dialog-panel{--responsive-dialog-width:35rem;--responsive-dialog-padding:0}.inline-images-pro-dialog{gap:1rem;display:grid}.inline-images-pro-dialog__intro{color:var(--ap-colour-text-secondary,var(--ap-colour-text));margin:0;padding:1.1rem 1.25rem 0;line-height:1.55}.inline-images-pro-dialog__mock{border:1px solid var(--ap-colour-gray);background:var(--ap-colour-card);box-shadow:5px 5px 0 color-mix(in srgb, var(--ap-colour-gray) 68%, transparent);border-radius:.5rem;margin:0 1.25rem;overflow:hidden}.inline-images-pro-dialog__mock-toolbar{border-bottom:1px solid var(--ap-colour-gray);background:var(--ap-colour-card-header);align-items:center;gap:.45rem;min-height:2.25rem;padding:0 .75rem;display:flex}.inline-images-pro-dialog__mock-toolbar span{background:var(--ap-colour-text-secondary,var(--ap-colour-text));opacity:.55;width:1rem;height:.25rem;display:block}.inline-images-pro-dialog__mock-toolbar span:first-child{background:var(--ap-colour-primary);opacity:1;width:1.5rem;height:.4rem}.inline-images-pro-dialog__mock-page{justify-items:start;gap:.55rem;padding:1rem;display:grid}.inline-images-pro-dialog__mock-line{background:var(--ap-colour-text-secondary,var(--ap-colour-text));opacity:.28;border-radius:999px;width:48%;height:.35rem;display:block}.inline-images-pro-dialog__mock-line--heading{background:var(--ap-colour-text);opacity:.72;width:36%;height:.65rem;margin-bottom:.1rem}.inline-images-pro-dialog__mock-line--wide{width:82%}.inline-images-pro-dialog__mock-line--medium{width:65%}.inline-images-pro-dialog__mock-line--short{width:42%}.inline-images-pro-dialog__mock-image{aspect-ratio:16/7;border:1px solid var(--ap-colour-gray);background:color-mix(in srgb, var(--ap-colour-primary) 13%, var(--ap-colour-card-header));border-radius:.35rem;width:min(72%,20rem);margin:.2rem 0;position:relative;overflow:hidden}.inline-images-pro-dialog__mock-sun{aspect-ratio:1;border:2px solid var(--ap-colour-primary);border-radius:50%;width:1.25rem;position:absolute;top:18%;right:14%}.inline-images-pro-dialog__mock-hill{aspect-ratio:1;border:1px solid var(--ap-colour-gray);background:var(--ap-colour-card-header);width:70%;position:absolute;bottom:-55%;transform:rotate(45deg)}.inline-images-pro-dialog__mock-hill--back{left:36%}.inline-images-pro-dialog__mock-hill--front{background:color-mix(in srgb, var(--ap-colour-primary) 20%, var(--ap-colour-card-header));bottom:-50%;left:-8%}.inline-images-pro-dialog__markdown{border-left:3px solid var(--ap-colour-primary);background:var(--ap-colour-card-header);margin:0 1.25rem;padding:.85rem 1rem}.inline-images-pro-dialog__markdown p{margin:0 0 .65rem;line-height:1.5}.inline-images-pro-dialog__markdown code{border:1px solid var(--ap-colour-gray);background:var(--ap-colour-card);color:var(--ap-colour-text);white-space:nowrap;border-radius:.35rem;padding:.65rem .75rem;font-size:.82rem;display:block;overflow-x:auto}.inline-images-pro-dialog__actions{flex-wrap:wrap;gap:.75rem;padding:0 1.25rem 1.25rem;display:flex}@media (max-width:520px){.inline-images-pro-dialog__intro{padding-inline:1rem}.inline-images-pro-dialog__mock,.inline-images-pro-dialog__markdown{margin-inline:1rem}.inline-images-pro-dialog__mock-image{width:86%}.inline-images-pro-dialog__actions{padding-inline:1rem}.inline-images-pro-dialog__actions .ap-button{flex:100%}}:root{--ce-font:"Courier New", monospace;--ce-font-size:14px;--ce-line-height:1.4;--ce-padding:16px;--ce-tab-size:2}.code-editor,.code-viewer{background-color:var(--ap-colour-black-3);border:1px solid var(--ap-colour-gray);border-radius:var(--ap-var-border-radius,8px);box-sizing:border-box;font-family:var(--ce-font);font-size:var(--ce-font-size);line-height:var(--ce-line-height);grid-template-rows:minmax(0,1fr);grid-template-columns:auto minmax(0,1fr);min-width:0;min-height:200px;display:grid;overflow:hidden}.code-viewer{overflow:auto}.code-editor-no-gutter{grid-template-columns:minmax(0,1fr)}.code-viewer .code-gutter{z-index:1;align-self:start;min-height:100%;position:sticky;left:0}.code-line-numbers,.code-gutter{width:44px;min-width:44px;padding:var(--ce-padding) 8px var(--ce-padding) 0;text-align:right;color:var(--ap-colour-gray-text,#888);border-right:1px solid var(--ap-colour-gray);-webkit-user-select:none;user-select:none;white-space:pre;line-height:var(--ce-line-height);font-size:var(--ce-font-size);font-family:var(--ce-font);box-sizing:border-box;background-color:#0003;flex-shrink:0;margin:0;overflow:hidden}.code-line-number-viewport{border-right:1px solid var(--ap-colour-gray);background-color:#0003;align-self:stretch;min-height:0;position:relative;overflow:hidden}.code-line-number-viewport .code-line-numbers{background:0 0;border-right:none}.code-editor-wrapper{flex-direction:column;width:100%;min-width:0;min-height:0;display:flex}.code-overlay-host{flex:1;align-self:stretch;min-width:0;min-height:200px;position:relative;overflow:hidden}.code-highlight-pre{padding:var(--ce-padding);box-sizing:border-box;width:100%;height:100%;font-family:var(--ce-font);font-size:var(--ce-font-size);line-height:var(--ce-line-height);white-space:pre;word-wrap:normal;overflow-wrap:normal;pointer-events:none;tab-size:var(--ce-tab-size);background:0 0;min-width:max-content;margin:0;position:absolute;inset:0;overflow:hidden}.code-highlight-pre code{font-family:inherit;font-size:inherit;line-height:inherit;background:0 0;padding:0}.code-textarea{color:#0000;caret-color:var(--ap-colour-text,#fff);-webkit-text-fill-color:transparent;resize:none;box-sizing:border-box;width:100%;height:100%;font-family:var(--ce-font);font-size:var(--ce-font-size);line-height:var(--ce-line-height);padding:var(--ce-padding);white-space:pre;word-wrap:normal;overflow-wrap:normal;tab-size:var(--ce-tab-size);background:0 0;border:none;outline:none;min-width:100%;position:absolute;inset:0;overflow:auto}.code-textarea::placeholder{color:var(--ap-colour-gray-text,#888);-webkit-text-fill-color:var(--ap-colour-gray-text,#888)}.code-body{min-width:0;padding:var(--ce-padding);white-space:pre;word-wrap:normal;overflow-wrap:normal;margin:0;overflow:visible}.code-body code{font-family:var(--ce-font);font-size:var(--ce-font-size);line-height:var(--ce-line-height);background:0 0;padding:0}.code-editor-footer{border-top:1px solid var(--ap-colour-gray);background:var(--ap-colour-card-header);color:var(--ap-colour-gray-text,#888);justify-content:flex-end;padding:4px 8px;font-size:12px;display:flex}.code-editor-footer.near-limit{color:var(--ap-colour-warning,#f59e0b)}.code-editor-footer.over-limit{color:var(--ap-colour-error,#ef4444)}.code-highlight-pre .token.atrule,.code-highlight-pre .token.attr-value,.code-highlight-pre .token.keyword,.code-body .token.atrule,.code-body .token.attr-value,.code-body .token.keyword{color:#ff9d00}.code-highlight-pre .token.boolean,.code-highlight-pre .token.constant,.code-highlight-pre .token.deleted,.code-highlight-pre .token.number,.code-highlight-pre .token.property,.code-highlight-pre .token.symbol,.code-highlight-pre .token.tag,.code-body .token.boolean,.code-body .token.constant,.code-body .token.deleted,.code-body .token.number,.code-body .token.property,.code-body .token.symbol,.code-body .token.tag{color:#ff628c}.code-highlight-pre .token.attr-name,.code-highlight-pre .token.builtin,.code-highlight-pre .token.char,.code-highlight-pre .token.inserted,.code-highlight-pre .token.selector,.code-highlight-pre .token.string,.code-body .token.attr-name,.code-body .token.builtin,.code-body .token.char,.code-body .token.inserted,.code-body .token.selector,.code-body .token.string{color:#a5ff90}.code-highlight-pre .token.comment,.code-highlight-pre .token.prolog,.code-highlight-pre .token.doctype,.code-highlight-pre .token.cdata,.code-body .token.comment,.code-body .token.prolog,.code-body .token.doctype,.code-body .token.cdata{color:#7a7a7a;font-style:italic}.code-highlight-pre .token.class-name,.code-highlight-pre .token.function,.code-body .token.class-name,.code-body .token.function{color:#ff9d00}.code-highlight-pre .token.operator,.code-highlight-pre .token.entity,.code-highlight-pre .token.url,.code-body .token.operator,.code-body .token.entity,.code-body .token.url{color:#ff628c}.code-highlight-pre .token.variable,.code-highlight-pre .token.regex,.code-body .token.variable,.code-body .token.regex{color:#ff9d00}.code-highlight-pre .token.punctuation,.code-body .token.punctuation{color:#fff}.markdown-editor-canvas[hidden],.markdown-editor-source[hidden]{display:none}.markdown-editor-source{flex-direction:column;flex:1;min-height:0;display:flex}.markdown-editor-heading-h6{font-size:1em;font-weight:700}.markdown-editor-code{white-space:pre-wrap;border:1px solid var(--ap-colour-gray);background:var(--ap-colour-card-header);padding:1rem;font-family:monospace;display:block;overflow-x:auto}.markdown-editor-table{border-collapse:collapse;width:100%;margin-block:1rem}.markdown-editor-table-cell{border:1px solid var(--ap-colour-gray);vertical-align:top;min-width:5rem;padding:.5rem}.markdown-editor-table-header{background:var(--ap-colour-card-header);font-weight:700}.markdown-editor-language{border:1px solid var(--ap-colour-gray);background:var(--ap-colour-card);width:8rem;min-height:32px;color:var(--ap-colour-text);border-radius:5px;padding:.3rem .55rem;font-size:12px}.markdown-editor-nested-listitem{list-style:none}.markdown-editor-listitem.markdown-editor-listitem-checked,.markdown-editor-listitem.markdown-editor-listitem-unchecked{outline:none;padding-inline-start:1.5rem;list-style:none;position:relative}.markdown-editor-listitem-checked:before,.markdown-editor-listitem-unchecked:before{content:"";inset-inline-start:0;box-sizing:border-box;border:1px solid var(--ap-colour-text-secondary,var(--ap-colour-text));background:var(--ap-colour-card);cursor:pointer;border-radius:3px;width:1em;height:1em;position:absolute;top:.2em}.markdown-editor-listitem-checked:before{border-color:var(--ap-colour-primary);background:var(--ap-colour-primary)}.markdown-editor-listitem-checked:after{content:"";inset-inline-start:.3em;border:solid var(--ap-colour-card);border-width:0 2px 2px 0;width:.35em;height:.6em;position:absolute;top:.3em;transform:rotate(45deg)}.markdown-editor-listitem-checked:focus-visible:before,.markdown-editor-listitem-unchecked:focus-visible:before{outline:2px solid var(--ap-colour-primary);outline-offset:2px}.markdown-editor-container{--markdown-editor-z-floating:20;--markdown-editor-z-menu:1;--markdown-editor-z-dialog:40;border:1px solid var(--ap-colour-gray);border-radius:var(--ap-var-border-radius);background-color:var(--ap-colour-card);flex-direction:column;width:100%;min-width:0;display:flex;overflow:visible}.markdown-editor-header,.markdown-editor-footer{z-index:var(--markdown-editor-z-menu);flex:none;position:relative}.markdown-editor-canvas{z-index:1;isolation:isolate;flex:auto;min-width:0;min-height:250px;position:relative}.markdown-editor-file-input{display:none}.markdown-editor-toolbar{border-bottom:1px solid var(--ap-colour-gray);background-color:var(--ap-colour-card);z-index:var(--markdown-editor-z-menu);scrollbar-width:thin;flex-wrap:nowrap;align-items:center;gap:4px;padding:8px 10px;display:flex;position:relative;overflow-x:auto}.markdown-editor-toolbar-section{border:0;border-right:1px solid var(--ap-colour-gray);background:0 0;border-radius:0;flex-wrap:nowrap;flex:none;align-items:center;gap:2px;padding:0 7px 0 3px;display:flex}.markdown-editor-toolbar-section:last-child{border-right:0;padding-right:3px}.markdown-editor-toolbar-context{background:var(--ap-colour-card-header);padding-left:7px}.markdown-editor-selection-toolbar{z-index:11000;border:1px solid var(--ap-colour-gray);background:var(--ap-colour-card);max-width:calc(100vw - 16px);box-shadow:var(--ap-shadow-overlay,0 12px 30px #0000003d);border-radius:8px;padding:4px;display:flex;position:fixed;transform:translate(-50%)}.markdown-editor-selection-toolbar[data-placement=top]{transform:translate(-50%,-100%)}.markdown-editor-selection-toolbar .markdown-editor-toolbar-section{border-right:0;max-width:100%;padding:0}.markdown-editor-selection-toolbar .markdown-editor-toolbar-button{width:32px;min-width:32px;height:32px}.markdown-editor-selection-toolbar .markdown-editor-style-menu{z-index:11001;box-shadow:var(--ap-shadow-overlay,0 12px 30px #0000003d);position:absolute;left:50%;transform:translate(-50%)}.markdown-editor-selection-toolbar[data-placement=top] .markdown-editor-style-menu{bottom:calc(100% + 6px)}.markdown-editor-selection-toolbar[data-placement=bottom] .markdown-editor-style-menu{top:calc(100% + 6px)}.markdown-editor-toolbar-button{width:34px;min-width:34px;height:34px;color:var(--ap-colour-text);cursor:pointer;background-color:#0000;border:0;border-radius:5px;justify-content:center;align-items:center;padding:0;font-size:14px;font-weight:600;line-height:1;transition:background-color .2s,border-color .2s,color .2s;display:flex}.markdown-editor-toolbar-button svg{width:18px;height:18px}.markdown-editor-toolbar-button:hover:not(:disabled){background-color:var(--ap-colour-gray-2)}.markdown-editor-toolbar-button.active,.markdown-editor-toolbar-button[aria-pressed=true]{background-color:var(--ap-colour-primary-o15,#6366f11f);color:var(--ap-colour-primary)}.markdown-editor-toolbar-button-heading{letter-spacing:-.02em;font-size:12px}.markdown-editor-block-style-menu{width:auto}.markdown-editor-block-style-menu .select-menu__button{width:118px;min-height:34px;color:var(--ap-colour-text);background:0 0;border:0;border-radius:5px;gap:5px;padding:0 8px;font-size:12px;font-weight:600}.markdown-editor-block-style-menu .select-menu__button:hover:not(:disabled),.markdown-editor-block-style-menu .select-menu__button:focus-visible{background-color:var(--ap-colour-gray-2);box-shadow:none;border-color:#0000}.markdown-editor-block-style-menu .select-menu__value{align-items:center;display:flex}.markdown-editor-block-style-label{align-items:center;gap:6px;min-width:0;line-height:1;display:flex}.markdown-editor-block-style-label>:first-child{flex:0 0 18px;justify-content:center;align-items:center;width:18px;display:inline-flex}.markdown-editor-block-style-label svg{width:18px;height:18px}.markdown-editor-block-style-listbox{min-width:150px}.markdown-editor-block-style-listbox .select-menu__option{padding:.55rem}.markdown-editor-toolbar-button:disabled{cursor:not-allowed;opacity:.35}.markdown-editor-toolbar-button:focus-visible{outline:2px solid var(--ap-colour-primary);outline-offset:1px}.markdown-editor-style-picker{display:flex;position:relative}.markdown-editor-colour-icon{grid-template-rows:17px 3px;place-items:center;gap:1px;width:19px;height:21px;display:grid}.markdown-editor-colour-icon>span{font-family:Georgia,serif;font-size:18px;font-weight:700;line-height:17px}.markdown-editor-colour-icon>i{background:linear-gradient(90deg, var(--ap-colour-error) 0 25%, var(--ap-colour-warning) 25% 50%, var(--ap-colour-success) 50% 75%, var(--ap-colour-primary) 75% 100%);border-radius:1px;width:16px;height:3px;display:block}.markdown-editor-style-menu{border:1px solid var(--ap-colour-gray);background:var(--ap-colour-card);border-radius:6px;min-width:max-content;padding:2px;position:static}.markdown-editor-style-options{align-items:center;gap:5px;padding:0;display:flex}.markdown-editor-style-option{width:30px;height:30px;color:var(--ap-colour-text);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:5px;place-items:center;padding:0;display:grid}.markdown-editor-style-option:hover,.markdown-editor-style-option.active{border-color:var(--ap-colour-primary);background:var(--ap-colour-primary-o10)}.markdown-editor-style-option-reset{width:auto;min-width:54px;padding-inline:8px;font-size:11px}.markdown-editor-style-swatch{border:1px solid color-mix(in srgb, currentColor 26%, transparent);border-radius:3px;width:18px;height:18px;display:block}.markdown-editor-style-swatch--color-red{background:var(--ap-colour-error)}.markdown-editor-style-swatch--color-orange{background:var(--ap-colour-warning)}.markdown-editor-style-swatch--color-green{background:var(--ap-colour-success)}.markdown-editor-style-swatch--color-blue{background:var(--ap-colour-primary)}.markdown-editor-style-swatch--highlight-yellow{background:color-mix(in srgb, var(--ap-colour-warning) 34%, transparent)}.markdown-editor-style-swatch--highlight-green{background:color-mix(in srgb, var(--ap-colour-success) 24%, transparent)}.markdown-editor-style-swatch--highlight-blue{background:color-mix(in srgb, var(--ap-colour-primary) 28%, transparent)}.markdown-editor-style-swatch--highlight-red{background:color-mix(in srgb, var(--ap-colour-error) 26%, transparent)}.markdown-editor-content{min-height:220px;max-height:inherit;background-color:var(--ap-colour-card);color:var(--ap-colour-text);outline:none;padding:22px 24px;scroll-padding:24px 24px 92px;font-family:Montserrat Regular,sans-serif;font-size:16px;line-height:1.6;overflow:auto}.markdown-editor-content:focus{outline:none}.markdown-editor-inline-completion-inline{color:var(--ap-colour-gray);opacity:.72;display:inline}.markdown-editor-inline-completion-text{white-space:pre-wrap;word-break:break-word;display:inline}.markdown-editor-inline-completion-accept{vertical-align:middle;border:1px solid var(--ap-colour-gray);min-width:26px;height:22px;color:inherit;opacity:.95;pointer-events:auto;cursor:pointer;background:0 0;border-radius:999px;margin-left:8px;padding:0 6px;font-size:12px;line-height:1;display:inline-flex}.markdown-editor-placeholder{color:var(--ap-colour-gray);pointer-events:none;font-style:italic;position:absolute;top:22px;left:24px}.markdown-editor-paragraph{margin:0;padding:0;line-height:1.6}.markdown-editor-heading-h1,.markdown-editor-heading-h2,.markdown-editor-heading-h3,.markdown-editor-heading-h4,.markdown-editor-heading-h5{color:var(--ap-colour-text);margin:0 0 .45em;font-weight:700;line-height:1.2}.markdown-editor-heading-h1{font-size:2em}.markdown-editor-heading-h2{font-size:1.5em}.markdown-editor-heading-h3{font-size:1.17em}.markdown-editor-heading-h4,.markdown-editor-heading-h5{font-size:1em}.markdown-editor-list-ul,.markdown-editor-list-ol{margin:.25em 0;padding-inline-start:1.75em;list-style-position:outside}.markdown-editor-list-ul{list-style-type:disc}.markdown-editor-list-ol{list-style-type:decimal}.markdown-editor-listitem{list-style:inherit;margin:0;padding:0;line-height:1.45}.markdown-editor-link{color:var(--ap-colour-primary);text-decoration:underline}.markdown-editor-quote{border:1px solid color-mix(in srgb, var(--ap-colour-text) 10%, transparent);border-left:3px solid color-mix(in srgb, var(--ap-colour-text) 30%, transparent);border-radius:calc(var(--ap-var-border-radius) * .6);background:color-mix(in srgb, var(--ap-colour-black-2) 42%, var(--ap-colour-card));color:color-mix(in srgb, var(--ap-colour-text) 86%, transparent);margin:.65em 0;padding:.8em 1em;line-height:1.55}.markdown-editor-spoiler{box-sizing:border-box;border:1px solid color-mix(in srgb, var(--ap-colour-text-always-white) 16%, transparent);background:var(--ap-colour-black-2);color:#0000;white-space:nowrap;vertical-align:baseline;-webkit-box-decoration-break:clone;box-decoration-break:clone;border-radius:.45em;align-items:center;width:6.7em;max-width:100%;padding:.08em .22em .08em .48em;transition:background .16s,border-color .16s,box-shadow .16s;display:inline-flex;position:relative;overflow:hidden}.markdown-editor-spoiler:before{content:attr(data-spoiler-mask);color:var(--ap-colour-text-always-white);letter-spacing:.12em;white-space:nowrap;font-family:monospace;font-size:.94em;font-weight:700;line-height:1;position:absolute;top:50%;left:.48em;transform:translateY(-50%)}.markdown-editor-spoiler:after{content:"";background-color:var(--ap-colour-text-always-white);border-radius:.3em;width:1.35em;height:1.35em;position:absolute;top:50%;right:.22em;transform:translateY(-50%);-webkit-mask:url(https://icons.cacheyard.com/material-symbols/visibility-outline-rounded.svg) 50%/1em no-repeat;mask:url(https://icons.cacheyard.com/material-symbols/visibility-outline-rounded.svg) 50%/1em no-repeat}.markdown-editor-spoiler:hover,.markdown-editor-spoiler:focus-within{border-color:color-mix(in srgb, var(--ap-colour-primary) 52%, var(--ap-colour-text-always-white));background:color-mix(in srgb, var(--ap-colour-primary) 14%, var(--ap-colour-black-2));width:auto;color:var(--ap-colour-text-always-white);padding-right:1.87em;overflow:visible}.markdown-editor-spoiler:hover:before,.markdown-editor-spoiler:focus-within:before{display:none}.markdown-editor-spoiler:hover:after,.markdown-editor-spoiler:focus-within:after{-webkit-mask-image:url(https://icons.cacheyard.com/material-symbols/visibility-off-outline-rounded.svg);mask-image:url(https://icons.cacheyard.com/material-symbols/visibility-off-outline-rounded.svg)}@media (prefers-reduced-motion:reduce){.markdown-editor-spoiler{transition:none}}.markdown-editor-text-bold{font-weight:700}.markdown-editor-text-italic{font-style:italic}.markdown-editor-text-underline{text-decoration:underline}.markdown-editor-text-strikethrough{text-decoration:line-through}.markdown-editor-text-underlineStrikethrough{text-decoration:underline line-through}.markdown-editor-text-code{background:var(--ap-colour-black-2);border-radius:4px;padding:1px 4px;font-family:monospace;font-size:.95em}.markdown-editor-horizontal-rule{background:var(--ap-colour-gray);border:0;height:1px;margin:.75em 0;display:block}.markdown-editor-inline-toggle{border:1px solid var(--ap-colour-gray);min-height:28px;color:var(--ap-colour-text);cursor:pointer;background-color:#0000;border-radius:999px;justify-content:center;align-items:center;padding:0 10px;font-size:12px;font-weight:600;transition:background-color .2s,border-color .2s,color .2s;display:inline-flex}.markdown-editor-inline-toggle:hover,.markdown-editor-inline-toggle.active,.markdown-editor-inline-toggle.pro-locked{border-color:var(--ap-colour-primary);color:var(--ap-colour-primary)}.markdown-editor-inline-toggle.active{background-color:var(--ap-colour-primary-o20)}.markdown-editor-ai-actions{flex-wrap:wrap;align-items:center;gap:8px;margin-right:auto;display:inline-flex}.markdown-editor-upgrade-prompt{border-top:1px solid var(--ap-colour-gray);background-color:var(--ap-colour-card-header);padding:12px 16px}.markdown-editor-upgrade-content{gap:10px;display:grid}.markdown-editor-upgrade-message{margin:0}.markdown-editor-upgrade-actions,.markdown-editor-pro-feature-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.markdown-editor-upgrade-button{padding:6px 12px;font-size:14px}.markdown-editor-character-counter{border-top:1px solid var(--ap-colour-gray);background-color:var(--ap-colour-card-header);color:var(--ap-colour-text);opacity:.7;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;padding:8px 16px;font-size:13px;display:flex}.markdown-editor-character-counter .character-count{font-weight:500}.markdown-editor-character-counter .character-separator{opacity:.6;margin:0 4px}.markdown-editor-character-counter .character-max{opacity:.7}.markdown-editor-character-counter.near-limit{color:var(--ap-colour-warning,orange)}.markdown-editor-character-counter.over-limit{color:var(--ap-colour-error,#f44)}.markdown-editor-character-counter .character-warning{margin-left:8px;font-weight:500}.markdown-editor-pro-character-info{margin-right:10px}.markdown-editor-pro-feature-dialog p{margin:0 0 14px}@media (max-width:768px){.markdown-editor-toolbar{align-items:center;gap:3px;padding:7px 8px}.markdown-editor-toolbar-section{width:auto}.markdown-editor-toolbar-button{width:36px;min-width:36px;height:36px}.markdown-editor-block-style-menu .select-menu__button{min-height:36px}.markdown-editor-content{padding:16px;scroll-padding-bottom:140px;font-size:15px}.markdown-editor-placeholder{top:16px;left:16px}.markdown-editor-character-counter{padding-bottom:max(10px, env(safe-area-inset-bottom));flex-wrap:wrap;align-items:stretch}.markdown-editor-ai-actions{width:100%}.markdown-editor-inline-toggle{flex:180px}.markdown-editor-pro-character-info{width:100%;margin-right:0}}@media (hover:none),(pointer:coarse){.markdown-editor-inline-completion-accept{gap:4px;min-width:44px;padding:0 10px}.markdown-editor-inline-completion-accept:after{content:"Tap";font-size:11px}}.editor-type-bar{z-index:1;border-bottom:1px solid var(--ap-colour-gray);background:var(--ap-colour-card-header);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;padding:10px 12px;display:flex;position:relative}.editor-type-bar-main{flex:auto;justify-content:space-between;align-items:center;gap:10px;min-width:0;display:flex}.editor-shell{flex-direction:column;min-width:0;transition:box-shadow .15s,transform .15s;display:flex;overflow:hidden}.editor-shell-body{flex:auto;min-width:0;min-height:0;display:flex;overflow:hidden}.editor-shell-body>*{flex:auto;min-width:0;min-height:0}.editor-shell-body .text-editor-container,.editor-shell-body .markdown-editor-container,.editor-shell-body .code-editor-wrapper{height:100%}.editor-shell-body .editor-shell-canvas,.editor-shell-body .markdown-editor-canvas,.editor-shell-body .editor-container,.editor-shell-body .code-editor{flex:auto;min-height:0}.editor-shell-body .editor-content,.editor-shell-body .markdown-editor-content{height:100%}.editor-size-controls{align-items:center;gap:6px;margin-left:auto;display:inline-flex}.editor-size-btn{min-height:34px;color:var(--ap-colour-text);cursor:pointer;background:0 0;border:0;border-radius:5px;align-items:center;gap:5px;padding:5px 9px;font-size:12px;line-height:1;transition:background .15s,border-color .15s;display:inline-flex}.editor-size-btn:hover,.editor-size-btn[aria-pressed=true]{background:var(--ap-colour-gray-2);border-color:var(--ap-colour-primary)}.editor-resize-handle{border-radius:0 0 var(--ap-var-border-radius,8px) var(--ap-var-border-radius,8px);cursor:ns-resize;touch-action:none;background:0 0;border:0;border-top:1px solid #0000;justify-content:center;align-items:center;width:100%;height:18px;padding:0;display:flex}.editor-resize-handle span{background:var(--ap-colour-gray);opacity:.55;border-radius:999px;width:42px;height:4px;transition:opacity .15s,background-color .15s}.editor-resize-handle:hover,.editor-resize-handle:focus-visible,.editor-shell-resizing .editor-resize-handle{border-top-color:var(--ap-colour-gray)}.editor-resize-handle:hover span,.editor-resize-handle:focus-visible span,.editor-shell-resizing .editor-resize-handle span{background:var(--ap-colour-primary);opacity:1}.editor-shell-resizing,.editor-shell-resizing *{-webkit-user-select:none;user-select:none}.editor-shell-fullscreen{inset:max(env(safe-area-inset-top), 10px) max(env(safe-area-inset-right), 10px) max(env(safe-area-inset-bottom), 10px) max(env(safe-area-inset-left), 10px);z-index:9999;flex-direction:column;display:flex;overflow:hidden;box-shadow:0 18px 60px #00000073;position:fixed!important}.editor-shell-fullscreen>.editor-type-bar,.editor-shell-fullscreen>.editor-readonly-bar{z-index:30;flex:none;position:sticky;top:0}.editor-shell-fullscreen .editor-shell-header,.editor-shell-fullscreen .markdown-editor-header{z-index:30;background:var(--ap-colour-card);flex:none;position:sticky;top:0}.editor-shell-fullscreen .editor-shell-footer,.editor-shell-fullscreen .markdown-editor-footer,.editor-shell-fullscreen .code-editor-footer{z-index:30;flex:none;position:sticky;bottom:0}.editor-shell-fullscreen .text-container,.editor-shell-fullscreen .text-editor-container,.editor-shell-fullscreen .markdown-editor-container,.editor-shell-fullscreen .code-editor-wrapper{flex:auto;min-height:0;overflow:hidden}.editor-shell-fullscreen .text-editor-container,.editor-shell-fullscreen .markdown-editor-container,.editor-shell-fullscreen .markdown-editor-canvas,.editor-shell-fullscreen .editor-container,.editor-shell-fullscreen .code-editor-wrapper{height:100%}.editor-shell-fullscreen .editor-content,.editor-shell-fullscreen .markdown-editor-content{height:100%;min-height:0;overflow:auto}.editor-shell-fullscreen .code-editor{min-height:0}.editor-fullscreen-lock{overflow:hidden}.editor-mode-selector{flex-wrap:wrap;align-items:center;gap:8px;min-width:0;display:flex}.editor-mode-list{border:1px solid var(--ap-colour-gray);background:var(--ap-colour-card);border-radius:5px;align-items:center;gap:2px;padding:3px;display:inline-flex;overflow:hidden}.editor-mode-btn{cursor:pointer;min-height:32px;color:var(--ap-colour-text);white-space:nowrap;background:0 0;border:0;border-radius:3px;align-items:center;gap:5px;padding:5px 10px;font-size:12px;line-height:1;transition:background .15s,color .15s;display:inline-flex}.editor-mode-btn:hover{background:var(--ap-colour-gray-2)}.editor-mode-btn[aria-pressed=true]{background:var(--ap-colour-primary-o15,#6366f11f);color:var(--ap-colour-primary)}.editor-mode-btn:disabled{cursor:not-allowed;opacity:.45}.editor-markdown-view-list{margin-left:auto}.editor-language-menu{align-items:center;width:180px;display:flex}.editor-language-menu .select-menu__button{border:1px solid var(--ap-colour-border,var(--ap-colour-gray));background:var(--ap-colour-card);border-radius:6px;height:34px;min-height:34px;padding:5px 8px;font-size:12px}.editor-language-menu .select-menu__value{align-items:center;height:100%;display:flex}.editor-language-menu .select-menu__button:hover:not(:disabled),.editor-language-menu .select-menu__button:focus-visible{border-color:var(--ap-colour-primary);background:var(--ap-colour-gray-2);box-shadow:none;outline:2px solid var(--ap-colour-primary);outline-offset:1px}.editor-language-option{align-items:center;gap:7px;min-width:0;line-height:1;display:inline-flex}.editor-language-option>span{line-height:1}.editor-mode-btn:focus-visible,.editor-size-btn:focus-visible{outline:2px solid var(--ap-colour-primary);outline-offset:1px}.editor-shell-body>.markdown-editor-container,.editor-shell-body>.code-editor-wrapper>.code-editor,.editor-shell-body>.text-editor-container{border:0;border-radius:0}.editor-type-tag{border:1px solid var(--ap-colour-gray);color:var(--ap-colour-text-secondary);letter-spacing:.04em;text-transform:uppercase;border-radius:4px;padding:2px 4px;font-size:8px;font-weight:700;line-height:1}.editor-readonly-bar{justify-content:space-between}.editor-lang-badge{color:var(--ap-colour-text-secondary,#888);border:1px solid var(--ap-colour-gray);background:var(--ap-colour-card-2,#0000000a);border-radius:5px;align-items:center;gap:5px;padding:3px 8px;font-size:12px;line-height:1;display:inline-flex}.editor-copy-btn{border:1px solid var(--ap-colour-gray);cursor:pointer;color:var(--ap-colour-text);background:0 0;border-radius:6px;align-items:center;gap:5px;padding:4px 10px;font-size:12px;line-height:1;transition:background .15s,border-color .15s,color .15s;display:inline-flex}.editor-copy-btn:hover{background:var(--ap-colour-gray-2);border-color:var(--ap-colour-primary)}.editor-copy-float-host{position:relative}.editor-copy-only-bar{z-index:2;position:absolute;top:6px;right:8px}.editor-copy-btn-min{background:var(--ap-colour-card,#fff);cursor:pointer;color:var(--ap-colour-text-secondary,#888);border:1px solid #0000;border-radius:5px;align-items:center;gap:4px;padding:2px 8px;font-size:11px;line-height:1;transition:background .15s,border-color .15s,color .15s;display:inline-flex}.editor-copy-btn-min:hover{border-color:var(--ap-colour-gray);color:var(--ap-colour-text)}.text-editor-fallback-wrapper{width:100%;min-height:200px;position:relative}.text-editor-fallback-textarea{pointer-events:none;opacity:.6}.text-editor-initializing-overlay{background-color:var(--ap-colour-card-o50);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);z-index:1000;border-radius:var(--ap-var-border-radius);cursor:not-allowed;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.text-editor-initializing-content{color:var(--ap-colour-text);flex-direction:column;align-items:center;gap:12px;display:flex}.text-editor-initializing-content p{opacity:.9;margin:0;font-size:14px}.text-editor-initializing-spinner{border:3px solid var(--ap-colour-gray);border-top-color:var(--ap-colour-primary);border-radius:50%;width:32px;height:32px;animation:.8s linear infinite text-editor-spin}@keyframes text-editor-spin{to{transform:rotate(360deg)}}@media (max-width:640px){.editor-type-bar{align-items:stretch;padding:8px}.editor-type-bar-main{flex-direction:column;align-items:stretch}.editor-mode-selector{width:100%}.editor-mode-list{max-width:100%;overflow-x:auto}.editor-markdown-view-list{width:max-content;margin-left:0}.editor-mode-btn{flex:none;min-height:36px}.editor-language-menu{width:min(180px,100%)}.editor-size-controls{width:100%;margin-left:0}.editor-size-btn{flex:1;justify-content:center;min-height:36px}}
