.content-editor-page{background:#eef3f1;color:#173b38}.content-editor-page #app{max-width:none;padding:0 24px 45px}.editor-topbar{max-width:1540px;margin:auto}.editor-shell{max-width:1540px;margin:auto}.editor-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;padding:25px 0 18px}.editor-heading h1{margin:2px 0;font-size:38px}.editor-heading>div>p:last-child{max-width:720px;margin:4px 0;color:#647a75}.editor-save-actions{display:flex;gap:9px}.editor-page-controls{display:flex;align-items:flex-end;gap:14px;padding:15px 17px;border:1px solid #d7e3df;border-radius:17px 17px 0 0;background:#fff}.editor-page-controls label,.editor-toolbar label{display:grid;gap:4px;color:#5d716d;font-size:11px;font-weight:900;letter-spacing:.03em}.editor-control-label{display:block;margin-bottom:4px;color:#5d716d;font-size:11px;font-weight:900;letter-spacing:.03em}.editor-page-controls select{min-width:235px;padding:9px 12px;border:1px solid #cddbd7;border-radius:9px;background:#fff;color:#173b38;font-weight:800}.editor-device-switch{display:flex;padding:3px;border-radius:10px;background:#edf3f1}.editor-device-switch button{padding:8px 12px;border:0;border-radius:8px;background:transparent;color:#58706a;font-weight:800;cursor:pointer}.editor-device-switch button.active{background:#173b38;color:#fff}.editor-preview-size{align-self:center;padding:7px 10px;border-radius:999px;background:#edf3f1;color:#58706a;font-size:11px;font-weight:900;white-space:nowrap}.editor-open-page{margin-left:auto}.editor-status{min-width:180px;color:#647a75;font-size:13px;font-weight:800;text-align:right}.editor-status.success{color:#1e8058}.editor-status.error{color:#bb4b3e}.editor-toolbar{display:flex;align-items:flex-end;flex-wrap:wrap;gap:8px;padding:11px 16px;border-right:1px solid #d7e3df;border-bottom:1px solid #d7e3df;border-left:1px solid #d7e3df;background:#f9fbfa}.editor-toolbar.disabled{opacity:.55;pointer-events:none}.editor-toolbar select,.editor-toolbar input[type=number]{height:37px;padding:6px 8px;border:1px solid #cbd8d4;border-radius:8px;background:#fff}.editor-toolbar label:has(input[type=number]){grid-template-columns:auto auto;align-items:end}.editor-toolbar label:has(input[type=number])>span{padding-bottom:9px}.editor-toolbar input[type=number]{width:68px}.editor-toolbar input[type=color]{width:43px;height:37px;padding:3px;border:1px solid #cbd8d4;border-radius:8px;background:#fff}.editor-toolbar>button{min-width:38px;height:37px;padding:5px 10px;border:1px solid #cbd8d4;border-radius:8px;background:#fff;color:#173b38;cursor:pointer}.editor-toolbar>button.active{border-color:#173b38;background:#dcefe9}.editor-toolbar #editor-undo-selection{margin-left:auto;min-width:115px}.editor-preview-stage{display:block;min-height:690px;padding:20px;border:1px solid #d7e3df;border-top:0;border-radius:0 0 17px 17px;background:#dfe7e4;overflow:auto}.editor-preview-wrap{position:relative;flex:0 0 auto;height:820px;margin:0 auto;overflow:hidden;border-radius:14px;background:#fff;box-shadow:0 18px 45px rgba(22,50,47,.17);transition:width .25s}.editor-preview-wrap.desktop{width:1440px;min-width:1440px}.editor-preview-wrap.mobile{width:390px;min-width:390px}.editor-device-label{display:block;height:32px;padding:7px 12px;background:#173b38;color:#fff;font-size:11px;font-weight:900;letter-spacing:.04em;text-align:center}.editor-preview-wrap iframe{display:block;width:100%;height:calc(100% - 32px);border:0;background:#fff}.editor-help{display:flex;gap:18px;margin-top:13px;padding:15px 18px;border-radius:13px;background:#173b38;color:#d7e7e3;font-size:13px}.editor-help strong{color:#fff;white-space:nowrap}.admin-content-editor-card{display:flex;align-items:center;justify-content:space-between;gap:25px;margin-bottom:16px;background:linear-gradient(135deg,#173b38,#27675f)!important;color:#fff}.admin-content-editor-card h2{color:#fff}.admin-content-editor-card p:not(.lesson-eyebrow){max-width:680px;margin:0;color:#c5d9d4}.admin-content-editor-card .primary-btn{flex:0 0 auto;background:#ff7663}
html[data-theme=dark] .content-editor-page{background:#101c1a;color:#eef7f5}html[data-theme=dark] .editor-page-controls,html[data-theme=dark] .editor-toolbar{background:#1c2d2a;border-color:#344943}html[data-theme=dark] .editor-page-controls select,html[data-theme=dark] .editor-toolbar select,html[data-theme=dark] .editor-toolbar input,html[data-theme=dark] .editor-toolbar>button{background:#162522;border-color:#405751;color:#eef7f5}html[data-theme=dark] .editor-preview-stage{background:#0b1513;border-color:#344943}
@media(max-width:900px){.editor-heading{align-items:flex-start;flex-direction:column}.editor-save-actions{width:100%;flex-wrap:wrap}.editor-page-controls{align-items:stretch;flex-direction:column}.editor-page-controls select{width:100%}.editor-open-page{margin-left:0}.editor-status{text-align:left}.editor-help{flex-direction:column}.editor-toolbar #editor-undo-selection{margin-left:0}.editor-preview-stage{padding:9px}}
