:root{--bg: #f5f6f8;--surface: #ffffff;--surface-2: #f8fafc;--surface-hover: #f1f5f9;--border: #e6e8ec;--border-strong: #d5d9e0;--text: #0f172a;--text-2: #334155;--muted: #64748b;--faint: #94a3b8;--primary: #4f46e5;--primary-hover: #4338ca;--primary-contrast: #ffffff;--primary-soft: #eef2ff;--primary-ring: rgba(79, 70, 229, .35);--accent: #d97706;--green: #16a34a;--green-soft: #dcfce7;--green-text: #166534;--red: #dc2626;--red-soft: #fee2e2;--red-text: #991b1b;--amber: #b45309;--amber-soft: #fef3c7;--amber-text: #92400e;--blue: #2563eb;--blue-soft: #dbeafe;--blue-text: #1e40af;--indigo-soft: #e0e7ff;--indigo-text: #3730a3;--shadow-sm: 0 1px 2px rgba(15, 23, 42, .06);--shadow-md: 0 2px 8px rgba(15, 23, 42, .08), 0 1px 2px rgba(15, 23, 42, .04);--shadow-lg: 0 12px 32px rgba(15, 23, 42, .14), 0 2px 6px rgba(15, 23, 42, .06);--radius: 10px;--radius-lg: 14px;--radius-sm: 7px;--sidebar-w: 248px;--topbar-h: 60px;--font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;--mono: ui-monospace, "SF Mono", "JetBrains Mono", "Fira Code", monospace;color-scheme:light}@media (prefers-color-scheme: dark){:root:not([data-theme=light]){color-scheme:dark;--bg: #0a0d13;--surface: #12161f;--surface-2: #161b26;--surface-hover: #1b2130;--border: #232a37;--border-strong: #313a4b;--text: #e7eaf0;--text-2: #c2c8d4;--muted: #8b93a7;--faint: #5b6478;--primary: #6366f1;--primary-hover: #7c7ff2;--primary-soft: #1e213a;--primary-ring: rgba(99,102,241,.4);--green-soft: #0e2a1a;--green-text: #6ee7a8;--red-soft: #2c1416;--red-text: #ff9d9d;--amber-soft: #2c2410;--amber-text: #f5cf6b;--blue-soft: #12203c;--blue-text: #8fb6ff;--indigo-soft: #1e213a;--indigo-text: #b3b7f5;--shadow-sm: 0 1px 2px rgba(0,0,0,.4);--shadow-md: 0 2px 10px rgba(0,0,0,.5);--shadow-lg: 0 14px 40px rgba(0,0,0,.6)}}:root[data-theme=dark]{color-scheme:dark;--bg: #0a0d13;--surface: #12161f;--surface-2: #161b26;--surface-hover: #1b2130;--border: #232a37;--border-strong: #313a4b;--text: #e7eaf0;--text-2: #c2c8d4;--muted: #8b93a7;--faint: #5b6478;--primary: #6366f1;--primary-hover: #7c7ff2;--primary-soft: #1e213a;--primary-ring: rgba(99,102,241,.4);--green-soft: #0e2a1a;--green-text: #6ee7a8;--red-soft: #2c1416;--red-text: #ff9d9d;--amber-soft: #2c2410;--amber-text: #f5cf6b;--blue-soft: #12203c;--blue-text: #8fb6ff;--indigo-soft: #1e213a;--indigo-text: #b3b7f5;--shadow-sm: 0 1px 2px rgba(0,0,0,.4);--shadow-md: 0 2px 10px rgba(0,0,0,.5);--shadow-lg: 0 14px 40px rgba(0,0,0,.6)}*{box-sizing:border-box}html,body{margin:0;height:100%}body{font-family:var(--font);background:var(--bg);color:var(--text);font-size:14px;line-height:1.55;-webkit-font-smoothing:antialiased}a{color:var(--primary);text-decoration:none}a:hover{text-decoration:underline}::selection{background:var(--primary-soft)}h1{font-size:22px;font-weight:700;letter-spacing:-.01em;margin:0 0 4px}h2{font-size:16px;font-weight:650;letter-spacing:-.005em;margin:0 0 10px}h3{font-size:14px;font-weight:600;margin:0 0 8px}p{margin:0 0 10px}.muted{color:var(--muted);font-size:13px}code,.mono,.tabnum{font-variant-numeric:tabular-nums}.app{display:grid;grid-template-columns:var(--sidebar-w) 1fr;min-height:100vh}.sidebar{background:var(--surface);border-right:1px solid var(--border);padding:16px 12px;display:flex;flex-direction:column;gap:2px;position:sticky;top:0;height:100vh;overflow-y:auto}.brand{display:flex;align-items:center;gap:10px;font-weight:750;font-size:16px;letter-spacing:-.01em;padding:6px 8px 14px}.brand .logo{width:30px;height:30px;border-radius:9px;flex:none;background:linear-gradient(135deg,var(--primary),#7c3aed);display:grid;place-items:center;color:#fff;font-weight:800;font-size:15px;box-shadow:var(--shadow-sm)}.nav-group{margin-top:12px}.nav-group>.nav-label{font-size:11px;font-weight:650;letter-spacing:.06em;text-transform:uppercase;color:var(--faint);padding:0 10px 6px}.nav-item{display:flex;align-items:center;gap:10px;width:100%;padding:8px 10px;border-radius:var(--radius-sm);cursor:pointer;color:var(--text-2);font-weight:550;font-size:13.5px;border:none;background:none;text-align:left;transition:background .15s ease,color .15s ease}.nav-item:hover{background:var(--surface-hover);color:var(--text)}.nav-item.active{background:var(--primary-soft);color:var(--primary);font-weight:650}.nav-item .ico{width:18px;height:18px;flex:none;opacity:.9}.nav-item.active .ico{opacity:1}.sidebar-foot{margin-top:auto;padding-top:12px}.content{display:flex;flex-direction:column;min-width:0}.topbar{height:var(--topbar-h);flex:none;display:flex;align-items:center;gap:14px;padding:0 24px;border-bottom:1px solid var(--border);background:color-mix(in srgb,var(--surface) 82%,transparent);-webkit-backdrop-filter:saturate(1.1) blur(8px);backdrop-filter:saturate(1.1) blur(8px);position:sticky;top:0;z-index:20}.topbar .title{font-weight:650;font-size:15px}.topbar .spacer{flex:1}.topbar .tools{display:flex;align-items:center;gap:8px}.main{padding:24px;max-width:1240px;width:100%}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);padding:18px;margin-bottom:16px;box-shadow:var(--shadow-sm)}.card:hover{box-shadow:var(--shadow-md)}.row{display:flex;gap:16px;flex-wrap:wrap}.btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;background:var(--primary);color:var(--primary-contrast);border:1px solid transparent;padding:8px 15px;border-radius:var(--radius-sm);cursor:pointer;font-family:inherit;font-weight:600;font-size:13.5px;line-height:1;transition:background .15s ease,box-shadow .15s ease,transform .05s ease}.btn:hover{background:var(--primary-hover)}.btn:active{transform:translateY(1px)}.btn:focus-visible{outline:none;box-shadow:0 0 0 3px var(--primary-ring)}.btn.secondary{background:var(--surface);color:var(--text);border-color:var(--border-strong)}.btn.secondary:hover{background:var(--surface-hover)}.btn.danger{background:var(--red)}.btn.danger:hover{filter:brightness(.94)}.btn.green{background:var(--green)}.btn.green:hover{filter:brightness(.94)}.btn.ghost{background:transparent;color:var(--text-2);border-color:transparent}.btn.ghost:hover{background:var(--surface-hover);color:var(--text)}.btn:disabled{opacity:.5;cursor:not-allowed}.btn.sm{padding:6px 10px;font-size:12.5px}.icon-btn{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:var(--radius-sm);border:1px solid var(--border);background:var(--surface);color:var(--text-2);cursor:pointer;transition:background .15s,color .15s}.icon-btn:hover{background:var(--surface-hover);color:var(--text)}input,select,textarea{width:100%;padding:9px 11px;border:1px solid var(--border-strong);border-radius:var(--radius-sm);font-size:13.5px;font-family:inherit;background:var(--surface);color:var(--text);transition:border-color .15s,box-shadow .15s}input:focus,select:focus,textarea:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-ring)}input::placeholder,textarea::placeholder{color:var(--faint)}label{font-size:12.5px;font-weight:600;color:var(--muted);display:block;margin:12px 0 5px}select.compact{width:auto;min-width:170px;padding:7px 30px 7px 11px;font-weight:550}table{width:100%;border-collapse:collapse;font-size:13.5px}thead th{text-align:left;font-weight:600;font-size:12px;color:var(--muted);text-transform:uppercase;letter-spacing:.04em;padding:8px 10px;border-bottom:1px solid var(--border)}tbody td{padding:10px;border-bottom:1px solid var(--border)}tbody tr:hover td{background:var(--surface-2)}td.num,th.num{text-align:right;font-variant-numeric:tabular-nums}.tag{display:inline-flex;align-items:center;gap:5px;padding:3px 9px;border-radius:999px;font-size:11.5px;font-weight:600;line-height:1.4}.tag.draft{background:var(--surface-hover);color:var(--muted)}.tag.scheduled{background:var(--amber-soft);color:var(--amber-text)}.tag.published{background:var(--green-soft);color:var(--green-text)}.tag.failed{background:var(--red-soft);color:var(--red-text)}.tag.publishing{background:var(--blue-soft);color:var(--blue-text)}.tag.approved{background:var(--indigo-soft);color:var(--indigo-text)}.tag.cancelled{background:var(--surface-hover);color:var(--faint)}.pill{display:inline-flex;align-items:center;gap:6px;padding:4px 9px;border-radius:999px;font-size:12px;font-weight:600;background:var(--surface-2);border:1px solid var(--border);color:var(--muted)}.pill .dot{width:7px;height:7px;border-radius:50%;background:var(--faint)}.pill.on{color:var(--green-text);background:var(--green-soft);border-color:transparent}.pill.on .dot{background:var(--green);box-shadow:0 0 0 3px color-mix(in srgb,var(--green) 25%,transparent)}.flag{font-size:11px;padding:2px 8px;border-radius:999px;font-weight:700;background:var(--red-soft);color:var(--red-text)}.flag.on{background:var(--green-soft);color:var(--green-text)}.platforms{display:flex;gap:8px;flex-wrap:wrap;margin:8px 0}.chip{padding:6px 12px;border:1px solid var(--border-strong);border-radius:999px;cursor:pointer;font-size:12.5px;font-weight:600;-webkit-user-select:none;user-select:none;background:var(--surface);color:var(--text-2);transition:all .15s}.chip:hover{border-color:var(--primary);color:var(--text)}.chip.on{background:var(--primary);color:#fff;border-color:var(--primary)}.post-grid{display:grid;grid-template-columns:200px 1fr;gap:18px}.post-img{width:200px;border-radius:var(--radius);border:1px solid var(--border)}.login-wrap{display:grid;place-items:center;min-height:100vh;padding:20px;background:radial-gradient(1200px 500px at 50% -10%,color-mix(in srgb,var(--primary) 14%,transparent),transparent),var(--bg)}.login-card{width:360px;box-shadow:var(--shadow-lg);padding:26px}.login-card .brand{justify-content:center;padding-bottom:18px}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-thumb{background:var(--border-strong);border-radius:10px;border:2px solid var(--surface)}::-webkit-scrollbar-thumb:hover{background:var(--faint)}@media (max-width: 820px){.app{grid-template-columns:1fr}.sidebar{position:static;height:auto;flex-direction:row;flex-wrap:wrap;align-items:center;gap:4px;overflow-x:auto}.nav-group{margin-top:0;display:flex;align-items:center}.nav-group>.nav-label{display:none}.sidebar-foot{margin:0;padding:0}.post-grid{grid-template-columns:1fr}.post-img{width:100%}}@media (prefers-reduced-motion: reduce){*{transition:none!important;animation:none!important}}
