:root{color-scheme:light;font-family:Inter,PingFang SC,Microsoft YaHei,Noto Sans CJK SC,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#16312b;background:#f4f8f6;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,input,select,textarea{font:inherit}button{border:0;cursor:pointer}button:disabled{cursor:not-allowed;opacity:.64}.app-shell{height:100vh;overflow:hidden;padding:20px;background:linear-gradient(135deg,#0f766e14,#f59e0b0f),#f5f8f6}.topbar{display:flex;align-items:center;justify-content:space-between;gap:18px;max-width:1440px;height:72px;margin:0 auto 14px;padding:0 2px}.brand{display:inline-flex;align-items:center;gap:8px;color:#0f766e;font-size:14px;font-weight:700}h1,h2,h3,p{margin:0}.topbar h1{margin-top:8px;font-size:32px;line-height:1.08;letter-spacing:0}.topbar-actions{display:flex;align-items:center;gap:10px}.status-pill{display:inline-flex;align-items:center;gap:8px;min-height:36px;padding:0 12px;border:1px solid rgba(15,118,110,.22);border-radius:999px;background:#ffffffc7;color:#34534a;font-size:13px;font-weight:650;box-shadow:0 10px 28px #1f373114;white-space:nowrap}.logout-button{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:36px;height:36px;border:1px solid rgba(15,118,110,.22);border-radius:999px;background:#ffffffc7;color:#34534a;box-shadow:0 10px 28px #1f373114}.dot{width:8px;height:8px;border-radius:50%;background:#94a3b8}.dot.live{background:#10b981;box-shadow:0 0 0 5px #10b98121}.workspace{display:grid;grid-template-columns:minmax(330px,380px) minmax(0,1fr);gap:16px;max-width:1440px;height:calc(100vh - 106px);margin:0 auto;overflow:hidden}.panel{border:1px solid rgba(123,151,141,.26);border-radius:8px;background:#ffffffe6;box-shadow:0 18px 44px #2338321a}.input-panel{align-self:stretch;position:relative;display:flex;flex-direction:column;gap:12px;min-height:0;height:100%;padding:16px;overflow:hidden}.input-panel>*{flex:0 0 auto}.input-panel>label:has(textarea){display:flex;flex-direction:column;flex:1 1 0;gap:6px;min-height:0}.input-panel>label:has(textarea) textarea{flex:1 1 0;height:auto;min-height:0}.panel-heading,.preview-head{display:flex;align-items:center}.panel-heading{justify-content:space-between;gap:12px;color:#0f766e}.panel-heading div{display:inline-flex;align-items:center;gap:8px}.panel-heading span{padding:4px 8px;border-radius:999px;background:#e8f5f0;color:#0f766e;font-size:11px;font-weight:900}.panel-heading h2,.preview-head h2{font-size:20px;line-height:1.25}label{display:grid;gap:7px;margin-top:0;color:#4f665e;font-size:13px;font-weight:700}input,select,textarea{width:100%;border:1px solid #cfddd8;border-radius:8px;background:#fbfefd;color:#17352d;outline:none;transition:border-color .15s ease,box-shadow .15s ease,background .15s ease}input,select{height:42px;padding:0 12px}textarea{min-height:60px;resize:none;padding:10px 12px;line-height:1.5}input:focus,select:focus,textarea:focus{border-color:#0f766e;background:#fff;box-shadow:0 0 0 3px #0f766e1f}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.notice{margin-top:14px;padding:10px 11px;border:1px solid #fed7aa;border-radius:8px;background:#fff7ed;color:#9a3412;font-size:13px;line-height:1.45}.actions{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;margin-top:auto;padding-top:4px}.primary,.secondary,.export{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 14px;border-radius:8px;font-weight:800;white-space:nowrap}.primary{background:#0f766e;color:#fff;box-shadow:0 12px 24px #0f766e38}.secondary{border:1px solid #cfddd8;background:#fff;color:#315047}.preview-panel{min-height:0;overflow:hidden;overflow-y:auto}.preview-head{justify-content:space-between;gap:16px;padding:20px 22px 18px;border-bottom:1px solid rgba(123,151,141,.2);background:linear-gradient(135deg,#e8f5f0b8,#fffffff2),#fff}.preview-head h2{margin-top:4px;max-width:820px;font-size:27px;color:#16312b}.eyebrow{color:#0f766e;font-size:12px;font-weight:800}.export{flex:0 0 auto;padding:0 15px;background:#f59e0b;color:#1f2937}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;background:#7b978d29}.metrics div{display:grid;gap:5px;min-height:72px;padding:13px 16px;background:#fbfefd}.metrics strong{color:#17352d;font-size:18px;line-height:1.2}.metrics span{color:#657a72;font-size:12px;font-weight:700}.preview-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:14px 22px 0}.plan-summary{display:grid;grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);gap:1px;background:#7b978d29;border-top:1px solid rgba(123,151,141,.16)}.plan-summary div{display:grid;grid-template-columns:54px minmax(0,1fr);align-items:center;min-height:52px;padding:10px 16px;background:#fff}.plan-summary span{color:#6b8178;font-size:12px;font-weight:800}.plan-summary strong{overflow:hidden;color:#17352d;font-size:14px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.article,.flow,.slides{border:1px solid rgba(123,151,141,.22);border-radius:8px;background:#fff}.article{min-height:142px;padding:14px}.article h3,.flow h3,.slides h3{color:#17352d;font-size:16px;line-height:1.25}.article ul{display:grid;gap:7px;margin:10px 0 0;padding-left:18px;color:#445f56;line-height:1.5}.article.compact ul{grid-template-columns:repeat(2,minmax(0,1fr));padding-left:0;list-style:none}.article.compact li{min-height:30px;padding:6px 8px;border-radius:7px;background:#e8f5f0;color:#0f766e;font-size:13px;font-weight:750}.flow,.slides{margin:12px 22px 0;padding:15px 16px}.flow-row{display:grid;grid-template-columns:52px minmax(0,1fr);gap:13px;padding:12px 0;border-top:1px solid #e5efeb}.flow-row:first-of-type{margin-top:11px}.time{display:inline-flex;align-items:center;justify-content:center;width:44px;height:32px;border-radius:999px;background:#143a32;color:#fff;font-size:12px;font-weight:800}.flow-row strong{color:#0f766e;font-size:15px}.flow-row p{margin-top:5px;color:#516b62;line-height:1.45}.slide-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:13px}.slide-card{min-height:124px;padding:12px;border:1px solid #d7e6e0;border-radius:8px;background:#fbfefd}.slide-card span{color:#d97706;font-size:12px;font-weight:900}.slide-card strong{display:block;margin-top:8px;color:#17352d;line-height:1.28}.slide-card p{margin-top:9px;color:#60756e;font-size:13px;line-height:1.45}.spin{animation:spin .9s linear infinite}.access-shell{display:grid;place-items:center;min-height:100vh;height:100vh;padding:18px;overflow:auto}.access-panel{display:grid;gap:16px;width:min(100%,420px);padding:26px;border:1px solid rgba(123,151,141,.28);border-radius:8px;background:#fffffff0;box-shadow:0 24px 54px #2338321f}.access-icon{display:inline-flex;align-items:center;justify-content:center;width:46px;height:46px;border-radius:8px;background:#e8f5f0;color:#0f766e}.access-brand{margin-bottom:8px}.access-panel h1{font-size:28px;line-height:1.1}@keyframes spin{to{transform:rotate(360deg)}}@media(max-width:1120px){.app-shell{height:auto;min-height:100vh;overflow:auto}.workspace{grid-template-columns:1fr;height:auto;overflow:visible}.input-panel{align-self:stretch;position:static;height:auto;overflow:visible}.input-panel>label:has(textarea){flex:0 0 auto}.input-panel>label:has(textarea) textarea{flex:0 0 auto;min-height:76px;height:76px}.preview-panel{overflow:visible}.slide-list{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(min-width:1121px)and (max-height:760px){.topbar{height:62px;margin-bottom:10px}.topbar h1{margin-top:5px;font-size:28px}.brand{font-size:13px}.workspace{height:calc(100vh - 92px)}.panel-heading h2,.preview-head h2{font-size:18px}}@media(min-width:1121px)and (min-height:1080px){.input-panel{padding:22px;gap:18px}}@media(min-width:1121px)and (max-height:660px){.app-shell{padding:12px 16px}.topbar{height:54px;margin-bottom:8px}.workspace{height:calc(100vh - 74px)}.input-panel{padding:12px;gap:8px}.input-panel>label:has(textarea) textarea{min-height:40px}input,select{height:36px}.primary,.secondary{min-height:38px}}@media(max-width:720px){.app-shell{padding:14px}.topbar{align-items:flex-start;flex-direction:column;height:auto}.topbar-actions{width:100%;justify-content:space-between}.topbar h1{font-size:28px}.field-grid,.preview-grid,.metrics,.plan-summary,.slide-list{grid-template-columns:1fr}.plan-summary div{grid-template-columns:48px minmax(0,1fr)}.preview-head{align-items:stretch;flex-direction:column;padding:18px}.preview-head h2{font-size:22px}.preview-grid{padding:14px 18px 2px}.flow,.slides{margin-right:18px;margin-left:18px}.actions{grid-template-columns:1fr}}
