/* Component styling from the latest reference. Existing layout is retained. */
:root{font-family:Lato,'Segoe UI',sans-serif;color:#34414b;--component-accent:#00aaf0;--component-border:#d8e2ed;--canvas:#f7f8fa}
body{color:#34414b}
.header{box-shadow:none;border-bottom:1px solid var(--component-border)}
.sidebar{background:#fff;border-color:var(--component-border)}
.nav-item{font-family:inherit;font-size:calc(var(--u)*22);font-weight:400;color:#34414b;gap:calc(var(--u)*26);border-radius:calc(var(--u)*32)}
.nav-item svg{width:calc(var(--u)*28);height:calc(var(--u)*28);fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.nav-item.active{background:#f0f4f7;color:var(--component-accent);font-weight:400}
.nav-item.active svg{fill:none;stroke:var(--component-accent)}
.nav-item:hover:not(.active){background:#f7f9fb}
.add-post{background:var(--component-accent);color:#fff;box-shadow:none;border-radius:calc(var(--u)*5);font-size:calc(var(--u)*22);font-weight:700;gap:calc(var(--u)*18)}
.add-post .plus-icon{width:calc(var(--u)*28);height:calc(var(--u)*28)}
.plus-icon:before,.plus-icon:after{height:calc(var(--u)*3)}
.add-post .plus-icon:before,.add-post .plus-icon:after{background:#fff}
.add-post:hover,.primary:hover{background:#0099db}
.brand.initial{font-family:inherit;font-weight:400;background:#1a5eaa}
.add-brand{border-color:#d7e2ec;border-width:calc(var(--u)*3)}
.add-brand span{background:#637789;height:calc(var(--u)*3);width:calc(var(--u)*31)}
.tab{font-size:calc(var(--u)*22);font-weight:400;color:#657887;padding:calc(var(--u)*10) calc(var(--u)*15);border-radius:calc(var(--u)*30)}
.tab.active{color:var(--component-accent);font-weight:400;background:#f0f4f7}
.post,.channel{border-color:var(--component-border);border-radius:calc(var(--u)*6);box-shadow:none}
.caption{font-size:calc(var(--u)*22);font-weight:400;color:#34414b;line-height:1.45}
.post-time{font-size:calc(var(--u)*18);font-weight:300;color:#657887}
.post-time strong{font-weight:400;color:#34414b}
.more i{background:#657887;width:calc(var(--u)*4);height:calc(var(--u)*4)}
.date-heading{font-size:calc(var(--u)*25);font-weight:700;color:#34414b}
.section-title{font-size:calc(var(--u)*30);font-weight:700;color:#34414b}
.channel h2{font-size:calc(var(--u)*28);font-weight:400;color:#34414b}
.channel p{font-size:calc(var(--u)*20);font-weight:300;color:#657887}
.channel button{font-size:calc(var(--u)*20);color:var(--component-accent);font-weight:400}
.channel button.connected{color:#657887}
.plain-button{border-color:#c9dffe;border-radius:calc(var(--u)*4);color:#5998e8;background:#f3faff;font-weight:400}
.primary{background:var(--component-accent);border-color:var(--component-accent);color:#fff}
.input{border-color:var(--component-border);border-radius:calc(var(--u)*5);color:#34414b;font-weight:400}
.input:focus{border-color:var(--component-accent);box-shadow:0 0 0 2px #00aaf010}
.simple-form{font-size:calc(var(--u)*20);color:#34414b}
.post-menu{border-color:var(--component-border);box-shadow:0 4px 15px #34414b10;font-weight:400}
.post-menu button{color:#34414b}
.modal{background:#f7f8fa;box-shadow:0 8px 35px #26374620}
.modal-head{background:#fff;border-bottom:1px solid var(--component-border);color:#34414b}
.modal-head h2{font-weight:400}
.editor textarea{font-family:inherit;font-weight:400;border:1px solid var(--component-border);border-radius:calc(var(--u)*6);color:#34414b}
.media-box,.account-options,.schedule-input,.editor-actions,.preview{border-radius:calc(var(--u)*6);border:1px solid var(--component-border)}
.upload,.media-box>img{border-radius:calc(var(--u)*5)}
.upload{background:#f0f4f7;color:#657887;font-weight:400}
.upload .plus-icon:before,.upload .plus-icon:after{background:#657887}
.account-option{font-weight:400;font-size:calc(var(--u)*21)}
.account-option input{accent-color:var(--component-accent)}
.schedule-input{font-family:inherit;color:#657887}
.editor-actions button{background:#f3faff;color:#5998e8;border:1px solid #c9dffe;font-weight:400;border-radius:calc(var(--u)*4)}
.editor-actions button:hover{background:var(--component-accent);color:#fff;border-color:var(--component-accent)}
.preview-head,.preview-caption{font-weight:400}
.preview-footer{border-color:var(--component-border);color:#657887}
@media(max-width:900px){.nav-item{font-size:14px;gap:11px;border-radius:23px}.nav-item svg{width:20px;height:20px}.add-post{font-size:14px;gap:10px;border-radius:4px}.add-post .plus-icon{width:21px;height:21px}.tab{font-size:12px;padding:5px 8px;border-radius:20px}.tabs{gap:4px;row-gap:5px}.caption{font-size:11px}.post-time{font-size:8px}.date-heading{font-size:14px}.post,.channel{border-radius:5px}.section-title{font-size:20px}.channel h2{font-size:15px}.channel p{font-size:11px}.channel button{font-size:12px}.simple-form{font-size:14px}.account-option{font-size:15px}.input,.plain-button{border-radius:4px}}
