:root{font-family:Inter,"Segoe UI",Arial,sans-serif;color:#f8f4ed;background:#0e0e10;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:1050px}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}button{cursor:pointer}em{font-style:normal;color:#e2b771}h1,h2,p{margin-top:0}h1{font-size:47px;line-height:1.07;letter-spacing:-.055em;margin-bottom:12px;font-weight:800}h2{font-size:22px;letter-spacing:-.035em;margin-bottom:0}p{line-height:1.55}.eyebrow{font-size:10px;font-weight:800;letter-spacing:.19em;color:#dcac65;margin-bottom:14px}.sidebar{position:fixed;top:0;bottom:0;left:0;width:244px;background:#121214;border-right:1px solid #29272a;display:flex;flex-direction:column;padding:23px 17px;z-index:10}.brand{display:flex;align-items:center;gap:11px;padding:0 5px 31px;border-bottom:1px solid #2b292b}.brand img{height:44px;width:63px;object-fit:contain}.brand span{font-size:12px;font-weight:900;letter-spacing:.1em;line-height:1.2}.brand small{display:block;font-size:11px;color:#9c9591;letter-spacing:.04em;margin-top:5px}.nav-label{color:#6c6969;font-size:10px;font-weight:800;letter-spacing:.13em;margin:34px 13px 12px}.nav{display:grid;gap:5px}.nav a{height:42px;border-radius:9px;display:flex;align-items:center;gap:12px;padding:0 14px;color:#aaa5a1;font-size:13px;font-weight:650}.nav a:hover{color:#fff;background:#211e1e}.nav a.active{background:#4a1d23;color:#fff;box-shadow:inset 3px 0 var(--accent)}.nav-icon{font-size:18px;width:19px;text-align:center;color:#dbb06e}.sidebar-bottom{margin-top:auto}.online{font-size:11px;color:#94908a;padding:0 10px 20px;border-bottom:1px solid #2b292b;display:flex;gap:8px;align-items:center}.online i,.topbar-right i{display:inline-block;width:7px;height:7px;border-radius:50%;background:#74c69d;box-shadow:0 0 12px #74c69d}.profile{display:flex;gap:10px;align-items:center;margin:19px 3px 8px}.profile-avatar{height:32px;width:32px;background:#533038;border:1px solid #8e3e4d;color:#fff;border-radius:9px;display:grid;place-items:center;font-size:12px;font-weight:800}.profile strong,.profile small{display:block}.profile strong{font-size:12px}.profile small{font-size:10px;color:#8b8580;margin-top:4px}.logout{border:0;background:none;color:#8e8985;font-size:11px;padding:7px 45px}.logout:hover{color:#fff}.main{margin-left:244px;min-height:100vh;padding:0 42px 70px;background:radial-gradient(circle at 95% 0,#261619 0,transparent 340px),#0e0e10}.topbar{height:68px;border-bottom:1px solid #29272a;display:flex;align-items:center;justify-content:space-between;color:#8f8a87;font-size:11px;font-weight:650}.topbar b{padding:0 10px;color:#474346}.topbar-right{display:flex;align-items:center;gap:9px}.notices{padding-top:18px}.notice{padding:12px 15px;border:1px solid #735e35;background:#282217;border-radius:8px;font-size:12px;color:#f3d69d}.notice.error{border-color:#7d343f;background:#2d171c;color:#ffb7bd}.page-head{display:flex;justify-content:space-between;align-items:end;margin:41px 0 25px;gap:20px}.page-head p{color:#96908e;font-size:13px;margin-bottom:0}.page-head .eyebrow{margin-bottom:13px}.button{border:0;display:inline-flex;align-items:center;justify-content:center;gap:18px;min-height:39px;padding:0 17px;border-radius:8px;font-size:12px;font-weight:750;white-space:nowrap}.button.primary{background:#d63849;color:white;box-shadow:0 5px 22px #d6384924}.button.primary:hover{background:#ed4558}.button.ghost{background:#242123;color:#e9e5e1;border:1px solid #383334}.button.ghost:hover,.button.outline:hover{border-color:#a7525c}.button.outline{background:transparent;color:#f3e8d9;border:1px solid #685157}.hero{height:279px;border:1px solid #4c3030;border-radius:13px;overflow:hidden;position:relative;background:#1b1012}.hero>img{width:100%;height:100%;object-fit:cover;object-position:center 48%}.hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,#140f11ed 0,#130e10b0 38%,transparent 72%),linear-gradient(0deg,#130d1070,transparent 60%)}.hero-content{position:absolute;top:35px;left:38px}.pill{font-size:9px;letter-spacing:.2em;border:1px solid #a55155;background:#3d1f24aa;color:#f7b9ad;padding:7px 11px;border-radius:5px;font-weight:850}.hero h2{font-size:36px;line-height:1.08;letter-spacing:-.05em;margin:25px 0 11px}.hero p{font-size:12px;color:#ddd0c5;max-width:260px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:18px 0 24px}.stat{background:#181719;border:1px solid #2d292b;border-radius:11px;padding:19px 21px;min-height:125px;position:relative}.stat:before{content:"";position:absolute;top:0;left:20px;width:38px;height:2px;background:#b13947}.stat span,.stat small{display:block;color:#9c9692;font-size:11px}.stat strong{display:block;font-size:32px;letter-spacing:-.06em;margin:7px 0 2px}.stat small{color:#736e6b}.panel{background:#181719;border:1px solid #2d292b;border-radius:12px}.panel-head{display:flex;align-items:end;justify-content:space-between;padding:23px 25px 19px}.panel-head .eyebrow{margin-bottom:8px}.text-link{font-size:11px;color:#d9ae70;font-weight:700}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:12px}th{text-align:left;background:#1c1a1c;color:#77716f;font-size:9px;font-weight:850;letter-spacing:.14em;padding:13px 19px}td{padding:14px 19px;border-top:1px solid #2b292a;color:#b9b3ae;white-space:nowrap}td strong{color:#f3ede7}td small{display:block;margin-top:3px;color:#78716f;max-width:220px;overflow:hidden;text-overflow:ellipsis}.row-arrow{display:grid;place-items:center;height:25px;width:25px;border-radius:6px;background:#302728;color:#e9bfc1}.row-arrow:hover{background:#8b2b38;color:#fff}.status{font-size:10px;font-weight:760;padding:6px 10px;border-radius:99px;background:#1d3530;color:#79cfaa;display:inline-block}.status.closed{background:#3c3020;color:#dfba78}.status.deleted{background:#33282b;color:#c8a8ae}.status.large{padding:9px 14px;font-size:11px}.empty{text-align:center;color:#8f8985;font-size:12px;padding:55px 20px}.count-chip{border:1px solid #3f3434;color:#b9aaa1;padding:9px 12px;border-radius:7px;font-size:11px}.filters{display:flex;gap:10px;padding:20px}.search-box{flex:1;position:relative}.search-box span{position:absolute;left:12px;top:5px;font-size:23px;color:#8d8580}.filters input,.filters select{height:38px;background:#111113;border:1px solid #3a3436;border-radius:7px;color:#efe9e3;font-size:11px;padding:0 12px}.filters input{width:100%;padding-left:38px}.filters select{min-width:155px}.back-link{display:block;color:#a99e95;font-size:11px;margin-bottom:25px}.back-link:hover{color:#fff}.ticket-page-head h1{font-size:39px;max-width:720px;overflow-wrap:anywhere}.ticket-layout{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(255px,.8fr);gap:18px;align-items:start}.conversation{min-height:450px}.timeline{padding:4px 26px 25px}.message{display:flex;gap:11px;padding:17px 0;border-top:1px solid #2c292b}.message-avatar{width:30px;height:30px;flex:none;border-radius:9px;background:#604129;color:#ffe1ac;display:grid;place-items:center;font-size:11px;font-weight:850}.message-main{min-width:0;flex:1}.message-head{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.message-head strong{font-size:12px}.message-head span{font-size:10px;color:#79736e}.message-content{font-size:12px;line-height:1.65;color:#ccc5bf;white-space:pre-wrap;overflow-wrap:anywhere;margin-top:7px}.tag{border:1px solid #544d3e;border-radius:4px;padding:2px 5px}.tag.danger{border-color:#8c414b;color:#e89ca7}.attachments{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}.attachments a,.missing-file{font-size:10px;padding:7px 9px;border:1px solid #514549;background:#282023;color:#edd4d2;border-radius:6px}.attachments small{color:#8f8581;margin-left:5px}.missing-file{color:#a28c89}.event{display:flex;align-items:start;gap:10px;margin:10px 0;color:#9b948e;font-size:10px}.event-dot{height:7px;width:7px;border-radius:50%;background:#b68242;margin-top:5px;flex:none}.event>div{flex:1}.event strong{color:#ddc29a}.event p{white-space:pre-wrap;overflow-wrap:anywhere;margin:4px 0 0;color:#857e79}.event time{color:#67615e;white-space:nowrap}.ticket-meta{display:grid;gap:15px}.meta-card,.original-message{padding:23px}.meta-card h2{margin-bottom:23px}.meta-card dl{display:grid;grid-template-columns:1fr;gap:5px;margin:0}.meta-card dt{font-size:10px;color:#79736f;margin-top:10px}.meta-card dd{font-size:12px;color:#e3ddd6;margin:0;overflow-wrap:anywhere}.meta-card code{font-size:11px;color:#d6af79}.original-message p{font-size:12px;color:#bfb7b0;white-space:pre-wrap;overflow-wrap:anywhere;margin-bottom:0}.settings-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(330px,.75fr);gap:21px;align-items:start}.settings-form{display:grid;gap:16px}.settings-section{padding:22px 25px}.section-title{display:flex;align-items:center;gap:13px;margin-bottom:24px}.section-number{height:34px;width:34px;border:1px solid #5c393b;border-radius:8px;display:grid;place-items:center;color:#e2af72;font-size:11px;font-weight:800}.section-title .eyebrow{margin-bottom:5px}.field-grid{display:grid;gap:16px}.field-grid.two{grid-template-columns:1fr 1fr}.field-grid.three{grid-template-columns:repeat(3,1fr)}.field-grid label{font-size:11px;color:#bdb5ae;font-weight:650;display:block}.field-grid label small{font-size:10px;color:#776f6b;font-weight:400;display:block;margin:4px 0}.field-grid input:not([type=file]):not([type=checkbox]),.field-grid textarea{display:block;width:100%;background:#111113;border:1px solid #383335;border-radius:7px;color:#eee7e1;font-size:12px;padding:10px 11px;outline:none;margin-top:7px;resize:vertical}.field-grid input:focus,.field-grid textarea:focus{border-color:#a34952!important}.field-grid input[type=file]{width:100%;font-size:10px;margin-top:8px;color:#8d8580;background:#111113;border:1px dashed #544749;border-radius:7px;padding:12px}.field-grid input[type=file]::file-selector-button{background:#3c272b;color:#f2d7cf;border:0;border-radius:5px;padding:6px 9px;margin-right:10px;font-size:10px;cursor:pointer}.field-grid .check{display:flex;align-items:center;gap:8px;font-size:10px;color:#afa49c}.field-grid .check input{accent-color:#db3145}.color-field{display:flex;align-items:center;gap:10px;background:#111113;border:1px solid #383335;border-radius:7px;height:38px;margin-top:7px;padding:5px 9px}.color-field input{width:27px;height:27px;border:0;padding:0;background:none}.color-field span{font-family:monospace;font-size:12px;color:#bdb4ae}.save-bar{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:5px 0 15px}.save-bar span{font-size:10px;color:#8c817c;line-height:1.5}.publish-box{padding:22px 25px;display:flex;justify-content:space-between;align-items:center;margin-top:15px}.publish-box .eyebrow{margin-bottom:7px}.publish-box p{font-size:11px;color:#8e8580;margin:5px 0 0}.preview-sticky{position:sticky;top:23px}.preview-sticky h2{margin-bottom:18px}.preview-tabs{display:flex;gap:5px;border-bottom:1px solid #352d30;margin-bottom:14px}.preview-tabs button{background:none;border:0;color:#8d8581;padding:10px 14px;font-size:11px;font-weight:700;border-bottom:2px solid transparent}.preview-tabs button.selected{color:#f2dfc3;border-bottom-color:#d3a763}.discord-surface{background:#313338;border:1px solid #49474a;border-radius:11px;padding:18px;min-height:340px}.discord-message{display:flex;gap:11px}.discord-avatar{width:32px;height:32px;border-radius:50%;object-fit:cover;background:#111}.discord-body{min-width:0;flex:1}.discord-author{display:flex;align-items:center;gap:6px;font-size:12px}.discord-author strong{color:#fff}.discord-author span{background:#596ac9;color:white;border-radius:3px;padding:2px 4px;font-size:8px;font-weight:800}.discord-author small{font-size:9px;color:#96969b}.embed-card{border-left:4px solid var(--accent);background:#292b2f;border-radius:3px;margin-top:8px;padding:12px;overflow:hidden}.embed-heading{font-weight:800;color:#f5f5f5;font-size:13px;overflow-wrap:anywhere}.embed-card p{font-size:10px;color:#d6d6d9;margin:6px 0 10px;white-space:pre-wrap;overflow-wrap:anywhere}.embed-card #preview-fields{display:flex;gap:25px;font-size:10px;margin-bottom:9px}.embed-card #preview-fields strong,.embed-card #preview-fields code{display:block}.embed-card #preview-fields code{margin-top:4px;color:#e4e3e6}.embed-card img{display:block;width:100%;max-height:160px;object-fit:cover;border-radius:4px}.embed-footer{font-size:9px;color:#9d9da2;margin-top:9px}.discord-button{font-size:10px;color:#efeff1;background:#4f545c;padding:8px 11px;border-radius:4px;width:max-content;margin-top:8px}.preview-note{color:#756d69;font-size:10px;margin-top:10px}.login-shell{min-height:100vh;display:grid;grid-template-columns:minmax(0,1.55fr) minmax(390px,.72fr)}.login-visual{position:relative;overflow:hidden;background:#160f11}.login-visual>img{height:100%;width:100%;object-fit:cover;object-position:center}.login-visual-shade{position:absolute;inset:0;background:linear-gradient(0deg,#100d0df0,transparent 68%),linear-gradient(90deg,#100d0d88,transparent 65%)}.login-visual-text{position:absolute;left:8%;bottom:9%}.login-visual-text h1{font-size:56px;margin:0 0 16px}.login-visual-text p{color:#d8cbc0;font-size:14px}.login-side{background:#121214;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:55px 12%;border-left:1px solid #343030}.login-mark{width:85px;height:85px;object-fit:contain;margin-bottom:40px}.login-side h2{font-size:42px;letter-spacing:-.06em;line-height:1.07;margin-bottom:15px}.login-side p{font-size:13px;color:#9d9690;max-width:270px;margin-bottom:28px}.login-button{width:100%;max-width:290px;justify-content:space-between;height:44px}.login-side small{color:#6d6662;font-size:10px;margin-top:15px}@media(max-width:1250px){.main{padding-left:27px;padding-right:27px}.settings-grid{grid-template-columns:minmax(0,1fr) 340px}.field-grid.three{grid-template-columns:1fr}}
/* List navigation stays compact on desktop. */
.filters{flex-wrap:wrap}.filters input[type=date]{width:126px;color-scheme:dark}.pagination{display:flex;justify-content:space-between;align-items:center;padding:18px 20px;border-top:1px solid #2b292a;color:#8f8781;font-size:11px}.pagination>div{display:flex;gap:8px}.pagination a{padding:7px 10px;border-radius:6px;border:1px solid #4d3b3d;color:#e6c8bd}.pagination a:hover{background:#3c252a}
.field-grid select{display:block;width:100%;background:#111113;border:1px solid #383335;border-radius:7px;color:#eee7e1;font-size:12px;padding:10px 11px;margin-top:7px}.field-grid label>small input[type=checkbox]{accent-color:#db3145;margin-right:5px}.settings-hint{font-size:11px;color:#8e8580;margin:6px 0 0}.quick-card{display:grid;gap:14px;padding:16px;border:1px solid #3c3234;border-radius:9px;background:#151416}.preview-tabs{flex-wrap:wrap}.preview-thumb{float:right;width:72px!important;height:72px!important;object-fit:contain!important;margin:0 0 8px 12px}.copy-value{display:block;border:1px solid #494454;background:#353247;color:#eeeaf5;border-radius:5px;min-width:96px;max-width:100%;margin-top:7px;padding:9px;text-align:left;cursor:pointer}.copy-value:hover{border-color:#e2b771}.copy-value code{font-size:11px;white-space:nowrap}.preview-detail{font-size:10px;color:#d6d6d9;line-height:1.45;margin-top:10px;clear:both}.preview-detail strong{display:block;color:#e9e5ed;margin-bottom:3px}.preview-detail[hidden]{display:none}
.ticket-actions{display:flex;align-items:center;gap:10px}
.profile img.profile-avatar{object-fit:cover;border-radius:50%}
.system-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:18px 0 24px}.system-stats .stat{min-height:138px}.system-stats .stat strong{font-size:28px}.meter{height:5px;border-radius:99px;background:#383033;overflow:hidden;margin-top:12px}.meter i{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#bd3b48,#e5b879)}.system-columns{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:18px}.system-block{min-height:230px}.service-list{padding:0 25px 20px}.service-list>div{display:flex;justify-content:space-between;padding:10px 0;border-top:1px solid #2b292a;font-size:12px;color:#b8b1ab}.service-list strong{font-size:11px}.service-active{color:#80d0a2}.service-down{color:#e39891}.system-note{font-size:11px;color:#968d86;margin:0 25px 15px;line-height:1.5}.backup-list{padding:0 25px 20px;max-height:175px;overflow:auto}.backup-list a{display:flex;justify-content:space-between;align-items:center;padding:10px 0;border-top:1px solid #302b2c;font-size:11px;color:#e9bd81}.backup-list strong,.backup-list small{display:block}.backup-list small{color:#8b837e;margin-top:4px}.file-panel,.system-audit{margin-bottom:18px}.file-toolbar{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:0 25px 17px}.crumbs{display:flex;gap:6px;align-items:center;min-width:0;overflow:auto;white-space:nowrap;font-size:11px;color:#b89b77}.crumbs span{color:#5e5650}.file-toolbar form{display:flex;gap:6px;flex:0 0 45%}.file-toolbar input,.file-form-row input{background:#111113;border:1px solid #3a3436;border-radius:7px;color:#efe9e3;font-size:11px;padding:0 11px;min-height:38px;min-width:0;width:100%}.file-link{font-weight:700;color:#eae4dc;overflow-wrap:anywhere}.file-link:hover{color:#e5b879}.sensitive-label{color:#d5a077!important}.file-forms{display:grid;grid-template-columns:1fr 1fr;gap:20px;border-top:1px solid #302b2c;padding:22px 25px}.file-forms h3,.file-editor h3{font-size:14px;margin:0 0 12px}.file-form-row{display:flex;gap:8px}.file-forms .check,.file-editor-actions .check{display:block;font-size:10px;color:#a9a09b;margin-top:10px}.file-forms .check input,.file-editor-actions .check input{accent-color:#db3145}.file-editor{padding:10px 25px 25px}.file-editor-head{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:14px}.file-editor-head h3{margin-bottom:4px}.file-editor-head small{font-size:10px;color:#8c8580}.file-warning{padding:12px 14px;margin:12px 0 16px;background:#3a281c;border:1px solid #937045;border-radius:7px;font-size:11px;color:#edc994;line-height:1.5}.file-content{width:100%;min-height:400px;max-height:650px;resize:vertical;border:1px solid #494044;background:#0d0d0e;color:#eee9e2;padding:15px;font:12px/1.5 Consolas,monospace;border-radius:8px}.file-editor-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:13px}.system-audit td:last-child{max-width:420px;overflow-wrap:anywhere;white-space:normal}.system-audit code{font-size:10px}
