.swep-shell{--orange:#e98b05;--ink:#172338;--muted:#667085;--line:#e7eaf0;font-family:system-ui,'Noto Sans Devanagari',sans-serif;color:var(--ink);background:#f7f8fb;min-height:90vh;line-height:1.55}.swep-shell *{box-sizing:border-box}.swep-shell a{text-decoration:none}.swep-top{background:white;border-top:5px solid var(--orange);border-bottom:1px solid var(--line);padding:16px max(22px,calc((100% - 1180px)/2));display:flex;align-items:center;justify-content:space-between}.swep-brand{display:flex;align-items:center;gap:12px;font-size:22px;font-weight:800;color:var(--ink)!important}.swep-brand small{display:block;font-size:10px;letter-spacing:2px;color:#a66710}.swep-mark{background:linear-gradient(135deg,#ffb92f,#e78200);color:#fff;border-radius:13px;display:grid;place-items:center;width:46px;height:46px;font-size:30px}.swep-topright{color:var(--muted);font-size:13px}.swep-login-wrap{max-width:1120px;margin:55px auto 80px;padding:0 20px;display:grid;grid-template-columns:1fr 440px;gap:35px;align-items:stretch}.swep-login-aside{background:linear-gradient(145deg,#ec8e06,#c96506);border-radius:24px;padding:55px 44px;color:#fff;display:flex;flex-direction:column;min-height:490px;justify-content:center}.swep-kicker,.swep-eyebrow{font-size:11px;font-weight:800;letter-spacing:1.6px}.swep-login-aside h1{font-size:clamp(27px,3.1vw,44px);line-height:1.4;color:white;margin:18px 0}.swep-login-aside p{font-size:16px;color:#fff8eb}.swep-aside-foot{margin-top:auto;font-size:13px;opacity:.85}.swep-login-card,.swep-panel{background:#fff;border:1px solid var(--line);border-radius:20px;padding:32px;box-shadow:0 8px 30px rgba(20,30,50,.035)}.swep-login-card{display:flex;flex-direction:column;justify-content:center}.swep-login-card h2{font-size:29px;margin:10px 0}.swep-login-card>p,.swep-muted{color:var(--muted);font-size:14px}.swep-login-card form{margin-top:15px}.swep-login-card form p{margin-bottom:15px}.swep-shell label{font-weight:650;font-size:14px;display:block}.swep-shell input:not([type=checkbox]):not([type=file]),.swep-shell textarea,.swep-shell select{width:100%;display:block;min-height:46px;border:1px solid #d8dee7;border-radius:10px;padding:11px 13px;font:inherit;background:white;color:var(--ink);margin-top:7px}.swep-shell textarea{min-height:120px;resize:vertical}.swep-shell input:focus,.swep-shell textarea:focus,.swep-shell select:focus{outline:2px solid #ffcf80;outline-offset:1px}.swep-shell input[type=submit],.swep-button{background:#dc7905!important;color:white!important;border:0!important;border-radius:11px!important;padding:12px 18px!important;min-height:44px;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;font-weight:750!important;font-size:14px!important}.swep-shell input[type=submit]{width:100%}.swep-help{font-size:13px!important}.swep-help a,.swep-footer a{color:#b76a09}.swep-content{max-width:1120px;margin:0 auto;padding:34px 20px 70px}.swep-welcome{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:25px}.swep-welcome h1{font-size:32px;margin:5px 0;color:var(--ink)}.swep-welcome p{color:var(--muted);margin:0}.swep-actions{display:flex;gap:10px}.swep-secondary{background:#fff!important;color:var(--ink)!important;border:1px solid #d8dee7!important}.swep-alert{padding:13px 18px;background:#e9f9ed;border:1px solid #b7eac5;border-radius:10px;margin-bottom:18px}.swep-stats{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;margin-bottom:20px}.swep-stats>div{padding:22px;background:#fff;border:1px solid var(--line);border-radius:16px}.swep-stats span{display:block;color:var(--muted);font-size:13px}.swep-stats strong{font-size:32px}.swep-panel{margin-bottom:18px}.swep-panel h2{font-size:20px;margin:0 0 22px}.swep-panel label{margin:0 0 18px}.swep-panel label small,.swep-panel>small{display:block;color:var(--muted);font-size:12px;font-weight:400;margin-top:5px}.swep-panel strong{color:#c63a25}.swep-two{display:grid;grid-template-columns:1fr 1fr;gap:16px}.swep-toolbar{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.swep-toolbar button{border:1px solid #d8dee7;background:#fff;border-radius:9px;padding:10px 13px;cursor:pointer;font:inherit;font-size:13px}.swep-toolbar button:hover{background:#fff7eb}.swep-shell #swep-article{min-height:320px;font-size:16px;line-height:1.8}.swep-upload{border:2px dashed #efc681;border-radius:16px;background:#fffbf4;display:flex!important;flex-direction:column;align-items:center;gap:6px;padding:30px 14px;cursor:pointer;text-align:center}.swep-upload span{font-size:30px}.swep-upload input{max-width:100%;font-size:13px}.swep-preview,.swep-existing img{max-width:100%;max-height:280px;object-fit:contain;border-radius:12px;margin:10px 0}.swep-inline-upload{border-top:1px solid var(--line);margin-top:18px;padding-top:18px}.swep-inline-upload input[type=file]{display:block;margin-top:8px;max-width:100%}.swep-savebar{display:flex;justify-content:flex-end;gap:12px;position:sticky;bottom:10px;background:#ffffffed;border:1px solid var(--line);border-radius:15px;padding:13px;z-index:4;box-shadow:0 5px 24px #17233816}.swep-news-row{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:17px 0;border-bottom:1px solid var(--line)}.swep-news-main{display:flex;flex-direction:column;gap:5px;min-width:0}.swep-news-main strong{font-size:15px;color:var(--ink)}.swep-news-main small{color:var(--muted)}.swep-status{font-size:11px;color:#996000;font-weight:800}.swep-row-actions{display:flex;gap:8px;align-items:center;flex-shrink:0}.swep-row-actions a,.swep-delete{background:#f3f5f8;border:0;border-radius:8px;padding:8px 11px;color:var(--ink);font:inherit;font-size:12px;cursor:pointer}.swep-delete{color:#bc3030;background:#fff1f1}.swep-row-actions form{margin:0}.swep-pages{display:flex;gap:6px;flex-wrap:wrap;margin-top:20px}.swep-pages a{border:1px solid var(--line);padding:7px 12px;border-radius:8px}.swep-pages a.current{background:var(--orange);color:white}.swep-footer{text-align:center;font-size:12px;color:var(--muted);padding:22px;border-top:1px solid var(--line)}.swep-shell details summary{cursor:pointer;font-weight:750}.swep-shell details label{margin-top:16px}@media(max-width:760px){.swep-top{padding:12px 16px}.swep-topright{display:none}.swep-brand{font-size:18px}.swep-login-wrap{display:block;margin:15px auto 35px;padding:0 13px}.swep-login-aside{min-height:0;padding:22px;border-radius:17px 17px 0 0}.swep-login-aside h1{font-size:24px;margin:7px 0}.swep-login-aside p,.swep-aside-foot{display:none}.swep-login-card{border-radius:0 0 17px 17px;padding:25px 20px}.swep-login-card h2{font-size:24px}.swep-content{padding:23px 12px 60px}.swep-welcome{align-items:flex-start;flex-direction:column}.swep-welcome h1{font-size:25px}.swep-actions{width:100%}.swep-actions a{flex:1}.swep-panel{padding:19px 15px;border-radius:14px}.swep-two{grid-template-columns:1fr;gap:0}.swep-stats{gap:9px}.swep-stats>div{padding:15px}.swep-news-row{flex-direction:column;align-items:stretch}.swep-row-actions{justify-content:flex-start}.swep-row-actions a,.swep-delete{padding:10px 13px}.swep-savebar{bottom:0;border-radius:12px 12px 0 0}.swep-savebar button{flex:1;padding:12px 8px!important}.swep-shell #swep-article{min-height:280px}}

.swep-upload-status{font-size:13px;color:#855000;margin:8px 0;min-height:18px}.swep-toolbar button{min-height:42px;touch-action:manipulation}

/* V1.4 visual newsroom editor */
.swep-visual-editor{display:block;width:100%;min-height:370px;padding:22px 24px;border:1px solid #cbd5e1;border-radius:14px;background:#fff;color:#182334;font-size:18px;line-height:1.85;outline:none;overflow-wrap:anywhere;white-space:normal;}
.swep-visual-editor:focus{border-color:#ed8a12;box-shadow:0 0 0 3px rgba(237,138,18,.13)}
.swep-visual-editor:empty:before{content:attr(data-placeholder);color:#8b96a6;pointer-events:none}
.swep-visual-editor img{display:block;max-width:100%;height:auto;margin:12px auto;border-radius:8px}
.swep-visual-editor figure{margin:18px 0;text-align:center}
.swep-visual-editor figcaption{font-size:14px;color:#64748b}
.swep-visual-editor h2{font-size:1.35em;font-weight:750;margin:1.3em 0 .5em}
.swep-visual-editor p{margin:.5em 0 1em}
.swep-visual-editor a{color:#c45b00;text-decoration:underline}
@media(max-width:640px){.swep-visual-editor{padding:16px;min-height:310px;font-size:17px}}

/* WordPress TinyMCE rich-text editor */
.swep-shell .wp-editor-wrap{margin:14px 0 18px}.swep-shell .wp-editor-container{border:1px solid #d8dee7;border-radius:0 0 10px 10px;overflow:hidden}.swep-shell .wp-editor-tabs{float:right}.swep-shell .mce-toolbar .mce-btn button{min-height:auto}.swep-shell .quicktags-toolbar{border-radius:0}.swep-shell textarea.wp-editor-area{margin:0!important;border:0!important;border-radius:0!important;min-height:350px!important;font-family:monospace}.swep-shell .mce-edit-area iframe{max-width:100%}

/* V1.6 custom newsroom rich-text editor */
.swep-custom-editor{border:1px solid #d8dee7;border-radius:13px;overflow:hidden;background:#fff;margin-top:14px}
.swep-custom-toolbar{display:flex;flex-wrap:wrap;gap:5px;padding:10px;background:#f8fafc;border-bottom:1px solid #d8dee7;position:sticky;top:0;z-index:2}
.swep-custom-toolbar button{min-width:36px;min-height:37px;padding:6px 9px;background:#fff;border:1px solid #d9e0e9;border-radius:7px;font:inherit;font-size:13px;cursor:pointer;color:#172338}
.swep-custom-toolbar button:hover,.swep-custom-toolbar button.is-active{background:#ffedcf;border-color:#eea03e}
.swep-custom-editor .swep-visual-editor{border:0;border-radius:0;box-shadow:none!important;min-height:390px}
.swep-custom-editor .swep-source-editor{width:100%;min-height:390px;font:14px/1.7 monospace;border:0;border-radius:0;margin:0;padding:18px}
.swep-custom-editor [hidden]{display:none!important}
.swep-custom-editor figcaption{min-height:24px;border-bottom:1px dashed #d0d5dd}
.swep-custom-editor .swep-visual-editor blockquote{border-left:4px solid #e98b05;padding-left:15px}
@media(max-width:640px){.swep-custom-toolbar{gap:4px;padding:7px}.swep-custom-toolbar button{min-height:40px;padding:6px 8px}}
