.tk-tools{display:grid;gap:8px;margin:10px 0}.tk-tools>button{justify-self:start}.tk-existing{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px;border:1px solid #665333;border-radius:8px;background:#152326}.tk-editor{box-sizing:border-box;width:min(850px,95vw);max-height:92vh;overflow:auto;border:1px solid #b99a54;border-radius:16px;background:#112024;color:#f7e8c7;padding:24px;box-shadow:0 24px 90px #000b;z-index:10000}.tk-editor::backdrop{background:#000b}.tk-editor form{display:grid;gap:15px}.tk-editor header,.tk-editor footer,.tk-line-head{display:flex;align-items:center;gap:12px;justify-content:space-between}.tk-editor header h3{margin:5px 0;color:#f6cf81;font-size:25px}.tk-editor header small{color:#d2ad60;letter-spacing:2px}.tk-editor p{margin:0;line-height:1.6;color:#b8cbd0}.tk-editor button{cursor:pointer;padding:9px 13px;border:1px solid #8d774d;border-radius:8px;background:#20353b;color:#ffdf9d}.tk-editor button[type=submit]{background:#d8b76a;color:#102024;font-weight:bold}.tk-fields,.tk-lines{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.tk-editor label{display:grid;gap:7px;font-size:14px}.tk-editor select,.tk-editor input{box-sizing:border-box;width:100%;min-width:0;padding:11px 9px;border:1px solid #53676b;border-radius:7px;background:#0b171a;color:#f9edcf;font-size:14px}.tk-editor small{font-size:12px}.tk-lines label{padding:10px;background:#1a2c30;border-radius:9px}.tk-lines label span{color:#e9c778}.tk-editor .tk-error{color:#ffad9c}.tk-preview{display:block;overflow-wrap:anywhere;margin-top:8px;color:#b4d9e8}.tk-editor footer{position:sticky;bottom:-24px;padding:15px 0;background:#112024;flex-wrap:wrap}.tk-editor footer span{margin-right:auto;color:#c5d8d3}@media(max-width:600px){.tk-fields,.tk-lines{grid-template-columns:1fr}.tk-editor{padding:16px}.tk-existing{align-items:start;flex-direction:column}.tk-editor footer{bottom:-16px}.tk-editor header h3{font-size:21px}}
