/* Community and editorial tools, scoped to avoid changing existing cards. */
.portal-shell{width:min(1120px,calc(100% - 40px));margin:38px auto 80px;min-height:55vh}.portal-shell h1{font-size:clamp(30px,4vw,48px);line-height:1.15;overflow-wrap:anywhere;margin:20px 0 28px}.portal-shell h2{font-size:25px;margin:14px 0}.portal-shell h3{font-size:20px}.portal-breadcrumbs{font-size:13px;color:#aeb4bf}.portal-shell a:not(.portal-button),.portal-card a{color:#ffae52}.portal-form{display:grid;gap:18px;max-width:850px}.portal-form label{display:grid;gap:7px;font-size:14px;color:#d6dae1}.portal-form input:not([type=checkbox]),.portal-form select,.portal-form textarea,.portal-inline input,.admin-row select,.site-search input{box-sizing:border-box;width:100%;min-height:44px;background:#15181e;color:#f6f7f9;border:1px solid #454b56;border-radius:7px;padding:10px 12px;font:inherit}.portal-form textarea{resize:vertical;line-height:1.6}.portal-form input[type=checkbox],.admin-row input[type=checkbox]{accent-color:#ff9a2e;width:18px;height:18px}.portal-form label:has([type=checkbox]),.admin-row label:has([type=checkbox]){display:flex;align-items:center;gap:8px}.portal-shell button,.portal-button,.poll-grid button{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:10px 18px;border:1px solid #ffac50;background:#ff9a2e;color:#17191c;border-radius:7px;font:600 14px inherit;cursor:pointer;text-decoration:none;width:fit-content}.portal-shell button:hover,.portal-button:hover,.poll-grid button:hover{background:#ffb55e}.portal-shell button:disabled{opacity:.45;cursor:not-allowed}.portal-shell :focus-visible,.site-search :focus-visible,.poll-grid :focus-visible{outline:2px solid #ffb45f;outline-offset:3px}.portal-card{background:#20242b;border:1px solid #373d47;border-radius:12px;padding:24px;margin:18px 0}.portal-actions,.portal-inline,.admin-tabs{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:20px 0}.admin-tabs{border-bottom:1px solid #3a404a;padding-bottom:12px}.admin-tabs a{padding:8px 12px;border-radius:6px}.admin-tabs a[aria-current]{background:#3a2e22;color:#ffbd72}.dashboard-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:14px}.dashboard-stat{background:#20242b;border:1px solid #373d47;padding:24px;border-radius:10px;display:grid;gap:8px}.dashboard-stat strong{font-size:36px;color:#ffac50}.dashboard-stat span{color:#c4cad4;font-size:14px}.admin-row{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 0;border-bottom:1px solid #363d47;flex-wrap:wrap}.admin-row>span:first-child{flex:1;min-width:190px;overflow-wrap:anywhere}.admin-row label{display:grid;gap:6px}.form-columns{display:grid;grid-template-columns:1fr 1fr;gap:18px}.home-block-row{display:grid;grid-template-columns:1fr 100px 120px;gap:20px;align-items:center;border-bottom:1px solid #363d47;padding:12px 0}.notice,.form-error{padding:14px 18px;background:#23362b;border:1px solid #467255;border-radius:8px;line-height:1.5}.form-error{background:#3d2424;border-color:#ad5757}.forum-topic{display:flex;justify-content:space-between;align-items:center;gap:20px;text-decoration:none}.forum-topic h2{color:#f1f3f6;font-size:22px}.forum-topic small,.forum-message small{color:#b4bcc9}.forum-message p{white-space:normal;overflow-wrap:anywhere;line-height:1.75;margin-top:18px}.portal-shell .article-body{max-width:850px}.article-body img{max-width:100%;height:auto}.article-body pre{overflow-x:auto;max-width:100%}.article-body ul,.article-body ol{padding-left:26px}.portal-shell .ql-toolbar{background:#e9edf3;border-radius:8px 8px 0 0;margin-bottom:-18px}.portal-shell .ql-container{background:#f8fafc;color:#17202d;min-height:320px;font:17px/1.65 Arial,sans-serif;border-radius:0 0 8px 8px}.portal-shell .ql-editor{min-height:320px}.portal-shell .ql-editor p{margin:0}.portal-shell .ql-tooltip{z-index:10}.poll-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.poll-grid .portal-card{margin:0}.poll-grid h3{font-size:24px}.poll-results{display:grid;gap:10px;max-height:300px;overflow:auto;padding:12px 0}.poll-results>div{display:grid;gap:4px}.poll-results progress{width:100%;height:8px;accent-color:#ff9a2e}.poll-results span{font-size:13px}.poll-grid summary{cursor:pointer;color:#ffae52}.site-search{position:relative;z-index:25;width:min(1120px,calc(100% - 40px));margin:12px auto;display:flex;align-items:center;justify-content:flex-end;gap:12px;font-size:13px}.site-search input{width:300px;min-height:38px;padding:8px 12px}.site-search label{color:#bac2cf}.search-results{position:absolute;right:0;top:calc(100% + 8px);background:#20242b;border:1px solid #515966;border-radius:9px;width:min(560px,100%);max-height:65vh;overflow:auto;padding:18px;box-shadow:0 14px 40px #0008}.search-results h3{font-size:12px;color:#ffad50;text-transform:uppercase;margin:14px 0 6px}.search-results a{display:block;padding:10px 8px;color:#f4f6f8;border-radius:5px}.search-results a:hover,.search-results a:focus{background:#353c48}.portal-shell [hidden],.search-results[hidden]{display:none!important}.portal-form .honeypot{position:absolute;left:-10000px}.portal-inline input{max-width:420px}.cms-form{max-width:none}
@media(max-width:700px){.portal-shell{width:calc(100% - 28px);margin-top:24px}.form-columns,.poll-grid{grid-template-columns:1fr}.portal-card{padding:18px}.home-block-row{grid-template-columns:1fr 75px 100px;gap:9px}.forum-topic{align-items:flex-start;flex-direction:column}.site-search{width:calc(100% - 28px)}.site-search label{display:none}.site-search input{width:100%}.admin-tabs{gap:3px}.admin-tabs a{padding:8px}.admin-row{align-items:flex-start}.portal-actions{gap:10px}.ql-toolbar{position:relative}.site-header .grouped-nav{gap:12px;flex-wrap:wrap}}

.portal-shell a.portal-button,.portal-card a.portal-button{color:#17191c}.portal-form .form-trap{position:absolute;left:-10000px}.portal-shell .ql-toolbar button{min-height:0;padding:3px 5px;border:0;border-radius:0;background:transparent;width:28px;height:24px;display:inline-block}.portal-shell .ql-toolbar button:hover{background:#dce2eb}.portal-shell .ql-toolbar .ql-picker-label{color:#263344}.site-header .grouped-nav>a:not(.nav-major){padding:10px 8px}
@media(max-width:700px){.site-header .grouped-nav{justify-content:flex-start;column-gap:8px;row-gap:0}}

.portal-layout{display:flex;flex-direction:column;min-height:100vh;min-height:100dvh}.portal-layout>.site-header,.portal-layout>.site-search,.portal-layout>footer{flex-shrink:0}.portal-layout>.portal-shell{flex:1;min-height:0}.forum-tabs a{white-space:nowrap}
