.editor{display:grid;grid-template-columns:minmax(320px,440px) 1fr;height:100vh}.editor aside{background:var(--ui-panel);border-right:1px solid var(--ui-line);overflow-y:auto;padding:0 18px}.editor .ed-head{padding:12px 0 10px;display:flex;justify-content:space-between;align-items:center;gap:8px;position:-webkit-sticky;position:sticky;top:0;z-index:5;background:var(--ui-panel)}.editor .ed-head-r{display:flex;gap:6px;align-items:center}.editor .ed-head-r .btn-ui{padding:7px 12px;font-size:13px}.editor details{border-top:1px solid var(--ui-line);padding:10px 0}.editor summary{font-weight:600;cursor:pointer;padding:4px 0}.editor .tpls{display:grid;grid-template-columns:repeat(auto-fill,minmax(118px,1fr));grid-gap:8px;gap:8px;margin-top:10px}.editor .tpl{border:2px solid var(--ui-line);border-radius:8px;padding:8px;cursor:pointer;background:var(--ui-bg);text-align:left;color:inherit;font:inherit}.editor .tpl.on{border-color:var(--ui-accent)}.editor .tpl .sw{display:flex;gap:3px;margin-bottom:6px}.editor .tpl .thumb{display:block;height:90px;margin:-8px -8px 8px;border-radius:6px 6px 0 0;background:50%/cover}.editor .tpl .sw i{width:16px;height:16px;border-radius:50%;border:1px solid rgba(0,0,0,.1)}.editor .tpl b{display:block;font-size:13px}.editor .tpl small{color:var(--ui-muted);font-size:11px;line-height:1.3;display:block}.editor .thumbs{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}.editor .thumbs span{position:relative}.editor .thumbs img{display:block;width:auto;height:72px;max-width:160px;border-radius:4px;cursor:crosshair}.editor .thumbs .focus-dot{position:absolute;width:12px;height:12px;margin:-6px 0 0 -6px;border:2px solid #fff;border-radius:50%;background:#e0245e;box-shadow:0 0 0 1px #0006;pointer-events:none}.editor .thumbs button{position:absolute;top:-6px;right:-6px;width:18px;height:18px;border-radius:50%;border:0;background:#000a;color:#fff;font-size:11px;cursor:pointer;line-height:1}.editor .hint{font-size:12px;color:var(--ui-muted);margin:6px 0 0}.editor .published{margin:12px 0}.editor .linkrow{display:flex;gap:6px;margin:8px 0}.editor .links{display:flex;flex-wrap:wrap;gap:6px}.editor .actions{position:-webkit-sticky;position:sticky;bottom:0;background:var(--ui-panel);padding:12px 0 16px;display:flex;flex-wrap:wrap;gap:8px;border-top:1px solid var(--ui-line)}.editor .actions .btn-ui{flex:1 1 auto}.editor main{display:grid;place-items:center;overflow:hidden;padding:20px;background:var(--ui-soft)}.editor .phone{transform:translateZ(0);width:390px;height:min(844px,calc(100vh - 40px));border-radius:36px;border:10px solid #111;background:#111;overflow:hidden;box-shadow:0 30px 80px rgba(0,0,0,.25)}.editor .screen{width:100%;height:100%;overflow-y:auto;border-radius:26px;position:relative;scrollbar-width:none}.editor .screen::-webkit-scrollbar{display:none}@media (max-width:860px){.editor{grid-template-columns:1fr;height:auto}.editor aside{border-right:0}.editor main{padding:16px}.editor .phone{width:100%;max-width:390px;height:760px}}.editor .elements{margin-top:14px}.editor .el-row{display:flex;flex-wrap:wrap;gap:6px}.editor .el{display:flex;align-items:center;gap:6px;border:2px solid var(--ui-line);border-radius:999px;padding:4px 10px 4px 6px;background:var(--ui-bg);color:inherit;font:inherit;font-size:13px;cursor:pointer}.editor .el.on{border-color:var(--ui-accent,currentColor)}.editor .el .sw{display:flex}.editor .el .sw i{width:14px;height:14px;border-radius:50%;border:1px solid rgba(0,0,0,.12);margin-left:-4px}.editor .el .sw i:first-child{margin-left:0}.editor .el-year{display:flex;align-items:center;gap:8px;margin-top:8px}.editor .el-year input{max-width:170px}.editor .el-year span{font-size:13px;font-weight:600}.editor .el-sub{display:block;margin-top:12px}.editor .el:disabled{opacity:.45;cursor:not-allowed}