:root{--bg:#f5f6f8;--surface:#fff;--text:#182331;--muted:#566475;--line:#dce2e9;--blue:#2457d6;--red:#ad2938;--green:#17634c;--radius:12px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--text);background:var(--bg);font-size:15px;line-height:1.5}*{box-sizing:border-box}body{margin:0}a{color:var(--blue)}button,input,select,textarea{font:inherit}button,a,input,select,textarea{ -webkit-tap-highlight-color:transparent}button{cursor:pointer;min-height:44px;border:1px solid var(--line);border-radius:8px;padding:9px 15px;background:var(--surface);color:var(--text);font-weight:550}button:hover{background:#f0f3f8}button:disabled{cursor:wait;opacity:.55}button.primary{background:var(--blue);border-color:var(--blue);color:white}button.primary:hover{background:#1947b9}button.danger-outline{color:var(--red);border-color:#e4c5c9}button.danger{color:white;background:var(--red);border-color:var(--red)}:focus-visible{outline:3px solid #7098ff;outline-offset:3px}input,select,textarea{width:100%;background:#fff;border:1px solid #b6c1ce;border-radius:8px;padding:10px 12px;color:var(--text);min-height:44px}textarea{resize:vertical;min-height:150px;line-height:1.6}input[type=checkbox]{width:20px;height:20px;min-height:20px;accent-color:var(--blue);flex:none}label{display:block;font-size:14px;font-weight:550;margin:0 0 7px}h1,h2,h3,p{margin:0}h1{font-size:30px;line-height:1.2;letter-spacing:-.7px;font-weight:650}h2{font-size:20px;line-height:1.35;letter-spacing:-.2px}h3{font-size:16px}small,.muted{color:var(--muted)}small{font-size:12px}.eyebrow{font-size:11px;font-weight:650;letter-spacing:1.5px;color:var(--muted);margin-bottom:12px}[hidden]{display:none!important}.skip{position:fixed;z-index:50;left:20px;top:-80px;background:white;padding:10px}.skip:focus{top:12px}.shell{display:grid;grid-template-columns:230px minmax(0,1fr);min-height:100vh}.sidebar{border-right:1px solid var(--line);background:var(--surface);padding:28px 18px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.brand{display:flex;align-items:center;gap:11px;color:var(--text);font-size:17px;font-weight:650;text-decoration:none;margin:0 8px 40px}.brand small{display:block;font-size:11px;font-weight:400;margin-top:2px}.brand-mark{display:inline-grid;place-items:center;width:38px;height:38px;border-radius:10px;background:var(--blue);color:white;font-size:25px;flex:none}.sidebar nav{display:grid;gap:5px}.sidebar nav a{display:flex;align-items:center;gap:12px;padding:11px 13px;text-decoration:none;color:var(--muted);border-radius:8px;min-height:46px}.sidebar nav a.active{color:var(--blue);background:#edf2ff;font-weight:600}.sidebar nav a:hover{background:#f2f5fa}.sidebar nav a span{font-size:21px;line-height:1;width:22px;text-align:center}.sidebar-foot{margin-top:auto;padding:30px 10px 0}.sidebar-foot p{font-size:12px;line-height:1.6;color:var(--muted);margin:15px 0}.text-button{border:0;background:none;color:var(--muted);padding:7px 0;font-size:13px;font-weight:400}.workspace{min-width:0}.topbar{height:77px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 36px;background:#fff}.topbar>span{color:var(--muted);font-size:13px}.banner{padding:12px 36px;background:#eaf1ff;color:#244e9d;font-size:13px;border-bottom:1px solid #d4e1fb}.banner.warning{background:#fff0d9;color:#79520c}main{max-width:1500px;margin:auto;padding:36px;outline:none}.page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:28px}.page-head p{color:var(--muted);margin-top:10px;max-width:650px}.page-head>button{flex:none}.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:28px}.stat{border:1px solid var(--line);border-radius:var(--radius);background:white;padding:19px 22px}.stat p{font-size:13px;color:var(--muted)}.stat strong{font-size:29px;letter-spacing:-.7px;display:block;margin-top:6px;font-weight:600}.section-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px;gap:15px}.section-top p{font-size:13px;color:var(--muted)}.stack{display:grid;gap:16px}.campaign{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.campaign-head{padding:22px 24px;display:flex;justify-content:space-between;gap:18px;align-items:flex-start}.campaign-title{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:7px}.campaign-meta{color:var(--muted);font-size:13px;display:flex;gap:7px 18px;flex-wrap:wrap}.actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.actions button{min-height:40px;padding:7px 12px;font-size:13px}.badge{display:inline-flex;align-items:center;gap:6px;border-radius:5px;padding:4px 8px;background:#edf0f5;font-size:11px;font-weight:550;color:#526071;line-height:1.4}.badge.green{background:#e6f4ec;color:#17634c}.badge.blue{background:#edf2ff;color:#2457d6}.badge.red{background:#fbe9ec;color:var(--red)}.badge.amber{background:#fff0d9;color:#79520c}.target-list{padding:0 24px 14px}.target-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(150px,auto);gap:20px;border-top:1px solid #edf0f4;padding:11px 0;font-size:13px}.target-row>span{overflow-wrap:anywhere}.target-row time{color:var(--muted);text-align:right;font-variant-numeric:tabular-nums}.target-error{color:var(--red);grid-column:1/-1;font-size:12px;margin-top:-14px}.empty{border:1px dashed #c3cdd9;border-radius:var(--radius);background:#fff;padding:52px 28px;text-align:center}.empty .empty-icon{width:54px;height:54px;display:grid;place-items:center;background:#edf2ff;color:var(--blue);font-size:27px;border-radius:15px;margin:0 auto 20px}.empty h2{margin-bottom:9px}.empty p{max-width:470px;color:var(--muted);margin:auto auto 23px}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.card{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:22px;min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:14px}.card p{font-size:14px;white-space:pre-wrap;overflow-wrap:anywhere;max-width:100%}.post-images{display:flex;gap:6px;overflow:hidden;width:100%;border-radius:8px}.post-images img{width:100%;max-width:100%;height:170px;object-fit:cover;min-width:0}.post-images img+img{width:33%}.card>.actions{margin-top:auto}.avatar{width:42px;height:42px;border-radius:50%;background:#eaf0fc;color:var(--blue);font-size:18px;font-weight:600;display:grid;place-items:center}.info{padding:16px 19px;border:1px solid var(--line);background:white;border-radius:10px;color:var(--muted);font-size:13px;margin-bottom:24px}.table-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:12px;background:white}table{border-collapse:collapse;width:100%;font-size:13px;text-align:left}th{font-size:11px;letter-spacing:.4px;color:var(--muted);font-weight:550;background:#fafbfc}th,td{padding:14px 18px;border-bottom:1px solid #edf0f4;vertical-align:top}td{min-width:110px}tr:last-child td{border-bottom:0}td small{display:block;max-width:280px;margin-top:4px;color:var(--red)}.loading{color:var(--muted);padding:40px 0}.login-screen{min-height:100vh;display:grid;place-items:center;padding:24px;background:#f5f6f8}.login-card{width:100%;max-width:430px;border:1px solid var(--line);border-radius:16px;padding:38px;background:#fff}.login-card>.brand-mark{margin-bottom:30px}.login-card h1{font-size:30px;margin-bottom:12px}.login-card label{margin-top:30px}.login-card .primary{width:100%;display:flex;justify-content:space-between;margin-top:18px}.error{color:var(--red);font-size:13px;white-space:pre-wrap}.login-card .error{margin-top:12px}.dialog-head{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:22px 25px;border-bottom:1px solid var(--line);position:sticky;top:0;background:#fff;z-index:1}dialog{border:1px solid var(--line);border-radius:14px;padding:0;max-width:720px;width:calc(100% - 32px);max-height:90vh;color:var(--text)}dialog::backdrop{background:#15233d73;backdrop-filter:blur(2px)}.icon-button{border:0;padding:0;width:44px;font-size:26px;font-weight:400;min-height:44px}.editor-form{padding:24px 25px}.field{margin-bottom:20px}.hint{font-size:12px;color:var(--muted);display:block;margin-top:7px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.form-footer{display:flex;align-items:center;justify-content:flex-end;gap:10px;border-top:1px solid var(--line);padding-top:20px;margin-top:24px}.check{display:flex;gap:10px;align-items:flex-start;font-weight:400;font-size:14px;cursor:pointer;padding:10px 0;margin:0}.check input{margin-top:1px}.checks{border:1px solid var(--line);border-radius:8px;padding:8px 14px;max-height:230px;overflow:auto}.check small{display:block;margin-top:3px}.upload-preview{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}.upload-item{position:relative}.upload-item img{width:82px;height:82px;object-fit:cover;border-radius:7px}.upload-item button{position:absolute;right:-7px;top:-7px;background:white;border:1px solid var(--line);width:25px;min-height:25px;border-radius:50%;padding:0;font-size:18px;line-height:20px}.qr-box{text-align:center}.qr-box img{width:240px;height:240px;max-width:100%;background:white}.qr-box p{max-width:400px;margin:12px auto;color:var(--muted)}.toast{position:fixed;right:24px;bottom:24px;z-index:100;max-width:min(440px,calc(100vw - 48px));padding:14px 20px;background:#182331;color:white;border-radius:10px;box-shadow:0 6px 25px #1427422b;white-space:pre-wrap;font-size:14px}.toast.error-toast{background:#8f2736}.inline-error{margin:0 0 18px}.count{font-variant-numeric:tabular-nums}.card h2,.campaign h2{overflow-wrap:anywhere}.preview-message{padding:18px;background:#edf2ff;border-radius:10px;white-space:pre-wrap;overflow-wrap:anywhere}.preview-message:empty{display:none}@media(min-width:1600px){main{padding:44px 48px}}@media(max-width:1150px){.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.shell{grid-template-columns:200px minmax(0,1fr)}main{padding:28px 24px}.topbar{padding:0 24px}.campaign-head{padding:18px}.target-list{padding:0 18px 10px}.campaign-head{flex-wrap:wrap}.campaign-head>.actions{width:100%;justify-content:flex-end}}@media(max-width:760px){.shell{grid-template-columns:1fr}.sidebar{position:static;height:auto;padding:15px 16px 0;border-right:0;border-bottom:1px solid var(--line)}.brand{margin:0 0 17px;font-size:16px}.brand small{display:none}.brand-mark{width:33px;height:33px;font-size:23px}.sidebar nav{display:flex;overflow-x:auto;gap:3px;padding-bottom:10px}.sidebar nav a{padding:9px 11px;white-space:nowrap;font-size:12px;gap:6px;min-height:44px}.sidebar nav a span{font-size:18px;width:17px}.sidebar-foot{display:none}.topbar{height:66px;padding:0 20px;gap:10px}.topbar>span{font-size:12px}.topbar button{font-size:12px;padding:9px 11px}.banner{padding:10px 20px;font-size:12px}main{padding:26px 20px}.page-head{gap:15px;flex-wrap:wrap;margin-bottom:23px}.page-head h1{font-size:27px}.page-head p{font-size:14px}.page-head>button{width:100%}.stats{gap:8px;margin-bottom:25px}.stat{padding:13px 10px}.stat p{font-size:11px;line-height:1.4;min-height:30px}.stat strong{font-size:25px;margin-top:5px}.cards{grid-template-columns:1fr}.target-row{grid-template-columns:minmax(0,1fr) 130px;gap:10px;font-size:12px}.campaign-head{padding:17px}.target-list{padding:0 17px 10px}.campaign-meta{font-size:12px}.campaign-title h2{font-size:18px}.section-top h2{font-size:18px}.section-top p{font-size:11px}.form-grid{grid-template-columns:1fr;gap:0}.dialog-head{padding:14px 17px}.editor-form{padding:20px 17px}.empty{padding:35px 20px}.empty h2{font-size:19px}.login-card{padding:28px 23px}.login-card h1{font-size:27px}.form-footer{flex-wrap:wrap}.form-footer button{flex:1;min-width:100px}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

.day-checks{display:flex;flex-wrap:wrap;gap:4px 20px}.day-checks label{min-height:44px;align-items:center}

.sidebar{min-width:0}@media(max-width:760px){.shell{grid-template-columns:minmax(0,1fr)}.sidebar nav{min-width:0;max-width:100%}.page-head>div{min-width:0}.section-top{align-items:flex-start}.section-top>p{text-align:right;max-width:50%}}

@media(min-width:761px) and (max-width:1000px){.page-head{flex-wrap:wrap}.page-head>div{width:100%}}@media(max-width:760px){.sidebar{position:relative}.sidebar-foot{display:block;position:absolute;right:16px;top:10px;padding:0;margin:0}.sidebar-foot>.badge,.sidebar-foot>p{display:none}.sidebar-foot button{font-size:12px;min-height:44px}}
