:root{font-family:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif;color:#18332e;background:#f2f5f2;font-synthesis:none}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0}.app-shell{max-width:780px;margin:0 auto;min-height:100vh;background:#fafbf9}.topbar{display:flex;justify-content:space-between;align-items:center;padding:18px 20px;border-bottom:1px solid #e5ece8;background:white;gap:12px}.brand{display:flex;gap:11px;align-items:center}.brand-icon{width:41px;height:41px;background:#123b35;color:white;border-radius:13px;display:grid;place-items:center;font-size:24px;font-weight:bold}.brand strong,.brand small{display:block}.brand strong{font-size:15px;letter-spacing:-.25px}.brand small{font-size:11px;color:#638078;margin-top:3px}.chip{font-size:11px;color:#1a5b45;background:#e7f5ec;border-radius:20px;padding:6px 9px;font-weight:bold;white-space:nowrap}.dot{color:#a6b3ae}.welcome{background:linear-gradient(140deg,#123a32 0%,#235b48 100%);color:white;padding:34px 24px 30px}.eyebrow{font-size:12px;letter-spacing:.03em;color:#d3e8db;font-weight:bold}.welcome h1{font-size:31px;line-height:1.45;letter-spacing:-.045em;margin:14px 0 12px}.welcome em{font-style:normal;color:#e0f3a8}.welcome p{font-size:13px;line-height:1.85;color:#e3eee8;max-width:510px}.data-pill{display:inline-block;border:1px solid #78988a66;border-radius:7px;font-size:11px;padding:9px 12px;margin-top:11px;background:#ffffff18;color:#e5faed}.steps{display:flex;gap:7px;padding:16px 18px 10px}.steps a{display:flex;align-items:center;justify-content:center;flex:1;gap:7px;text-decoration:none;background:white;border:1px solid #e2e9e5;color:#496359;border-radius:9px;padding:10px;font-size:12px;font-weight:bold}.steps span{display:grid;place-items:center;width:20px;height:20px;background:#e5f1e8;border-radius:50%;color:#256447}.steps a.active{border-color:#83ae9a;color:#153f34}.panel{background:white;margin:11px 17px 17px;padding:19px;border:1px solid #e1e8e3;border-radius:15px;box-shadow:0 3px 18px #18332e08}.panel-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.panel-title>div{display:flex;align-items:center;gap:10px}.panel h2{font-size:17px;margin:0}.section-n{font-size:10px;color:white;background:#275a49;border-radius:7px;padding:6px 7px;font-weight:800}.quiet{color:#899b91;font-size:12px}.muted{color:#75867c}.small{font-size:12px}.upload{border:1.5px dashed #aac7b7;background:#f5faf6;padding:24px 12px;border-radius:13px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;cursor:pointer}.upload-icon{display:grid;place-items:center;background:#e0f0e5;color:#24573b;border-radius:50%;font-size:28px;width:50px;height:50px}.upload strong{font-size:15px}.upload span:last-of-type{font-size:11px;color:#769183}.upload input{display:none}.metadata{font-size:12px;margin-top:14px;word-break:break-all}.note{font-size:11px;line-height:1.7;color:#667e71;background:#f6f8f5;border-radius:8px;padding:11px;margin-top:13px}.editor-grid{display:grid;grid-template-columns:minmax(160px,1fr) minmax(200px,1fr);gap:18px}.preview-zone{align-self:start}.preview-phone{width:min(100%,250px);aspect-ratio:9/16;background:linear-gradient(150deg,#385849,#192725);overflow:hidden;border-radius:17px;margin:auto;position:relative;box-shadow:0 3px 14px #123a3217}.preview-phone canvas{width:100%;height:100%;display:block}.empty-preview{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#fff9;font-size:14px;line-height:2}.empty-preview span{font-size:38px}.empty-preview small{font-size:11px}.preview-label{font-size:11px;text-align:center;color:#85978b;margin-top:9px}.settings-zone{display:flex;flex-direction:column;gap:13px}.field{display:flex;flex-direction:column;gap:7px;margin:0 0 14px}.field>label{font-weight:700;font-size:12px}.row-between{display:flex;align-items:center;justify-content:space-between;gap:8px}.time-set{display:flex;gap:7px;align-items:center}.time-set input{width:80px}.time-set span{font-size:12px;color:#869d91}input[type=number],input[type=text],input:not([type]),select,textarea{border:1px solid #d8e1da;background:white;color:#234237;border-radius:8px;padding:11px 10px;font-size:14px;min-width:0;width:100%;font-family:inherit}input[type=range]{accent-color:#235e46;width:100%}textarea{resize:vertical;line-height:1.65}button{font-family:inherit;cursor:pointer;border:0;border-radius:10px;font-weight:700;min-height:43px;font-size:13px;padding:10px 14px}.small-btn{font-size:11px;min-height:35px;background:#e9f3ed;color:#2c654b;padding:8px;white-space:nowrap}.outlined{background:#f5faf6;color:#265e44;border:1px solid #ccded2}.primary{background:#20583e;color:white;box-shadow:0 4px 11px #26623d29}.primary:disabled,.outlined:disabled{opacity:.45;cursor:not-allowed}.settings-zone .primary{width:100%}.status{line-height:1.5;font-size:11px}.hidden{display:none!important}.download{display:block;text-align:center;color:#fff;background:#276848;padding:12px;border-radius:9px;text-decoration:none;font-size:13px;font-weight:bold}.troubleshoot{color:#597260;font-size:11px}.troubleshoot summary{cursor:pointer}.troubleshoot p{line-height:1.65}.source-video-group{margin-top:19px;border-top:1px solid #e6eee8;padding-top:14px}.source-video-group strong{font-size:12px}.source-video-group video{width:100%;max-height:220px;object-fit:contain;background:#101c19;border-radius:9px;margin-top:9px}.section-help{font-size:12px;line-height:1.7;color:#567065;margin-top:0}.candidate-area{margin-top:12px}.candidate{border:1px solid #e3ebe4;padding:12px;margin:8px 0;border-radius:9px;background:#f9fbf8}.candidate strong{font-size:13px}.candidate p{font-size:11px;color:#698074;line-height:1.5;margin:8px 0}.candidate button{min-height:30px;padding:6px 10px;font-size:11px;background:#e4efe7;color:#216548}.buttons-row{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:13px 0}.platforms{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:20px}.platform{border:1px solid #e0e8de;border-radius:8px;padding:13px 8px;text-decoration:none;font-weight:700;font-size:12px;text-align:center;color:#295e42;background:#f8fbf8}footer{padding:22px;text-align:center;color:#789085;display:flex;flex-direction:column;gap:8px}footer strong{font-size:12px}footer span,footer small{font-size:11px}@media (max-width:540px){.welcome h1{font-size:28px}.panel{padding:15px;margin-left:12px;margin-right:12px}.editor-grid{grid-template-columns:1fr;gap:20px}.preview-phone{width:220px}.settings-zone{gap:9px}.topbar{padding:14px 12px}.chip{font-size:10px}}

/* v0.3: mobile-first publishing workflow */
.purpose-form{margin-top:17px;padding:15px;background:#f7faf7;border:1px solid #e2ebe5;border-radius:12px}
.purpose-form .field{margin-bottom:10px}.purpose-form .field:last-child{margin-bottom:0}
.micro-heading{font-size:13px;font-weight:800;margin-bottom:14px}.micro-heading span{color:#788f80;font-size:10px;font-weight:400;display:block;margin-top:3px}
.pill-green{font-size:10px;padding:6px 8px;background:#e8f5eb;color:#275f42;border-radius:30px}
.auto-read-box{display:flex;gap:7px;align-items:center;justify-content:center;background:#f0f6f0;color:#345d4b;border-radius:12px;padding:13px 7px;margin-bottom:15px;font-weight:700;font-size:10px;flex-wrap:wrap}
.auto-read-box b{font-size:16px;color:#99afa2}.candidate{display:flex;flex-direction:column;gap:9px;padding:15px;border:1px solid #dce7dd;box-shadow:0 2px 6px #15362606}
.candidate-top{display:flex;gap:8px;align-items:center;justify-content:space-between}.candidate-tag{font-size:10px;background:#e9f3e9;color:#295b42;border-radius:30px;padding:5px 8px}
.candidate-score{font-size:11px;color:#567963}.candidate strong{font-size:15px}.candidate .candidate-p{font-size:12px;line-height:1.7;margin:0;color:#45695a}
.candidate .candidate-excerpt{background:#f1f5f1;border-left:3px solid #77a88b;padding:10px;border-radius:5px;font-size:12px;color:#355746;line-height:1.65}
.candidate button{min-height:42px;font-size:13px;background:#285f46;color:#fff}
.publish-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin:14px 0 20px}
.publish-tab{padding:12px 5px;font-size:12px;background:#f1f5f1;color:#526859;border:1px solid #e0ebe3;min-height:47px}
.publish-tab.selected{background:#215b40;color:#fff;border-color:#215b40}
.publish-panel{padding:4px 0}.platform-heading{display:flex;align-items:baseline;gap:8px;margin:4px 0 18px;flex-wrap:wrap}.platform-heading b{font-size:17px}.platform-heading span{font-size:11px;color:#728b7d}
.fineprint{font-size:11px;color:#73887a;line-height:1.6;margin:12px 0}.field label small{font-weight:400;color:#778c80}
.publish-tools{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:22px 0}.publish-tools button:first-child{grid-column:1/-1;background:#e9f5e9}.full-width{width:100%}
.review-checklist{background:#f7faf6;border-radius:12px;border:1px solid #e2eae1;padding:15px;display:flex;flex-direction:column;gap:13px}
.review-checklist strong{font-size:14px;display:flex;justify-content:space-between}.review-checklist strong span{font-size:12px;color:#6e8875}
.review-checklist label{display:flex;align-items:flex-start;gap:9px;line-height:1.45;font-size:12px;cursor:pointer}
.review-checklist input{margin:2px 0 0;accent-color:#1f6a47;width:16px;height:16px;flex-shrink:0}
#recommend-status{margin:8px 0 12px;line-height:1.6}.section-help b{color:#244d38}
@media(max-width:540px){.steps{position:sticky;top:0;z-index:10;background:#fafbf9ed;padding:10px 9px;backdrop-filter:blur(9px);gap:4px}.steps a{font-size:10px;gap:4px;padding:10px 2px}.steps span{width:17px;height:17px;font-size:10px}.auto-read-box{gap:4px;font-size:9px}.publish-tools{gap:7px}}
