/* AKWAD Atelier: depth, light and useful motion, with unchanged data semantics. */
:root{--brand:#7547d9;--brand-dark:#5530b3;--ink:#2b233b;--muted:#71677f;--border:#e5dff0;--bg:#fff;--ease:cubic-bezier(.2,.75,.25,1)}
html{background:#f6f5fa;color:var(--ink);scroll-padding-top:90px}body{background:radial-gradient(ellipse at 8% 8%,#e9e0fa66,transparent 38%),radial-gradient(ellipse at 86% 40%,#eef2ff77,transparent 44%)}
.topbar{background:#ffffffde;backdrop-filter:blur(18px);border-bottom-color:#e8e2f0}.topbar-title{color:#766a85}.topbar-title strong{color:#372647}
.sidebar{background:radial-gradient(ellipse at 0 0,#34204c 0,transparent 50%),linear-gradient(170deg,#20152e,#171120 76%);border-inline-end-color:#46305555}.brand{transition:filter .3s var(--ease)}.brand:hover{filter:drop-shadow(0 0 12px #ba94ff44)}
.workspace-label{border-color:#ffffff12;background:linear-gradient(120deg,#ffffff08,#ffffff02);border-radius:16px}.nav-label{color:#ab99bb}.nav-link{position:relative;isolation:isolate;overflow:hidden;border:1px solid transparent;transition:background .2s,border-color .2s,color .2s,box-shadow .25s,translate .25s var(--ease)}.nav-link:hover{border-color:#ffffff0d;background:#ffffff09;color:#fff}.nav-link[aria-current=page]{background:linear-gradient(110deg,#9159eb,#6b3acb);border-color:#ad7fff66;box-shadow:0 6px 22px #7a43d43d,inset 0 1px #ffffff25}.nav-link[aria-current=page]::after{content:'';position:absolute;inset-block:12px;inset-inline-end:0;width:3px;background:#d4f5a5;border-radius:3px}.nav-link .icon{transition:color .2s,transform .25s var(--ease)}.nav-link:hover .icon{color:#d9c0ff;transform:translateY(-1px)}.profile-link{border-top:1px solid #ffffff0e;padding-top:16px}
.page-heading{position:relative;isolation:isolate;overflow:hidden;padding:26px 28px;margin-bottom:26px;border:1px solid #e8e0f1;border-radius:22px;background:linear-gradient(125deg,#fff,#fcfaff);box-shadow:0 8px 28px #41235d05;gap:24px}.page-heading::before{content:'';position:absolute;inset-block:26px;inset-inline-start:0;width:4px;border-radius:4px;background:linear-gradient(#8e5ae7,#d7bbfc)}.page-heading>div{position:relative;z-index:1}.page-heading h1{letter-spacing:-.7px;color:#30203f;font-size:29px}.page-heading p:not(.eyebrow){font-size:12px;line-height:1.9;max-width:620px}.eyebrow{font-size:9px!important;color:#9b81b2!important;letter-spacing:0!important}.page-heading .actions{flex-shrink:0}
body[data-route=overview] .page-heading{padding:33px 30px;min-height:170px;background:radial-gradient(ellipse at 10% 0,#9464d2aa,transparent 50%),linear-gradient(115deg,#51307c,#2b1b45 75%);border-color:#67428b;box-shadow:0 15px 35px #39214f1b}body[data-route=overview] .page-heading h1{color:#fff;font-size:31px}body[data-route=overview] .page-heading p{color:#e0d0f0}body[data-route=overview] .page-heading .eyebrow{color:#d8bcf7!important}body[data-route=overview] .page-heading::before{background:#d8edaf;inset-block:33px}body[data-route=overview] .page-heading::after{content:'';position:absolute;inset-inline-end:9%;inset-block-start:-115px;width:360px;height:360px;border:1px solid #e3ceff18;border-radius:50%;box-shadow:0 0 0 37px #d9c2fa08,0 0 0 80px #d9c2fa05;background:radial-gradient(ellipse at 15% 15%,#ffffff14,transparent 60%);pointer-events:none;animation:halo-drift 18s ease-in-out infinite alternate}body[data-route=overview] .page-heading .btn.secondary{background:#ffffff0b;border-color:#ffffff33;color:#fff}body[data-route=overview] .page-heading .btn.primary{background:#d8efb9;border-color:#d8efb9;color:#304226;box-shadow:0 5px 20px #13101b20}
.card,.metric,.shortcut{border-color:#e8e2ef;border-radius:19px;box-shadow:0 3px 15px #3c235204;transition:box-shadow .25s var(--ease),border-color .25s var(--ease)}.card h2{color:#34233f}.item-card{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(155deg,#fff,#fdfbff)}.item-card::before{content:'';position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse at 0 0,#c7a1f21a,transparent 65%);opacity:0;transition:opacity .3s}.item-card:hover::before{opacity:1}.item-card .card-head>.avatar{border:1px solid #eee1fb;background:linear-gradient(135deg,#f3eafc,#f9f5ff);box-shadow:inset 0 1px #fff;color:#8554c0}.item-card>.actions{padding-top:15px;border-top:1px solid #eee7f4;margin-top:18px}.item-card h2{overflow-wrap:anywhere}.card-head h2{letter-spacing:-.2px}.pill{border:1px solid transparent;font-weight:700;letter-spacing:0}.pill.green{border-color:#cbe8d4;background:#edf7f0;color:#357754}.pill.amber{border-color:#f1dcb7;color:#8b6428;background:#fff8ea}
.metrics{gap:17px}.metric{position:relative;overflow:hidden;background:linear-gradient(145deg,#fff,#fdfbff)}.metric::after{content:'';position:absolute;inset-inline:22px;inset-block-end:0;height:3px;border-radius:4px;background:linear-gradient(90deg,#d9c7ef,#9060d5)}.metric:nth-child(2)::after{background:linear-gradient(90deg,#f4e4bf,#c8a451)}.metric:nth-child(3)::after{background:linear-gradient(90deg,#d0e9d9,#6caa80)}.metric:nth-child(4)::after{background:linear-gradient(90deg,#d6dff6,#8299d1)}.metric>div{color:#71637e}.metric>div .icon{padding:7px;background:#f5effb;border:1px solid #ece1f7;border-radius:12px;width:36px;height:36px;color:#8c62ba}.metric>strong{font-variant-numeric:tabular-nums;letter-spacing:-1.3px;color:#38234a}.metric p{font-size:10px;color:#897a95}
.btn,.icon-btn,.search-result{position:relative;overflow:hidden;isolation:isolate;transition:background .2s,border-color .2s,color .2s,box-shadow .25s,transform .2s var(--ease)}.btn{border-radius:11px;font-weight:700}.btn.primary{background:linear-gradient(115deg,#8a54e2,#6d3bc8);border-color:#7547d2;box-shadow:0 5px 15px #7242ca20,inset 0 1px #ffffff20}.btn.secondary{background:linear-gradient(#fff,#fdfbff);border-color:#e6dfed;color:#695878}.btn:active:not(:disabled),.icon-btn:active:not(:disabled){transform:translateY(1px) scale(.98)}.btn:disabled,.icon-btn:disabled{cursor:not-allowed;box-shadow:none}.btn.danger{background:#fff7f8;border-color:#ecd6dd;color:#a54f65}.btn.danger:hover{background:#fff0f3;border-color:#d9a3b1}.motion-ripple{position:absolute;border-radius:50%;pointer-events:none;background:currentColor;z-index:0}.search-button{transition:border-color .25s,box-shadow .25s;background:#fff;border-color:#ebe3f1}.search-button:hover{border-color:#c7b0e4;box-shadow:0 0 0 3px #8b5ac30a}.icon-btn:hover{background:#eee6f7;color:#7546a0}.btn:focus-visible,.icon-btn:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #c3a6ec;outline-offset:3px}input:focus,textarea:focus,select:focus{border-color:#aa7bd7;box-shadow:0 0 0 3px #9c68d611}input[readonly]{background:#faf8fd}.field>span{color:#70617e}.field{transition:color .2s}
.chart{background:repeating-linear-gradient(to top,transparent 0,transparent 42px,#eee8f5 43px,#eee8f5 44px);border-radius:10px}.chart-stack>i{transform-origin:bottom;border-radius:4px 4px 1px 1px}.chart-column:hover{background:#efe8f944;border-radius:8px}.chart-column small{font-variant-numeric:tabular-nums}.legend i{box-shadow:0 0 0 3px #f8f5fc}
.connect-card{position:relative;background:radial-gradient(ellipse at 0 0,#6a4286 0,transparent 65%),linear-gradient(145deg,#352045,#261932);border-color:#4b315c;box-shadow:0 10px 28px #3b21551a}.connect-card h2{color:#fff}.connect-card .account-row{background:#ffffff06;border-color:#d9b9ed1f;border-radius:13px}.connect-card .btn:hover{background:#ffffff12;border-color:#be98d8}.connect-card>.icon{padding:10px;border:1px solid #b38bc944;background:#dcb1fc12;border-radius:14px;width:48px;height:48px}.shortcut{background:linear-gradient(125deg,#fff,#fcf9ff)}.shortcut>.icon:first-child{padding:10px;border-radius:14px;background:#f4edfb;color:#9770bb;width:44px;height:44px}.shortcut strong{color:#4a345b}.shortcut small{color:#8c7b99}.list-row{transition:background .2s,border-color .2s}.list-row:hover{background:#f9f5fd;border-radius:12px}.list-row .avatar{background:linear-gradient(140deg,#efe4fa,#f8f2fd);color:#8b60ad}.list-row p{max-width:100%;text-overflow:ellipsis;overflow:hidden}.table-wrap{border-radius:13px;border:1px solid #eee7f4}.table-wrap table{border-collapse:collapse}.table-wrap thead{background:#faf7fd}.table-wrap tbody tr{transition:background .18s}.table-wrap tbody tr:hover{background:#faf6ff}.table-footer{padding-top:16px}.book-tabs{gap:7px}.book-tabs .btn.active,.tabs .btn.active{color:#7543ac;background:#f0e6fc;border-color:#cfb6e6;box-shadow:inset 0 1px #fff}
.empty{position:relative;padding:34px 22px!important;border:1px dashed #e7dbf2;border-radius:16px;background:radial-gradient(ellipse at 50% 0,#f3ebfd88,transparent 72%);overflow:hidden}.empty>.icon{width:53px;height:53px;padding:13px;border-radius:16px;border:1px solid #e8d8f5;background:linear-gradient(130deg,#f8f2fe,#ede0fa);box-shadow:0 0 0 7px #f8f3fd,0 9px 18px #7445960a;color:#9c76b9;transform:rotate(-5deg);margin-bottom:18px}.empty h3{color:#665171}.empty p{color:#91809d;font-size:12px;line-height:1.9;max-width:450px;margin-inline:auto}
.modal,.studio-dialog{border:1px solid #e8deee!important;box-shadow:0 30px 100px #1b102b44,0 4px 12px #1b102b0d;border-radius:20px}.modal::backdrop,.studio-dialog::backdrop,.mobile-nav::backdrop{background:#1f102950;backdrop-filter:blur(4px);animation:backdrop-in .22s ease-out}.modal header,.studio-dialog>header{background:linear-gradient(115deg,#fff,#fbf7fe);border-bottom:1px solid #eee6f5}.modal footer,.studio-dialog footer{background:#fcfaff;border-top-color:#eee6f5}.modal-body .notice{line-height:1.9}.form-error:not(:empty){background:#fff3f5;border:1px solid #f0cdd5;padding:10px 12px;border-radius:10px}.notice{border-radius:12px}.notice.warning{border-color:#efdfbd;background:#fffaf0;color:#8a6d38}.toast{border-radius:14px;box-shadow:0 12px 35px #3b215a1c;border:1px solid #e5d8f0;border-inline-start:3px solid #8a5abb;background:#fff;color:#624374}.toast.error{border-inline-start-color:#bd6980;color:#a05067}
.account-identifier{padding:12px;background:#f8f5fc;border:1px solid #eee6f5;border-radius:13px;align-items:center;flex-wrap:wrap}.account-identifier label{flex-basis:140px}.account-identifier .btn{min-height:38px;font-size:10px}.account-identifier input{background:#fff}.api-token-actions{padding-top:3px}.code-block{border:1px solid #e9e0f2;background:linear-gradient(135deg,#faf7ff,#f7f5fc);color:#705282;line-height:1.9}.login-brand{position:relative;overflow:hidden;background:radial-gradient(ellipse at 10% 10%,#6f4596,transparent 60%),linear-gradient(140deg,#30203e,#1c132b)}.login-brand::after{content:'';position:absolute;width:420px;height:420px;bottom:-270px;inset-inline-end:-80px;border:1px solid #d8b4ff25;border-radius:50%;box-shadow:0 0 0 55px #e1c6ff08,0 0 0 110px #e1c6ff06;pointer-events:none}.login-form form{border:1px solid #ece3f4;box-shadow:0 22px 70px #49285b09;border-radius:24px;padding:32px;background:#ffffffbb}.login-brand h1{letter-spacing:-1px}
.chat-panel{background:radial-gradient(ellipse at 10% 10%,#ede1fa44,transparent 60%),#fbf9fd}.chat-header{background:#fff;border-bottom-color:#eee6f5}.chat-item{transition:background .18s,border-color .18s}.chat-item.active{background:#f0e6fb;border-inline-start-color:#9062c4}.chat-item:hover{background:#f8f2fd}.message{border-radius:15px 15px 5px 15px;box-shadow:0 3px 10px #55326705;line-height:1.9}.message.outgoing{background:linear-gradient(125deg,#eee2fb,#e8ddf6);border-color:#dfc9ef;border-radius:15px 15px 15px 5px}.message small{font-variant-numeric:tabular-nums;color:#9885a6}.composer{background:#ffffffed;border-top-color:#eae1f2}.composer textarea{background:#fbf9fe}.inbox-layout{border-color:#e5d9ef;border-radius:19px;box-shadow:0 7px 28px #3b1e4f06}.message-poll-options span{background:#ffffff2e;border-color:#dcc9ed;border-radius:9px}
.workspace-loading{padding:24px 0;min-height:300px}.skeleton-heading{width:42%;height:22px;border-radius:10px;margin:8px 0 28px}.skeleton-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.skeleton-card{height:140px;border-radius:18px}.skeleton-panel{height:230px;border-radius:18px;margin-top:22px}.skeleton{background:linear-gradient(100deg,#ede7f3 20%,#f7f3fb 45%,#ede7f3 70%);background-size:220% 100%;animation:skeleton-light 1.7s ease-in-out infinite}.route-loading .topbar::after{content:'';position:absolute;inset-inline:0;inset-block-end:-1px;height:2px;background:linear-gradient(90deg,transparent,#a37ad2,transparent);background-size:40% 100%;background-repeat:no-repeat;animation:route-light 1.1s linear infinite}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.item-card:hover,.shortcut:hover{border-color:#ccb5e2;box-shadow:0 12px 34px #643f8610}.metric:hover{border-color:#d7c4e8;box-shadow:0 10px 26px #6744840d}.btn.primary:hover{box-shadow:0 8px 22px #7540cf30;transform:translateY(-2px)}.btn.secondary:hover{border-color:#cbb2e1;box-shadow:0 4px 12px #72469f0a;transform:translateY(-1px)}.shortcut:hover>.icon:last-child{transform:translateX(-3px)}.shortcut>.icon:last-child{transition:transform .25s var(--ease)}}
@keyframes halo-drift{from{transform:translate3d(0,0,0)}to{transform:translate3d(22px,24px,0)}}@keyframes skeleton-light{0%{background-position:100% 0}100%{background-position:-120% 0}}@keyframes route-light{from{background-position:150% 0}to{background-position:-50% 0}}@keyframes backdrop-in{from{opacity:0}to{opacity:1}}
@media(max-width:1150px) and (min-width:801px){.page-heading{padding:23px}.page-heading .actions{flex-wrap:wrap;justify-content:flex-end}.page-heading h1{font-size:26px}.metric{padding:18px}.page-heading p:not(.eyebrow){font-size:11px}}
@media(max-width:800px){.topbar{backdrop-filter:blur(12px)}.page-heading{padding:22px 19px;border-radius:18px;gap:20px;margin-bottom:20px}.page-heading h1{font-size:25px}.page-heading p:not(.eyebrow){font-size:11px}.page-heading::before{inset-block:23px}.page-heading .actions{flex-shrink:1;flex-wrap:wrap}.page-heading .actions .btn{flex:1;white-space:nowrap}body[data-route=overview] .page-heading{padding:27px 21px;min-height:215px}body[data-route=overview] .page-heading h1{font-size:27px}body[data-route=overview] .page-heading::after{animation:none;inset-inline-end:-160px;top:-100px;width:300px;height:300px}.metrics{gap:11px}.metric>div .icon{width:30px;height:30px;padding:6px}.card,.metric,.shortcut{border-radius:16px}.empty{padding:29px 16px!important}.modal{border-radius:18px}.modal::backdrop,.studio-dialog::backdrop{backdrop-filter:blur(2px)}.modal-body{max-height:70dvh;overflow:auto}.login-form form{padding:26px 20px}.login-form{padding:24px 16px}.skeleton-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.skeleton-card{height:115px}.skeleton-panel{height:210px}.account-identifier{padding:10px;gap:8px}.account-identifier label{flex-basis:120px}.account-identifier .btn{padding-inline:9px}.chat-header{gap:7px}.chat-header>div{min-width:0}.chat-header h2{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:125px}.chat-header p{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:125px}.workspace-loading{padding:10px 0}.mobile-nav{background:linear-gradient(145deg,#2f1d41,#1a1226)}.mobile-nav .nav-link{min-height:46px}}
@media(max-width:360px){.page-heading h1{font-size:23px}.page-heading{padding:20px 16px}body[data-route=overview] .page-heading h1{font-size:25px}.page-heading .actions{gap:8px}.page-heading .btn{font-size:10px;padding-inline:10px}.metric>div{font-size:9px}.metric>div .icon{width:26px;height:26px;padding:5px}.chat-header h2,.chat-header p{max-width:82px}.account-identifier label{flex-basis:100px}.login-form form{padding:22px 16px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.motion-ripple{display:none}.skeleton{background:#eee8f5}.page-heading::after{transform:none!important}}

.message small{font-size:10px;line-height:1.7;color:#806c8c;margin-top:7px}@media(hover:hover) and (prefers-reduced-motion:no-preference){html[dir=ltr] .shortcut:hover>.icon:last-child{transform:translateX(3px)}}
