.guide-editor{display:flex;flex-direction:column;height:100vh;overflow:hidden;background:#0d0d0d;color:#fff;font-family:system-ui,-apple-system,sans-serif}.guide-editor__topbar{display:flex;align-items:center;justify-content:center;padding:8px 16px;border-bottom:1px solid #1c1c1c;background:#111;flex-shrink:0;min-height:64px}.guide-editor__topbar-main{display:flex;align-items:flex-start;gap:16px;width:100%;min-width:0}.guide-editor__topbar-left{display:flex;align-items:flex-start;min-width:0;flex:1 1 auto;max-width:56%;gap:12px}.guide-editor__back-link{color:#9ca3af;font-size:11px;text-decoration:none;flex-shrink:0;white-space:nowrap;padding-top:2px}.guide-editor__back-link:hover{color:#fff}.guide-editor__title-stack{display:flex;flex-direction:column;gap:6px;min-width:0}.guide-editor__eyebrow-row{display:flex;align-items:center;gap:8px}.guide-editor__title-row{display:flex;align-items:center;gap:8px;min-width:0}.guide-editor__title-text{color:#fff;font-weight:600;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:420px}.guide-editor__meta-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.guide-editor__meta-text{font-size:11px;color:#6b7280}.guide-editor__meta-pill,.guide-editor__sync-chip{display:inline-flex;align-items:center;min-height:22px;padding:0 8px;border-radius:999px;border:1px solid #222831;background:#15191f;color:#9ca3af;font-size:11px;white-space:nowrap}.guide-editor__meta-pill{color:#7f8a99}.guide-editor__sync-chip.is-synced{border-color:#1f4d3c;background:#0f1e18;color:#86efac}.guide-editor__sync-chip.is-saving{border-color:#3b2a16;background:#1f150b;color:#fdba74}.guide-editor__sync-chip.is-error{border-color:#4c1d1d;background:#231010;color:#fca5a5}.guide-editor__status-badge{font-size:10px;padding:2px 8px;border-radius:4px;flex-shrink:0}.guide-editor__status-badge--published{background:#10b98126;color:#34d399}.guide-editor__status-badge--scheduled{background:#3b82f626;color:#60a5fa}.guide-editor__status-badge--draft{background:#4b55634d;color:#9ca3af}.guide-editor__topbar-right{display:flex;align-items:center;flex-wrap:wrap;gap:6px;flex:0 0 auto;min-width:0;margin-left:auto;justify-content:flex-start;align-content:flex-start}.guide-editor__toolbar-btn{display:inline-flex;align-items:center;gap:4px;padding:4px 8px;font-size:11px;color:#9ca3af;border:1px solid transparent;border-radius:8px;background:transparent;cursor:pointer;transition:all .15s;white-space:nowrap}.guide-editor__toolbar-btn:hover{color:#fff;border-color:#2f3742;background:#ffffff0a}.guide-editor__toolbar-btn.active{color:#ffd089;border-color:#d9770666;background:#d977061f}.guide-editor__toolbar-btn.has-schedule{color:#9ec5ff;border-color:#2563eb59;background:#2563eb14}.guide-editor__toolbar-btn--schedule{min-width:68px;justify-content:center}.guide-editor__toolbar-btn-text{font-size:11px}.topbar-group{display:flex;align-items:center;gap:4px;flex-wrap:nowrap;flex:0 0 auto;min-width:-moz-max-content;min-width:max-content;padding:2px;border:1px solid #1b2028;border-radius:10px;background:#12161c}.topbar-group--tools{flex:0 0 auto}.topbar-group--template{flex:0 0 auto;display:grid;grid-template-columns:136px auto;align-items:center}.topbar-group--actions{flex:0 0 auto}.topbar-schedule-wrap{position:relative}.topbar-schedule-popover{position:absolute;top:calc(100% + 6px);right:0;z-index:50;background:linear-gradient(180deg,#15181e,#0f1217);border:1px solid #2b313c;border-radius:12px;padding:12px;min-width:260px;box-shadow:0 14px 36px #00000073;display:flex;flex-direction:column;gap:8px}.topbar-schedule-popover__label{font-size:11px;font-weight:600;color:#9ca3af}.topbar-schedule-popover__input{width:100%;font-size:13px}.topbar-schedule-popover__btn{width:100%;text-align:center;justify-content:center}.guide-editor__template-chip{font-size:11px;color:#8fd0ff;background:#13202c;border:1px solid #20384c;padding:3px 8px;border-radius:999px;flex-shrink:0}.guide-editor__readiness-chip{display:inline-flex;align-items:center;gap:8px;min-height:22px;padding:0 8px;border-radius:999px;font-size:11px;border:1px solid #2e3744;background:#171b22;color:#d1d5db;flex-shrink:0}.guide-editor__readiness-chip.is-ready{border-color:#1f4d3c;background:#0f1e18;color:#86efac}.guide-editor__readiness-chip.is-blocked{border-color:#4a3115;background:#21170b;color:#ffd79c}.topbar-group--template .guide-editor__template-select{width:136px;flex:0 0 136px;min-width:0;max-width:100%;padding-top:3px;padding-bottom:3px;font-size:11px}.topbar-group--template .guide-editor__secondary-btn{flex:0 0 auto}.guide-editor__schedule-input{width:175px;min-width:140px;font-size:12px;flex:0 0 auto}.guide-editor__import-bar{display:flex;align-items:center;gap:12px;padding:10px 16px;border-bottom:1px solid #1c1c1c;background:#0f1115;flex-shrink:0}.guide-editor__import-copy{display:flex;flex-direction:column;gap:2px;min-width:240px}.guide-editor__import-title{font-size:12px;font-weight:700;color:#e5e7eb}.guide-editor__import-text{font-size:11px;color:#9ca3af}.guide-editor__import-input{flex:1;min-width:320px}.guide-editor__import-checkbox{display:inline-flex;align-items:center;gap:6px;flex:0 0 auto;color:#d1d5db;font-size:12px;white-space:nowrap}.guide-editor__import-checkbox input{width:14px;height:14px;accent-color:#d97706}.guide-editor__import-bar--stacked{align-items:stretch;flex-direction:column}.guide-editor__import-textarea{min-height:180px;width:100%;resize:vertical;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace}.guide-editor__import-actions{display:flex;justify-content:flex-end}.guide-editor__primary-btn,.guide-editor__publish-btn,.guide-editor__secondary-btn,.guide-editor__link-btn{display:inline-flex;align-items:center;justify-content:center;padding:4px 9px;font-size:11px;border-radius:8px;transition:background .2s,color .2s,border-color .2s;white-space:nowrap;flex:0 0 auto;cursor:pointer}.guide-editor__primary-btn{border:1px solid rgba(245,158,11,.35);background:linear-gradient(180deg,#f59e0b,#d97706);color:#fff;box-shadow:0 8px 18px #d9770638}.guide-editor__secondary-btn{border:1px solid #2f3947;background:#171b22;color:#d5dde8}.guide-editor__secondary-btn:disabled,.guide-editor__primary-btn:disabled{opacity:.5;cursor:not-allowed}.guide-editor__publish-btn{border:1px solid rgba(59,130,246,.35);background:linear-gradient(180deg,#2563eb,#1d4ed8);color:#fff;box-shadow:0 8px 18px #1d4ed833}.guide-editor__publish-btn:disabled{opacity:.45;cursor:not-allowed}.guide-editor__link-btn{border:1px solid #2f3947;color:#c3ccd8;background:#171b22;text-decoration:none}@media(max-width:1560px){.guide-editor__topbar{min-height:auto}.guide-editor__topbar-left{max-width:none}.guide-editor__topbar-main{flex-wrap:wrap}.guide-editor__topbar-right{margin-left:0;justify-content:flex-start;flex-wrap:wrap;width:100%}.topbar-group{flex-wrap:wrap}}@media(max-width:1100px){.guide-editor__topbar{padding:10px 12px}.guide-editor__title-text{max-width:280px}.guide-editor__topbar-right,.topbar-group{width:100%}}.guide-editor__import-panel{flex-shrink:0;border-bottom:1px solid #1c1c1c;background:#0f1115;max-height:400px;overflow-y:auto}.guide-editor__body{display:grid;grid-template-columns:1fr;flex:1;overflow:hidden}.guide-editor__body--outline{grid-template-columns:220px 1fr}.guide-editor__body--drawer{grid-template-columns:1fr}.guide-editor__body--outline.guide-editor__body--drawer{grid-template-columns:220px 1fr}.guide-editor__outline{display:flex;flex-direction:column;overflow-y:auto;border-right:1px solid #1c1c1c;background:#0e0e0e}.outline-panel{padding:0}.outline-panel__title{padding:10px 14px;font-size:11px;font-weight:700;color:#6b7280;text-transform:uppercase;letter-spacing:.06em;border-bottom:1px solid #1c1c1c}.outline-panel__list{display:flex;flex-direction:column}.outline-panel__item{display:flex;align-items:center;justify-content:space-between;gap:6px;width:100%;text-align:left;padding:8px 14px;font-size:12px;color:#c6c9cf;border:none;background:transparent;cursor:pointer;transition:background .1s,color .1s;border-bottom:1px solid #141414}.outline-panel__item:hover{background:#161616;color:#fff}.outline-panel__item--l1{font-weight:600;color:#e5e7eb}.outline-panel__item--l2{padding-left:26px;color:#9ca3af}.outline-panel__item--l3{padding-left:38px;font-size:11px;color:#6b7280}.outline-panel__item-label{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.outline-panel__item-badge{flex-shrink:0;font-size:10px;color:#ffce7a;background:#2a1f0e;border-radius:999px;padding:1px 6px;min-width:18px;text-align:center}.outline-panel__empty{padding:20px 14px;font-size:12px;color:#4b5563;text-align:center}.guide-editor__main{display:flex;flex-direction:column;overflow:hidden;min-width:0}.guide-editor__drawer{width:400px;max-width:40vw;display:flex;flex-direction:column;border-left:1px solid #1c1c1c;background:#0d0d0d;overflow:hidden;position:absolute;top:0;right:0;bottom:0;z-index:20;box-shadow:-4px 0 20px #00000080}.guide-editor__drawer-header{display:flex;align-items:center;justify-content:space-between;padding:10px 14px;border-bottom:1px solid #1c1c1c;background:#111;flex-shrink:0}.guide-editor__drawer-title{font-size:13px;font-weight:600;color:#e5e7eb}.guide-editor__drawer-close{background:none;border:none;color:#6b7280;font-size:14px;cursor:pointer;padding:2px 6px;border-radius:3px}.guide-editor__drawer-close:hover{color:#fff;background:#1c1c1c}.guide-editor__drawer-body{flex:1;overflow-y:auto;padding:16px}.preview-drawer{display:flex;flex-direction:column;border-left:1px solid #1c1c1c;background:#0d0d0d;overflow:hidden;position:absolute;top:0;right:0;bottom:0;z-index:20;box-shadow:-4px 0 20px #00000080}.preview-drawer--half{width:560px;max-width:50vw}.preview-drawer--full{width:100%;max-width:100vw}.preview-drawer__header{display:flex;align-items:center;justify-content:space-between;padding:10px 14px;border-bottom:1px solid #1c1c1c;background:#111;flex-shrink:0}.preview-drawer__title{font-size:13px;font-weight:600;color:#e5e7eb}.preview-drawer__actions{display:flex;gap:4px}.preview-drawer__action-btn{background:none;border:1px solid #222;color:#9ca3af;font-size:13px;cursor:pointer;padding:3px 8px;border-radius:3px;transition:all .15s}.preview-drawer__action-btn:hover{color:#fff;border-color:#444}.preview-drawer__body{flex:1;overflow-y:auto;padding:32px 40px}.guide-editor__body{position:relative}.guide-editor__meta-toggle{display:flex;align-items:center;gap:8px;padding:10px 16px;border-bottom:1px solid #1c1c1c;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;flex-shrink:0;background:#111}.guide-editor__meta-toggle:hover{background:#161616}.guide-editor__meta-toggle-icon{font-size:10px;color:#6b7280;transition:transform .15s}.guide-editor__meta-toggle-icon.open{transform:rotate(90deg)}.guide-editor__meta-panel{padding:16px;border-bottom:1px solid #1c1c1c;background:#0a0a0a;overflow-y:auto;max-height:320px;flex-shrink:0}.guide-editor__error{padding:8px 12px;border-bottom:1px solid #2a1414;background:#1a0d0d;color:#fca5a5;font-size:11px}.guide-editor__publish-warning{padding:7px 12px;border-bottom:1px solid #2a1f0e;background:#17120a;color:#ffce7a;font-size:11px;line-height:1.35}.guide-editor__checklist{display:flex;align-items:flex-start;gap:10px;padding:8px 12px;border-bottom:1px solid #2a1f0e;background:#17120a}.guide-editor__checklist-title{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:#ffce7a;white-space:nowrap;padding-top:4px}.guide-editor__checklist-items{display:flex;flex-wrap:wrap;gap:6px;margin-top:0}.guide-editor__checklist-item{display:flex;align-items:center;gap:6px;padding:4px 8px;border:1px solid #4a3115;border-radius:999px;background:#21170b;color:#ffd79c;font-size:10px}.guide-editor__checklist-section{font-weight:600}.guide-editor__checklist-field{color:#ffb95c}.guide-editor__revision-panel{max-height:280px}.guide-editor__revision-list{display:flex;flex-direction:column;gap:10px}.guide-editor__revision-item{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid #1f2937;border-radius:8px;background:#0f1115}.guide-editor__revision-main{min-width:0;display:flex;flex-direction:column;gap:4px}.guide-editor__revision-title{font-size:13px;font-weight:600;color:#e5e7eb}.guide-editor__revision-meta{display:flex;flex-wrap:wrap;gap:8px;font-size:11px;color:#9ca3af}.guide-editor__revision-empty{padding:16px 0;text-align:center;font-size:12px;color:#6b7280}.guide-editor__blocks,.block-list-panel{display:flex;flex-direction:column;flex:1;overflow:hidden}.block-add-zone{flex-shrink:0;border-bottom:1px solid #1c1c1c}.block-add-toggle{display:flex;align-items:center;gap:6px;padding:10px 16px;cursor:pointer;color:#9ca3af;font-size:13px;transition:color .15s;-webkit-user-select:none;-moz-user-select:none;user-select:none;background:#111}.block-add-toggle:hover{color:#fff}.block-add-toggle-icon{font-size:16px;font-weight:300;line-height:1;transition:transform .15s}.block-add-toggle-icon.open{transform:rotate(45deg)}.block-add-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;padding:10px 12px;background:#0a0a0a;border-top:1px solid #1c1c1c}.block-add-card{display:flex;flex-direction:column;align-items:center;gap:4px;padding:10px 6px 8px;background:#111;border:1px solid #1c1c1c;border-radius:6px;cursor:pointer;transition:border-color .15s,background .15s;text-align:center}.block-add-card:hover{border-color:#d97706;background:#161616}.block-add-card__icon{font-size:18px;line-height:1;height:24px;display:flex;align-items:center}.block-add-card__label{font-size:11px;font-weight:600;color:#e5e7eb;white-space:nowrap}.block-add-card__desc{font-size:10px;color:#6b7280;line-height:1.3;display:none}.block-items{flex:1;overflow-y:auto}.block-item{border-bottom:1px solid #1c1c1c;transition:background .1s}.block-item--expanded{background:#0a0a0a}.block-item__row{display:flex;align-items:center;gap:6px;padding:8px 12px 8px 4px;cursor:pointer}.block-item__drag{cursor:grab;color:#374151;padding:4px 6px;font-size:14px;flex-shrink:0;line-height:1;touch-action:none}.block-item__drag:hover{color:#6b7280}.block-item__drag:active{cursor:grabbing}.block-item__label{flex:1;min-width:0;display:flex;align-items:center;gap:6px}.block-item__type{font-size:11px;font-weight:600;color:#d97706;white-space:nowrap;flex-shrink:0}.block-item__preview{font-size:11px;color:#6b7280;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:200px}.block-item__template-badge{font-size:10px;color:#8fd0ff;background:#13202c;border-radius:999px;padding:2px 7px;text-transform:uppercase;letter-spacing:.04em}.block-item__missing-badge{font-size:10px;color:#ffce7a;background:#2a1f0e;border-radius:999px;padding:2px 7px}.block-item__optional-badge{font-size:10px;color:#a7f3d0;background:#12301e;border-radius:999px;padding:2px 7px}.block-item__remove{color:#4b5563;font-size:12px;padding:2px 4px;flex-shrink:0;border-radius:3px;line-height:1}.block-item__remove:hover{color:#ef4444;background:#1c1c1c}.block-item__lock{font-size:10px;color:#9ca3af;border:1px solid #2a2a2a;border-radius:999px;padding:2px 7px;text-transform:uppercase;letter-spacing:.05em}.block-item__editor{padding:0 12px 12px 28px}.template-panel-summary{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 12px;padding:8px 12px;border-bottom:1px solid #1c1c1c;background:#10151a}.template-panel-summary__title{font-size:11px;font-weight:700;color:#8fd0ff;text-transform:uppercase;letter-spacing:.06em}.template-panel-summary__text{margin-top:0;font-size:11px;line-height:1.35;color:#93a0ad;flex:1 1 240px}.template-panel-summary__stats{display:flex;justify-content:space-between;gap:8px;margin-top:0;font-size:11px;color:#9ca3af;flex:0 0 auto}.template-section-group{border-bottom:1px solid #1c1c1c;background:#0d0f11}.template-section-group__header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px;background:#12171c;border-bottom:1px solid #1c1c1c}.template-section-group__title{font-size:12px;font-weight:700;color:#e5e7eb}.template-section-group__meta{margin-top:4px;font-size:11px;color:#718090}.template-section-group__percent{min-width:44px;text-align:center;border-radius:999px;padding:3px 8px;background:#13202c;color:#8fd0ff;font-size:11px;font-weight:700}.template-section-group__percent--incomplete{background:#2a1f0e;color:#ffce7a}.template-section-group__blocks{background:#0d0d0d}.template-section-group__warning{padding:8px 14px;border-bottom:1px solid #2a1f0e;background:#17120a;color:#ffce7a;font-size:11px}.editor-label-row{display:flex;align-items:center;gap:6px;margin-bottom:4px}.editor-required-badge{font-size:10px;color:#ffce7a;background:#2a1f0e;border-radius:999px;padding:2px 7px}.editor-missing-hint{margin-top:4px;font-size:11px;color:#fca5a5}.editor-input--missing,.tiptap-wrapper--missing{border-color:#7f1d1d!important;box-shadow:0 0 0 1px #ef444433}.editor-input{display:block;width:100%;background:#0d0d0d;border:1px solid #1c1c1c;border-radius:4px;color:#e5e7eb;padding:6px 10px;font-size:13px;line-height:1.4;outline:none;transition:border-color .15s}.editor-input:focus{border-color:#4b5563}.editor-input option{background:#111}select.editor-input{cursor:pointer}.inline-entity-editor{display:flex;flex-direction:column;gap:8px}.inline-entity-editor__surface{min-height:38px;padding:9px 12px;background:#0d0d0d;border:1px solid #1c1c1c;border-radius:4px;color:#e5e7eb;font-size:13px;line-height:1.4;outline:none;transition:border-color .15s;word-break:break-word}.inline-entity-editor__surface:focus-within{border-color:#4b5563}.inline-entity-editor__surface .ProseMirror{min-height:20px;outline:none;white-space:pre-wrap}.inline-entity-editor__surface .ProseMirror p{margin:0}.inline-entity-editor__surface .ProseMirror p.is-editor-empty:first-child:before{content:attr(data-placeholder);color:#6b7280;pointer-events:none;float:left;height:0}.inline-entity-editor__actions{display:flex;justify-content:flex-end}.inline-entity-editor__button{padding:5px 10px;font-size:11px;color:#d97706;border:1px solid #292929;border-radius:999px;background:#111;cursor:pointer;transition:color .1s,border-color .1s,background .1s}.inline-entity-editor__button:hover{color:#fff;border-color:#4b5563;background:#161616}.inline-entity-editor--missing .inline-entity-editor__surface{border-color:#7f1d1d;box-shadow:0 0 0 1px #ef444433}.editor-field{margin-bottom:10px}.editor-field label{display:block;font-size:11px;color:#6b7280;margin-bottom:4px;font-weight:500}.tiptap-wrapper{border:1px solid #1c1c1c;border-radius:6px;overflow:hidden;background:#0d0d0d}.tiptap-toolbar{display:flex;align-items:center;gap:2px;padding:4px 8px;border-bottom:1px solid #1c1c1c;background:#111;flex-wrap:wrap}.tiptap-toolbar-btn{padding:3px 8px;font-size:12px;color:#9ca3af;border-radius:3px;border:none;background:transparent;cursor:pointer;transition:color .1s,background .1s;line-height:1.4}.tiptap-toolbar-btn:hover{color:#fff;background:#1c1c1c}.tiptap-toolbar-btn.active{color:#fff;background:#292929}.tiptap-toolbar-btn:disabled{opacity:.35;cursor:not-allowed}.tiptap-toolbar-sep{width:1px;height:14px;background:#1c1c1c;margin:0 4px}.tiptap-toolbar-entity-btn{padding:3px 10px;font-size:11px;color:#d97706;border:1px solid #292929;border-radius:3px;background:transparent;cursor:pointer;font-weight:600;transition:all .1s;margin-left:4px}.tiptap-toolbar-entity-btn:hover{background:#1c1c1c;border-color:#d97706}.tiptap-toolbar-align{display:inline-flex;align-items:center}.tiptap-toolbar-align select{border:1px solid #292929;border-radius:3px;background:#111;color:#9ca3af;padding:3px 5px;font-size:11px;cursor:pointer}.tiptap-editor .ProseMirror{min-height:80px;padding:10px 12px;font-size:13px;line-height:1.6;color:#e5e7eb;outline:none}.tiptap-editor .ProseMirror p{margin:0 0 4px}.tiptap-editor .ProseMirror p:last-child{margin-bottom:0}.tiptap-editor .ProseMirror h2,.tiptap-editor .ProseMirror h3{margin:0 0 8px;color:#f3f4f6;font-weight:700;line-height:1.3}.tiptap-editor .ProseMirror h2{font-size:18px}.tiptap-editor .ProseMirror h3{font-size:15px}.tiptap-editor .ProseMirror ul,.tiptap-editor .ProseMirror ol{margin:0 0 8px;padding-left:22px}.tiptap-editor .ProseMirror li{margin:2px 0}.tiptap-editor .ProseMirror blockquote{margin:8px 0;padding:8px 12px;border-left:3px solid #374151;background:#ffffff08;color:#d1d5db}.tiptap-editor .ProseMirror hr,.inline-entity-editor__surface .ProseMirror hr{border:none;border-top:1px solid #333;margin:1.5rem 0}.tiptap-editor .ProseMirror hr.ProseMirror-selectednode{border-top-color:#6fb8ff;box-shadow:0 0 0 1px #6fb8ff40}.tiptap-editor .ProseMirror a{color:#8fd0ff;text-decoration:underline;text-decoration-color:#8fd0ff73}.tiptap-editor .ProseMirror strong{color:#fff}.tiptap-editor .ProseMirror em{color:#d1d5db}.tiptap-editor .ProseMirror p.is-editor-empty:first-child:before{content:attr(data-placeholder);color:#374151;pointer-events:none;float:left;height:0}.inline-entity-editor__surface span[data-game-id],.inline-entity-editor__surface span[data-d4-id],.tiptap-editor .ProseMirror span[data-game-id],.tiptap-editor .ProseMirror span[data-d4-id]{display:inline-block;color:#d9c28d;font-weight:inherit;background-color:transparent;border-radius:0;padding:0;cursor:default}.inline-entity-editor__surface span[data-game-id][data-icon-url],.inline-entity-editor__surface span[data-d4-id][data-icon-url],.tiptap-editor .ProseMirror span[data-game-id][data-icon-url],.tiptap-editor .ProseMirror span[data-d4-id][data-icon-url]{padding-left:1.35em;background-image:var(--entity-icon-url);background-repeat:no-repeat;background-position:.18em 50%;background-size:.95em .95em}.inline-entity-editor__surface span[data-game-id][class*=game-item],.inline-entity-editor__surface span[data-d4-id].d4-item,.tiptap-editor .ProseMirror span[data-game-id][class*=game-item],.tiptap-editor .ProseMirror span[data-d4-id].d4-item{color:#d9c28d;background-color:transparent}.inline-entity-editor__surface span[data-game-id][class*=game-affix],.inline-entity-editor__surface span[data-d4-id].d4-affix,.tiptap-editor .ProseMirror span[data-game-id][class*=game-affix],.tiptap-editor .ProseMirror span[data-d4-id].d4-affix{color:#ff8000;background-color:transparent}.inline-entity-editor__surface span[data-d4-id].d4-skill,.tiptap-editor .ProseMirror span[data-d4-id].d4-skill{color:#057af0;background-color:transparent}.inline-entity-editor__surface span[data-d4-id].d4-skill-mod,.tiptap-editor .ProseMirror span[data-d4-id].d4-skill-mod{color:#53a1b3;background-color:transparent}.inline-entity-editor__surface span[data-d4-id].d4-glyph,.tiptap-editor .ProseMirror span[data-d4-id].d4-glyph,.inline-entity-editor__surface span[data-d4-id].d4-paragon,.tiptap-editor .ProseMirror span[data-d4-id].d4-paragon{color:#ff8000;background-color:transparent}.color-dot-picker{display:flex;gap:8px;align-items:center;padding:4px 0}.color-dot{width:20px;height:20px;border-radius:50%;cursor:pointer;border:2px solid transparent;transition:border-color .1s,transform .1s;flex-shrink:0}.color-dot:hover{transform:scale(1.15)}.color-dot.selected{border-color:#fff}.view-btn-group{display:flex;flex-wrap:wrap;gap:5px}.view-btn{padding:4px 10px;font-size:11px;font-weight:500;color:#6b7280;border:1px solid #1c1c1c;border-radius:4px;cursor:pointer;background:transparent;transition:all .1s}.view-btn:hover{color:#fff;border-color:#4b5563}.view-btn.selected{color:#d97706;border-color:#d97706;background:#d9770614}.variant-radio-group{display:flex;flex-direction:column;gap:4px}.variant-radio{display:flex;align-items:center;gap:8px;padding:6px 10px;border:1px solid #1c1c1c;border-radius:5px;cursor:pointer;transition:border-color .1s,background .1s}.variant-radio:hover{border-color:#4b5563;background:#111}.variant-radio.selected{border-color:#d97706;background:#d977060f}.variant-radio__dot{width:14px;height:14px;border-radius:50%;border:2px solid #4b5563;display:flex;align-items:center;justify-content:center;flex-shrink:0}.variant-radio.selected .variant-radio__dot{border-color:#d97706}.variant-radio__dot-inner{width:6px;height:6px;border-radius:50%;background:#d97706;display:none}.variant-radio.selected .variant-radio__dot-inner{display:block}.variant-radio__name{font-size:12px;color:#e5e7eb}.variant-radio__index{font-size:11px;color:#4b5563;margin-left:auto}.callout-editor__preview{border-radius:6px;padding:12px 14px;margin-top:4px}.callout-editor__preview-title{margin-bottom:6px;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.callout-editor__preview-body{font-size:12px;line-height:1.55}.callout-editor__preview.is-style-alert-info{background:linear-gradient(135deg,#ff000014,#ff32320a);border:1px solid rgba(255,60,60,.3);border-left:3px solid #ff3c3c;color:#e0b0b0}.callout-editor__preview.is-style-alert-warning{background:linear-gradient(135deg,#ffa50014,#ffa5000a);border:1px solid rgba(255,165,0,.3);border-left:3px solid #ffa500;color:#e0d0a0}.callout-editor__preview.is-style-alert-success{background:linear-gradient(135deg,#10d15614,#10d1560a);border:1px solid rgba(16,209,86,.3);border-left:3px solid #10d156;color:#b0e0c0}.callout-editor__preview.is-style-alert-tip{background:linear-gradient(135deg,#057af014,#057af00a);border:1px solid rgba(5,122,240,.3);border-left:3px solid #057af0;color:#b0d0f0}.planner-live-preview{margin-top:8px;border:1px solid #1f2937;border-radius:8px;background:#0b0f14;padding:10px}.planner-live-preview__label{margin-bottom:8px;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#9ca3af}.planner-live-preview__embed{margin-top:0;margin-bottom:0}.columns-editor{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.columns-editor__column{min-width:0}.columns-editor__header{margin-bottom:6px;font-size:11px;font-weight:700;color:#9ca3af;letter-spacing:.06em;text-transform:uppercase}@media(max-width:900px){.columns-editor{grid-template-columns:1fr}}.guide-preview-header{font-size:26px;font-weight:700;color:#fff;margin-bottom:24px;font-family:var(--font-heading-cn, var(--font-title, system-ui))}.guide-preview-empty{color:#374151;font-size:13px;text-align:center;padding:60px 20px}.related-guides-picker{display:flex;flex-direction:column;gap:8px}.related-guides-picker__selected{display:flex;flex-direction:column;gap:4px}.related-guides-picker__empty{font-size:12px;color:#6b7280;padding:6px 0}.related-guides-picker__chip{display:flex;align-items:center;gap:8px;padding:6px 10px;background:#161616;border:1px solid #1c1c1c;border-radius:4px}.related-guides-picker__chip-main{flex:1;min-width:0}.related-guides-picker__chip-title{font-size:13px;color:#e5e7eb;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.related-guides-picker__chip-meta{display:flex;gap:8px;font-size:11px;color:#6b7280;margin-top:1px}.related-guides-picker__chip-warning{color:#ef4444;font-weight:600}.related-guides-picker__chip-actions{display:flex;gap:4px;flex-shrink:0}.related-guides-picker__chip-actions button{background:#111;border:1px solid #222;border-radius:3px;color:#9ca3af;font-size:11px;padding:2px 6px;cursor:pointer;transition:color .15s,border-color .15s}.related-guides-picker__chip-actions button:hover{color:#fff;border-color:#444}.related-guides-picker__search{position:relative}.related-guides-picker__error{font-size:12px;color:#ef4444;margin-top:4px}.related-guides-picker__results{position:absolute;top:100%;left:0;right:0;z-index:10;max-height:240px;overflow-y:auto;background:#111;border:1px solid #222;border-radius:4px;margin-top:2px;box-shadow:0 4px 12px #0006}.related-guides-picker__result{display:block;width:100%;text-align:left;padding:8px 10px;border:none;background:transparent;cursor:pointer;transition:background .1s}.related-guides-picker__result:hover{background:#1a1a1a}.related-guides-picker__result+.related-guides-picker__result{border-top:1px solid #1c1c1c}.related-guides-picker__result-title{font-size:13px;color:#e5e7eb}.related-guides-picker__result-meta{display:flex;gap:8px;font-size:11px;color:#6b7280;margin-top:1px}@media(max-width:1280px){.guide-editor__outline{display:none}.guide-editor__body--outline,.guide-editor__body--outline.guide-editor__body--drawer{grid-template-columns:1fr}}@media(max-width:960px){.preview-drawer--half,.guide-editor__drawer{width:100%;max-width:100vw}.guide-editor__import-bar{flex-wrap:wrap;align-items:flex-start}.guide-editor__import-copy,.guide-editor__import-input{min-width:100%}.guide-editor__import-checkbox{width:100%}}.entity-modal-backdrop{align-items:center;background:#000000a8;display:flex;top:0;right:0;bottom:0;left:0;justify-content:center;padding:24px;position:fixed;z-index:1200}.entity-modal.d4tools-wrapper{background:#101112;border:1px solid #2b2c2c;border-radius:3px;box-shadow:0 18px 44px #000000ad;color:#d8d8d8;display:flex;flex-direction:column;font-family:Arial,Helvetica,sans-serif;height:min(498px,calc(100vh - 48px));max-height:calc(100vh - 48px);max-width:calc(100vw - 48px);overflow:hidden;padding:0;width:1000px}.entity-modal .embed_EmbedPopout__header__s5nKd,.entity-modal__header{align-items:center;background:#151617;border-bottom:1px solid #2b2c2c;box-sizing:border-box;color:#f4f4f4;display:flex;flex:0 0 37px;height:37px;justify-content:space-between;min-height:37px;padding:0 10px 0 14px}.entity-modal .embed_EmbedPopout__header__s5nKd h3,.entity-modal__header h3{color:#f4f4f4;font-size:15px;font-weight:700;line-height:37px;margin:0;text-transform:none}.entity-modal__close{align-items:center;background:transparent;border:0;color:#95989b;cursor:pointer;display:flex;font-size:24px;height:28px;justify-content:center;line-height:1;padding:0;width:28px}.entity-modal__close:hover{color:#fff}.entity-modal__tabs{align-items:stretch;background:#191a1b;border-bottom:1px solid #2b2c2c;display:flex;flex:0 0 36px;height:36px;overflow-x:auto;padding:0 7px}.entity-modal__tab{background:transparent;border:0;border-bottom:2px solid transparent;color:#95989b;cursor:pointer;flex:0 0 auto;font-size:13px;font-weight:700;line-height:34px;margin:0;padding:0 12px;white-space:nowrap}.entity-modal__tab:hover{color:#d8d8d8}.entity-modal__tab.active{border-bottom-color:#d4a15e;color:#fff;text-shadow:0 0 7px rgba(212,161,94,.55)}.entity-modal .d4t-ItemLibrary,.entity-modal__library{background-color:#1b1c1d;box-sizing:border-box;display:flex;flex:1 1 0;flex-direction:row;gap:7px;min-height:0;padding:7px}.entity-modal .d4t-ItemCategories,.entity-modal__sidebar{background:#151617;border:1px solid #2b2c2c;box-sizing:border-box;color:#b8bbbe;display:flex;flex:0 0 300px;flex-direction:column;min-height:0;overflow-y:auto;padding:7px 0;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:300px}.entity-modal__sidebar::-webkit-scrollbar,.entity-modal__list::-webkit-scrollbar{width:6px}.entity-modal__sidebar::-webkit-scrollbar-thumb,.entity-modal__list::-webkit-scrollbar-thumb{background:#2f3235;border-radius:999px}.entity-modal__sidebar::-webkit-scrollbar-track,.entity-modal__list::-webkit-scrollbar-track{background:transparent}.entity-modal .d4t-category-list,.entity-modal__sidebar .d4t-category-list,.entity-modal__items{list-style:none;margin:0;padding:0}.entity-modal__sidebar-title{color:#73777b;font-size:11px;font-weight:700;letter-spacing:.08em;padding:0 10px 7px;text-transform:uppercase}.entity-modal .d4t-category-header,.entity-modal__category{align-items:center;border-left:2px solid transparent;box-sizing:border-box;color:#aaadb0;cursor:pointer;display:flex;font-size:13px;font-weight:400;height:26px;line-height:26px;min-height:26px;position:relative;padding-bottom:1px;padding-right:28px;transition:background-color .12s ease,color .12s ease,border-color .12s ease}.entity-modal .d4t-category-header:hover,.entity-modal__category:hover{background:#ffffff09;color:#ededed}.entity-modal .d4t-category-header.active,.entity-modal__category.active{background:#057af01f;border-left-color:rgb(var(--maxroll-color-blue, 5 122 240));color:#fff;text-shadow:none}.entity-modal__category-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.entity-modal .d4t-category-toggle,.entity-modal__category-toggle{color:#7d858d;font-size:14px;font-weight:700;line-height:1;position:absolute;right:9px;top:50%;transform:translateY(-50%) rotate(0);transition:transform .14s ease}.entity-modal .d4t-category-toggle.expanded,.entity-modal__category-toggle.expanded{transform:translateY(-50%) rotate(90deg)}.entity-modal .d4t-ItemList,.entity-modal__main{display:flex;flex:1 1 0;flex-direction:column;min-width:0}.entity-modal .d4t-library-search,.entity-modal__search-wrap{flex:0 0 auto;margin:0 0 7px;position:relative}.entity-modal__filters{align-items:center;display:flex;gap:7px;margin:0 0 7px}.entity-modal__filters .entity-modal__search-wrap{flex:1 1 auto;margin:0}.entity-modal__class-select{align-items:center;display:flex;gap:8px;min-width:180px}.entity-modal__class-select-label{color:#a8acb0;flex:0 0 auto;font-size:12px;font-weight:700;letter-spacing:.04em}.entity-modal__class-select select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:#101112;border:1px solid #2b2c2c;border-radius:2px;box-sizing:border-box;color:#e5e5e5;cursor:pointer;flex:1 1 auto;font-size:14px;height:34px;outline:none;padding:0 32px 0 11px;width:100%;background-image:linear-gradient(45deg,transparent 50%,#7f868d 50%),linear-gradient(135deg,#7f868d 50%,transparent 50%);background-position:calc(100% - 17px) 14px,calc(100% - 11px) 14px;background-size:6px 6px,6px 6px;background-repeat:no-repeat}.entity-modal__class-select select:focus{border-color:#d4a15e;box-shadow:0 0 0 1px #d4a15e2e}.entity-modal .d4t-library-search input,.entity-modal__search-wrap input{background:#101112;border:1px solid #2b2c2c;border-radius:2px;box-sizing:border-box;color:#e5e5e5;font-size:14px;height:34px;outline:none;padding:0 11px;width:100%}.entity-modal .d4t-library-search input::-moz-placeholder,.entity-modal__search-wrap input::-moz-placeholder{color:#666b70}.entity-modal .d4t-library-search input::placeholder,.entity-modal__search-wrap input::placeholder{color:#666b70}.entity-modal .d4t-library-search input:focus,.entity-modal__search-wrap input:focus{border-color:#d4a15e;box-shadow:0 0 0 1px #d4a15e2e}.entity-modal .d4t-item-list,.entity-modal__list{background:#151617;border:1px solid #2b2c2c;box-sizing:border-box;flex:1 1 0;min-height:0;overflow-y:auto;padding:5px 0}.entity-modal__section-title{color:#73777b;box-sizing:border-box;display:block;font-size:10px;font-weight:700;letter-spacing:.12em;list-style:none;padding:8px 12px 4px;text-transform:uppercase}.entity-modal__item{align-items:center;border-left:2px solid transparent;box-sizing:border-box;color:#d0d2d4;cursor:pointer;display:flex;gap:6px;min-height:28px;padding:2px 10px 2px 12px;transition:background-color .12s ease,border-color .12s ease,color .12s ease}.entity-modal__item:hover,.entity-modal__item.is-active{background:#057af01f;border-left-color:rgb(var(--maxroll-color-blue, 5 122 240));color:#fff}.entity-modal__item-icon{align-items:center;background:#0e0f10;border:1px solid #2b2c2c;border-radius:2px;display:inline-flex;flex:0 0 26px;height:26px;justify-content:center;-o-object-fit:cover;object-fit:cover;overflow:hidden;width:26px}.entity-modal__item-icon--sprite{padding:0}.entity-modal__sprite{display:block;flex:0 0 auto;font-size:20px;height:20px;margin:0;vertical-align:middle;width:20px}.entity-modal__sprite-inner{left:0;top:0}.entity-modal__item-icon--empty{background:transparent;border-color:transparent}.entity-modal__item-text{align-items:baseline;display:flex;gap:6px;min-width:0}.entity-modal__item-name{font-size:14px;line-height:1.25;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.entity-modal__item-type{color:#70757a;flex:0 0 auto;font-size:11px;line-height:1.2}.entity-modal__item--sprite{gap:0}.entity-modal__item--sprite .entity-modal__item-text{display:inline-flex;gap:0}.entity-modal__item--sprite .entity-modal__item-type{margin-left:7px}.entity-modal__item--sprite .entity-modal__item-name{display:inline}.entity-modal__state{color:#95989b;font-size:14px;padding:18px 14px}.entity-modal__item.d4-rarity-common .entity-modal__item-name{color:#c7c7c7}.entity-modal__item.d4-rarity-magic .entity-modal__item-name{color:#7db7ff}.entity-modal__item.d4-rarity-rare .entity-modal__item-name{color:#f0d36a}.entity-modal__item.d4-rarity-legendary .entity-modal__item-name{color:#d98945}.entity-modal__item.d4-rarity-set .entity-modal__item-name{color:#5fc875}.entity-modal__item.d4-rarity-unique .entity-modal__item-name{color:#c9a66b}.entity-modal__item.d4-rarity-mythic .entity-modal__item-name{color:#ff6fc9}.entity-modal__item.d4-color-set .entity-modal__item-name{color:#5fc875}.entity-modal__item.d4-color-helltide .entity-modal__item-name{color:#d16044}.entity-modal__item.d4-color-boss .entity-modal__item-name{color:#d84d63}.entity-modal__item:hover .entity-modal__item-type,.entity-modal__item.is-active .entity-modal__item-type{color:#949ca4}@media(max-width:760px){.entity-modal.d4tools-wrapper{height:calc(100vh - 28px);max-width:calc(100vw - 28px)}.entity-modal .d4t-ItemLibrary,.entity-modal__library{flex-direction:column}.entity-modal .d4t-ItemCategories,.entity-modal__sidebar{flex:0 0 150px;width:auto}.entity-modal__filters{align-items:stretch;flex-direction:column}.entity-modal__class-select{min-width:0}}.entity-modal .embed_EmbedPopout__header__s5nKd.entity-modal__tabs{align-items:center;background:#151617;border-bottom:1px solid #2b2c2c;box-sizing:border-box;color:#aaa;display:flex;flex:0 0 auto;flex-direction:row;font-size:20px;gap:0;height:auto;justify-content:flex-start;min-height:44px;overflow-x:auto;padding:8px}.entity-modal .embed_EmbedPopout__tab__2h8QU.entity-modal__tab{background:transparent;border:0;border-bottom:2px solid transparent;color:#aaa;cursor:pointer;flex:0 0 auto;font-size:20px;font-weight:400;line-height:24px;margin:0;padding:4px 8px;white-space:nowrap}.entity-modal .embed_EmbedPopout__tab__2h8QU.entity-modal__tab:hover{color:#eee}.entity-modal .embed_EmbedPopout__tab__2h8QU.entity-modal__tab.embed_active__p3ZdP,.entity-modal .embed_EmbedPopout__tab__2h8QU.entity-modal__tab.active{border-color:rgb(var(--maxroll-color-blue, 5 122 240));color:#fff;cursor:default;text-shadow:none}
