:root{color-scheme:dark;--bg:#111318;--panel:#1a1d24;--line:#2d313b;--text:#f5f2ec;--muted:#a1a7b3;--gold:#dca84b;--green:#77d8af;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:15px}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text)}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}a{color:var(--gold);text-decoration:none}button{border:1px solid var(--line);border-radius:9px;padding:11px 16px;background:#242833;color:var(--text);font-weight:600}button:hover{background:#303642}button.primary{background:var(--gold);color:#17130c;border-color:var(--gold)}button.danger{color:#ffa4a4;background:#352326}header{height:83px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 40px;background:#15181e}.wordmark{display:flex;align-items:center;gap:12px;font-weight:750}.brandmark{height:39px;width:39px;background:var(--gold);color:#18130a;border-radius:11px;display:grid;place-items:center;font-weight:850;font-size:24px}.wordmark img{width:40px;height:40px;border-radius:10px;object-fit:cover}.wordmark small{display:block;color:var(--muted);font-weight:400;font-size:11px;letter-spacing:1px;margin-top:4px}.account{display:flex;align-items:center;gap:16px;font-size:13px;color:var(--muted)}.layout{display:grid;grid-template-columns:220px 1fr;min-height:calc(100vh - 83px)}aside{border-right:1px solid var(--line);padding:28px 15px;display:flex;flex-direction:column;gap:6px}aside button{text-align:left;background:none;border-color:transparent;color:var(--muted);font-weight:500;padding:13px 16px}aside button.active{color:var(--gold);background:#dca84b10;border-color:#dca84b26}.nav-label{color:#697180;font-size:10px;letter-spacing:1.8px;padding:15px 16px 12px}.aside-foot{margin-top:auto;padding:24px 16px;color:#767f8e;font-size:12px;line-height:1.8}main.content{padding:38px 46px 70px;max-width:1550px;width:100%;margin:auto}.pagehead{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px}.eyebrow{font-size:10px;letter-spacing:2px;color:var(--gold);font-weight:700;margin:0 0 12px}h1{font-size:32px;letter-spacing:-1px;font-weight:650;margin:0 0 10px}h2{font-size:18px;font-weight:600;margin:0 0 10px}h3{font-size:15px;margin:0 0 10px}p{line-height:1.65}.muted,.pagehead p{color:var(--muted);margin:0;line-height:1.6}.hero{position:relative;overflow:hidden;background:radial-gradient(ellipse at 100% 0%,#dca84b20,transparent 55%),linear-gradient(120deg,#252720,#1b1e25);border:1px solid #dca84b38;padding:35px;border-radius:16px;display:flex;justify-content:space-between;gap:25px;margin-bottom:25px}.hero h2{font-size:26px;max-width:520px;line-height:1.3}.hero p{max-width:600px;color:var(--muted);margin-bottom:0}.hero .badge{align-self:flex-start;white-space:nowrap}.badge{display:inline-flex;align-items:center;gap:7px;font-size:11px;font-weight:600;border:1px solid var(--line);padding:7px 10px;border-radius:99px;color:var(--muted)}.badge.good{background:#77d8af0d;border-color:#77d8af30;color:var(--green)}.badge.warn{color:var(--gold);border-color:#dca84b40;background:#dca84b0c}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:25px}.grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.card{background:var(--panel);border:1px solid var(--line);border-radius:13px;padding:23px;min-width:0}.metric{font-size:33px;font-weight:650;letter-spacing:-1px;margin:17px 0 7px}.card-label{font-size:12px;color:var(--muted)}.card .muted{font-size:12px}.section{margin-top:30px}.section-head{display:flex;justify-content:space-between;align-items:center;margin:0 0 16px}.feature{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 0;border-bottom:1px solid var(--line)}.feature:last-child{border-bottom:0}.feature p{color:var(--muted);font-size:12px;margin:5px 0 0}.feature h3{margin:0}.notice{border:1px solid #dca84b40;background:#dca84b0a;padding:17px 20px;border-radius:11px;color:#e5c898;font-size:13px;line-height:1.7;margin-bottom:25px}.notice ul{padding-left:18px;margin-bottom:0}label{display:block;color:var(--muted);font-size:12px;margin-bottom:18px}label input,label textarea,label select{margin-top:8px}input,textarea,select{display:block;width:100%;background:#11141b;border:1px solid #373d49;border-radius:8px;color:var(--text);padding:12px;font-size:14px}textarea{min-height:120px;resize:vertical;line-height:1.6}input:focus,textarea:focus,select:focus{border-color:var(--gold)}.formgrid{display:grid;grid-template-columns:1fr 1fr;gap:0 22px}.actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.embed-preview{background:#30333d;border-left:4px solid var(--gold);border-radius:6px;padding:23px;min-height:230px;white-space:pre-wrap;overflow-wrap:anywhere}.embed-preview h3{font-size:20px}.embed-preview p{font-size:14px}.embed-preview small{font-size:11px;color:#b6bac4}.tablewrap{overflow:auto;border:1px solid var(--line);border-radius:12px}table{width:100%;border-collapse:collapse;text-align:left;background:var(--panel);font-size:13px}th{color:var(--muted);font-weight:500;background:#171a21;padding:15px 18px;white-space:nowrap}td{padding:17px 18px;border-top:1px solid var(--line);vertical-align:top;max-width:600px}td.message{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6}td button{font-size:11px;padding:7px 10px}.ticket-editor{margin-bottom:16px}.empty{padding:40px;text-align:center;color:var(--muted)}.login{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:25px;background:radial-gradient(ellipse at 50% 20%,#dca84b13,transparent 60%)}.login .brandmark{height:66px;width:66px;font-size:39px;margin-bottom:30px}.login h1{font-size:48px;line-height:1.15;max-width:650px}.login p:not(.eyebrow){max-width:550px;color:var(--muted)}code{background:#2d313b;padding:3px 7px;border-radius:5px;color:var(--text)}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);max-width:90vw;padding:14px 24px;background:#343b47;border:1px solid #566277;border-radius:10px;box-shadow:0 10px 40px #0008;display:none;z-index:5}.config-state{color:var(--gold);font-size:12px}.logo-preview{height:70px;width:70px;object-fit:cover;border-radius:15px}.wide{grid-column:1/-1}.archive{white-space:pre-wrap;font-size:12px;max-height:600px;overflow:auto}.footerline{font-size:11px;color:#6f7784;margin-top:32px;display:flex;justify-content:space-between}.logs-filter{max-width:260px;margin-bottom:18px}@media(max-width:1050px){main.content{padding:28px}.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.layout{grid-template-columns:180px 1fr}header{padding:0 25px}.hero{padding:25px}.hero .badge{display:none}}@media(max-width:720px){header{height:72px;padding:0 16px}.wordmark{font-size:12px}.wordmark small{font-size:9px}.account span{display:none}.account button{font-size:11px;padding:8px}.layout{display:block}aside{flex-direction:row;overflow:auto;padding:9px;border-right:0;border-bottom:1px solid var(--line);position:sticky;top:0;background:var(--bg);z-index:2}aside button{white-space:nowrap;font-size:12px;padding:10px 13px}.nav-label,.aside-foot{display:none}main.content{padding:25px 16px 60px}.grid,.grid.two,.formgrid{grid-template-columns:1fr}.grid{gap:12px}h1{font-size:26px}.pagehead{align-items:flex-start}.pagehead button{font-size:12px}.hero h2{font-size:23px}.hero{padding:23px}.card{padding:20px}.metric{font-size:30px}.login h1{font-size:35px}.footerline{display:block}}
/* SouthSide ACP: compact reference-inspired layout, purple identity. */
:root{--bg:#10101b;--panel:#1c1c2d;--line:#303044;--text:#f4f2ff;--muted:#a5a3ba;--gold:#a78bfa;--green:#70dfbc;font-size:14px}
body{background:radial-gradient(ellipse at 85% 0%,#7132be12,transparent 42%),var(--bg)}
header{height:76px;padding:0 max(24px,calc((100vw - 1160px)/2));background:#1a1929;border-bottom:1px solid #373049}
.wordmark{font-size:15px;gap:13px;white-space:nowrap}.wordmark img{width:49px;height:49px;border-radius:14px}.wordmark small{font-size:9px;letter-spacing:1.8px;color:#b2a4cf}
.account button{padding:8px 13px;font-size:12px}.layout{display:block;min-height:calc(100vh - 76px)}
aside{max-width:1160px;margin:auto;display:flex;flex-direction:row;gap:3px;overflow:auto;border:0;border-bottom:1px solid var(--line);padding:12px 0;background:transparent}
aside button{font-size:12px;white-space:nowrap;padding:10px 12px;border-radius:7px;color:#afabc5}
aside button.active{background:#9670f222;border:1px solid #a78bfa44;color:#d6c5ff}
.nav-label,.aside-foot{display:none}main.content{max-width:1160px;margin:0 auto;padding:34px 0 60px}
h1{font-size:25px;letter-spacing:-.7px}h2{font-size:17px}h3{font-size:14px}
.pagehead{margin-bottom:25px}.pagehead .eyebrow{font-size:9px;letter-spacing:1.8px;color:#9a80c9}.pagehead p{font-size:12px}
button{border-radius:7px;padding:10px 14px;background:#303047;color:#eee9ff}button:hover{background:#3d3758;border-color:#79629d}
button.primary{background:#8755dc;color:#fff;border-color:#a77aea;box-shadow:0 3px 12px #6a2fba24}button.primary:hover{background:#9964ed}
button:disabled{cursor:not-allowed}.card{border-radius:10px;padding:23px;background:linear-gradient(140deg,#222133,#1b1b2b);border-color:#343047;box-shadow:0 5px 20px #00000012}
.grid{gap:17px}.stats-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.metric{font-size:30px;margin:13px 0 10px;color:#c5a9ff}.online-text{color:var(--green);font-size:26px}
.badge{border-radius:6px;padding:5px 8px;font-size:10px}.badge.warn{border-color:#b69bf14a;background:#a78bfa10;color:#ccb4ff}
.notice{background:#9873df0c;border-color:#a78bfa38;color:#ccbce7}.overview-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:25px;padding:7px 2px 15px}
.overview-heading h2{font-size:27px;margin:13px 0 9px;letter-spacing:-.7px}.overview-heading img{width:86px;height:86px;border-radius:23px;box-shadow:0 6px 30px #9e66e71c}
.module-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.module-card{display:flex;gap:17px;align-items:center;text-align:left;padding:24px;border-radius:10px;background:#211f32;border:1px solid #363048;font-weight:400}
.module-card h3{font-size:15px;margin:0 0 7px}.module-card p{font-size:12px;color:var(--muted);line-height:1.6;margin:0}.module-icon{display:grid;place-items:center;flex:0 0 42px;height:42px;font-size:23px;border-radius:10px;background:#9360da1c;color:#b48bf4}.module-arrow{margin-left:auto;color:#a78bfa;font-size:20px}
input,select,textarea{background:#2b2a40;border:1px solid #434058;border-radius:7px;font-size:13px;padding:11px 12px}input::placeholder,textarea::placeholder{color:#938da9}input:focus,select:focus,textarea:focus{outline:2px solid #b890f755;border-color:#a780e6}
label{font-size:12px;color:#c0b9d2}th{background:#1a1829}td{border-color:#353044}.tablewrap{border-color:#353044}.embed-preview{background:#282438}.section{margin-top:24px}
.member-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.member-card{display:flex;align-items:center;gap:15px;padding:18px;border:1px solid #3a334d;border-radius:9px;background:#252235}.member-card[hidden]{display:none}.member-card img{width:48px;height:48px;border-radius:50%}.member-card h3{margin:0 0 4px}.member-tags{display:flex;gap:7px;flex-wrap:wrap;margin-top:9px}
.edit-dialog{background:#201d31;color:var(--text);border:1px solid #63507d;border-radius:15px;max-width:580px;width:calc(100% - 32px);padding:28px;box-shadow:0 30px 100px #0008}.edit-dialog::backdrop{background:#080612bb;backdrop-filter:blur(5px)}.edit-dialog label{margin-bottom:17px}
.login{background:radial-gradient(ellipse at 50% 20%,#8b4dca26,transparent 65%),#10101b}.login-logo{height:110px;width:110px;border-radius:28px;margin-bottom:28px;box-shadow:0 15px 60px #8955d42b}.login h1{font-size:42px}
.footerline{color:#80778f;font-size:10px}.hero{background:#211d32;border-color:#a78bfa33}
@media(max-width:1200px){main.content{padding:30px 24px 60px}aside{margin:0 24px}header{padding:0 24px}}
@media(max-width:850px){.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.module-card{padding:20px}.member-grid{grid-template-columns:1fr}}
@media(max-width:720px){header{height:72px;padding:0 16px}.wordmark{font-size:12px}.wordmark img{width:42px;height:42px}.wordmark small{font-size:8px}.account span{display:none}aside{margin:0;padding:10px 12px;position:sticky;top:0;z-index:2;background:#151321}main.content{padding:25px 16px 50px}.module-grid,.grid.two{grid-template-columns:1fr}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stats-grid .card{padding:17px 13px}.metric{font-size:26px}.card-label{font-size:11px}.overview-heading h2{font-size:23px}.overview-heading img{width:65px;height:65px;margin-left:15px}.overview-heading p{font-size:12px}.pagehead{gap:12px}.pagehead h1{font-size:23px}.module-card{padding:20px}.footerline{line-height:1.8}.login h1{font-size:32px}}
@media(min-width:721px){aside{flex-wrap:wrap;overflow:visible}}
/* Module workspace: dark purple sidebar, matching the supplied structure. */
.priority-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:20px 0 30px}.priority-red{border-top:3px solid #fb7185!important}.priority-red h2{color:#fb7185}.priority-orange{border-top:3px solid #fbbf24!important}.priority-orange h2{color:#fbbf24}.priority-green{border-top:3px solid #6ee7b7!important}.priority-green h2{color:#6ee7b7}.priority-item{display:block;text-align:left;width:100%;margin-top:12px;background:transparent;white-space:normal}.priority-item small{display:block;color:var(--muted);font-weight:400;margin-top:8px;line-height:1.5}@media(max-width:1000px){.priority-grid{grid-template-columns:1fr}}
:root{--custom-accent:#a78bfa;--custom-background:#0d0b14;--custom-panel:#191523;--custom-radius:16px}
body{background:var(--custom-background)!important}.card,.module-card{background:var(--custom-panel)!important;border-radius:var(--custom-radius)!important}button.primary{background:var(--custom-accent)!important;color:#111!important;border-color:var(--custom-accent)!important}aside button.active,a,.eyebrow{color:var(--custom-accent)!important}.embed-preview{border-left-color:var(--custom-accent)}button,input,textarea,select{border-radius:var(--custom-radius)}
body{background:#0d0b14}.card{background:#191523;border-color:#342840;border-radius:16px}.module-setting{display:flex;flex-direction:column;min-height:205px}.module-setting .actions{margin-top:auto;padding-top:24px}.module-setting .section-head{align-items:flex-start;gap:12px}.module-setting .badge{white-space:nowrap}.wordmark img{object-fit:contain;flex-shrink:0;background:#23192f}
.module-overview{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:22px 25px;margin:18px 0 26px;border:1px solid #493660;border-radius:13px;background:linear-gradient(110deg,#24172f,#1b1928)}.module-overview .eyebrow{margin:0 0 6px}.module-overview h2{margin:0 0 12px;font-size:19px}.module-overview h2 span{font-size:12px;font-weight:450;color:var(--muted)}.module-overview .muted{font-size:11px;margin-top:7px}.module-progress{height:6px;max-width:520px;overflow:hidden;border-radius:10px;background:#3b3546}.module-progress i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#8c52df,#d946ef)}.module-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0 0 18px}.module-summary>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 19px;background:#191523;border:1px solid #342840;border-radius:11px}.module-summary strong{font-size:25px;color:#c5a9ff}.module-section{margin:28px 0 34px}.module-section>.section-head{margin:0 0 15px}.module-section .eyebrow{margin:0 0 5px}.module-section .section-head h2{font-size:18px}.feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.feature-card{display:flex;flex-direction:column;gap:14px;min-height:205px;padding:19px;background:linear-gradient(145deg,#1d1828,#181521);border:1px solid #30273b;border-radius:13px;transition:border-color .15s,transform .15s}.feature-card:hover{border-color:#79569c;transform:translateY(-1px)}.feature-card-head{display:flex;align-items:center;gap:11px;min-width:0}.feature-title{display:flex;align-items:center;gap:9px;min-width:0;flex:1}.feature-title h3{margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}.feature-card .module-icon{flex-basis:39px;height:39px;font-size:20px}.status-dot{display:block;width:8px;height:8px;flex:0 0 8px;background:#e14b62;border-radius:50%;box-shadow:0 0 11px #e14b623c}.feature-card.good .status-dot{background:#61d7ac;box-shadow:0 0 11px #61d7ac55}.feature-card.integrated .status-dot{background:#a78bfa;box-shadow:0 0 11px #a78bfa55}.feature-status{font-size:10px;font-weight:650;padding:6px 8px;border-radius:7px;white-space:nowrap;color:#f2a2ad;background:#5b24322e}.feature-status.good{color:#82dfbc;background:#1c503b42}.feature-status.integrated{color:#c9afff;background:#593a792e}.feature-status.off{color:#f0bc7c;background:#64432236}.feature-status.unavailable{color:#8f8b9b;background:#3a37422e}.feature-card p{color:#a39eaf;font-size:12px;line-height:1.65;margin:0}.feature-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:auto;padding-top:1px}.feature-actions button{padding:8px 10px;font-size:11px}.feature-card.unavailable{opacity:.78;background:#191720;border-color:#292632}.feature-card.unavailable:hover{transform:none;border-color:#393343}.command-toolbar{display:grid;grid-template-columns:minmax(180px,1fr) minmax(190px,280px) minmax(160px,210px);align-items:end;gap:20px;margin-bottom:25px}.command-toolbar h2{margin-bottom:6px}.command-toolbar p{font-size:12px}.command-toolbar label{margin:0}.command-toolbar input,.command-toolbar select{margin-top:7px}.command-section{margin:25px 0 33px}.command-section .section-head{margin-bottom:13px}.command-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.command-card{padding:17px 19px;border:1px solid #332b3e;border-radius:11px;background:#191722}.command-title{display:flex;align-items:center;justify-content:space-between;gap:12px}.command-title code{font-size:14px;font-weight:650;color:#f5efff;background:#0e0c15;padding:5px 8px;border-radius:6px}.command-card>p{margin:11px 0 0;color:#a7a2b2;font-size:12px;line-height:1.55}.command-options{display:flex;gap:6px;flex-wrap:wrap;margin-top:12px}.option-chip{font-size:10px;color:#c2b9d2;background:#2a2534;border:1px solid #393044;border-radius:6px;padding:5px 7px}.command-card[hidden],.command-section[hidden]{display:none!important}
@media(min-width:900px){header{padding:0 32px;height:84px}.layout{display:grid;grid-template-columns:250px minmax(0,1fr);min-height:calc(100vh - 84px)}aside{display:flex;flex-direction:column;flex-wrap:nowrap;align-items:stretch;position:sticky;top:0;height:100vh;overflow-y:auto;width:250px;margin:0;padding:24px 16px;background:#14101e;border-right:1px solid #352642;border-bottom:0}aside button{text-align:left;padding:13px 16px;font-size:13px}.nav-label{display:block}.aside-foot{display:block;margin-top:auto}main.content{max-width:1360px;padding:38px 36px 64px;margin:0 auto}.module-grid{gap:20px}aside button.active{background:#9c68ed22;border-color:#9c68ed55}}
@media(max-width:1100px){.feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.command-toolbar{grid-template-columns:1fr 1fr}.command-toolbar>div{grid-column:1/-1}}
@media(max-width:720px){.module-overview{align-items:flex-start;flex-direction:column;padding:19px}.module-overview .actions{width:100%}.module-summary{grid-template-columns:1fr}.module-summary>div{padding:14px 16px}.feature-grid,.command-grid{grid-template-columns:1fr}.feature-card{min-height:unset}.command-toolbar{grid-template-columns:1fr}.command-toolbar>div{grid-column:auto}.command-title{align-items:flex-start;flex-direction:column}}
