/* Nexus Prime v1.5 — focused editor design system; all rules scoped to editor.
   Selectors intentionally override .nexus-admin .field select/input without !important. */
.nexus-admin .nx-editor{--nx-ed-line:var(--pa-line,#dde5ef);--nx-ed-bg:var(--pa-card,#fff);--nx-ed-quiet:var(--pa-elevated,#f5f7fa);--nx-ed-ink:var(--pa-ink,#12233d);--nx-ed-text:var(--pa-copy,#334155);--nx-ed-muted:var(--pa-muted,#64748b);--nx-ed-accent:var(--pa-accent,#ea580c);--nx-ed-accent-soft:var(--pa-accent-soft,rgba(234,88,12,.09));--nx-ed-input:var(--pa-input,#f8fafc);position:relative;isolation:isolate;background:var(--nx-ed-bg);border:1px solid var(--nx-ed-line);border-radius:16px;overflow:visible;box-shadow:0 8px 24px -17px rgba(15,23,42,.20);width:100%;max-width:100%;min-width:0;color:var(--nx-ed-ink)}
.nexus-admin .nx-editor,.nexus-admin .nx-editor *{box-sizing:border-box}
.nexus-admin .nx-editor-symbols{position:absolute!important;width:0!important;height:0!important;overflow:hidden!important;pointer-events:none!important;opacity:0!important}
.nexus-admin .nx-editor .nx-icon{width:17px;height:17px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:0 0 17px;display:inline-block}
.nexus-admin .nx-editor-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:49px;padding:9px 16px;border-bottom:1px solid var(--nx-ed-line);background:var(--nx-ed-bg);border-radius:16px 16px 0 0}
.nexus-admin .nx-editor-heading-title{display:flex;align-items:center;gap:9px;font-family:'Space Grotesk',Inter,sans-serif;font-size:13px;font-weight:800;letter-spacing:-.02em;color:var(--nx-ed-ink)}
.nexus-admin .nx-editor-heading-title>.nx-icon{color:var(--nx-ed-accent)}
.nexus-admin .nx-editor-heading-hint{display:flex;align-items:center;gap:7px;font-size:11px;color:var(--nx-ed-muted);white-space:nowrap;font-weight:600}
.nexus-admin .nx-editor-live{width:7px;height:7px;border-radius:50%;background:#22a06b;box-shadow:0 0 0 3px rgba(34,160,107,.1)}
.nexus-admin .nx-editor-toolbar{display:block;padding:7px 10px;border-bottom:1px solid var(--nx-ed-line);background:var(--nx-ed-quiet);border-radius:0;min-width:0}
.nexus-admin .nx-editor-toolbar-row{display:flex;align-items:center;flex-wrap:wrap;gap:5px;min-height:39px}
.nexus-admin .nx-editor-toolbar-row+.nx-editor-toolbar-row{border-top:1px solid var(--nx-ed-line);margin-top:5px;padding-top:5px}
.nexus-admin .nx-editor-toolbar-row-secondary{min-height:39px}
.nexus-admin .nx-editor .nx-tool-group{display:inline-flex;align-items:center;gap:2px;flex:0 0 auto;min-width:0}
.nexus-admin .nx-editor .nx-tool-format{width:141px;max-width:141px}
.nexus-admin .nx-editor .nx-tool-format select,
.nexus-admin .nx-editor .nx-editor-toolbar select[data-nx-format],
.nexus-admin .field .nx-editor .nx-editor-toolbar select[data-nx-format]{display:inline-block;width:141px;min-width:141px;max-width:141px;height:34px;min-height:34px;margin:0;padding:0 28px 0 10px;border-radius:8px;border:1px solid var(--nx-ed-line);background:var(--nx-ed-bg);color:var(--nx-ed-ink);box-shadow:none;font-size:12px;font-weight:700;line-height:34px;letter-spacing:0;cursor:pointer;flex:0 0 141px}
.nexus-admin .nx-editor .nx-tool,
.nexus-admin .field .nx-editor .nx-tool{display:inline-flex;align-items:center;justify-content:center;flex:0 0 34px;width:34px;height:34px;min-width:34px;min-height:34px;max-width:34px;margin:0;padding:0;border:1px solid transparent;border-radius:8px;background:transparent;color:var(--nx-ed-text);font:700 13px/1 Inter,Arial,sans-serif;box-shadow:none;outline-offset:1px;cursor:pointer;transition:background .14s ease,color .14s ease,border-color .14s ease}
.nexus-admin .nx-editor .nx-tool:hover{background:var(--nx-ed-accent-soft);border-color:var(--nx-ed-line);color:var(--nx-ed-accent)}
.nexus-admin .nx-editor .nx-tool:focus-visible{outline:2px solid var(--nx-ed-accent);outline-offset:2px}
.nexus-admin .nx-editor .nx-tool[aria-pressed="true"],.nexus-admin .nx-editor .nx-tool.nx-editor-active{color:var(--nx-ed-accent);background:var(--nx-ed-accent-soft);border-color:color-mix(in srgb,var(--nx-ed-accent) 32%,var(--nx-ed-line))}
.nexus-admin .nx-editor-divider{height:20px;width:1px;background:var(--nx-ed-line);margin:0 6px;flex:0 0 1px;align-self:center}
.nexus-admin .nx-editor-toolbar-space{flex:1 1 auto;min-width:5px}
.nexus-admin .nx-editor .nx-editor-media-link{display:inline-flex;align-items:center;gap:6px;min-height:34px;max-width:220px;padding:0 10px;margin-left:3px;border:1px solid var(--nx-ed-line);border-radius:8px;background:var(--nx-ed-bg);color:var(--nx-ed-text);font-weight:750;font-size:11px;text-decoration:none;white-space:nowrap}
.nexus-admin .nx-editor .nx-editor-media-link:hover{background:var(--nx-ed-accent-soft);color:var(--nx-ed-accent);border-color:var(--nx-ed-accent)}
.nexus-admin .nx-editor .nx-editor-media-link .nx-icon:last-child{width:12px;height:12px;flex:0 0 12px}
.nexus-admin .nx-editor .nx-editor-canvas,
.nexus-admin .field .nx-editor .nx-editor-canvas{display:block;width:100%;max-width:100%;min-width:0;min-height:310px;max-height:640px;overflow:auto;padding:22px 25px;background:var(--nx-ed-bg);border:0;border-radius:0;color:var(--nx-ed-ink);outline:0;box-shadow:none;font:400 14px/1.82 Inter,system-ui,sans-serif;white-space:normal;overflow-wrap:anywhere;cursor:text}
.nexus-admin .nx-editor .nx-editor-canvas:focus{box-shadow:inset 0 0 0 2px color-mix(in srgb,var(--nx-ed-accent) 20%,transparent)}
.nexus-admin .nx-editor .nx-editor-canvas:empty::before{content:'Gayrimenkulünüzü veya içeriğinizi buraya yazın…';color:var(--nx-ed-muted);pointer-events:none}
.nexus-admin .nx-editor .nx-editor-canvas p,.nexus-admin .nx-editor .nx-editor-canvas div{margin:0 0 12px;color:inherit}
.nexus-admin .nx-editor .nx-editor-canvas h2,.nexus-admin .nx-editor .nx-editor-canvas h3,.nexus-admin .nx-editor .nx-editor-canvas h4{font-family:'Space Grotesk',Inter,sans-serif;line-height:1.4;color:var(--nx-ed-ink);margin:16px 0 9px;font-weight:800}
.nexus-admin .nx-editor .nx-editor-canvas h2{font-size:1.48em}.nexus-admin .nx-editor .nx-editor-canvas h3{font-size:1.28em}.nexus-admin .nx-editor .nx-editor-canvas h4{font-size:1.10em}
.nexus-admin .nx-editor .nx-editor-canvas ul,.nexus-admin .nx-editor .nx-editor-canvas ol{list-style:revert;margin:10px 0;padding-left:27px}
.nexus-admin .nx-editor .nx-editor-canvas blockquote{border-left:3px solid var(--nx-ed-accent);background:var(--nx-ed-accent-soft);padding:10px 14px;margin:12px 0;border-radius:0 9px 9px 0}
.nexus-admin .nx-editor .nx-editor-canvas a{color:var(--nx-ed-accent);text-decoration:underline}
.nexus-admin .nx-editor .nx-editor-canvas img{max-width:100%;height:auto;max-height:400px;object-fit:contain;border-radius:9px;margin:12px auto}
.nexus-admin .nx-editor .nx-editor-canvas table{border-collapse:collapse;width:100%;max-width:100%;min-width:0!important;margin:12px 0}.nexus-admin .nx-editor .nx-editor-canvas td,.nexus-admin .nx-editor .nx-editor-canvas th{border:1px solid var(--nx-ed-line);padding:9px;min-width:0!important;word-break:break-word;text-align:left;background:transparent;color:inherit}
.nexus-admin .nx-editor .nx-editor-canvas pre,.nexus-admin .nx-editor .nx-editor-canvas code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace}
.nexus-admin .nx-editor .nx-editor-code,
.nexus-admin .field .nx-editor .nx-editor-code{display:block;width:100%;max-width:100%;min-height:310px;max-height:640px;overflow:auto;padding:22px 24px;border:0;border-radius:0;resize:vertical;background:#0e1b2c;color:#e2e8f0;font:13px/1.75 ui-monospace,SFMono-Regular,Consolas,monospace;white-space:pre-wrap}
.nexus-admin .nx-editor .nx-editor-canvas[hidden],.nexus-admin .nx-editor .nx-editor-code[hidden]{display:none!important}
.nexus-admin .nx-editor-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:9px 14px;border-top:1px solid var(--nx-ed-line);border-radius:0 0 16px 16px;background:var(--nx-ed-quiet);font-size:11px;color:var(--nx-ed-muted)}
.nexus-admin .nx-editor .nx-editor-state{display:inline-flex;align-items:center;gap:8px;white-space:nowrap}.nexus-admin .nx-editor .nx-state-dot{background:#22a06b;width:7px;height:7px;flex:0 0 7px;border-radius:50%}.nexus-admin .nx-editor.nx-editor-dirty .nx-state-dot{background:var(--nx-ed-accent)}
.nexus-admin .nx-editor-footer-right{display:inline-flex;align-items:center;gap:8px}.nexus-admin .nx-editor-footer-sep{color:var(--nx-ed-line)}
.nexus-admin .nx-editor-fullscreen{position:fixed!important;z-index:100500!important;inset:12px!important;width:auto!important;height:auto!important;max-width:none!important;display:flex!important;flex-direction:column;border-radius:14px}
.nexus-admin .nx-editor-fullscreen .nx-editor-canvas,.nexus-admin .nx-editor-fullscreen .nx-editor-code{flex:1 1 auto;min-height:0;max-height:none}
body.nx-editor-locked{overflow:hidden!important}
.nexus-admin .nx-editor .nx-editor-dialog{position:fixed;inset:0;max-width:min(460px,calc(100vw - 26px));min-width:0;margin:auto;padding:0;border-radius:17px;border:1px solid var(--nx-ed-line);box-shadow:0 22px 75px rgba(7,20,38,.25);background:var(--nx-ed-bg);color:var(--nx-ed-ink);overflow:hidden}
.nexus-admin .nx-editor .nx-editor-dialog::backdrop{background:rgba(9,18,36,.55);backdrop-filter:blur(3px)}
.nexus-admin .nx-editor .nx-editor-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:17px 19px;border-bottom:1px solid var(--nx-ed-line)}
.nexus-admin .nx-editor .nx-editor-dialog-head h3{font-family:'Space Grotesk',sans-serif;font-size:17px;color:var(--nx-ed-ink);margin:0;font-weight:800}
.nexus-admin .nx-editor .nx-editor-dialog-head button{border:0;background:var(--nx-ed-quiet);color:var(--nx-ed-ink);border-radius:8px;font-size:20px;width:30px;height:30px;cursor:pointer}
.nexus-admin .nx-editor .nx-editor-dialog>label{display:grid;gap:7px;color:var(--nx-ed-text);font-size:12px;font-weight:750;margin:16px 19px 0}
.nexus-admin .nx-editor .nx-editor-dialog input{width:100%;height:42px;padding:9px 11px;margin:0;background:var(--nx-ed-input);color:var(--nx-ed-ink);border:1px solid var(--nx-ed-line);border-radius:9px}
.nexus-admin .nx-editor .nx-editor-dialog p{font-size:11px;color:var(--nx-ed-muted);line-height:1.5;margin:11px 19px}
.nexus-admin .nx-editor .nx-editor-dialog-actions{display:flex;justify-content:flex-end;gap:9px;padding:14px 19px 18px}
.nexus-admin .nx-editor .nx-editor-dialog-actions button{padding:10px 13px;border-radius:9px;border:1px solid var(--nx-ed-line);background:var(--nx-ed-quiet);color:var(--nx-ed-ink);font-size:12px;font-weight:750;cursor:pointer}
.nexus-admin .nx-editor .nx-editor-dialog-actions .nx-editor-dialog-save{border-color:var(--nx-ed-accent);background:var(--nx-ed-accent);color:var(--pa-onaccent,#fff)}
.nexus-admin .nx-sr-only{position:absolute!important;height:1px;width:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
@media(max-width:1100px){.nexus-admin .nx-editor .nx-editor-toolbar-row{flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;padding-bottom:2px}.nexus-admin .nx-editor .nx-editor-toolbar-space{min-width:0}}
@media(max-width:640px){.nexus-admin .nx-editor-heading{padding:10px 12px}.nexus-admin .nx-editor-heading-hint{font-size:10px}.nexus-admin .nx-editor-toolbar{padding:6px}.nexus-admin .nx-editor .nx-editor-toolbar-row{gap:3px}.nexus-admin .nx-editor .nx-editor-canvas,.nexus-admin .nx-editor .nx-editor-code{min-height:260px;padding:16px;font-size:14px}.nexus-admin .nx-editor .nx-editor-footer{font-size:10px}.nexus-admin .nx-editor .nx-editor-footer-right>span:last-child{display:none}.nexus-admin .nx-editor-fullscreen{inset:3px!important}}
/* Preserve existing v1.4 formatted content appearance on the public pages. */
.nx-rich-output{line-height:1.85;overflow-wrap:anywhere}.nx-rich-output h2,.nx-rich-output h3,.nx-rich-output h4{font-family:'Space Grotesk',Inter,sans-serif;margin:1em 0 .5em;font-weight:800;line-height:1.3}.nx-rich-output h2{font-size:1.55rem}.nx-rich-output h3{font-size:1.3rem}.nx-rich-output h4{font-size:1.12rem}.nx-rich-output p,.nx-rich-output div{margin:0 0 14px}.nx-rich-output ul,.nx-rich-output ol{padding-left:26px;margin:10px 0;list-style:revert}.nx-rich-output blockquote{padding:14px 18px;border-left:4px solid #f97316;background:rgba(249,115,22,.07);border-radius:0 12px 12px 0}.nx-rich-output img{display:block;max-width:100%;height:auto;border-radius:12px;margin:18px auto}.nx-rich-output a{color:#ea580c;text-decoration:underline}.nx-rich-output table{border-collapse:collapse;max-width:100%;width:100%;margin:15px 0}.nx-rich-output th,.nx-rich-output td{padding:10px;border:1px solid #cbd5e1}.nx-rich-output pre{white-space:pre-wrap;overflow-wrap:anywhere}
/* Confine horizontally scrollable toolbar groups to the editor, never the whole page. */
.nexus-admin .nx-editor{overflow:hidden}
.nexus-admin .nx-editor .nx-editor-toolbar-row{max-width:100%;width:100%;min-width:0}
.nexus-admin .nx-editor .nx-editor-toolbar-row>.nx-tool-group{min-width:0;flex-shrink:0}
