:root{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI','Microsoft YaHei',sans-serif;font-synthesis:none;color:#1d1d1f;background:#f5f5f7;font-size:14px;--blue:#007aff;--line:#e5e5e9;--muted:#86868b}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button{cursor:pointer}button:disabled{opacity:.42;cursor:default}a{color:var(--blue);text-decoration:none}button{border:0;background:none;color:inherit}input,select,textarea{width:100%;padding:10px 12px;border:1px solid #d5d5da;border-radius:8px;background:#fff;color:#1d1d1f;min-height:40px}textarea{resize:vertical;line-height:1.5}label{display:block;font-size:12px;font-weight:550;margin-bottom:16px}label input,label select,label textarea{margin-top:7px}h1{font-size:29px;letter-spacing:-1px;line-height:1.18;margin:0 0 10px;font-weight:650}h2{font-size:17px;margin:0;font-weight:600}h3{font-size:14px;margin:0 0 6px}p{line-height:1.6}small,.help{font-size:12px;line-height:1.6;color:var(--muted)}.primary,.secondary,.danger{min-height:38px;border-radius:8px;padding:9px 15px;font-weight:550;font-size:13px;display:inline-flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap}.primary{background:var(--blue);color:white}.secondary{background:#fff;border:1px solid #d5d5da;color:#1d1d1f}.danger{background:#fff0ef;color:#cf2b24}.plain{padding:5px;color:var(--blue)}[hidden]{display:none!important}.sidebar{position:fixed;inset:0 auto 0 0;width:228px;background:#fafafa;border-right:1px solid var(--line);display:flex;flex-direction:column;padding:28px 18px;z-index:20}.wordmark{color:#1d1d1f;font-size:22px;letter-spacing:-1px;font-weight:750;padding:0 10px}.wordmark span{display:block;font-size:11px;letter-spacing:.03em;color:var(--muted);font-weight:400;margin-top:5px}.org-name{font-size:12px;padding:28px 10px 13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted)}nav{display:grid;gap:4px}nav button{padding:11px 12px;text-align:left;border-radius:8px;color:#535359;font-size:13px}nav button.active{background:#e7eef9;color:#0062cf;font-weight:600}nav button span{float:right;color:var(--muted);font-size:11px}.sidebar-foot{margin-top:auto;border-top:1px solid var(--line);padding:18px 10px 0;display:flex;flex-direction:column;align-items:flex-start;gap:13px;font-size:11px}.sidebar-foot span{color:var(--muted)}.app-main{margin-left:228px}.topbar{height:64px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:0 40px;background:#ffffffb8;font-size:12px;color:#5f5f65}.topbar-right{color:var(--muted);display:flex;align-items:center;gap:10px}.tiny-dot{width:6px;height:6px;background:#30b569;border-radius:50%}#mobile-menu{display:none}main{padding:38px 40px 72px;max-width:1600px;margin:auto}.page-head{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:30px}.page-head p{margin:0;color:var(--muted);font-size:13px}.page-actions{display:flex;gap:8px;flex-wrap:wrap}.surface{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden;margin-bottom:24px}.surface-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:21px 24px;border-bottom:1px solid #f0f0f2}.surface-head p{margin:5px 0 0;font-size:12px;color:var(--muted)}.stats{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--line);background:white;border-radius:12px;margin-bottom:28px;overflow:hidden}.stat{padding:23px 25px;border-right:1px solid var(--line)}.stat:last-child{border:0}.stat small{display:block}.stat strong{font-size:31px;letter-spacing:-1px;display:block;margin-top:8px;font-weight:550}.stat span{font-size:11px;color:var(--muted);margin-top:5px;display:block}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;white-space:nowrap;font-size:12px;text-align:left}th{font-size:11px;font-weight:500;color:#86868b;background:#fcfcfd}th,td{padding:14px 24px;border-bottom:1px solid #f1f1f3}tr:last-child td{border-bottom:0}td strong{display:block;font-weight:550;max-width:330px;white-space:normal;line-height:1.5}td small{display:block;margin-top:4px;font-size:10px}td .plain{font-size:12px}.badge{display:inline-flex;align-items:center;gap:5px;padding:4px 8px;border-radius:5px;background:#f2f2f4;font-size:10px;color:#75757b}.badge.online{background:#eaf7ef;color:#21814a}.badge.pending{background:#fff5dd;color:#9e6f12}.badge.failed{background:#fff0ef;color:#c63830}.badge.blue{background:#e8f1ff;color:#006bdc}.empty{padding:48px 24px;text-align:center;color:var(--muted);font-size:13px;line-height:1.8}.empty strong{display:block;color:#54545a;font-weight:550;margin-bottom:5px}.templates{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:0 0 32px}.template-tile{text-align:left;border:1px solid var(--line);border-radius:10px;background:white;overflow:hidden;padding:0}.template-art{height:100px;padding:18px 20px;color:white;position:relative;overflow:hidden}.template-art span{font-size:30px;font-weight:650;letter-spacing:-2px;line-height:1}.template-art:after{content:'';position:absolute;right:-20px;bottom:-35px;width:120px;height:120px;border:1px solid #ffffff55;border-radius:50%;box-shadow:0 0 0 18px #ffffff0c,0 0 0 36px #ffffff08}.template-label{padding:13px 15px}.template-label strong{font-size:12px;display:block}.template-label small{font-size:10px;display:block;margin-top:5px}.section-label{font-size:12px;color:#86868b;margin:0 0 14px}.split-panels{display:grid;grid-template-columns:1fr 1fr;gap:24px}.setting-row{padding:18px 24px;border-bottom:1px solid #f0f0f2;display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:12px}.setting-row:last-child{border:0}.setting-row strong{display:block;font-weight:550}.setting-row p{font-size:11px;color:var(--muted);margin:5px 0 0}.file-upload{position:relative;overflow:hidden}.file-upload input{position:absolute;inset:0;opacity:0;cursor:pointer}.error{color:#c63830;font-size:12px;line-height:1.6;background:#fff0ef;padding:12px;border-radius:8px}#toast{position:sticky;top:15px;z-index:15;padding:13px 17px;background:#e8f1ff;color:#0756a7;font-size:12px;border:1px solid #cee0fa;border-radius:9px;margin-bottom:22px;box-shadow:0 3px 12px #00000005}#toast.error{background:#fff0ef;color:#b72b24;border-color:#f2c9c4}dialog{width:min(500px,calc(100% - 32px));border:1px solid var(--line);border-radius:16px;padding:24px;box-shadow:0 25px 100px #0003;max-height:90vh;overflow:auto}dialog::backdrop{background:#11121455;backdrop-filter:blur(5px)}.dialog-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.dialog-header .plain{font-size:24px;color:var(--muted);line-height:1}.editor-dialog{width:min(920px,calc(100% - 32px))}.editor-layout{display:grid;grid-template-columns:1fr 320px;gap:40px}.editor-preview-wrap{position:sticky;top:0;align-self:start;text-align:center}.editor-preview-wrap>p{font-size:11px;color:var(--muted)}.editor-preview{aspect-ratio:9/16;background:#eef0f2;overflow:hidden;border:1px solid #ddd;border-radius:4px}.form-columns{display:grid;grid-template-columns:1fr 1fr;gap:16px}input[type=color]{padding:4px;height:40px}.check-row{display:flex;align-items:center;gap:10px;font-size:12px;font-weight:400;margin:0;padding:10px 0}.check-row input{width:16px;height:16px;min-height:0;margin:0;accent-color:var(--blue)}.checkbox-list{max-height:230px;overflow:auto;border:1px solid var(--line);border-radius:8px;padding:4px 12px;margin:10px 0 20px}.weekday-row{display:flex;gap:8px;flex-wrap:wrap}.weekday-row label{font-size:11px;display:flex;gap:4px;align-items:center}.weekday-row input{width:14px;height:14px;min-height:0;margin:0}.auth-brand{padding:35px 45px;font-size:21px;font-weight:750;letter-spacing:-1px}.auth-brand span{font-size:12px;letter-spacing:0;color:var(--muted);font-weight:400;margin-left:12px}.auth-box{width:min(360px,calc(100% - 40px));margin:40px auto 70px}.app-icon{background:#111;color:white;width:55px;height:55px;border-radius:13px;display:grid;place-items:center;font-size:30px;font-weight:600;margin-bottom:30px}.auth-box h1{font-size:28px}.auth-box>p{color:var(--muted);font-size:13px;margin-bottom:28px}.auth-box .primary{width:100%;margin-top:8px}.auth-box #auth-footnote{font-size:10px;line-height:1.8;text-align:center;margin-top:23px}#media-preview-content{display:flex;justify-content:center;max-height:65vh}#media-preview-content img,#media-preview-content video{max-width:100%;max-height:65vh;object-fit:contain}.mobile-hint{display:none}.row-buttons{display:flex;gap:8px;align-items:center}.muted{color:var(--muted)}
@media(min-width:1700px){main{padding-top:50px}.templates{gap:20px}.template-art{height:125px}}
@media(max-width:1000px){.sidebar{width:195px;padding-inline:12px}.app-main{margin-left:195px}main{padding:28px 24px 60px}.topbar{padding:0 24px}.templates{grid-template-columns:repeat(2,1fr)}.stat{padding:20px 18px}.stat strong{font-size:27px}.split-panels{grid-template-columns:1fr}.editor-layout{gap:22px;grid-template-columns:1fr 270px}}
@media(max-width:700px){.sidebar{transform:translateX(-100%);width:235px;transition:transform .2s;box-shadow:15px 0 60px #0002}.sidebar.open{transform:none}.app-main{margin-left:0}#mobile-menu{display:block;margin-right:12px}.topbar{padding:0 20px;height:56px;justify-content:flex-start}.topbar-right{margin-left:auto;font-size:10px}main{padding:26px 18px 60px}.page-head{align-items:flex-start;flex-direction:column;gap:18px;margin-bottom:24px}h1{font-size:25px}.page-head p{font-size:12px}.page-actions{width:100%}.stats{grid-template-columns:repeat(2,1fr)}.stat{padding:18px 19px;border-bottom:1px solid var(--line)}.stat:nth-child(2){border-right:0}.stat:nth-child(3),.stat:nth-child(4){border-bottom:0}.stat strong{font-size:27px}.surface-head{padding:18px}.surface-head h2{font-size:15px}.surface{margin-bottom:18px}th,td{padding:13px 18px}.templates{gap:10px;margin-bottom:26px}.template-art{height:85px;padding:16px}.template-art span{font-size:27px}.template-label{padding:12px}.template-label strong{font-size:11px}.template-label small{font-size:9px}.editor-layout{display:flex;flex-direction:column-reverse;gap:15px}.editor-preview-wrap{position:static}.editor-preview{width:180px;margin:auto}.editor-preview-wrap>p:last-child{display:none}.editor-dialog{padding:20px}.editor-dialog .dialog-header{margin-bottom:12px}dialog{max-height:93vh}.setting-row{padding:16px 18px}.auth-brand{padding:28px 24px}.auth-box{margin-top:25px}.mobile-hint{display:block;font-size:10px;color:var(--muted)}.row-buttons{gap:3px}.row-buttons .plain{font-size:11px}td strong{max-width:180px}}

/* v3 品牌对齐：主色改墨黑，强调用陶土橙 */
body{--blue:#1D1D1F;background:#F5F5F3}
.primary{background:#1D1D1F;color:#fff}
.primary:hover{background:#000}
a{color:#1D1D1F}
.badge.blue{background:#FFF0E8;color:#C2410C}
#toast{background:#FFF0E8;color:#9A3412;border-color:#FFD9C2}
nav button.active{background:#F5F5F3;color:#1D1D1F}
