:root{--bg: #0c0e0b;--surface: #141813;--surface-2: #1b2119;--border: #2a3326;--text: #e8efe4;--muted: #8a9684;--accent: #92dc5a;--accent-ink: #102006;--danger: #f07178;--warn: #e6c07b;--shadow: 0 18px 50px rgba(0, 0, 0, .35);font-family:IBM Plex Sans,ui-sans-serif,system-ui,sans-serif;color:var(--text);background:var(--bg);line-height:1.45;font-size:15px}*,*:before,*:after{box-sizing:border-box}html,body,#root{min-height:100%;margin:0}a{color:inherit}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer}.mono{font-family:IBM Plex Mono,ui-monospace,SFMono-Regular,Menlo,monospace}.app-shell{display:grid;grid-template-columns:220px 1fr;min-height:100vh}.sidebar{border-right:1px solid var(--border);background:var(--surface);padding:22px 16px;display:flex;flex-direction:column;gap:24px}.brand{font-weight:700;letter-spacing:.04em;text-transform:uppercase;font-size:.78rem}.brand span{color:var(--accent)}.nav{display:flex;flex-direction:column;gap:4px}.nav a{text-decoration:none;padding:8px 10px;border-radius:8px;color:var(--muted)}.nav a.active,.nav a:hover{background:var(--surface-2);color:var(--text)}.main{display:flex;flex-direction:column;min-width:0}.topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 28px;border-bottom:1px solid var(--border)}.topbar-user{color:var(--muted);font-size:.9rem}.page{padding:28px;display:flex;flex-direction:column;gap:20px}.page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;flex-wrap:wrap}h1{font-size:1.45rem;margin:0;font-weight:600}h2{font-size:1.05rem;margin:0 0 8px;font-weight:600}p{margin:0}.muted{color:var(--muted)}.row{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.btn{border:1px solid var(--border);background:var(--surface-2);border-radius:8px;padding:8px 12px}.btn:hover{border-color:#3d4a38}.btn-primary{background:var(--accent);color:var(--accent-ink);border-color:transparent;font-weight:600}.btn-danger{color:var(--danger);border-color:color-mix(in srgb,var(--danger) 40%,var(--border))}.btn:disabled{opacity:.55;cursor:not-allowed}.field{display:flex;flex-direction:column;gap:6px;min-width:0}.field label{font-size:.78rem;color:var(--muted);font-weight:500}input,select,textarea{background:var(--bg);border:1px solid var(--border);border-radius:8px;padding:9px 10px}textarea{min-height:88px;resize:vertical;line-height:1.5}textarea.tall{min-height:200px}textarea.json{min-height:320px}.fields-root,.field-group,.repeat-list{display:flex;flex-direction:column;gap:12px}.field-group{padding:12px 0 4px 12px;border-left:2px solid var(--border)}.repeat-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.repeat-card{border:1px solid var(--border);border-radius:10px;padding:12px;background:var(--surface-2);display:flex;flex-direction:column;gap:10px}.repeat-row{display:flex;gap:8px;align-items:center}.repeat-row input{flex:1}.check-row{display:flex;align-items:center;gap:8px;font-size:.92rem}.check-row input{accent-color:var(--accent)}.blog-editor{display:flex;flex-direction:column}.editor-toolbar{display:flex;flex-wrap:wrap;gap:6px;padding:8px;border:1px solid var(--border);border-bottom:0;border-radius:10px 10px 0 0;background:var(--surface-2)}.editor-toolbar .btn.active{background:var(--accent);color:var(--accent-ink);border-color:transparent}.blog-editor-surface .tiptap,.blog-editor-surface .ProseMirror{min-height:380px;padding:16px 18px 28px;background:var(--bg);border:1px solid var(--border);border-radius:0 0 10px 10px;outline:none}.blog-editor-surface .tiptap p.is-editor-empty:first-child:before,.blog-editor-surface .ProseMirror p.is-editor-empty:first-child:before{color:var(--muted);content:attr(data-placeholder);float:left;height:0;pointer-events:none}.blog-editor-surface h2{font-size:1.35rem;margin:1.2em 0 .4em}.blog-editor-surface h3{font-size:1.12rem;margin:1em 0 .35em}.blog-editor-surface p{margin:0 0 .85em}.blog-editor-surface ul,.blog-editor-surface ol{margin:0 0 .85em;padding-inline-start:1.3em}.blog-editor-surface blockquote{margin:0 0 .85em;padding:10px 14px;border-left:3px solid var(--accent);background:var(--surface-2);border-radius:0 8px 8px 0}.blog-editor-surface pre{margin:0 0 .85em;padding:12px;border-radius:8px;background:#0a0c09;overflow:auto}.blog-editor-surface img{max-width:100%;border-radius:8px;cursor:pointer}.blog-editor-surface .ProseMirror-selectednode img,.blog-editor-surface img.ProseMirror-selectednode{outline:2px solid var(--accent);outline-offset:3px}.blog-editor-surface a{color:var(--accent)}.table-wrap{border:1px solid var(--border);border-radius:12px;overflow:auto;background:var(--surface)}table{width:100%;border-collapse:collapse}th,td{text-align:left;padding:11px 14px;border-bottom:1px solid var(--border);vertical-align:top}th{font-size:.75rem;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);font-weight:600}tr:last-child td{border-bottom:0}.badge{display:inline-block;padding:2px 8px;border-radius:999px;font-size:.75rem;font-weight:600;background:var(--surface-2);border:1px solid var(--border)}.badge.published{color:var(--accent);border-color:color-mix(in srgb,var(--accent) 35%,var(--border))}.badge.draft{color:var(--warn)}.badge.archived,.badge.rejected,.badge.lost,.badge.unqualified{color:var(--danger)}.card{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:18px;display:flex;flex-direction:column;gap:14px}.flash{padding:10px 12px;border-radius:8px;background:var(--surface-2);border:1px solid var(--border)}.flash.error{color:var(--danger);border-color:color-mix(in srgb,var(--danger) 40%,var(--border))}.login-wrap{min-height:100vh;display:grid;place-items:center;padding:24px}.login-card{width:min(420px,100%);background:var(--surface);border:1px solid var(--border);border-radius:16px;padding:28px;box-shadow:var(--shadow);display:flex;flex-direction:column;gap:16px}.dl{display:grid;grid-template-columns:160px 1fr;gap:8px 16px}.dl dt{color:var(--muted);font-size:.85rem}.dl dd{margin:0;overflow-wrap:anywhere}.loading,.empty{color:var(--muted);padding:28px 0}@media(max-width:800px){.app-shell{grid-template-columns:1fr}.sidebar{border-right:0;border-bottom:1px solid var(--border)}.dl{grid-template-columns:1fr}}
