:root{--bg:#fffdf7;--bg2:#fff4e0;--card:#fff;--text:#1a1209;--muted:#7a6555;--accent:#e8610a;--accent2:#f5920a;--border:#f0e4d0;--shadow:0 12px 34px rgba(232,97,10,.13);font-family:'Plus Jakarta Sans',system-ui,sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text)}nav{position:sticky;top:0;background:rgba(255,253,247,.94);backdrop-filter:blur(16px);border-bottom:1px solid var(--border);z-index:2}.nav{max-width:1240px;margin:auto;padding:14px 20px;display:flex;gap:18px;align-items:center}.logo{font-weight:900;font-size:22px;text-decoration:none;color:var(--text)}.logo span{color:var(--accent)}.nav a{color:var(--text);text-decoration:none;font-weight:700}.navlinks{margin-left:auto;display:flex;gap:14px}.hero{padding:70px 20px 50px;text-align:center;background:linear-gradient(160deg,#fffdf7,#fff4e0 50%,#fde8d0)}.badge{display:inline-block;background:#fff3e0;border:1px solid #f0c890;border-radius:99px;padding:8px 16px;color:var(--accent);font-weight:800;font-size:12px}.hero h1{font-family:Georgia,serif;font-size:clamp(38px,7vw,72px);line-height:1;margin:18px 0}.hero em{color:var(--accent)}.hero p{max-width:760px;margin:0 auto 28px;color:#4a3728;line-height:1.7}.search{width:min(620px,92vw);padding:17px 22px;border:2px solid #e8d9c4;border-radius:999px;font-size:16px;box-shadow:var(--shadow)}main{max-width:1240px;margin:auto;padding:30px 20px 80px}.filters{display:flex;gap:9px;flex-wrap:wrap;margin:10px 0 25px}.filters button{border:1px solid #e8d9c4;border-radius:999px;background:#fff;padding:9px 15px;font-weight:800;cursor:pointer}.filters button.active{background:var(--accent);color:white}.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:16px}.card{background:var(--card);border:1px solid var(--border);border-radius:22px;padding:22px;box-shadow:0 4px 18px rgba(0,0,0,.04);transition:.2s;cursor:pointer}.card:hover{transform:translateY(-4px);box-shadow:var(--shadow);border-color:#f0c890}.icon{font-size:30px;background:#fff4e0;width:54px;height:54px;border-radius:16px;display:grid;place-items:center;margin-bottom:14px}.card h3{margin:0 0 8px;font-size:17px}.card p{margin:0;color:var(--muted);line-height:1.55;font-size:14px}.modal{position:fixed;inset:0;background:rgba(26,18,9,.58);display:none;align-items:center;justify-content:center;padding:18px;z-index:5}.modal.open{display:flex}.panel{background:#fff;border-radius:28px;max-width:760px;width:100%;max-height:92vh;overflow:auto}.panel header{display:flex;justify-content:space-between;align-items:center;padding:20px;border-bottom:1px solid var(--border)}.panel section{padding:20px}.x{border:0;background:#fff4e0;border-radius:12px;width:38px;height:38px;font-size:20px;cursor:pointer}label{display:block;font-weight:800;font-size:13px;margin:12px 0 6px}textarea,input,select{width:100%;border:1.5px solid #e8d9c4;border-radius:14px;padding:12px;font:inherit}button.primary{background:linear-gradient(135deg,var(--accent),var(--accent2));color:white;border:0;border-radius:999px;padding:12px 18px;font-weight:900;cursor:pointer;margin-top:14px}.out{white-space:pre-wrap;background:#fff8ee;border:1px solid var(--border);border-radius:15px;padding:14px;margin-top:14px;color:#4a3728}.blog-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:18px}.post{background:#fff;border:1px solid var(--border);border-radius:20px;padding:20px}.post h2{margin-top:0}.post p{color:var(--muted);line-height:1.7}footer{text-align:center;color:var(--muted);padding:40px 20px;border-top:1px solid var(--border)}@media(max-width:640px){.navlinks{display:none}.hero{padding-top:45px}.grid{grid-template-columns:1fr}}
.muted{color:var(--muted)}.mini{font-size:11px;padding:5px 10px}.post a{color:var(--accent);text-decoration:none;font-weight:800}.full-post{max-width:850px;margin:auto}.full-post h1{font-family:Georgia,serif;font-size:clamp(32px,5vw,54px);line-height:1.05}.content{line-height:1.8;color:#4a3728}.content h1,.content h2,.content h3{color:var(--text)}.cms-layout{display:grid;grid-template-columns:1.4fr .9fr;gap:18px;align-items:start}.tool-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.btn-row{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.secondary,.cms-item button{background:#fff4e0;color:var(--text);border:1px solid var(--border);border-radius:999px;padding:10px 14px;font-weight:900;cursor:pointer;margin-top:14px}.cms-list{display:flex;flex-direction:column;gap:10px;margin-top:14px}.cms-item{border:1px solid var(--border);background:#fff8ee;border-radius:16px;padding:14px}.cms-item p{margin:5px 0;color:var(--muted);font-size:13px}.cms-item a,.cms-item button{margin-right:8px;font-size:13px}.danger{color:#dc2626;font-weight:800}@media(max-width:850px){.cms-layout,.tool-row{grid-template-columns:1fr}}
.card-img{width:100%;height:170px;object-fit:cover;border-radius:18px;border:1px solid #e8d9c4;margin-bottom:14px;background:#fff8ee}.featured-img{width:100%;max-height:420px;object-fit:cover;border-radius:24px;border:1px solid #e8d9c4;margin:18px 0}.danger{color:#dc2626;font-weight:700}.muted{color:#7a6555}.cms-item img{box-shadow:0 8px 24px rgba(0,0,0,.08)}


.admin-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px}.admin-tabs .tab{padding:10px 16px;border:1px solid var(--border,#e8d9c4);border-radius:999px;background:#fff8ee;font-weight:800;cursor:pointer}.admin-tabs .tab.active{background:#e8610a;color:white;border-color:#e8610a}.cms-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(280px,.8fr);gap:18px}.cms-list{display:grid;gap:12px;margin-top:12px}.cms-item{border:1px solid #e8d9c4;border-radius:16px;padding:14px;background:#fffdf7}.cms-item button,.cms-item a{display:inline-block;margin:6px 6px 0 0}.danger{color:#dc2626}.featured-img,.card-img{width:100%;object-fit:cover;border-radius:18px;border:1px solid #e8d9c4}.featured-img{max-height:360px;margin:10px 0 20px}.card-img{height:170px;margin-bottom:12px}@media(max-width:800px){.cms-layout{grid-template-columns:1fr}.admin-tabs{position:sticky;top:64px;background:#fffdf7;z-index:5;padding:10px 0}}
.chatbot{position:fixed;right:18px;bottom:18px;z-index:20}.chat-toggle{border:0;background:linear-gradient(135deg,var(--accent),var(--accent2));color:#fff;border-radius:999px;padding:13px 18px;font-weight:900;box-shadow:var(--shadow);cursor:pointer}.chat-panel{display:none;width:min(360px,calc(100vw - 32px));height:430px;background:#fff;border:1px solid var(--border);border-radius:18px;box-shadow:0 18px 50px rgba(0,0,0,.18);overflow:hidden}.chatbot.open .chat-panel{display:flex;flex-direction:column}.chatbot.open .chat-toggle{display:none}.chat-head{display:flex;justify-content:space-between;align-items:center;padding:13px 14px;border-bottom:1px solid var(--border);background:#fff8ee}.chat-head button{border:0;background:#fff4e0;border-radius:10px;width:30px;height:30px;font-weight:900;cursor:pointer}.chat-body{flex:1;padding:12px;overflow:auto;display:flex;flex-direction:column;gap:9px}.chat-msg{padding:10px 12px;border-radius:14px;line-height:1.45;font-size:14px;max-width:88%}.chat-msg.bot{background:#fff4e0;color:#4a3728;align-self:flex-start}.chat-msg.user{background:var(--accent);color:#fff;align-self:flex-end}.chat-form{display:flex;gap:8px;padding:12px;border-top:1px solid var(--border)}.chat-form input{border-radius:999px}.chat-form button{border:0;border-radius:999px;background:var(--accent);color:#fff;font-weight:900;padding:0 14px;cursor:pointer}footer a{color:var(--accent);font-weight:800;text-decoration:none}
.site-footer{text-align:left;max-width:1240px;margin:auto;padding:10px 20px 0}.footer-grid{display:grid;grid-template-columns:minmax(260px,.8fr) minmax(280px,1.2fr);gap:24px;align-items:start}.site-footer p{color:var(--muted);line-height:1.7}.footer-links{display:flex;gap:12px;flex-wrap:wrap;margin-top:12px}.footer-links a{color:var(--text);font-weight:800;text-decoration:none}.footer-contact{background:#fff;border:1px solid var(--border);border-radius:18px;padding:16px;box-shadow:0 4px 18px rgba(0,0,0,.04)}.footer-contact .out{font-size:13px}.footer-bottom{text-align:center;border-top:1px solid var(--border);margin:24px 0 0;padding-top:20px}@media(max-width:760px){.footer-grid{grid-template-columns:1fr}.chatbot{right:12px;bottom:12px}}
.icon{color:var(--accent);box-shadow:inset 0 0 0 1px rgba(255,255,255,.65)}.icon svg{width:30px;height:30px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.icon svg path,.icon svg rect,.icon svg circle{vector-effect:non-scaling-stroke}.tone-pdf{color:#e5484d;background:#fff0f0}.tone-image{color:#1c9a66;background:#eafff4}.tone-video{color:#7c3aed;background:#f3edff}.tone-ai{color:#db2777;background:#fff0f7}.tone-social{color:#2563eb;background:#eef5ff}.tone-lock{color:#b45309;background:#fff6df}.tone-code{color:#0f766e;background:#e9fffb}.tone-calc{color:#0891b2;background:#e9fbff}.tone-text{color:#ea580c;background:#fff4e8}.tone-cut{color:#dc2626;background:#fff1f2}.tone-tool{color:#6d5bd0;background:#f2efff}.card:hover .icon{transform:scale(1.06);box-shadow:0 10px 22px rgba(0,0,0,.08),inset 0 0 0 1px rgba(255,255,255,.75)}.editor-toolbar{display:flex;gap:8px;flex-wrap:wrap;align-items:center;background:#fff8ee;border:1px solid var(--border);border-radius:14px;padding:10px;margin:6px 0 8px}.editor-toolbar button,.editor-toolbar select,.editor-toolbar input[type=color]{width:auto;min-height:36px;border:1px solid #e8d9c4;border-radius:10px;background:#fff;padding:7px 10px;font-weight:800;cursor:pointer}.editor-toolbar input[type=color]{padding:3px;width:42px}.rich-editor{min-height:280px;background:#fff;border:1.5px solid #e8d9c4;border-radius:16px;padding:16px;line-height:1.75;outline:none}.rich-editor:focus{border-color:#f0a24f;box-shadow:0 0 0 3px rgba(232,97,10,.12)}.rich-editor:empty:before{content:attr(data-placeholder);color:#9a8776}.rich-editor h2,.rich-editor h3{margin:14px 0 8px}.advanced-box{border:1px solid var(--border);border-radius:16px;background:#fff8ee;padding:12px;margin-top:14px}.advanced-box summary{font-weight:900;cursor:pointer}.section-head{display:flex;align-items:end;justify-content:space-between;gap:16px;margin:44px 0 18px}.section-head h2{margin:8px 0 0;font-size:clamp(24px,3vw,34px)}.section-head a{color:var(--accent);font-weight:900;text-decoration:none}.latest-section{margin-top:42px}
