:root{font-family:system-ui,-apple-system,"Segoe UI",sans-serif;color:#163b32;background:#f3f5ef;font-size:16px}*{box-sizing:border-box}body{margin:0}header{padding:26px max(22px,calc((100% - 1100px)/2));background:#153f33;color:white;display:flex;justify-content:space-between;align-items:center}h1{font-size:34px;letter-spacing:-1px;margin:6px 0 0}.brand{letter-spacing:2.4px;font-weight:650;font-size:12px;color:#a6d6b2}main{max-width:1144px;margin:28px auto;padding:0 22px}.notice{background:#fff4d5;border:1px solid #eddeb5;border-radius:13px;padding:16px 20px;margin-bottom:25px;line-height:1.5}.grid{display:grid;grid-template-columns:1.1fr 1fr;gap:24px}.panel{background:#fff;border:1px solid #dce4da;border-radius:18px;padding:27px;box-shadow:0 3px 10px #163b3204}.eyebrow{font-size:11px;letter-spacing:1.8px;color:#6d7f6f;font-weight:650}h2{margin:10px 0 20px;font-size:24px;letter-spacing:-.5px}.platforms{display:flex;gap:8px;flex-wrap:wrap}.badge{background:#edf3ec;color:#234a3b;font-size:12px;padding:8px 12px;border-radius:20px}.selected{border:1px solid #a4c8ab}.muted{color:#74816f;background:#f3f4ef}label{display:block;margin:23px 0 9px;font-weight:600;font-size:14px}textarea,input{font:inherit}textarea{width:100%;min-height:210px;padding:15px;border:1px solid #bbcabe;border-radius:11px;resize:vertical;line-height:1.5;color:#163b32}textarea:focus,input:focus{outline:2px solid #5f9f78;outline-offset:2px}.hint{color:#6d7d70;font-size:13px;line-height:1.65}.upload{padding:17px;border:1px dashed #a8b9a9;border-radius:11px;background:#f8faf6}.upload p{margin-bottom:0}input[type=file]{max-width:100%;font-size:13px}.actions{margin-top:18px;display:flex;gap:8px;flex-wrap:wrap}button{font:inherit;font-size:14px;font-weight:550;cursor:pointer;border:1px solid #d6e0d5;background:#eef2eb;color:#214b37;padding:12px 16px;border-radius:10px;min-height:44px}.primary{background:#256c4f;color:white;border-color:#256c4f}.plain{background:none;border:0;font-size:12px;padding:10px 0;min-height:36px}button:disabled{opacity:.5;cursor:not-allowed}header button{background:#295442;border-color:#416b55;color:white}.preview-card{border:1px solid #e0e6df;border-radius:13px;padding:20px}.author{display:flex;align-items:center;gap:11px;font-size:14px}.avatar{background:#deeddd;width:42px;height:42px;border-radius:50%;display:grid;place-items:center;font-weight:700}.photo{width:100%;max-height:390px;object-fit:contain;border-radius:10px;margin-top:10px;background:#f1f4ee}#preview{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65;font-size:15px}.next{margin-top:25px;padding:18px;background:#f5f7f1;border-radius:12px}.next strong{font-size:14px}.next p{margin-bottom:0}.library{margin-top:24px}.post{padding:20px 0;border-top:1px solid #e3e8df}.post p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.5}.post .photo{max-width:350px;max-height:220px;display:block}.post button{margin:12px 8px 0 0}.post a{color:#256c4f}#message{line-height:1.6;font-size:14px}.footer{color:#7b8778;font-size:12px;line-height:1.7;margin:22px 0}.login{max-width:480px;margin:8vh auto;background:white;border:1px solid #dce4da;border-radius:20px;padding:34px}.login .brand{color:#317855}.login h1{margin:15px 0 20px}.login input:not([type=hidden]){width:100%;padding:13px;border-radius:9px;border:1px solid #bbcabe}.login button{margin-top:24px;width:100%}@media(max-width:740px){.grid{grid-template-columns:1fr}main{padding:0 13px;margin-top:18px}.panel{padding:21px}header{padding:21px}h1{font-size:28px}.preview-panel{order:2}.login{margin:30px 14px;padding:25px}.notice{padding:14px}.actions button{flex:1}input[type=file]{font-size:12px}}
.connection{margin-bottom:24px}
.video{display:block;width:100%;max-height:390px;object-fit:contain;border-radius:10px;margin-top:10px;background:#111}.video[hidden]{display:none}.post .video{max-width:350px;max-height:220px}.publish-content .video{max-height:360px}@media(max-width:740px){.publish-content .video{max-height:300px}}
.connection input[type=password]{display:block;width:100%;max-width:640px;padding:13px;border:1px solid #bbcabe;border-radius:10px;color:#163b32}.connection-checks{padding-left:23px;line-height:1.65;overflow-wrap:anywhere}.connection-checks li{margin:8px 0}.check-ok{color:#256c4f}.check-error{color:#934518}.other-connection{margin-top:23px;border-top:1px solid #e3e8df;padding-top:17px}.other-connection summary{cursor:pointer;font-size:14px;line-height:1.5}.connection p{overflow-wrap:anywhere}
.connection a{color:#256c4f}.connection-section{margin-top:22px}.connection-section h3{font-size:18px;margin:0 0 12px}.post-error{color:#934518}.publish-dialog{width:min(620px,calc(100% - 28px));max-height:calc(100vh - 28px);max-height:calc(100dvh - 28px);margin:auto;padding:0;border:1px solid #dce4da;border-radius:18px;color:#163b32;background:#fff;box-shadow:0 18px 70px #163b3233}.publish-dialog[open]{display:flex;flex-direction:column}.publish-dialog::backdrop{background:#0a241bbb}.publish-heading{padding:24px 25px 16px;flex:none;border-bottom:1px solid #e3e8df}.publish-heading h2{margin:0 0 12px}.publish-heading p{margin:0}.publish-content{padding:20px 25px;overflow:auto;min-height:0;overscroll-behavior:contain}.publish-content #publish-text{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6}.publish-content .photo{max-height:360px;display:block}.publish-content .photo[hidden]{display:none}.publish-actions{padding:16px 25px;display:flex;justify-content:flex-end;gap:10px;flex:none;border-top:1px solid #e3e8df;background:#fff}.publish-actions button{margin:0}.publish-content .avatar{flex-shrink:0}@media(max-width:740px){.publish-heading{padding:19px 18px 14px}.publish-content{padding:18px}.publish-actions{padding:14px 18px;gap:8px}.publish-actions button{flex:1;padding:12px 9px}.publish-dialog{border-radius:14px}.publish-heading h2{font-size:22px}.publish-content .photo{max-height:300px}}
