:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#292638;background:#f7f7fb;font-size:14px;--accent:#7655e8;--muted:#817c91;--line:#e9e6f0}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,select,textarea{outline-offset:4px}a{color:var(--accent);text-decoration:none}button{cursor:pointer;border:0;border-radius:9px;padding:11px 16px;background:var(--accent);color:#fff;font-weight:600;transition:.15s}button:hover{filter:brightness(.96);transform:translateY(-1px)}button:disabled{opacity:.45;cursor:not-allowed;transform:none}button.secondary{background:#fff;color:#4e4762;border:1px solid var(--line)}button.quiet{background:#f1edf9;color:#6b50b0}button.danger{background:#fff1f2;color:#b84356}button.small{padding:7px 11px;font-size:12px}.shell{display:grid;grid-template-columns:235px 1fr;min-height:100vh}.sidebar{background:#fff;border-right:1px solid var(--line);padding:29px 20px;display:flex;flex-direction:column;position:fixed;width:235px;height:100vh}.brand{font-size:20px;font-weight:750;letter-spacing:-.7px;display:flex;gap:10px;align-items:center}.brand span{background:#ede7ff;color:var(--accent);width:33px;height:33px;display:grid;place-items:center;border-radius:10px}.sidebar .subtitle{margin:8px 0 35px 43px;font-size:11px;color:var(--muted)}.nav-label{text-transform:uppercase;letter-spacing:1.5px;color:#aaa4b7;font-size:10px;font-weight:700;margin:15px 12px}.nav a{display:flex;gap:12px;align-items:center;color:#797184;padding:12px 13px;margin:4px 0;border-radius:9px;font-size:13px;font-weight:550}.nav a.active{color:var(--accent);background:#f1edfc}.nav .icon{width:19px;font-size:17px;text-align:center}.sidebar-bottom{margin-top:auto;color:var(--muted);font-size:12px}.review-lock{background:#f7f5fd;padding:14px;line-height:1.7;border-radius:10px;margin-bottom:22px}.review-lock strong{display:block;color:#655581;font-size:12px}.sidebar-bottom a{display:block;padding:10px}.main{grid-column:2;min-width:0}.topbar{height:83px;border-bottom:1px solid var(--line);background:#ffffffb8;display:flex;align-items:center;justify-content:space-between;padding:0 40px;gap:16px}.company-picker{display:flex;align-items:center;gap:13px}.avatar{height:36px;width:36px;border-radius:10px;background:#eee9fb;color:var(--accent);display:grid;place-items:center;font-weight:700;overflow:hidden}.avatar img{width:100%;height:100%;object-fit:cover}.company-picker select{border:0;background:transparent;font-weight:650;max-width:230px;padding:5px;color:#3f3751}.top-status{display:flex;gap:14px;align-items:center;font-size:11px;color:var(--muted)}.pill{display:inline-block;border-radius:20px;padding:5px 10px;background:#f0edf7;color:#7c6e93;font-size:10px;font-weight:650;letter-spacing:.2px;white-space:nowrap}.pill.approved{background:#e7f5ed;color:#31825a}.pill.scheduled{background:#e9efff;color:#4966b3}.pill.rejected,.pill.schedule_unknown{background:#fff0ef;color:#be6359}.dot{display:inline-block;width:6px;height:6px;background:#ab9cce;border-radius:50%;margin-right:5px}.dot.ready{background:#4eaf86}.content{padding:38px 40px 65px;max-width:1500px;margin:auto}.eyebrow{color:#9b8cb7;text-transform:uppercase;letter-spacing:1.6px;font-size:10px;font-weight:750;margin-bottom:9px}h1{font-size:30px;letter-spacing:-1px;font-weight:700;margin:0 0 10px}h2{font-size:17px;letter-spacing:-.35px;margin:0 0 7px}h3{font-size:14px;margin:0 0 7px}p{line-height:1.7;color:var(--muted);margin:5px 0 20px}.page-head{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:29px}.page-head p{margin:0}.card{border:1px solid var(--line);background:white;border-radius:14px;padding:24px;box-shadow:0 3px 10px #24144b02}.grid{display:grid;gap:20px}.grid.two{grid-template-columns:1fr 1fr}.grid.three{grid-template-columns:repeat(3,1fr)}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:17px;margin-bottom:28px}.stat{padding:21px 23px}.stat .label{color:var(--muted);font-size:12px}.stat .value{font-size:29px;letter-spacing:-1px;margin:9px 0 3px;font-weight:650}.stat .hint{font-size:11px;color:#aaa3b6}.empty{padding:55px 28px;text-align:center}.empty .orb{font-size:25px;background:#f0ebfc;color:var(--accent);display:grid;place-items:center;width:64px;height:64px;border-radius:20px;margin:0 auto 20px}.empty p{max-width:440px;margin:9px auto 23px}.empty h2{font-size:19px}.checklist{margin:20px 0 0}.step{display:flex;gap:14px;padding:16px 0;border-top:1px solid #f1eef6;align-items:center}.step-number{height:29px;width:29px;flex-shrink:0;border-radius:50%;background:#f3effb;display:grid;place-items:center;color:#977dbd;font-size:12px}.step .details{flex:1}.step .details p{font-size:12px;margin:3px 0 0}.step.done .step-number{background:#e6f5ed;color:#31825a}.activity{padding:14px 0;border-top:1px solid #f1eef6;font-size:12px}.activity small{display:block;color:#aaa3b6;margin-top:5px}.notice{background:#f1edf9;border:1px solid #e8e0f7;color:#786094;padding:14px 18px;border-radius:10px;line-height:1.7;font-size:12px;margin-bottom:24px}.notice.warning{background:#fff9ee;border-color:#f4e8cb;color:#9a7a35}.field{display:flex;flex-direction:column;gap:8px;margin-bottom:19px}.field label{font-size:12px;color:#5d546c;font-weight:650}.field small{color:#a49bab;line-height:1.5;font-size:11px}input,textarea,select{width:100%;border:1px solid #e3deed;border-radius:8px;background:#fff;color:#3d344c;padding:11px 12px}input:focus,textarea:focus,select:focus{border-color:#a991f5}textarea{resize:vertical;min-height:100px;line-height:1.7}.actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.row{display:flex;justify-content:space-between;gap:16px;align-items:center}.divider{height:1px;background:var(--line);margin:22px 0}.muted{color:var(--muted)}.small-text{font-size:12px}.company-card{min-height:205px;display:flex;flex-direction:column;align-items:flex-start}.company-card p{font-size:12px;margin:11px 0 20px}.company-card .actions{margin-top:auto}.company-card .avatar{margin-bottom:17px}.reference-text{white-space:pre-wrap;font-size:13px;line-height:1.8;color:#736b80;max-height:220px;overflow:auto;margin:16px 0}.reference-img{height:150px;width:100%;object-fit:cover;border-radius:8px;margin-top:12px}.source{padding:22px;margin-bottom:13px}.source p{font-size:12px;margin:6px 0 0}.preview{background:#f6f4fa;border-radius:12px;padding:18px}.preview img{max-height:360px;width:100%;object-fit:contain;border-radius:10px;background:white}.preview .caption{white-space:pre-wrap;line-height:1.8;font-size:13px;color:#60576d;padding:16px 3px;overflow-wrap:anywhere}.draft-card{margin-bottom:25px}.draft-card .grid{margin:22px 0}.filter-bar{display:flex;gap:7px;margin:0 0 23px;flex-wrap:wrap}.filter-bar button{background:white;color:#92869f;border:1px solid var(--line);font-size:12px;padding:8px 15px}.filter-bar button.active{background:#ece5fc;color:var(--accent);border-color:#e2d8f8}.schedule-list{width:100%;border-collapse:collapse}.schedule-list th{text-align:left;color:#a49aaf;text-transform:uppercase;font-size:10px;letter-spacing:1px;padding:12px}.schedule-list td{padding:18px 12px;border-top:1px solid var(--line);font-size:12px;line-height:1.6}.channel-check{display:flex;align-items:center;gap:10px;padding:14px;border:1px solid var(--line);border-radius:8px;margin:9px 0;font-size:12px}.channel-check input{width:auto}.loading{padding:80px;text-align:center;color:var(--muted)}#toast{position:fixed;bottom:25px;right:25px;padding:14px 20px;background:#382d4d;color:white;z-index:10000;border-radius:10px;box-shadow:0 4px 20px #0002;max-width:420px;display:none;font-size:13px;line-height:1.6}#toast.error{background:#a23f55}dialog{border:1px solid var(--line);border-radius:16px;max-width:530px;width:calc(100% - 30px);padding:30px;box-shadow:0 20px 100px #2a174b25}dialog::backdrop{background:#25203560;backdrop-filter:blur(3px)}dialog h2{font-size:22px;margin-bottom:12px}dialog .actions{justify-content:flex-end;margin-top:25px}.logo-box{display:flex;align-items:center;gap:20px}.logo-box .avatar{height:75px;width:75px;font-size:26px}.logo-box input{font-size:12px}.section-space{margin-top:24px}.caption-count{display:flex;justify-content:flex-end;font-size:11px;color:#a59aaf;margin:-12px 0 15px}.footer-note{font-size:11px;text-align:center;color:#b2a9bd;margin-top:32px}.hero{background:linear-gradient(120deg,#f1edfc,#fff 80%);padding:32px;border:1px solid #e6ddf6;border-radius:14px;margin-bottom:25px}.hero h2{font-size:23px;letter-spacing:-.7px}.hero p{max-width:680px;margin-bottom:0}.tag{font-size:10px;text-transform:uppercase;letter-spacing:.7px;color:#9b89b0}.busy-overlay{position:fixed;inset:0;z-index:20000;background:#ffffffb5;display:grid;place-items:center;backdrop-filter:blur(2px)}.busy-overlay div{background:#fff;border:1px solid var(--line);padding:25px 35px;border-radius:14px;box-shadow:0 10px 50px #25103c15;color:#7c64a2}.mobile-logo{display:none}@media(max-width:1100px){.stats{grid-template-columns:repeat(2,1fr)}.grid.three{grid-template-columns:repeat(2,1fr)}.topbar{padding:0 25px}.content{padding:28px 25px}.sidebar{width:205px}.shell{grid-template-columns:205px 1fr}.grid.two{grid-template-columns:1fr}.top-status>span:last-child{display:none}}@media(max-width:700px){.shell{display:block}.sidebar{position:static;width:100%;height:auto;padding:16px}.sidebar .brand{font-size:17px}.sidebar .subtitle,.nav-label,.sidebar-bottom{display:none}.nav{display:flex;overflow:auto;margin-top:13px}.nav a{white-space:nowrap;margin:0;padding:10px;font-size:11px}.nav .icon{display:none}.topbar{height:68px;padding:0 16px}.content{padding:25px 16px}.grid.three{grid-template-columns:1fr}.page-head{align-items:flex-start}h1{font-size:25px}.page-head p{font-size:12px}.top-status{display:none}.card{padding:19px}.hero{padding:24px}.schedule-list td,.schedule-list th{padding:12px 5px}.company-picker select{max-width:190px}.stats{gap:10px}.stat{padding:17px}.stat .value{font-size:25px}}
.research-provider{display:flex;flex-direction:column;gap:12px}.research-provider h2{font-size:22px;margin-top:10px}.research-provider p{flex:1}.research-provider>a{margin-top:7px}.provider-badge{width:46px;height:46px;border-radius:14px;display:grid;place-items:center;font-size:26px;font-weight:750}.provider-badge.telegram{background:#e7f5ff;color:#2697d1}.provider-badge.facebook{background:#e9efff;color:#3564d3}.research-error{color:#b16d52!important}.callback-url{display:block;overflow-wrap:anywhere;background:#f7f5fb;padding:13px;border-radius:8px;font-size:12px}.browse-list{max-height:370px;overflow:auto}.browse-row{display:flex;justify-content:space-between;gap:15px;align-items:center;padding:14px 0;border-top:1px solid var(--line)}.browse-row small{display:block;color:var(--muted);margin-top:5px;font-size:11px}
.sidebar{overflow-y:auto}.sidebar .nav{flex-shrink:0}.sidebar-bottom{padding-top:18px}.research-provider .actions{margin-top:auto}

.sidebar-toggle{flex-shrink:0;padding:9px 12px;font-size:19px}.topbar .company-picker{margin-right:auto}.shell.sidebar-hidden{grid-template-columns:0 1fr}.shell.sidebar-hidden .sidebar{display:none}.sidebar{scrollbar-width:none}.sidebar::-webkit-scrollbar{display:none}.settings-tabs{display:flex;gap:10px;margin-bottom:22px}.settings-tabs span{background:#eee9fa;padding:8px 14px;border-radius:8px;color:#786094;font-size:12px}.table-scroll{overflow-x:auto}.pill.published{background:#e7f5ed;color:#31825a}.pill.publish_unknown,.pill.publish_failed{background:#fff0ef;color:#be6359}.callback-url{display:block;overflow-wrap:anywhere}.service-settings .actions{margin-top:20px}@media(max-width:700px){.shell.sidebar-hidden .sidebar{display:none}.topbar{gap:8px}.company-picker{gap:7px}.company-picker select{max-width:150px}.sidebar-toggle{padding:7px 10px}}

html{scrollbar-width:none}html::-webkit-scrollbar,body::-webkit-scrollbar{display:none}.topbar{position:sticky;top:0;z-index:30;backdrop-filter:blur(12px)}#settings-ai,#settings-telegram,#settings-facebook{scroll-margin-top:105px}

.demo-notice{background:#fff7e6;border-color:#f0d69c;color:#826126}.demo-notice strong{letter-spacing:1px;font-size:11px}.button-link{display:inline-block;background:var(--accent);padding:12px 18px;color:white;border-radius:9px}
