:root{font-family:Arial,Helvetica,sans-serif;color:#171717;background:#f6f6f6}*{box-sizing:border-box}body{margin:0}.bo-topbar{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 22px;border-bottom:1px solid #dedede;background:#fff}.bo-title{font-size:18px;font-weight:800}.bo-subtitle{margin-top:4px;color:#6f6f6f;font-size:12px}.back-link{color:#222;font-size:13px;font-weight:700;text-decoration:none}.page-shell{width:min(980px,calc(100% - 32px));margin:26px auto 60px}.page-header{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;margin-bottom:18px}.eyebrow{text-transform:uppercase;letter-spacing:.12em;font-size:11px;font-weight:800;color:#777}.page-header h1{margin:5px 0 8px;font-size:28px}.page-header p,.editor-heading p{margin:0;color:#707070;line-height:1.45}.updated-meta{font-size:12px;color:#777;text-align:right}.page-status{display:none;margin:0 0 16px;padding:12px 14px;border-radius:10px;font-size:13px}.page-status.success{display:block;background:#edf8f0;color:#176b3a;border:1px solid #c8e7d0}.page-status.error{display:block;background:#fff3f2;color:#9f251c;border:1px solid #efd0cd}.editor-card{margin-top:16px;padding:18px;border:1px solid #dfdfdf;border-radius:16px;background:#fff}.editor-heading h2{margin:0 0 5px;font-size:18px}.toolbar{display:flex;flex-wrap:wrap;gap:7px;margin:16px 0 9px;padding:8px;border:1px solid #e2e2e2;border-radius:10px;background:#fafafa}.toolbar button,.secondary-action,.primary-action,.close-action{border:0;border-radius:9px;font-weight:800;cursor:pointer}.toolbar button{padding:8px 11px;background:#e9e9e9;color:#252525}.rich-editor{min-height:190px;padding:15px;border:1px solid #d5d5d5;border-radius:12px;background:#fff;line-height:1.55;outline:none}.rich-editor:focus{border-color:#8f8f8f;box-shadow:0 0 0 3px rgba(0,0,0,.05)}.rich-editor ol,.rich-editor ul,.preview-content ol,.preview-content ul{padding-left:24px}.rich-editor a,.preview-content a{color:#1558b0}.actions{display:flex;justify-content:flex-end;gap:10px;margin-top:18px}.secondary-action,.primary-action{padding:11px 18px}.secondary-action{background:#e7e7e7;color:#222}.primary-action{background:#1e1e1e;color:#fff}.primary-action:disabled,.secondary-action:disabled{opacity:.55;cursor:not-allowed}.preview-dialog{width:min(520px,calc(100% - 28px));border:0;border-radius:18px;padding:0;box-shadow:0 20px 70px rgba(0,0,0,.25)}.preview-dialog::backdrop{background:rgba(0,0,0,.42)}.preview-shell{padding:18px}.preview-header{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.preview-header h2{margin:4px 0 0;font-size:19px}.close-action{width:34px;height:34px;background:#ececec;font-size:22px}.phone-frame{width:min(100%,390px);margin:18px auto 0;padding:20px;border:1px solid #dcdcdc;border-radius:24px;background:#fff;box-shadow:0 8px 30px rgba(0,0,0,.08)}.phone-frame section+section{margin-top:28px;padding-top:20px;border-top:1px solid #ededed}.phone-frame h3{margin:0 0 12px;font-size:17px}.preview-content{font-size:14px;line-height:1.55;overflow-wrap:anywhere}@media(max-width:640px){.bo-topbar,.page-header{align-items:flex-start}.page-header{display:block}.updated-meta{margin-top:10px;text-align:left}.page-shell{width:min(100% - 20px,980px);margin-top:14px}.editor-card{padding:14px}.actions{position:sticky;bottom:0;padding:10px;background:rgba(246,246,246,.94)}.actions button{flex:1}}
