/* KoraBot / Monochrome workspace. Presentation only. */
:root{color-scheme:dark;--ink:#f5f5f5;--muted:#969696;--line:#282828;--green:#fff;--mint:#fff;--white:#111;--accent:#fff;background:#050505;color:var(--ink)}
body{background:#050505;color:var(--ink);font-family:Inter,"Segoe UI",Arial,sans-serif;-webkit-font-smoothing:antialiased}::selection{background:#fff;color:#000}
.app-shell{grid-template-columns:256px minmax(0,1fr)}
.sidebar{padding:32px 22px;background:#080808;border-right:1px solid #222;color:#a3a3a3;z-index:12}.sidebar .brand{margin:0 4px 40px}.brand{color:#fff;letter-spacing:-1px;font-size:24px;gap:11px}.brand-mark{width:36px;height:36px;background:#fff;color:#000;border-radius:11px;transform:none;font-style:italic;box-shadow:0 3px 0 #777}.brand-tag{color:#777;font-size:7px;letter-spacing:2px}.server-label,.nav-label{color:#777;font-size:9px;letter-spacing:1.8px}.sidebar select{background:#121212;border:1px solid #303030;color:#eee;border-radius:10px;padding:14px 12px;margin-bottom:32px}.search-box{background:#101010;border-color:#262626;color:#888;padding:12px}.search-box input{color:#fff}.search-box input::placeholder{color:#777}.search-box kbd,#navigation kbd{border-color:#333;color:#888;background:#151515}.sidebar nav{gap:6px}.nav-button{padding:13px 12px;color:#969696;font-size:12px;border:1px solid transparent;transition:background .2s,color .2s,border-color .2s}.nav-button:hover{background:#171717;color:#fff;border-color:#292929}.nav-button.active{background:#f2f2f2;color:#080808;box-shadow:0 4px 16px #0005;border-color:#fff}.nav-button.active:after{content:'';width:4px;height:4px;position:absolute;right:12px;background:#080808;border-radius:50%}.nav-icon{color:inherit}.sidebar-bottom{border-top:1px solid #262626;padding:24px 5px 0;color:#b8b8b8}.sidebar-bottom small{color:#666;letter-spacing:.4px}.pulse{background:#fff}
.workspace{background:#050505}.topbar{background:#080808;border-color:#232323;height:84px;padding:0 40px;color:#898989}.account{color:#ddd;gap:14px}.account-avatar{display:grid;place-items:center;width:29px;height:29px;border:1px solid #404040;border-radius:50%;font-size:11px;font-weight:800;background:#202020;color:#fff}.account #username{font-size:11px}main{padding:38px 40px 80px;max-width:1560px}.workspace-footer{background:#050505;color:#666;border-color:#222;padding:22px 40px;letter-spacing:1.5px}.eyebrow,.light{color:#9c9c9c;font-size:9px;letter-spacing:2.3px}.page-heading{margin-bottom:32px;gap:16px}.page-heading h1{color:#fff;font-size:34px;letter-spacing:-1.3px}.page-heading p:last-child{color:#8e8e8e;font-size:12px}.last-sync{margin-left:auto;font-size:10px;color:#777;white-space:nowrap}.button{border-radius:10px;gap:9px;padding:12px 17px;transition:background .2s,border-color .2s,box-shadow .2s,transform .2s}.button:active{transform:translateY(1px)}.button.primary,.primary{background:#f5f5f5;color:#080808;border-color:#fff;box-shadow:0 1px 0 #777}.button.primary:hover,.primary:hover{background:#d8d8d8;color:#000;border-color:#ddd}.secondary{background:#141414;color:#eee;border-color:#343434}.secondary:hover{background:#222;border-color:#777}.subtle{background:transparent;color:#aaa}.subtle:hover{color:#fff;background:#1a1a1a}.button:disabled{cursor:wait}
.welcome-strip{position:relative;padding:34px;border:1px solid #333;border-radius:18px;overflow:hidden;background:radial-gradient(ellipse at 100% 0,#2a2a2a,transparent 65%),#111;min-height:170px}.welcome-strip:after{content:'K';pointer-events:none;position:absolute;right:30px;bottom:-65px;font-size:240px;line-height:1;font-weight:900;font-style:italic;color:#ffffff05;transform:rotate(-12deg)}.welcome-strip h2{font-size:26px;color:#fff;letter-spacing:-.7px}.welcome-strip p{color:#aaa;max-width:530px;font-size:12px}.welcome-strip .eyebrow{display:block;margin-bottom:14px}.welcome-strip .badge{border-color:#494949;color:#bcbcbc;background:#ffffff05;padding:9px 12px;font-size:8px;letter-spacing:1.7px;z-index:1}.stats{gap:18px;margin-bottom:36px}.stat,.card{background:#101010;border:1px solid #292929;border-radius:15px;box-shadow:0 8px 28px #0002}.stat{position:relative;padding:26px;overflow:hidden}.stat>span:not(.stat-icon){font-size:10px;color:#999}.stat strong{font-size:32px;color:#fff;font-weight:600;margin:16px 0 7px;letter-spacing:-1px}.stat small{color:#777;font-size:10px}.stat-icon{position:absolute;right:24px;top:24px;color:#999}.stat-icon .lucide{width:18px;height:18px}.section-label{color:#eee;margin:0 0 18px;font-size:13px}.section-label small{color:#6f6f6f;font-size:10px}.module-grid{gap:18px;perspective:1000px}.module-card{background:linear-gradient(145deg,#151515,#0c0c0c);padding:26px;min-height:205px;color:#fff;overflow:hidden;isolation:isolate}.module-card,.stat{transform:perspective(950px) rotateX(var(--tilt-x,0deg)) rotateY(var(--tilt-y,0deg));transition:transform .22s ease,border-color .22s,box-shadow .22s}.module-card:hover,.stat:hover{border-color:#606060;background-color:#171717;box-shadow:0 20px 40px #0008;transform:perspective(950px) translateY(-4px) rotateX(var(--tilt-x,0deg)) rotateY(var(--tilt-y,0deg))}.module-card:before,.stat:before{content:'';position:absolute;inset:0;pointer-events:none;border-radius:inherit;background:radial-gradient(350px circle at var(--mouse-x,50%) var(--mouse-y,0%),#ffffff0c,transparent 65%);opacity:0;transition:opacity .2s}.module-card:hover:before,.stat:hover:before{opacity:1}.module-symbol{background:#202020;border:1px solid #363636;color:#ddd;width:40px;height:40px;border-radius:11px;margin-bottom:27px;box-shadow:0 3px 0 #050505}.module-card:hover .module-symbol{background:#f5f5f5;color:#000;border-color:#fff}.module-card h3{color:#f5f5f5;font-size:14px;letter-spacing:-.2px}.module-card p{color:#858585;font-size:11px;line-height:1.8;max-width:250px}.module-card .arrow{color:#888;right:26px;top:30px;transition:transform .2s}.module-card:hover .arrow{transform:translate(2px,-2px);color:#fff}
.form-card,.preview-card{padding:28px}.card h2,.card h3{color:#eee}.card-subtitle,.field-help,.field-counter{color:#8c8c8c}.field-label{color:#ddd}.field-label small{color:#777}input[type=text],input[type=url],select,textarea{background:#090909;border-color:#343434;color:#eee;border-radius:9px;padding:12px}input::placeholder,textarea::placeholder{color:#656565}.toggle-field{border-color:#282828}.toggle-field input{background:#333}.toggle-field input:before{background:#fff}.toggle-field input:checked{background:#fff}.toggle-field input:checked:before{background:#000}.multi-choice{background:#0c0c0c;border-color:#333}.multi-choice input[type=search]{background:#080808;color:#eee;border-color:#333}.choice-option{color:#bbb}.choice-option:hover{background:#202020}.choice-option input{accent-color:#fff}.ticket-option{background:#090909;border-color:#333}.ticket-option>strong{color:#eee}.form-card .action-list{background:#101010;border-color:#2c2c2c}.preview-label{color:#888}.discord-preview{background:#1a1a1a;color:#c8c8c8}.preview-embed{background:#101010;border-color:#eee}.preview-embed h3{color:#fff}.preview-footer{color:#888}.field input:invalid:not(:placeholder-shown),.field textarea:invalid:not(:placeholder-shown){border-color:#999}
.notice{background:#161616;border:1px solid #353535;color:#c9c9c9;border-radius:10px}.notice.warning{background:#1d1d1d;border-color:#666;color:#eee;border-left:3px solid #aaa}.notice.error{background:#1b1b1b;border-color:#777;color:#fff;border-left:3px solid #fff}.checklist,.empty{color:#999}.error{color:#eee}.empty .button{margin-top:18px}.connection-state{background:#171717;color:#d4d4d4;border:1px solid #333;font-size:9px}.connection-state.is-offline{background:#0b0b0b;color:#888;border-style:dashed}.connection-state.is-online .connection-dot{box-shadow:0 0 0 3px #ffffff0a}.connection-dot{background:currentColor}.save-bar{left:296px;right:40px;bottom:24px;background:#161616;border-color:#606060;color:#fff;box-shadow:0 16px 80px #000b;border-radius:14px;z-index:24}.save-bar strong{color:#fff}.save-bar small{color:#999}.save-bar .primary{background:#fff;border-color:#fff;color:#000}.save-bar .secondary{background:#252525;border-color:#555;color:#fff}
.history th{color:#888;border-color:#333;font-size:9px;letter-spacing:1px;text-transform:uppercase}.history td{color:#ccc;border-color:#272727}.history tbody tr:hover{background:#171717}.status-badge{background:#292929;color:#ccc}.status-badge.done{background:#eee;color:#111}.status-badge.failed{background:#111;border:1px solid #888;color:#fff}.history-wrap{border-radius:14px}
dialog{background:#111;color:#eee;border:1px solid #454545;border-radius:20px;padding:32px;box-shadow:0 40px 150px #000c}dialog::backdrop{background:#000b;backdrop-filter:blur(7px)}dialog[open]{animation:modal-enter .2s ease-out}dialog h2{letter-spacing:-.7px;font-size:25px}.dialog-heading>p:last-child,.confirmation-note{color:#999}.dialog-actions{background:#111;border-top:1px solid #292929;padding-top:22px;gap:12px}.dialog-progress{background:#1a1a1a;color:#777;border:1px solid #333}.dialog-progress strong{color:#eee}#confirmation-countdown{background:#181818;color:#aaa;border-color:#383838}.review-item{border-color:#333}.review-item strong{color:#eee}.review-item del{background:#181818;color:#888}.review-item ins{background:#252525;color:#fff;border-left:2px solid #fff}#help-dialog p{color:#aaa}kbd{background:#222;color:#ddd;border-color:#444}.modal-symbol{display:grid;place-items:center;width:46px;height:46px;background:#222;color:#fff;border:1px solid #444;border-radius:13px;margin-bottom:25px}.action-dialog{width:min(460px,92vw)}#action-description{color:#aaa;font-size:13px;line-height:1.8;margin:16px 0 28px}.action-dialog .dialog-actions .button{flex:1}.notification-button{position:relative}#notification-count{position:absolute;top:0;right:0;min-width:15px;height:15px;padding:0 3px;display:grid;place-items:center;background:#fff;color:#000;border-radius:6px;font-size:8px;font-weight:800}.notifications-dialog{position:fixed;inset:14px 14px 14px auto;margin:0;width:min(430px,calc(100vw - 28px));height:calc(100dvh - 28px);max-height:none;display:flex;flex-direction:column;border-radius:18px}.notifications-dialog:not([open]){display:none}.notification-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.notification-header h2{font-size:22px;margin-bottom:24px}.notification-header .eyebrow{font-size:8px}#notification-list{overflow:auto;flex:1}.notification-item{border-top:1px solid #303030;padding:20px 0}.notification-item time{font-size:9px;color:#777;font-variant-numeric:tabular-nums}.notification-item p{font-size:12px;line-height:1.8;color:#ccc;margin:9px 0 0;overflow-wrap:anywhere}.notification-item.error p{color:#fff}.notifications-dialog .dialog-actions{margin-top:auto}
.toast-region{position:fixed;right:24px;top:100px;z-index:80;display:flex;flex-direction:column;gap:10px;max-width:min(400px,calc(100vw - 32px));pointer-events:none}.toast{background:#181818;border:1px solid #555;box-shadow:0 14px 50px #0009;border-radius:14px;padding:18px;display:flex;align-items:flex-start;gap:12px;pointer-events:auto;animation:toast-enter .22s ease-out}.toast.error{border-color:#bbb}.toast-symbol{display:grid;place-items:center;width:28px;height:28px;border-radius:8px;border:1px solid #555;background:#282828;color:#fff;flex-shrink:0}.toast-symbol .lucide{width:15px;height:15px}.toast-body{min-width:0}.toast-body strong{display:block;font-size:11px;color:#fff;margin:2px 0 6px}.toast-body p{font-size:11px;line-height:1.7;color:#aaa;margin:0;overflow-wrap:anywhere}.toast-close{border:0;background:transparent;padding:2px;color:#999;border-radius:5px}.toast-close:hover{color:#fff;background:#333}.toast-close .lucide{width:14px;height:14px}.request-activity{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);z-index:90;background:#191919;border:1px solid #555;border-radius:14px;box-shadow:0 12px 50px #000b;padding:15px 18px;display:flex;align-items:center;gap:14px;min-width:300px;max-width:calc(100vw - 24px);pointer-events:none}.request-activity strong{display:block;font-size:11px;color:#eee}.request-activity small{display:block;color:#888;font-size:9px;margin-top:5px;line-height:1.5}.activity-live{font-size:7px;letter-spacing:1px;border:1px solid #444;padding:5px;border-radius:4px;color:#aaa;margin-left:auto}.spinner{width:22px;height:22px;border:2px solid #424242;border-top-color:#fff;border-radius:50%;animation:spin .8s linear infinite;flex-shrink:0}.loading-line{height:2px;background:linear-gradient(90deg,#333,#fff,#333);background-size:200%;animation:progress-slide 1.3s linear infinite}
.login-story{background:radial-gradient(ellipse at 0 90%,#272727,transparent 70%),#050505;color:#fff}.login-story h1{color:#fff}.login-story em{color:#a3a3a3}.login-story p{color:#999}.login-story small{color:#666}.story-chips span{color:#aaa;border-color:#444;background:#ffffff03}.login-content{background:radial-gradient(ellipse at 100% 0,#202020,transparent 70%),#0b0b0b}.login-card{background:#111;border-color:#333;box-shadow:0 24px 80px #0007;border-radius:20px;padding:38px;max-width:420px}.login-card h2{color:#fff}.login-card>p,.login-content>small,.login-note p{color:#999}.login-note{border-color:#333}.lock-icon{color:#ddd}.skip-link{background:#fff;color:#000}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,.card:focus-visible{outline-color:#fff}*{scrollbar-color:#4a4a4a #101010;scrollbar-width:thin}
@keyframes modal-enter{from{opacity:0;transform:translateY(8px) scale(.98)}to{opacity:1;transform:none}}@keyframes toast-enter{from{opacity:0;transform:translateX(14px)}to{opacity:1;transform:none}}
@media(min-width:1600px){main{padding:48px 60px 90px}.topbar{padding:0 60px}.module-card{min-height:225px;padding:30px}.welcome-strip{padding:40px}}
@media(max-width:1100px){.app-shell{grid-template-columns:226px minmax(0,1fr)}.sidebar{padding:28px 16px}.topbar{padding:0 24px}main{padding:28px 24px 80px}.save-bar{left:250px;right:24px}.last-sync{display:none}.welcome-strip .badge{display:none}.account-avatar{display:none}.module-card{padding:23px}.stats{gap:12px}.stat{padding:22px}.stat-icon{right:18px;top:19px}}
@media(max-width:760px){.app-shell{grid-template-columns:1fr}.sidebar{position:static;height:auto;padding:22px 18px 12px;border-right:0;border-bottom:1px solid #262626}.sidebar .brand{margin:0 0 22px}.sidebar select{margin:0 0 15px}.sidebar nav{gap:6px;scrollbar-color:#444 transparent}.nav-button{padding:11px}.nav-button.active:after{display:none}.menu-open .sidebar nav{display:grid;grid-template-columns:1fr 1fr}.topbar{height:64px;padding:0 14px;background:#090909f5;z-index:20}.account{gap:3px}.account #username{display:none}.topbar>#breadcrumb{font-size:10px;max-width:none}.account .button{padding:8px}.workspace-footer{padding:20px 18px;font-size:8px}main{padding:26px 18px 120px}.page-heading h1{font-size:28px}.page-heading p:last-child{max-width:240px;line-height:1.7}.page-heading .button{font-size:0;gap:0;padding:12px}.page-heading .button .lucide{width:17px}.welcome-strip{padding:25px;min-height:175px}.welcome-strip h2{font-size:23px;max-width:240px;line-height:1.2}.welcome-strip:after{right:5px;bottom:-55px;font-size:200px}.stats{gap:9px;margin-bottom:30px}.stat{padding:18px 12px}.stat strong{font-size:23px;margin-top:20px}.stat>span:not(.stat-icon){font-size:9px}.stat small{font-size:9px;line-height:1.5;display:block}.stat-icon{position:static;display:block;margin-bottom:15px}.stat-icon .lucide{width:16px}.section-label{font-size:12px;gap:15px}.section-label small{font-size:9px;text-align:right}.module-grid{gap:12px}.module-card{padding:20px;min-height:205px}.module-symbol{margin-bottom:24px}.module-card h3{font-size:13px}.module-card p{font-size:10px}.module-card .arrow{top:24px;right:18px}.save-bar{left:12px;right:12px;bottom:12px;padding:16px}.dialog-actions{background:#111}.toast-region{top:16px;right:16px}.request-activity{bottom:14px;min-width:0;width:calc(100vw - 28px)}.notifications-dialog{padding:24px}.login-card{padding:28px}.login-content{padding:32px 20px}.form-card,.preview-card{padding:22px}}
@media(max-width:380px){.module-grid{grid-template-columns:1fr}.stats{grid-template-columns:1fr}.stat{display:grid;grid-template-columns:1fr auto}.stat strong{grid-row:1/3;grid-column:2;margin:0}.stat-icon{display:none}.stat small{margin-top:8px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}.module-card,.stat,.module-card:hover,.stat:hover{transform:none}.spinner{border-style:dotted}}

/* Studio edition: monochrome, dotted canvas and tactile outlined surfaces. */
:root{color-scheme:light;--ink:#171717;--muted:#646464;--line:#252525;--green:#171717;--mint:#fff;--white:#fff;--accent:#171717;background:#f1f1f1;color:#171717}body{background:#f1f1f1;color:#171717}::selection{background:#171717;color:#fff}*{scrollbar-color:#777 #eee}body,.workspace,.login-shell{background-color:#f1f1f1;background-image:radial-gradient(#0000001c .8px,transparent .8px);background-size:21px 21px}.app-shell{padding:14px;gap:22px;grid-template-columns:252px minmax(0,1fr)}.workspace{background-color:transparent;background-image:none;padding-right:6px}.sidebar{top:14px;height:calc(100dvh - 28px);padding:28px 18px 22px;border:2px solid #242424;border-radius:25px;background:#fff;color:#555;box-shadow:6px 7px 0 #242424}.sidebar .brand{padding:0 4px 27px;margin:0 0 27px;border-bottom:2px solid #e5e5e5}.brand{color:#171717}.brand-mark{color:#fff;background:#171717;border:2px solid #171717;box-shadow:3px 3px 0 #999;border-radius:10px;transform:rotate(-5deg)}.brand-tag{color:#777}.server-label,.nav-label{color:#666}.sidebar select{color:#171717;background:#f6f6f6;border:2px solid #333;border-radius:12px;margin:12px 0 26px;padding:12px;font-weight:600}.search-box{background:#fff;border:1.5px solid #ccc;color:#666;border-radius:12px;margin-bottom:17px}.search-box input{color:#222}.search-box input::placeholder{color:#777}.search-box kbd{color:#777;background:#eee;border-color:#ccc}.nav-button{border:2px solid transparent;border-radius:12px;padding:12px 10px;color:#666;gap:10px;font-weight:600;min-height:46px}.nav-button:hover{background:#f2f2f2;color:#171717;border-color:#aaa}.nav-button.active{background:#171717;color:#fff;border-color:#171717;box-shadow:3px 3px 0 #aaa}.nav-button.active:after{display:none}.nav-number{margin-left:auto;font-size:8px;opacity:.5;letter-spacing:1px}.sidebar nav{gap:6px}.sidebar-bottom{background:#f3f3f3;border:1.5px solid #333;border-radius:13px;margin-top:auto;padding:16px 12px;color:#333;font-size:10px}.sidebar-bottom small{color:#777;font-size:8px;margin-top:10px}.pulse{background:#171717}.topbar{background:#fff;border:2px solid #242424;border-radius:24px;box-shadow:5px 6px 0 #242424;height:79px;padding:0 24px;margin-bottom:8px;color:#555}.topbar>#breadcrumb{font-size:11px;font-weight:700;color:#222;background:#f0f0f0;border:1px solid #d3d3d3;padding:11px 14px;border-radius:11px}.account{color:#333}.account-avatar{background:#e9e9e9;color:#111;border:1.5px solid #222}.account #username{font-weight:650}.button{border:2px solid #252525;border-radius:24px;font-weight:700;box-shadow:3px 4px 0 #252525;gap:9px;padding:11px 18px}.button.primary,.primary{background:#171717;color:#fff;border-color:#171717;box-shadow:3px 4px 0 #aaa}.button.primary:hover,.primary:hover{background:#333;color:#fff;border-color:#171717;box-shadow:4px 5px 0 #777;transform:translate(-1px,-1px)}.secondary{background:#fff;color:#222;border-color:#252525}.secondary:hover{background:#ececec;color:#111;border-color:#252525;transform:translate(-1px,-1px)}.button:active{transform:translate(2px,2px);box-shadow:1px 1px 0 #252525}.button.subtle{border:1.5px solid #333;box-shadow:2px 2px 0 #333;background:#fff;color:#333;padding:8px 11px}.button.subtle:hover{background:#eee;color:#111}.eyebrow,.light{color:#666;letter-spacing:1.7px;font-size:9px}.page-heading{margin-bottom:26px;align-items:center}.page-heading h1{color:#171717;font-size:29px;letter-spacing:-1px}.page-heading p:last-child{color:#666}.page-heading .eyebrow{margin-bottom:8px}.last-sync{color:#666;background:#ffffffa6;padding:8px 10px;border-radius:8px}.workspace-footer{background:transparent;border-color:#ccc;color:#666;padding:24px 5px 12px}.workspace main{padding:30px 25px 70px;max-width:1480px}.welcome-strip{padding:31px;background:#181818;color:#fff;border:2px solid #171717;border-radius:22px;box-shadow:5px 6px 0 #929292;min-height:215px;margin-bottom:28px;isolation:isolate}.welcome-strip:after{font-size:280px;color:#ffffff04;right:150px}.welcome-strip h2{font-size:30px;color:#fff;max-width:450px;line-height:1.14}.welcome-strip p{color:#bbb;max-width:440px;font-size:12px}.welcome-strip .eyebrow{color:#aaa}.hero-actions{display:flex;flex-wrap:wrap;gap:13px;margin-top:23px}.hero-actions .button{font-size:10px;padding:10px 15px;box-shadow:3px 4px 0 #777;border-color:#fff}.hero-actions .primary{background:#fff;color:#171717}.hero-actions .secondary{background:#252525;color:#fff;border-color:#777;box-shadow:3px 4px 0 #000}.workspace-seal{z-index:1;background:#ededed;color:#171717;transform:rotate(6deg);border:2px solid #111;border-radius:16px;padding:22px 18px;width:160px;flex-shrink:0;box-shadow:5px 6px 0 #000}.workspace-seal span{display:block;font-size:7px;letter-spacing:1px;line-height:1.6;color:#555}.workspace-seal strong{display:block;font-size:24px;line-height:1.05;letter-spacing:-.7px;margin:13px 0 18px}.stats{margin-bottom:32px;gap:20px}.stat,.card{background:#fff;border:2px solid #252525;border-radius:19px;box-shadow:4px 5px 0 #252525}.stat{padding:23px;overflow:visible}.stat:after{content:'';position:absolute;top:-7px;left:25px;width:32px;height:11px;background:#e5e5e5db;border:1px solid #999;transform:rotate(-5deg)}.stat strong{color:#171717;font-size:30px}.stat>span:not(.stat-icon){color:#555;font-weight:650}.stat small{color:#666}.stat-icon{color:#333}.stat:hover{background:#fff;box-shadow:7px 9px 0 #252525;border-color:#111}.section-label{color:#222;font-size:14px}.section-label small{color:#666}.module-grid{gap:22px}.module-card{background:#fff;color:#171717;border-radius:19px;padding:25px;min-height:211px;box-shadow:4px 5px 0 #252525}.module-card:hover{background:#fff;border-color:#111;box-shadow:7px 9px 0 #252525}.module-card:before,.stat:before{background:radial-gradient(350px circle at var(--mouse-x,50%) var(--mouse-y,0%),#00000008,transparent 65%)}.module-card h3{color:#171717;font-size:15px}.module-card p{color:#666;font-size:11px}.module-symbol{color:#222;background:#f1f1f1;border:1.5px solid #333;border-radius:11px;box-shadow:2px 3px 0 #333;transform:rotate(-4deg);width:42px;height:42px}.module-card:hover .module-symbol{background:#171717;color:#fff;border-color:#171717}.module-card .arrow{color:#333;right:23px;top:25px;border:1px solid #ccc;border-radius:50%;width:25px;height:25px;display:grid;place-items:center}.module-card:hover .arrow{color:#111}.module-number{position:absolute;right:24px;bottom:20px;color:#c6c6c6;font-size:9px;font-weight:700;letter-spacing:1px}.card h2,.card h3{color:#171717}.card-subtitle,.field-help,.field-counter{color:#666}.field-label{color:#333}.field-label small{color:#777}input[type=text],input[type=url],select,textarea{color:#171717;background:#fafafa;border:1.5px solid #aaa;border-radius:10px}.field input:focus,.field textarea:focus,.field select:focus{background:#fff;border-color:#171717}input::placeholder,textarea::placeholder{color:#888}.toggle-field{border-color:#ddd}.toggle-field input{background:#ddd;border:1px solid #777}.toggle-field input:before{background:#fff}.toggle-field input:checked{background:#171717}.toggle-field input:checked:before{background:#fff}.multi-choice{background:#fafafa;border:1.5px solid #aaa}.multi-choice input[type=search]{background:#fff;color:#171717;border-color:#bbb}.choice-option{color:#333}.choice-option:hover{background:#eee}.choice-option input{accent-color:#171717}.ticket-option{background:#f5f5f5;border:1.5px solid #999;border-radius:13px}.ticket-option>strong{color:#171717}.form-card .action-list{background:#fff;border-color:#ddd}.preview-label{color:#666}.preview-card .discord-preview{background:#262626;color:#ddd}.preview-card .preview-embed{background:#181818}.preview-embed h3{color:#fff}.preview-footer{color:#bbb}.notice{background:#fff;color:#333;border:2px solid #333;border-radius:13px;box-shadow:3px 4px 0 #333}.notice.warning{background:#ededed;color:#171717;border-color:#333;border-left:5px solid #333}.notice.error{background:#171717;color:#fff;border-color:#171717;border-left:5px solid #777;box-shadow:3px 4px 0 #999}.empty,.checklist{color:#666}.error{color:#171717}.connection-state{background:#eee;color:#333;border:1.5px solid #333;font-weight:700}.connection-state.is-offline{background:#fff;color:#777;border-style:dashed}.connection-state.is-online .connection-dot{box-shadow:0 0 0 3px #0000000a}.save-bar{background:#fff;border:2px solid #252525;color:#171717;box-shadow:5px 6px 0 #252525;left:315px;right:45px;bottom:22px;border-radius:19px}.save-bar strong{color:#171717}.save-bar small{color:#666}.save-bar .primary{background:#171717;color:#fff;border-color:#171717}.save-bar .secondary{background:#fff;color:#171717;border-color:#333}.history th{color:#666;border-color:#333}.history td{color:#333;border-color:#ddd}.history tbody tr:hover{background:#f2f2f2}.status-badge{background:#eee;color:#333;border:1px solid #ccc}.status-badge.done{background:#171717;color:#fff;border-color:#171717}.status-badge.failed{background:#fff;color:#171717;border:1px dashed #333}
dialog{background:#fff;color:#171717;border:2px solid #252525;border-radius:22px;box-shadow:7px 8px 0 #252525;padding:30px}dialog::backdrop{background:#0007;backdrop-filter:blur(5px)}dialog h2{color:#171717}.dialog-heading>p:last-child,.confirmation-note{color:#666}.dialog-progress{background:#f1f1f1;color:#777;border-color:#bbb}.dialog-progress strong{color:#171717}.dialog-actions{background:#fff;border-color:#ddd}.modal-symbol{background:#f1f1f1;color:#171717;border:2px solid #333;box-shadow:3px 3px 0 #333}.review-item{border-color:#ddd}.review-item strong{color:#171717}.review-item del{background:#f2f2f2;color:#777}.review-item ins{background:#e7e7e7;color:#171717;border-color:#171717}#confirmation-countdown{background:#f5f5f5;color:#555;border:1px solid #ccc;box-shadow:none}#action-description,#help-dialog p{color:#666}kbd{background:#eee;color:#444;border-color:#ccc}#notification-count{background:#171717;color:#fff}.notification-item{border-color:#ddd}.notification-item p,.notification-item.error p{color:#333}.notification-item time{color:#777}.toast{background:#fff;color:#171717;border:2px solid #252525;box-shadow:4px 5px 0 #252525;border-radius:15px}.toast.error{border-color:#171717}.toast-symbol{background:#171717;color:#fff;border-color:#171717}.toast-body strong{color:#171717}.toast-body p{color:#666}.toast-close{color:#666}.toast-close:hover{background:#eee;color:#171717}.request-activity{background:#fff;border:2px solid #252525;box-shadow:4px 5px 0 #252525;border-radius:15px}.request-activity strong{color:#171717}.request-activity small{color:#666}.activity-live{color:#444;border-color:#aaa;background:#eee}.spinner{border-color:#ccc;border-top-color:#171717}.loading-line{background:linear-gradient(90deg,#aaa,#171717,#aaa);background-size:200%}.skip-link{background:#171717;color:#fff}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,.card:focus-visible{outline-color:#666;outline-width:3px}
.landing-header{max-width:1280px;margin:auto;padding:25px 35px;display:flex;align-items:center;justify-content:space-between;gap:25px}.landing-header nav{display:flex;gap:26px}.landing-header nav a{font-size:11px;font-weight:700;text-decoration:none;color:#555}.landing-header nav a:hover{color:#111;text-decoration:underline;text-underline-offset:5px}.landing-header .button{font-size:11px}.login-shell{min-height:100vh;display:block}.login-story{position:relative;min-height:0;background:none;color:#171717;text-align:center;padding:65px 30px 30px;display:block;max-width:1200px;margin:auto}.landing-hero{max-width:780px;margin:auto}.hero-pill{display:inline-block;border:2px solid #252525;background:#fff;color:#171717;padding:10px 17px;border-radius:25px;box-shadow:3px 4px 0 #252525;font-size:9px;font-weight:800;letter-spacing:.9px;transform:rotate(-2deg)}.login-story h1{font-size:clamp(48px,6.4vw,82px);line-height:1.04;letter-spacing:-4px;color:#171717;font-weight:800;margin:32px 0 23px}.login-story em{position:relative;isolation:isolate;color:#171717;font-style:normal;white-space:nowrap}.login-story em:after{content:'';position:absolute;bottom:5px;left:-3px;right:-3px;height:19px;background:#ccc;border-radius:12px;z-index:-1;transform:rotate(-1deg)}.login-story p{max-width:510px;margin:0 auto 22px;color:#666;font-size:13px;line-height:1.9}.hero-cta{margin-bottom:12px;padding:14px 23px}.story-chips{display:flex;flex-wrap:wrap;justify-content:center;gap:16px;margin:24px 0}.story-chips span{display:flex;align-items:center;gap:10px;color:#333;background:#fff;border:2px solid #252525;box-shadow:3px 4px 0 #252525;border-radius:13px;padding:14px 17px;font-size:11px;font-weight:650;transform:rotate(-2deg)}.story-chips span:nth-child(2){transform:rotate(2deg);background:#e5e5e5}.story-chips .lucide{width:18px;height:18px}.login-story>small{color:#777;font-size:8px;letter-spacing:1.8px;display:block;margin-top:35px}.landing-sticker{position:absolute;top:80px;right:0;width:137px;text-align:left;background:#171717;color:#fff;transform:rotate(9deg);border:2px solid #171717;border-radius:15px;padding:17px;box-shadow:5px 6px 0 #999}.landing-sticker span{font-size:6px;letter-spacing:.8px;display:block;color:#bbb}.landing-sticker strong{font-size:20px;line-height:1.1;display:block;margin:12px 0 16px}.login-content{background:none;display:flex;padding:30px 25px 45px;gap:35px}.login-card{max-width:510px;width:100%;background:#fff;border:2px solid #252525;border-radius:20px;box-shadow:6px 7px 0 #252525;padding:28px}.login-card-heading{display:flex;gap:16px;align-items:center}.login-symbol{display:grid;place-items:center;width:44px;height:44px;border:2px solid #252525;border-radius:12px;box-shadow:2px 3px 0 #252525;background:#eee;color:#171717;flex-shrink:0}.login-card .eyebrow{margin:0;font-size:8px}.login-card h2{font-size:24px;color:#171717;margin:8px 0}.login-card>p{font-size:12px;color:#666;line-height:1.8;margin:20px 0}.login-note{color:#555;border-color:#ddd}.login-note .lucide{flex-shrink:0}.login-note p,.login-content>small{color:#777}.login-note p{font-size:11px}.login-content>small{font-size:9px}
@media(min-width:1600px){.workspace main{padding:35px 45px 80px}.welcome-strip{padding:38px}.topbar{padding:0 30px}.module-card{min-height:225px}}
@media(max-width:1200px){.landing-sticker{right:30px;top:20px;width:110px;padding:12px}.landing-sticker strong{font-size:17px}.app-shell{grid-template-columns:230px minmax(0,1fr);gap:18px}.workspace main{padding:28px 10px 70px}.topbar{padding:0 18px}.workspace-seal{width:130px;padding:18px 14px}.workspace-seal strong{font-size:21px}.save-bar{left:283px;right:35px}.module-card{padding:22px}.welcome-strip h2{font-size:27px}.last-sync{display:none}}
@media(max-width:900px){.workspace-seal{display:none}.landing-sticker{display:none}.stats{gap:14px}.module-grid{gap:17px}.account-avatar{display:none}.stat{padding:20px}.topbar>#breadcrumb{padding:9px;font-size:10px}.landing-header nav{gap:15px}}
@media(max-width:760px){.app-shell{padding:10px;display:block}.sidebar{height:auto;position:static;padding:21px 16px 14px;border-radius:21px;margin-bottom:21px;box-shadow:4px 5px 0 #252525}.sidebar .brand{padding:0;margin:0 0 20px;border:0}.sidebar select{margin:0 0 14px}.sidebar-bottom{display:none}.sidebar nav{gap:8px}.nav-button{padding:10px;min-height:41px}.nav-number{display:none}.workspace{padding:0}.topbar{top:9px;height:61px;z-index:20;padding:0 12px;border-radius:19px;box-shadow:4px 5px 0 #252525;gap:9px}.topbar>#breadcrumb{background:transparent;border:0;padding:0}.topbar .button.subtle{padding:7px;border-radius:50%;box-shadow:1px 2px 0 #333}.account{gap:6px}.account #logout{font-size:0;gap:0}.account #logout .lucide{width:16px}.workspace main{padding:28px 8px 115px}.page-heading{gap:12px}.page-heading h1{font-size:25px}.page-heading .eyebrow{font-size:8px}.page-heading p:last-child{font-size:11px}.page-heading .button{border-radius:50%;padding:10px}.welcome-strip{padding:25px 23px;border-radius:19px;min-height:230px;margin-bottom:29px;box-shadow:4px 5px 0 #999}.welcome-strip h2{font-size:27px;max-width:280px}.welcome-strip p{font-size:11px}.hero-actions{gap:11px}.hero-actions .button{font-size:9px;padding:10px 11px}.stats{gap:12px;margin-bottom:30px}.stat{padding:19px 11px;border-radius:14px;box-shadow:3px 4px 0 #252525}.stat:after{left:16px;width:24px}.stat strong{font-size:23px}.stat-icon{margin-bottom:14px}.stat small{font-size:9px}.module-grid{gap:16px}.module-card{padding:21px 17px;min-height:215px;border-radius:17px;box-shadow:3px 4px 0 #252525}.module-card h3{font-size:13px}.module-card p{font-size:10px}.module-symbol{margin-bottom:24px}.module-card .arrow{top:20px;right:16px;width:21px;height:21px;font-size:12px}.module-number{right:18px;bottom:15px;font-size:8px}.section-label{font-size:12px}.section-label small{font-size:9px}.form-card,.preview-card{padding:20px}.card{border-radius:16px}.save-bar{left:15px;right:18px;bottom:15px;padding:14px;border-radius:17px}.dialog-actions{background:#fff}.landing-header{padding:22px;gap:10px}.landing-header nav{display:none}.landing-header .brand-tag{display:none}.landing-header .button{font-size:10px;padding:10px 13px}.landing-header .brand{font-size:22px}.login-story{padding:42px 20px 20px}.hero-pill{font-size:7px;padding:10px 13px}.login-story h1{font-size:clamp(40px,10vw,60px);letter-spacing:-2px;line-height:1.08}.login-story p{font-size:12px;max-width:380px}.login-story em:after{height:12px}.story-chips{gap:12px}.story-chips span{font-size:10px;padding:12px}.story-chips .lucide{width:16px}.login-story>small{font-size:7px;line-height:1.8}.login-card{padding:24px;border-radius:18px;box-shadow:4px 5px 0 #252525}.login-card h2{font-size:21px}.login-content{padding:24px 22px 35px}.notification-header h2{font-size:21px}.notifications-dialog{padding:23px;border-radius:18px}.toast-region{right:18px}.request-activity{width:calc(100vw - 35px)}}
@media(prefers-reduced-motion:reduce){.module-card:hover,.stat:hover,.button.primary:hover,.secondary:hover{transform:none}}

/* Keep all areas reachable on shorter desktop screens. */
@media(min-width:761px){.sidebar>*{flex-shrink:0}.sidebar nav{flex:1;min-height:90px;overflow-y:auto;padding:3px 4px 8px 0}.sidebar-bottom{margin-top:16px}}
#login-error:empty{display:none}

/* Pointer-driven projection: the shadow moves with the same card geometry. */
.module-card,.stat,.module-card:hover,.stat:hover{box-shadow:var(--shadow-x,4px) var(--shadow-y,5px) 0 #252525;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.module-card[data-tilted],.stat[data-tilted]{will-change:transform,box-shadow}
.toast,dialog[open]{animation:none}
.data-skeleton{width:100%;pointer-events:none;user-select:none}
.skeleton-surface{background:#fff;border:2px solid #252525;box-shadow:4px 5px 0 #252525;border-radius:19px;padding:25px;min-width:0}
.skeleton-hero{min-height:215px;margin-bottom:28px;padding:32px}
.skeleton-stats,.skeleton-modules{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin-bottom:30px}
.skeleton-stats .skeleton-surface{min-height:160px}.skeleton-modules .skeleton-surface{min-height:211px}
.skeleton-block{position:relative;overflow:hidden;background:#e8e8e8;border-radius:7px;height:12px;margin-bottom:16px}
.skeleton-block:after{content:'';position:absolute;inset:0;background:linear-gradient(100deg,transparent 15%,#ffffffb0 50%,transparent 85%);transform:translateX(-100%);animation:skeleton-shimmer 1.4s ease-in-out infinite}
.sk-short{width:36%;height:10px}.sk-medium{width:74%}.sk-title{height:27px;width:62%;margin:22px 0}.sk-icon{width:38px;height:38px;border-radius:10px;margin-bottom:24px}.sk-button{width:150px;height:34px;border-radius:20px;margin-top:23px}.sk-row{height:42px;width:100%;margin:18px 0}.sk-input{height:44px;width:100%;margin:25px 0}.skeleton-form-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(250px,1fr);gap:22px;align-items:start}.skeleton-preview{min-height:285px}
.ui-tooltip{position:fixed;inset:auto;z-index:150;max-width:220px;padding:8px 12px;background:#171717;color:#fff;border:1px solid #555;box-shadow:2px 3px 0 #777;border-radius:9px;font-size:10px;font-weight:600;line-height:1.6;pointer-events:none}
@keyframes skeleton-shimmer{to{transform:translateX(100%)}}
@media(max-width:1100px){.skeleton-modules{grid-template-columns:repeat(2,minmax(0,1fr))}.skeleton-form-layout{grid-template-columns:1fr}}
@media(max-width:760px){.skeleton-stats{gap:12px}.skeleton-stats .skeleton-surface{padding:19px 11px}.skeleton-modules{gap:16px}.skeleton-hero{min-height:230px;padding:25px 23px}.skeleton-surface{border-radius:17px;padding:21px 17px}.skeleton-hero .sk-title{width:85%}.sk-title{height:23px}.skeleton-modules .skeleton-surface{min-height:215px}}
@media(max-width:380px){.skeleton-stats,.skeleton-modules{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.skeleton-block:after{animation:none;background:none}.module-card,.stat,.module-card:hover,.stat:hover{box-shadow:4px 5px 0 #252525;transform:none;transition:none}}

/* Multi-bot workspace selector */
.sidebar #bot-select{margin-bottom:8px;background:#171717;color:#fff;border-color:#171717;font-weight:750}
.bot-description{margin:0 4px 20px;font-size:10px;line-height:1.6;color:#666}
.integration-action{margin-top:24px;padding:26px}
input[type=number]{width:100%;border:1.5px solid #aaa;border-radius:10px;padding:12px;background:#fafafa;color:#171717;font:inherit;font-size:12px}
@media(max-width:760px){.sidebar #bot-select{margin-bottom:8px}.bot-description{margin-bottom:15px}.sidebar #resource-label{display:block;font-size:8px;margin:2px 0 8px}}

.activation-key-value{display:block;overflow-wrap:anywhere;user-select:all;background:#f2f2f2;border:2px solid #333;border-radius:12px;padding:20px;font-size:13px;line-height:1.8;color:#111;margin:20px 0}
.activation-history{margin-top:24px}.activation-row{display:flex;align-items:center;flex-wrap:wrap;gap:14px;padding:18px 0;border-bottom:1px solid #ddd}.activation-row strong{font-size:12px}.activation-row .button{margin-left:auto;font-size:10px}.activation-row small{font-size:10px}

/* Customer connection workspace: real request state, monochrome surfaces. */
.activation-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:24px;align-items:start}.activation-layout>.activation-history{margin-top:0}.activation-setup{padding:28px}.activation-layout h2{font-size:21px;letter-spacing:-.6px}.activation-stats .stat{min-height:148px}.activation-stats .stat strong{margin-top:16px}.activation-steps{list-style:none;counter-reset:connect;display:grid;gap:18px;padding:22px 0;margin:10px 0 18px;border-bottom:1px solid #ddd}.activation-steps li{counter-increment:connect;position:relative;padding-left:44px;min-height:34px}.activation-steps li:before{content:'0' counter(connect);position:absolute;left:0;top:0;width:30px;height:30px;border:1.5px solid #222;border-radius:10px;display:grid;place-items:center;font-size:10px;font-weight:800;box-shadow:2px 2px 0 #222}.activation-steps strong{font-size:12px}.activation-steps p{font-size:11px;color:#666;line-height:1.7;margin:5px 0 0}.activation-setup .button{margin:8px 8px 0 0}.activation-loading{display:flex;align-items:center;justify-content:center;gap:15px;min-height:240px;font-size:13px}.activation-row[hidden]{display:none}.activation-row{overflow-wrap:anywhere}.activation-history input[type=search]{width:100%;border:1.5px solid #aaa;background:#fafafa;padding:12px;border-radius:10px;font:inherit;font-size:12px;margin:16px 0 8px}.activation-history .activation-row>small{flex-basis:100%;margin:0}.activation-history .activation-row .button{margin-left:0}.activation-history .activation-row{gap:12px}.activation-history{padding:26px}.activation-history>.field-help{line-height:1.7}.activation-key-value{max-height:160px;overflow:auto}#activation-key-dialog{max-width:620px}#activation-key-expiry{font-variant-numeric:tabular-nums}button:disabled{cursor:not-allowed}
@media(max-width:1100px){.activation-layout{grid-template-columns:1fr}.activation-stats{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:600px){.activation-stats{grid-template-columns:1fr}.activation-stats .stat{min-height:100px}.activation-layout{gap:18px}.activation-setup,.activation-history{padding:21px}.activation-layout h2{font-size:19px}}

/* Multi-bot library and tools, preserving the monochrome visual system. */
.bot-hub-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.bot-hub-card{padding:26px;min-width:0;display:flex;flex-direction:column;gap:13px}.bot-hub-card h2{font-size:22px;letter-spacing:-.6px;margin:0}.bot-hub-card>.card-subtitle{margin:0;min-height:38px}.bot-card-head{display:flex;align-items:start;justify-content:space-between;gap:12px}.bot-card-head .module-symbol{margin:0}.bot-card-head .button{font-size:10px;padding:9px 13px}.bot-hub-card>.status-badge{align-self:start}.bot-module-tags{display:flex;flex-wrap:wrap;gap:7px}.bot-module-tags span{font-size:10px;border:1px solid #ccc;border-radius:7px;padding:5px 8px;color:#444}.hub-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:auto}.hub-actions select{width:100%;margin-bottom:2px}.hub-toolbar,.history-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:14px}.hub-toolbar{padding:20px;margin-bottom:26px}.hub-toolbar input,.history-toolbar input{flex:1;min-width:150px}.hub-toolbar>span{flex-basis:100%;margin:0}.hub-toolbar select,.history-toolbar select{width:auto;max-width:100%}.hub-toolbar input,.history-toolbar input,.field-search,.hub-actions select{border:1.5px solid #aaa;border-radius:10px;background:#fafafa;padding:12px;color:#171717;font:inherit;font-size:12px}.field-search{width:100%;margin-top:18px}.field[hidden],.bot-hub-card[hidden],.hub-empty[hidden]{display:none!important}.history-table-scroll{overflow:auto;max-height:65vh}.history-table-scroll th{position:sticky;top:0;background:#fff;z-index:1}.history-toolbar{margin-bottom:14px}.history-wrap{padding:24px}.hub-empty{padding:32px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(min-width:1600px){.bot-hub-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:900px){.bot-hub-grid{grid-template-columns:1fr}}@media(max-width:600px){.bot-hub-card,.history-wrap{padding:20px}.hub-toolbar input,.hub-toolbar select,.history-toolbar input,.history-toolbar select{width:100%;flex-basis:100%}.history-toolbar .button{width:100%}}
/* Workspace refinement: responsive forms, readable controls and optional compact view. */
#landing-scroll-wrapper{width:100%}.landing-hero h1{font-kerning:none}.topbar{position:sticky;top:12px;z-index:30}.account{min-width:0}.account #username{max-width:135px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.page-heading{padding:4px 0 8px}.page-heading h1{font-size:clamp(26px,2.3vw,36px);letter-spacing:-1.25px}.page-heading p:last-child{max-width:620px;line-height:1.75}.sidebar select{cursor:pointer}.sidebar nav a.nav-button{position:relative;display:flex;align-items:center;gap:11px;line-height:1.4;min-height:46px}.nav-button span:nth-child(2){flex:1}.nav-number{margin-left:auto}.sidebar nav a.nav-button[aria-current=page]{background:#171717;color:#fff}.sidebar nav a:focus-visible{outline:3px solid #777;outline-offset:3px}
.workspace-tools-button{font-size:11px;margin:3px 0 22px;align-self:flex-start}.field-search{min-height:44px;margin-bottom:4px}.field{scroll-margin-top:130px}.field-label{line-height:1.5;gap:8px}.field textarea{line-height:1.8;min-height:120px}.field input,.field select,.field textarea{min-height:44px;transition:border-color .15s,box-shadow .15s}.field input:focus-visible,.field select:focus-visible,.field textarea:focus-visible,.field-search:focus-visible{outline:2px solid #171717;outline-offset:3px}.form-layout{gap:26px}.form-card .card-subtitle{font-size:12px;line-height:1.8}.form-card .action-list{display:flex;gap:12px;flex-wrap:wrap;position:relative}.preview-card{position:sticky;top:125px;max-height:calc(100dvh - 155px);overflow:auto}.preview-card .preview-image{width:100%;height:auto;border-radius:10px}.save-bar{gap:16px}.save-bar strong{font-size:12px}.save-bar small{line-height:1.7}.notice{line-height:1.75;overflow-wrap:anywhere}.module-card:focus-visible{outline:3px solid #777;outline-offset:5px}.module-card p{line-height:1.85}.bot-card-head h2{overflow-wrap:anywhere}.history-toolbar{row-gap:14px}
body[data-preview=hidden] .form-layout{grid-template-columns:minmax(0,1fr)}body[data-preview=hidden] .preview-card{display:none}
body[data-density=compact] .workspace main{padding-top:22px}body[data-density=compact] .module-grid{gap:16px}body[data-density=compact] .module-card{min-height:176px;padding:20px}body[data-density=compact] .stat{padding:18px}body[data-density=compact] .card.form-card{padding:22px}body[data-density=compact] .field{margin-bottom:16px}body[data-density=compact] .sidebar nav a.nav-button{min-height:39px;padding-top:9px;padding-bottom:9px}body[data-density=compact] .welcome-strip{min-height:180px;padding:25px}
body[data-motion=reduced] *,body[data-motion=reduced] *:before,body[data-motion=reduced] *:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}body[data-motion=reduced] .module-card,body[data-motion=reduced] .stat{transform:none!important}
@media(max-width:1100px){.topbar{padding:16px;gap:10px}.account{gap:10px}.account #username{max-width:95px}.preview-card{position:static;max-height:none}.form-layout{gap:20px}}
@media(max-width:760px){.topbar{top:0;flex-wrap:wrap;min-height:76px;height:auto;padding:15px 12px;gap:12px}.account{gap:8px;margin-left:auto;flex-wrap:wrap;justify-content:flex-end}.account #username{display:none}.account #logout{font-size:0;gap:0;padding:9px}.account #logout svg{width:16px;height:16px}.topbar #breadcrumb{order:3;flex-basis:100%;font-size:10px}.workspace main{padding-left:8px;padding-right:8px}.page-heading{align-items:flex-start;gap:14px}.page-heading #refresh{font-size:10px;padding:10px 13px}.preview-card{position:static}.save-bar{left:16px;right:16px;bottom:12px;padding:14px;border-radius:16px;flex-wrap:wrap}.save-bar>div{flex-basis:100%}.save-bar button{flex:1}.form-card .action-list>.button{flex:1}.module-card{min-height:185px}.form-layout{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.field input,.field select,.field textarea{transition:none}}
.field-variables{display:flex;gap:7px;flex-wrap:wrap;margin:7px 0 0}.variable-button{padding:5px 9px;border:1px solid #d0d0ca;border-radius:6px;background:#f3f3f0;color:#555;box-shadow:none;font:inherit;font-size:10px;cursor:pointer}.variable-button:hover{background:#171717;color:white}.variable-button:focus-visible{outline:2px solid #333;outline-offset:3px}
