:root{--bg:#060c16;--panel:#0b1523;--panel2:#101d2e;--line:#20324a;--muted:#8392a8;--text:#edf5ff;--blue:#3498db;--blue2:#1668a8;--green:#37d08a;--red:#ed4245;--shadow:0 24px 80px rgba(0,0,0,.34)}*{box-sizing:border-box}body{margin:0;background:radial-gradient(circle at 30% -20%,#123257 0,transparent 38%),var(--bg);color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;min-height:100vh}.hidden{display:none!important}.ambient{position:fixed;border-radius:50%;filter:blur(110px);opacity:.16;pointer-events:none}.ambient-one{width:420px;height:420px;background:#208ed7;right:-140px;top:8%}.ambient-two{width:350px;height:350px;background:#174e91;left:5%;bottom:-180px}.glass{background:linear-gradient(145deg,rgba(16,29,46,.94),rgba(8,17,29,.94));border:1px solid rgba(100,150,205,.18);box-shadow:var(--shadow)}.login-shell{min-height:100vh;display:grid;place-items:center;padding:24px}.login-card{width:min(500px,100%);border-radius:28px;text-align:center;padding:52px 45px}.brand-mark img{width:96px;height:96px;border-radius:28px;object-fit:cover;background:#162438;border:1px solid #31557c;box-shadow:0 15px 40px rgba(52,152,219,.2)}.eyebrow{letter-spacing:.18em;color:#58b9f5;font-size:11px;font-weight:800;margin:22px 0 8px}.login-card h1{font-size:42px;margin:0}.login-card>p:not(.eyebrow):not(.error-text){color:var(--muted);line-height:1.7}.discord-button{margin:28px auto 18px;display:flex;justify-content:center;gap:12px;align-items:center;background:linear-gradient(135deg,#5865f2,#4250d8);color:white;text-decoration:none;border-radius:12px;padding:15px 22px;font-weight:800;box-shadow:0 12px 25px rgba(88,101,242,.25)}.login-card small{color:#64758d}.error-text{color:#ff7072}.app-shell{display:grid;grid-template-columns:260px 1fr;min-height:100vh}.sidebar{position:fixed;width:260px;height:100vh;padding:24px 18px;border-right:1px solid var(--line);background:rgba(6,13,23,.94);backdrop-filter:blur(18px);display:flex;flex-direction:column;z-index:4}.brand-row,.profile-row{display:flex;align-items:center;gap:12px}.server-logo{width:44px;height:44px;border-radius:13px;object-fit:cover;border:1px solid #2d527a}.brand-row div,.profile-row div{display:flex;flex-direction:column}.brand-row strong{font-size:15px}.brand-row span,.profile-row span{font-size:11px;color:var(--muted);margin-top:3px}.sidebar nav{margin-top:42px;display:grid;gap:8px}.nav-item{border:0;background:transparent;color:#8fa0b7;border-radius:10px;padding:12px 14px;text-align:left;font-weight:700;cursor:pointer}.nav-item span{display:inline-block;width:25px;color:#5fbafa}.nav-item:hover,.nav-item.active{background:linear-gradient(90deg,rgba(52,152,219,.18),rgba(52,152,219,.04));color:white}.status-card{margin-top:auto;padding:13px;border:1px solid #1c3b35;border-radius:12px;background:rgba(27,94,73,.14);display:flex;gap:11px;align-items:center}.status-card i,.server-pill i{width:8px;height:8px;background:var(--green);border-radius:50%;box-shadow:0 0 12px var(--green)}.status-card div{display:flex;flex-direction:column}.status-card strong{font-size:12px}.status-card span{font-size:10px;color:#72a798;margin-top:3px}.profile-row{margin-top:14px;border-top:1px solid var(--line);padding-top:15px}.profile-row img{width:35px;height:35px;border-radius:50%;background:#162438}.profile-row div{min-width:0;flex:1}.profile-row strong{font-size:12px;overflow:hidden;text-overflow:ellipsis}.profile-row button{background:none;border:0;color:#8293a9;font-size:20px;cursor:pointer}.workspace{grid-column:2;padding:0 38px 50px;min-width:0}.topbar{height:110px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);margin-bottom:28px}.topbar .eyebrow{margin:0 0 5px}.topbar h2{margin:0;font-size:25px}.server-pill{display:flex;gap:9px;align-items:center;border:1px solid var(--line);padding:9px 13px;border-radius:999px;color:#aebdd0;font-size:12px}.composer-grid{display:grid;grid-template-columns:minmax(460px,1.05fr) minmax(380px,.95fr);gap:28px;align-items:start}.editor-card,.history-card{border-radius:18px;padding:28px}.section-title{display:flex;gap:14px;align-items:center;margin-bottom:20px}.section-title>span{display:grid;place-items:center;width:34px;height:34px;border-radius:9px;background:rgba(52,152,219,.14);color:#5bb8f3;font-weight:900;font-size:12px}.section-title h3,.fields-heading h4,.preview-header h3,.history-title h3{margin:0}.section-title p,.fields-heading p,.preview-header p,.history-title p{color:var(--muted);font-size:12px;margin:4px 0 0}.divider{height:1px;background:var(--line);margin:28px 0}.editor-card label{display:block;color:#aebdd0;font-size:12px;font-weight:700;margin:0 0 17px;position:relative}.editor-card input,.editor-card textarea,.editor-card select{width:100%;margin-top:8px;background:#07111e;border:1px solid #233750;color:var(--text);border-radius:9px;padding:12px 13px;outline:none;font:inherit;transition:.2s}.editor-card input:focus,.editor-card textarea:focus,.editor-card select:focus{border-color:#389cda;box-shadow:0 0 0 3px rgba(52,152,219,.11)}textarea{resize:vertical}.editor-card label em{position:absolute;right:9px;bottom:8px;font-style:normal;color:#596b83;font-size:10px}.two-columns{display:grid;grid-template-columns:1fr 1fr;gap:14px}.color-control{display:grid;grid-template-columns:48px 1fr;gap:8px}.color-control input[type=color]{height:42px;padding:4px}.fields-heading,.preview-header,.history-title{display:flex;align-items:center;justify-content:space-between;margin:6px 0 15px}.ghost-button{border:1px solid #2b4564;background:#102136;color:#b8d5ec;padding:9px 12px;border-radius:8px;cursor:pointer;font-weight:700}.field-row{display:grid;grid-template-columns:1fr 1.5fr auto auto;gap:8px;align-items:center;margin-bottom:8px}.field-row input{margin:0}.field-row .inline-label{font-size:10px;margin:0;display:flex;gap:5px;align-items:center}.field-row .inline-label input{width:auto;margin:0}.remove-field{border:0;background:#351a22;color:#ff7e81;border-radius:8px;width:34px;height:34px;cursor:pointer}.switches{display:flex;gap:20px;flex-wrap:wrap;margin:22px 0}.switch{display:flex!important;align-items:center;gap:8px;margin:0!important;cursor:pointer}.switch input{display:none}.switch span{width:34px;height:19px;background:#25354a;border-radius:20px;position:relative}.switch span:after{content:"";position:absolute;width:13px;height:13px;left:3px;top:3px;border-radius:50%;background:#8291a5;transition:.2s}.switch input:checked+span{background:#1d6c9e}.switch input:checked+span:after{left:18px;background:white}.switch.warning{color:#d5aa65}.primary-button{width:100%;border:0;border-radius:11px;padding:14px 17px;display:flex;justify-content:space-between;background:linear-gradient(135deg,#258fd0,#155d98);color:white;font-weight:900;cursor:pointer;box-shadow:0 12px 26px rgba(21,93,152,.22)}.primary-button:disabled{opacity:.55;cursor:wait}.form-status{min-height:18px;text-align:center;font-size:12px;color:var(--green)}.form-status.error{color:#ff7678}.preview-column{position:sticky;top:24px}.preview-header>span{font-size:9px;font-weight:900;letter-spacing:.14em;color:#5bc99d;background:#12352e;border:1px solid #205344;border-radius:99px;padding:7px 9px}.discord-canvas{background:#313338;border-radius:15px;padding:28px 20px;min-height:270px;box-shadow:var(--shadow)}.discord-message{display:flex;gap:14px}.discord-avatar{width:40px;height:40px;border-radius:50%;object-fit:cover}.discord-body{flex:1;min-width:0}.discord-author{font-weight:700;font-size:14px}.discord-author span{font-size:9px;background:#5865f2;padding:2px 4px;border-radius:3px}.discord-author time{font-size:10px;color:#949ba4;font-weight:400}.preview-content{font-size:13px;margin:4px 0;white-space:pre-wrap}.discord-embed{position:relative;margin-top:6px;background:#2b2d31;border-left:4px solid var(--blue);border-radius:4px;display:flex;max-width:520px}.embed-body{padding:13px 15px;width:100%;min-width:0}.embed-author{font-size:11px;font-weight:700;margin-bottom:8px}.embed-title{font-size:15px;font-weight:800;margin-bottom:8px}.embed-description{font-size:12px;line-height:1.45;white-space:pre-wrap;color:#dbdee1}.embed-fields{display:grid;grid-template-columns:repeat(12,1fr);gap:10px;margin-top:13px}.embed-field{grid-column:span 12;font-size:11px}.embed-field.inline{grid-column:span 6}.embed-field strong{display:block;margin-bottom:4px}.embed-field p{margin:0;white-space:pre-wrap;color:#dbdee1}.embed-image{width:100%;max-height:320px;object-fit:cover;border-radius:5px;margin-top:14px}.embed-thumbnail{width:80px;height:80px;object-fit:cover;border-radius:5px;margin:14px 14px 0 0}.embed-footer{display:flex;align-items:center;gap:6px;margin-top:14px;color:#b5bac1;font-size:10px}.embed-footer img{width:18px;height:18px;border-radius:50%}.security-note{display:flex;gap:12px;padding:17px;margin-top:18px;border-radius:12px;background:rgba(21,67,91,.18);border:1px solid #21465d}.security-note span{color:#4bb5e9}.security-note strong{font-size:12px}.security-note p{font-size:11px;color:var(--muted);margin:4px 0 0}.history-card{min-height:400px}.history-list{display:grid;gap:10px}.history-item{display:grid;grid-template-columns:1fr auto;gap:18px;padding:15px;border:1px solid var(--line);border-radius:11px;background:#091421}.history-item h4{margin:0 0 6px;font-size:13px}.history-item p{margin:0;color:var(--muted);font-size:11px}.history-actions{display:flex;gap:7px;align-items:center}.history-actions a,.history-actions button{border:1px solid #29445f;background:#102033;color:#c1ddf2;padding:7px 9px;border-radius:7px;text-decoration:none;cursor:pointer;font-size:11px}.history-actions button.danger{color:#ff8587;border-color:#5a2d36;background:#25151b}.empty-state{text-align:center;color:var(--muted);padding:70px 20px}@media(max-width:1050px){.composer-grid{grid-template-columns:1fr}.preview-column{position:static}}@media(max-width:760px){.app-shell{display:block}.sidebar{position:static;width:auto;height:auto;padding:15px}.sidebar nav{margin:18px 0;display:flex}.status-card{display:none}.workspace{padding:0 15px 35px}.topbar{height:90px}.server-pill{display:none}.two-columns{grid-template-columns:1fr}.editor-card{padding:19px}.field-row{grid-template-columns:1fr}.composer-grid{display:block}.preview-column{margin-top:20px}.login-card{padding:38px 24px}}
