:root{--bg: #f4f1ea;--bg-2: #ece7dc;--ink: #1c1915;--muted: #6f6a62;--line: #e2ddd3;--card: #fffcf7;--green: #1f6b45;--green-2: #163d2a;--green-3: #0f291c;--mint: #d8efe0;--warn: #c45c12;--danger: #b42318;--shadow: 0 18px 40px -28px rgba(28, 25, 21, .45);font-family:Plus Jakarta Sans,system-ui,sans-serif;color:var(--ink);background:var(--bg);line-height:1.45}*{box-sizing:border-box}html,body,#root{min-height:100%}body{margin:0}button,input,textarea,select{font:inherit}a{color:var(--green)}.app{display:flex;min-height:100vh}.sidebar{width:248px;flex-shrink:0;background:radial-gradient(1200px 400px at -20% -10%,rgba(61,168,108,.22),transparent 50%),linear-gradient(180deg,var(--green-2),var(--green-3));color:#e9f4ec;display:flex;flex-direction:column;padding:22px 14px}.brand{display:flex;gap:12px;align-items:center;padding:4px 10px 22px}.brand strong{display:block;font-size:15px;letter-spacing:-.02em}.brand-sub{font-size:11px;color:#9fbfab;margin-top:2px;text-transform:uppercase;letter-spacing:.08em}.nav{display:flex;flex-direction:column;gap:6px;flex:1}.nav-item{color:#c9ddcf;text-decoration:none;padding:10px 12px;border-radius:12px;font-size:14px;font-weight:600;display:flex;align-items:center;gap:10px}.nav-item:hover{background:#ffffff0f;color:#fff}.nav-item.active{background:#ffffff1f;color:#fff;box-shadow:inset 0 0 0 1px #ffffff14}.who{font-size:13px;color:#b7d0be;margin-bottom:10px}button.ghost{background:transparent;color:#d7eadc;border:1px solid rgba(255,255,255,.16);width:100%;justify-content:center;border-radius:10px}button.ghost:hover{background:#ffffff0f}.content{flex:1;min-width:0;padding:28px 32px 72px}.page{max-width:1120px}.lede{margin:6px 0 0;color:var(--muted);font-size:13px}.card{background:var(--card);border:1px solid var(--line);border-radius:18px;padding:22px;box-shadow:var(--shadow)}label{display:block;font-size:12px;font-weight:600;margin:0 0 8px;color:#3f3b36;letter-spacing:.01em}input,textarea,select{width:100%;padding:11px 13px;border:1px solid #d8d2c6;border-radius:12px;background:#fff;color:var(--ink);outline:none;transition:border-color .15s,box-shadow .15s}input:focus,textarea:focus,select:focus{border-color:#2ea35c;box-shadow:0 0 0 4px #2ea35c24}textarea{min-height:380px;resize:vertical;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:13px;line-height:1.6}button,.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:10px 16px;border-radius:11px;border:0;background:#1f6b45;color:#fff;font-weight:700;cursor:pointer;text-decoration:none;white-space:nowrap}button:hover,.btn:hover{filter:brightness(1.05)}.btn.secondary,button.secondary{background:#ece7dc;color:var(--ink)}.btn.danger,button.danger{background:var(--danger);color:#fff}button:disabled{opacity:.5;cursor:not-allowed;filter:none}.row{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.err{color:var(--danger);font-size:13px;margin:8px 0}.muted{color:var(--muted);font-size:13px}.table-wrap{overflow:auto;padding:0}table{width:100%;border-collapse:collapse}th,td{text-align:left;padding:13px 16px;border-bottom:1px solid var(--line);font-size:14px}th{color:var(--muted);font-weight:600;font-size:11px;text-transform:uppercase;letter-spacing:.06em;background:#faf7f1}tr:last-child td{border-bottom:0}tbody tr:hover td{background:#f8f4ec}.badge{display:inline-flex;align-items:center;padding:3px 9px;border-radius:999px;font-size:12px;font-weight:600;background:#ece7dc;color:#4d4840}.badge.published,.badge.active{background:var(--mint);color:#146c36}.badge.draft,.badge.inactive,.badge.suspended{background:#f6e3c8;color:var(--warn)}.editor{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:18px;align-items:start}.editor-side{position:sticky;top:20px;display:flex;flex-direction:column;gap:18px}.cover-preview{width:100%;max-height:180px;object-fit:cover;border-radius:10px;display:block;margin-bottom:10px}.form-actions{display:flex;gap:10px;align-items:center;padding-top:8px}.login-wrap{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(800px 400px at 20% 10%,rgba(61,168,108,.28),transparent 50%),var(--green-3)}.login-wrap .card{width:min(420px,100%);padding:28px}.login-wrap h1{margin:0 0 6px;font-size:26px;letter-spacing:-.04em}.login-wrap button{width:100%;padding:12px;margin-top:8px}@media(max-width:960px){.app{flex-direction:column}.sidebar{width:100%;flex-direction:row;flex-wrap:wrap;padding:12px}.nav{flex-direction:row;overflow:auto}.sidebar-foot{border:0;margin-left:auto}.editor{grid-template-columns:1fr}.editor-side{position:static}}.page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:20px}.page-head h1{margin:0;font-size:28px;letter-spacing:-.04em;font-weight:700}.brand-mark{width:40px;height:40px;border-radius:12px;background:linear-gradient(145deg,#5fd08a,#2ea35c);color:#07351c;display:grid;place-items:center;font-weight:800;letter-spacing:-.04em;box-shadow:0 8px 18px -10px #5fd08a}.nav-dot{width:7px;height:7px;border-radius:99px;background:currentColor;opacity:.45}.nav-item.active .nav-dot{background:#7dffb0;opacity:1}.sidebar-foot{padding:14px 10px 2px;border-top:1px solid rgba(255,255,255,.08)}.field{margin-bottom:16px}.title-input{font-size:22px;font-weight:700;letter-spacing:-.03em;padding:14px 16px}.editor-tools{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:8px}.file-btn{display:inline-flex;cursor:pointer;background:#ece7dc;color:var(--ink);padding:8px 12px;border-radius:10px;font-size:13px;font-weight:600}.file-btn input{display:none}.editor-side{position:sticky;top:20px}.cover-box{border:1px dashed #cfc8ba;border-radius:14px;background:#faf7f1;padding:12px;text-align:center}.hint{color:var(--muted);font-weight:500;font-size:12px;margin:-2px 0 8px}.ok{color:var(--green);font-size:13px;margin:8px 0}.table-wrap{overflow:auto;padding:0!important}.grow{flex:1;min-width:220px;max-width:360px}.toolbar{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-bottom:16px}.composer{border:1px solid #d8d2c6;border-radius:14px;overflow:hidden;background:#fff}.tb{display:flex;flex-wrap:wrap;align-items:center;gap:4px;padding:8px 10px;border-bottom:1px solid var(--line);background:#faf7f1}.tb-btn{min-width:32px;height:32px;border:1px solid transparent;border-radius:6px;background:transparent;color:#3f3b36;cursor:pointer;font:inherit;padding:0 8px}.tb-btn:hover{background:#ece7dc}.tb-btn.is-on{background:#d8efe0;border-color:#8ecaa4;color:#146c36}.tb-sep{width:1px;height:22px;margin:0 4px;background:#d1d5db}.tb-select{height:32px;border:1px solid #d1d5db;border-radius:6px;background:#fff;padding:0 8px;font-size:13px;color:#3f3b36;width:auto}.tb-color{position:relative;display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:6px;cursor:pointer}.tb-color input{position:absolute;inset:0;opacity:0;cursor:pointer}.tb-swatches{display:inline-flex;gap:3px}.swatch{width:14px;height:14px;border-radius:99px;border:1px solid rgba(0,0,0,.12);cursor:pointer;padding:0}.editor-surface .tiptap{min-height:320px;padding:16px 18px;outline:none}.editor-surface .tiptap p{margin:0 0 .75em}.editor-surface .tiptap img{max-width:100%;border-radius:10px}.editor-surface .tiptap p.is-editor-empty:first-child:before{color:#9ca3af;content:attr(data-placeholder);float:left;height:0;pointer-events:none}
