:root{font-family:Inter,system-ui,sans-serif;color:#202126;background:#f4f5f7;font-size:14px}*{box-sizing:border-box}body{margin:0}header{background:#141414;color:white;padding:20px 26px;display:flex;align-items:center;justify-content:space-between;gap:20px}header strong{font-size:20px;letter-spacing:1px}header span{color:#ffcc00}small{display:block;margin-top:6px;color:#aaa}button{cursor:pointer;border:1px solid #d9dce2;background:white;color:#242424;padding:10px 13px;border-radius:8px;font:inherit;font-weight:600}button:hover{border-color:#a78b00;background:#fffbe6}button:disabled{opacity:.45;cursor:default}.primary{background:#ffcc00;border-color:#ffcc00}.actions{display:flex;gap:8px;flex-wrap:wrap}.notice{padding:12px 26px;background:#fff8d7;display:flex;align-items:center;gap:12px}.notice span{flex:1}.notice button{padding:6px 10px;font-size:12px}.layout{display:grid;grid-template-columns:230px minmax(340px,480px) minmax(320px,1fr);min-height:calc(100vh - 145px)}aside{padding:24px 16px;background:white;border-right:1px solid #e5e5e5}.aside-title{font-size:11px;font-weight:800;letter-spacing:1px;margin-bottom:16px}nav button{display:block;text-align:left;width:100%;margin:6px 0;border:0;font-size:13px;font-weight:500}nav button.active{background:#fff1ae;font-weight:700}main{padding:24px;max-height:calc(100vh - 145px);overflow:auto}h1{font-size:24px;margin-top:0}h2{font-size:20px;margin:0 0 12px}h3{font-size:14px}p{line-height:1.6}.hint{font-size:12px;color:#757981;line-height:1.6}.preview{padding:18px;min-width:0}.preview-bar{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px;gap:8px}.preview-bar button{font-size:12px;padding:7px}iframe{display:block;border:1px solid #ddd;border-radius:12px;width:100%;height:calc(100vh - 235px);background:white;margin:auto;transition:width .2s}label{display:block;font-size:12px;font-weight:650;margin:14px 0 6px}input,textarea{width:100%;border:1px solid #d6d9df;border-radius:7px;padding:10px;font:inherit;background:white;color:#202126}textarea{resize:vertical;min-height:65px}input:focus,textarea:focus{outline:2px solid #e5bc2c;outline-offset:1px}details{background:white;border:1px solid #e0e2e7;border-radius:10px;padding:15px;margin:14px 0}summary{font-weight:700;cursor:pointer}figure{margin:12px 0}figure img{width:100%;max-height:160px;object-fit:contain;background:#eee;border-radius:8px}.row{display:flex;align-items:center;gap:7px;margin:9px 0}.row span{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.row button{font-size:12px;padding:6px 9px}.danger{color:#ba2424}.toggle{display:flex;gap:9px;align-items:center}.toggle input{width:auto}dialog{border:0;border-radius:16px;max-width:600px;padding:30px;line-height:1.7}dialog::backdrop{background:#0009}#empty{padding:25px 0}#search{margin-bottom:12px}@media(max-width:1150px){.layout{grid-template-columns:200px 1fr}.preview{grid-column:1/-1}main{max-height:75vh}iframe{height:600px}}@media(max-width:650px){header{align-items:flex-start;flex-direction:column;padding:16px}.layout{display:block}aside{padding:16px}nav{max-height:180px;overflow:auto}main{max-height:none;padding:16px}.notice{padding:10px;flex-wrap:wrap}.preview{padding:12px}.actions button{font-size:12px}.hint{margin-bottom:0}}
:root{scroll-padding-top:120px}header{position:sticky;top:0;z-index:50}#save{box-shadow:0 0 0 2px #ffcc0055;min-width:165px}.website-link{color:#ffcc00;padding:10px 4px;text-decoration:none;font-weight:600}#pinDialog{width:min(420px,calc(100% - 32px))}#pin{font-size:24px;letter-spacing:6px;text-align:center}#pinError{color:#b42318}#unlock{width:100%}
