:root{color:#14213d;font-synthesis:none;--black:#000;--navy:#14213d;--orange:#fca311;--gray:#e5e5e5;--white:#fff;--muted:#14213da8;--line:#14213d21;--soft:#e5e5e56b;--shadow-sm:0 2px 5px #14213d0f, 0 9px 24px #14213d0f;--shadow-md:0 8px 18px #14213d14, 0 24px 54px #14213d12;--shadow-lg:0 24px 70px #00000038;background:#e5e5e5;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}html{background:var(--gray);min-width:320px}body{background:linear-gradient(135deg, var(--white), #e5e5e56b);min-width:320px;min-height:100vh;margin:0}button,input,select,textarea{font:inherit}button{min-height:44px;color:var(--navy);background:linear-gradient(145deg, var(--orange), #fca311d1);cursor:pointer;touch-action:manipulation;border:1px solid #0000;border-radius:9px;justify-content:center;align-items:center;gap:.55rem;padding:.68rem 1rem;font-weight:750;transition:background-color .2s,border-color .2s,color .2s,box-shadow .2s,transform .2s;display:inline-flex}button:hover{transform:translateY(-1px);box-shadow:0 8px 20px #fca31145}button:active{background:var(--orange);filter:brightness(.92)}button:disabled{opacity:.5;cursor:not-allowed;box-shadow:none;transform:none}button svg{flex:none;width:19px;height:19px}button.secondary{color:var(--navy);background:var(--white);border-color:var(--line);box-shadow:none}button.secondary:hover{background:var(--soft);box-shadow:none;border-color:#14213d47}button:focus-visible,input:focus-visible,select:focus-visible,a:focus-visible{outline-offset:2px;outline:3px solid #fca31161}input,select,textarea{width:100%;min-height:44px;color:var(--navy);background:linear-gradient(180deg, var(--white), #e5e5e521);border:1px solid #14213d2e;border-radius:8px;outline:none;padding:.68rem .8rem;transition:border-color .2s,box-shadow .2s;box-shadow:inset 0 1px 2px #14213d06}input::placeholder{color:#14213d6b}input:focus,select:focus,textarea:focus{border-color:var(--orange);box-shadow:0 0 0 3px #fca31124}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}h1,h2,h3,p{margin-top:0}h1{color:var(--navy);letter-spacing:-.035em;margin-bottom:.35rem;font-size:clamp(1.65rem,3vw,2.1rem);line-height:1.15}h2{color:var(--navy);margin-bottom:.35rem;font-size:1.08rem}p{line-height:1.55}.skip-link{z-index:1000;color:var(--navy);background:var(--white);border-radius:8px;padding:.65rem .9rem;position:fixed;top:.5rem;left:.5rem;transform:translateY(-150%)}.skip-link:focus{transform:translateY(0)}.center{min-height:100dvh;color:var(--muted);background:var(--white);place-content:center;justify-items:center;gap:.75rem;display:grid}.loader{border:3px solid var(--gray);border-top-color:var(--orange);border-radius:50%;width:34px;height:34px;animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.brand{align-items:center;width:100%;min-width:0;display:flex}.brand img{object-fit:contain;object-position:left center;width:172px;height:53px;display:block}.login-shell{background:radial-gradient(circle at 50% 50%, #14213db8, transparent 58%), var(--navy);place-content:center;justify-items:center;gap:1.3rem;min-height:100dvh;padding:2rem 1rem;display:grid;position:relative;overflow:hidden}.login-shell:before{content:"";pointer-events:none;background:linear-gradient(120deg,#0000006b,#0000 45%,#0003);position:absolute;inset:0}.login-orbit{pointer-events:none;border:1px solid #fca3115c;border-radius:50%;position:absolute}.orbit-one{width:540px;height:540px;bottom:-110px;left:-310px;box-shadow:0 0 0 70px #fca31106}.orbit-two{width:420px;height:420px;top:-90px;right:-180px;box-shadow:0 0 0 48px #fca31106,0 0 0 92px #fca31105}.login-dots{opacity:.38;background-image:radial-gradient(var(--orange) 1.2px, transparent 1.2px);background-size:14px 14px;width:310px;height:210px;position:absolute;-webkit-mask-image:radial-gradient(#000,#0000 68%);mask-image:radial-gradient(#000,#0000 68%)}.dots-one{top:19%;left:3%}.dots-two{bottom:13%;right:5%}.login-card{z-index:1;width:min(520px,100vw - 2rem);color:var(--navy);background:var(--white);border:1px solid #e5e5e5b8;border-radius:22px;padding:2.25rem 2.6rem 2rem;position:relative;box-shadow:0 32px 90px #00000057}.login-card .brand{justify-content:center}.login-card .brand img{object-position:center;background:0 0;width:min(310px,82%);height:auto}.login-card input{background:var(--white);box-shadow:none}.login-copy{margin:2.2rem 0 1.35rem}.eyebrow{color:var(--navy);letter-spacing:.15em;margin-bottom:.55rem;font-size:.67rem;font-weight:900}.login-copy h1{font-size:clamp(2rem,5vw,2.55rem)}.login-copy>p:last-child{max-width:39ch;color:var(--muted);margin-bottom:0;font-size:.91rem}.stack{gap:.95rem;display:grid}.field{gap:.4rem;min-width:0;display:grid}.field>span{color:var(--navy);font-size:.76rem;font-weight:750}.input-with-icon{position:relative}.input-with-icon>svg{width:19px;height:19px;color:var(--muted);position:absolute;top:50%;left:.8rem;transform:translateY(-50%)}.input-with-icon input{padding-left:2.55rem}.input-with-icon input:has(+.input-action){padding-right:3rem}.input-action{width:40px;min-height:40px;color:var(--muted);box-shadow:none;background:0 0;padding:0;position:absolute;top:50%;right:.2rem;transform:translateY(-50%)}.input-action:hover{color:var(--navy);box-shadow:none}.primary-button{color:var(--navy);justify-content:space-between;margin-top:.2rem;padding-inline:1.15rem}.login-foot{color:var(--muted);justify-content:center;align-items:center;gap:.4rem;margin:1.15rem 0 0;font-size:.69rem;display:flex}.login-foot svg{width:15px;height:15px;color:var(--navy)}.login-seal{z-index:1;color:#ffffffad;align-items:center;gap:.45rem;margin:0;font-size:.72rem;display:flex;position:relative}.login-seal svg{width:17px;height:17px}.app-shell{background:var(--white);grid-template-columns:230px minmax(0,1fr);min-height:100dvh;display:grid}.sidebar{z-index:20;height:100dvh;color:var(--white);background:var(--navy);flex-direction:column;padding:1.5rem .75rem 1rem;display:flex;position:sticky;top:0;box-shadow:8px 0 28px #14213d1a}.sidebar>*{z-index:1;position:relative}.sidebar .brand{min-height:53px;margin-bottom:1.9rem;padding:0 .4rem;overflow:hidden}.sidebar .brand img{background:var(--navy);width:166px;max-width:100%;height:auto;box-shadow:none;border-radius:0}.sidebar nav{gap:.35rem;display:grid}.sidebar nav button{color:#ffffffbd;width:100%;min-height:47px;box-shadow:none;background:0 0;justify-content:flex-start;padding:.7rem .9rem;position:relative}.sidebar nav button:before{content:"";background:0 0;border-radius:0 4px 4px 0;width:3px;height:28px;position:absolute;left:-.75rem}.sidebar nav button:hover{color:var(--white);box-shadow:none;background:#ffffff0f}.sidebar nav button.active{color:var(--orange);box-shadow:none;background:#ffffff13;border-color:#0000}.sidebar nav button.active:before{background:var(--orange)}.sidebar nav button svg{width:20px;height:20px}.sidebar-support{box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;border:1px solid #ffffff1f;border-radius:10px;align-items:center;gap:.65rem;margin-top:auto;margin-bottom:1rem;padding:.8rem;display:flex}.sidebar-support>span{width:30px;height:30px;color:var(--orange);background:#fca31117;border-radius:8px;place-items:center;display:grid}.sidebar-support svg{width:17px;height:17px}.sidebar-support div{gap:.18rem;display:grid}.sidebar-support strong{color:var(--orange);font-size:.7rem}.sidebar-support small{color:#ffffff8c;font-size:.6rem}.account{box-shadow:none;background:0 0;border:1px solid #ffffff1f;border-radius:10px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.65rem;padding:.8rem;display:grid}.avatar{width:34px;height:34px;color:var(--navy);background:var(--orange);border-radius:9px;place-items:center;font-weight:850;display:grid}.account>div{gap:.12rem;min-width:0;display:grid}.account strong,.account small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.account strong{font-size:.72rem}.account small{color:#ffffff85;font-size:.6rem}.icon-button{width:44px;min-height:44px;color:inherit;box-shadow:none;background:0 0;border-color:#0000;padding:0}.icon-button:hover{color:var(--orange);box-shadow:none;background:#ffffff0f}.content{background:linear-gradient(135deg, var(--white), #e5e5e540);width:100%;min-width:0;max-width:1600px;padding:1.75rem clamp(1.1rem,3vw,2.7rem) 3rem;position:relative}.page-header{justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1.7rem;padding-bottom:1rem;display:flex;position:relative}.page-header:after{content:"";background:linear-gradient(90deg, var(--orange), #14213d1a 16%, transparent 78%);height:1px;position:absolute;bottom:0;left:0;right:0}.page-header h1{margin-bottom:.25rem}.page-header p{color:var(--muted);margin:0;font-size:.78rem}.sync-button{color:var(--orange);background:linear-gradient(145deg, var(--navy), #000000eb);border-color:#fca31129;box-shadow:0 10px 24px #14213d29,inset 0 1px #ffffff0f}.sync-button:hover{box-shadow:0 7px 18px #14213d33}.notice{color:var(--navy);overflow-wrap:anywhere;background:#fca3111c;border:1px solid #fca31152;border-radius:8px;align-items:flex-start;gap:.55rem;margin-bottom:1rem;padding:.75rem .9rem;font-size:.76rem;display:flex}.notice.error{color:var(--white);background:var(--navy);border-color:var(--navy)}.notice svg{flex:none;width:18px;height:18px}.metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:.9rem;margin-bottom:1rem;display:grid}.metric,.panel{background:linear-gradient(145deg, var(--white), #e5e5e529);box-shadow:var(--shadow-sm), inset 0 1px 0 var(--white);border:1px solid #14213d1f;border-radius:13px}.metric{padding:1rem;transition:box-shadow .22s,transform .22s,border-color .22s;position:relative;overflow:hidden}.metric:before{content:"";background:linear-gradient(180deg, var(--orange), transparent);width:3px;position:absolute;top:0;bottom:0;left:0}.metric:hover{box-shadow:var(--shadow-md);border-color:#fca31152;transform:translateY(-2px)}.metric-top{justify-content:space-between;align-items:center;margin-bottom:.6rem;display:flex}.metric-top>span{width:38px;height:38px;color:var(--navy);box-shadow:inset 0 1px 0 var(--white), 0 5px 12px #14213d0f;background:linear-gradient(145deg,#fca31133,#e5e5e58c);border:1px solid #fca3112e;border-radius:10px;place-items:center;display:grid}.metric-top svg{width:20px;height:20px}.metric-top i{color:var(--muted);align-items:center;gap:.3rem;font-size:.6rem;font-style:normal;display:flex}.metric-top b{background:var(--orange);border-radius:50%;width:6px;height:6px}.metric p{color:var(--muted);text-transform:uppercase;letter-spacing:.05em;margin-bottom:.18rem;font-size:.66rem;font-weight:750}.metric>strong{color:var(--navy);letter-spacing:-.03em;margin-bottom:.18rem;font-size:1.45rem;display:block}.metric small{min-height:1.35em;color:var(--muted);white-space:nowrap;text-overflow:ellipsis;font-size:.65rem;display:block;overflow:hidden}.metric-progress,.large-progress{background:var(--gray);border-radius:99px;height:5px;margin-top:.7rem;overflow:hidden}.metric-progress span,.large-progress span{background:var(--orange);border-radius:inherit;height:100%;display:block}.panel{margin-bottom:1rem;padding:1.1rem;transition:box-shadow .22s,border-color .22s}.panel:hover{box-shadow:var(--shadow-md);border-color:#14213d2b}.panel-heading{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.panel-heading p{color:var(--muted);margin:0;font-size:.72rem}.panel-heading>strong{color:var(--orange);font-size:1.45rem}.overview-layout{grid-template-columns:1.45fr 1fr;gap:1rem;display:grid}.usage-panel{flex-direction:column;justify-content:space-between;min-height:160px;display:flex;position:relative;overflow:hidden}.large-progress{height:10px;margin-top:1.5rem}.progress-labels{color:var(--muted);justify-content:space-between;margin-top:.65rem;font-size:.67rem;display:flex}.system-panel{min-height:160px;color:var(--white);background:linear-gradient(145deg, var(--navy), #000000f0);border:1px solid #fca3112e;border-radius:13px;justify-content:space-between;align-items:center;gap:1rem;padding:1.25rem;display:flex;position:relative;overflow:hidden;box-shadow:0 14px 36px #14213d33,inset 0 1px #ffffff12}.system-panel:before{content:"";opacity:.22;background-image:radial-gradient(#ffffff61 .7px,#0000 .7px);background-size:12px 12px;position:absolute;inset:0;-webkit-mask-image:linear-gradient(90deg,#0000 42%,#000);mask-image:linear-gradient(90deg,#0000 42%,#000)}.system-panel>*{z-index:1;position:relative}.system-panel p{color:var(--orange);letter-spacing:.12em;margin-bottom:.5rem;font-size:.61rem;font-weight:850}.system-panel h2{color:var(--white)}.system-panel div>span{color:#ffffff9e;font-size:.7rem}.system-score{border:0;border-radius:0;justify-items:center;gap:.35rem;min-width:72px;padding:0;display:grid}.system-score svg{width:24px;height:24px;color:var(--orange)}.system-score strong{text-transform:capitalize;font-size:.65rem}.system-score.traffic-healthy svg{color:#4ade80}.system-score.traffic-delayed svg{color:var(--orange)}.system-score.traffic-degraded svg{color:#ff7b7b}.count-badge,.protocol-chip{color:var(--navy);white-space:nowrap;background:#fca3111c;border:1px solid #fca31147;border-radius:99px;align-items:center;padding:.26rem .55rem;font-size:.63rem;font-weight:750;display:inline-flex}.protocol-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:.65rem;margin-top:1rem;display:grid}.protocol{background:linear-gradient(145deg, var(--white), #e5e5e540);box-shadow:0 5px 13px #14213d09, inset 0 1px 0 var(--white);border:1px solid #14213d17;border-radius:9px;align-items:center;gap:.65rem;padding:.75rem;transition:border-color .2s,box-shadow .2s,transform .2s;display:flex}.protocol:hover{border-color:#fca31152;transform:translateY(-1px);box-shadow:0 10px 24px #14213d14}.protocol>span{width:32px;height:32px;color:var(--navy);background:#fca3111c;border-radius:8px;place-items:center;display:grid}.protocol svg{width:17px;height:17px}.protocol>div{gap:.15rem;display:grid}.protocol strong{font-size:.73rem}.protocol small{color:var(--muted);font-size:.61rem}.convergence-panel dl{grid-template-columns:repeat(4,minmax(0,1fr));gap:.7rem;margin:1rem 0 0;display:grid}.convergence-panel dl>div{background:var(--soft);border:1px solid var(--line);border-radius:9px;padding:.75rem}.convergence-panel dt{color:var(--muted);font-size:.64rem}.convergence-panel dd{color:var(--navy);margin:.25rem 0 0;font-size:.82rem;font-weight:800}.summary-strip{background:0 0;border:0;grid-template-columns:repeat(4,minmax(0,1fr));gap:.85rem;margin-bottom:1.2rem;display:grid;overflow:visible}.summary-strip article{background:linear-gradient(145deg, var(--white), #e5e5e52e);min-height:98px;box-shadow:var(--shadow-sm), inset 0 1px 0 var(--white);border:1px solid #14213d1c;border-radius:13px;align-items:center;gap:.8rem;padding:1rem;transition:transform .2s,box-shadow .2s,border-color .2s;display:flex;position:relative;overflow:hidden}.summary-strip article:hover{box-shadow:var(--shadow-md);border-color:#fca3114d;transform:translateY(-2px)}.summary-strip article>span{z-index:1;width:42px;height:42px;color:var(--navy);box-shadow:inset 0 1px 0 var(--white), 0 7px 16px #14213d12;background:linear-gradient(145deg,#fca31138,#e5e5e56b);border:1px solid #fca31133;border-radius:11px;place-items:center;display:grid;position:relative}.summary-strip svg{width:21px;height:21px}.summary-strip article>div{gap:.15rem;min-width:0;display:grid}.summary-strip strong{color:var(--navy);text-overflow:ellipsis;white-space:nowrap;font-size:1.12rem;overflow:hidden}.summary-strip small{color:var(--muted);font-size:.68rem}.toolbar{box-shadow:var(--shadow-sm);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffffb8;border:1px solid #14213d17;border-radius:12px;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1rem;padding:.72rem;display:flex}.search-box{width:min(330px,100%);position:relative}.search-box svg{width:18px;height:18px;color:var(--muted);position:absolute;top:50%;left:.8rem;transform:translateY(-50%)}.search-box input{padding-left:2.45rem}.table-panel{box-shadow:var(--shadow-md), inset 0 1px 0 var(--white);border-radius:14px;padding:0;overflow:hidden}.table-wrap{width:100%;overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:.75rem}th{color:var(--navy);text-align:left;text-transform:uppercase;letter-spacing:.04em;background:linear-gradient(#e5e5e56b,#e5e5e52e);font-size:.64rem}th,td{white-space:nowrap;border-bottom:1px solid #14213d17;padding:.78rem .7rem}tbody tr:last-child td{border-bottom:0}tbody tr{transition:background-color .18s,box-shadow .18s}tbody tr:hover{box-shadow:inset 3px 0 0 var(--orange);background:linear-gradient(90deg,#fca31111,#e5e5e51f)}td{color:var(--muted)}.user-cell{align-items:center;gap:.6rem;display:flex}.user-cell>span{width:34px;height:34px;color:var(--navy);background:linear-gradient(145deg, #fca31129, var(--soft));box-shadow:inset 0 1px 0 var(--white);border:1px solid #14213d12;border-radius:9px;place-items:center;font-weight:800;display:grid}.user-cell svg{width:17px;height:17px}.user-cell>div{gap:.13rem;display:grid}.user-cell strong{color:var(--navy);font-size:.72rem}.user-cell small{color:var(--muted);font-size:.6rem}.status{color:var(--navy);background:var(--gray);text-transform:capitalize;border-radius:6px;align-items:center;gap:.32rem;padding:.25rem .5rem;font-size:.62rem;font-weight:700;display:inline-flex}.status i{background:var(--navy);border-radius:50%;width:6px;height:6px}.status.active,.status.applied{color:var(--navy);background:#fca31129}.status.active i,.status.applied i{background:var(--orange)}.usage-cell{gap:.35rem;min-width:130px;display:grid}.usage-cell span{font-size:.65rem}.usage-cell>div{background:var(--gray);border-radius:99px;height:5px;overflow:hidden}.usage-cell i{background:var(--orange);border-radius:inherit;height:100%;display:block}td select{min-width:120px;min-height:36px;padding:.4rem .6rem;font-size:.68rem}.row-actions{align-items:center;gap:.3rem;display:flex}.table-action{width:38px;min-height:38px;color:var(--navy);background:linear-gradient(145deg, var(--white), #e5e5e538);border-color:var(--line);padding:0;box-shadow:0 3px 8px #14213d0d}.table-action:hover{color:var(--navy);box-shadow:none;background:#fca31114;border-color:#fca31159}.table-action.danger:hover{color:var(--white);background:var(--navy);border-color:var(--navy)}.empty{color:var(--muted);text-align:center;justify-items:center;gap:.5rem;padding:2.5rem;display:grid}.empty>span{width:42px;height:42px;color:var(--orange);background:var(--navy);border-radius:10px;place-items:center;display:grid}.empty svg{width:20px;height:20px}.empty strong{font-size:.78rem}.inbound-studio{min-width:0;color:var(--navy)}.studio-header{background:linear-gradient(145deg, var(--white), #e5e5e52e);border:1px solid var(--line);box-shadow:var(--shadow-sm);border-radius:14px;justify-content:space-between;align-items:flex-end;gap:1.25rem;margin-bottom:1rem;padding:1.25rem;display:flex}.studio-header h2{margin-bottom:.3rem;font-size:1.55rem}.studio-header p{color:var(--muted);margin-bottom:0;font-size:.74rem}.studio-header .eyebrow{color:var(--orange);margin:.75rem 0 .35rem}.studio-back{min-height:36px;color:var(--navy);box-shadow:none;background:0 0;border:0;padding:.35rem 0}.studio-back:hover{color:var(--orange);box-shadow:none;transform:none}.studio-header-actions{align-items:center;gap:.7rem;display:flex}.mode-switch{background:var(--soft);border:1px solid var(--line);border-radius:9px;align-items:center;gap:.55rem;min-height:44px;padding:.5rem .7rem;font-size:.7rem;font-weight:750;display:flex}.mode-switch input{width:38px;min-height:22px;accent-color:var(--orange)}.studio-alert,.studio-warning{border-radius:9px;padding:.8rem .9rem;font-size:.74rem;line-height:1.5}.studio-alert{color:var(--white);background:var(--navy);border-left:4px solid var(--orange);margin-bottom:.85rem}.studio-warning{color:#5c3500;background:#fff4d9;border:1px solid #e7b34c;grid-column:1/-1}.studio-tabs{background:var(--navy);scrollbar-width:thin;border-radius:12px 12px 0 0;gap:.35rem;padding:.45rem;display:flex;overflow-x:auto}.studio-tabs button{color:#ffffffbd;min-height:46px;box-shadow:none;background:0 0;border-color:#0000;flex:none;padding:.55rem .72rem;font-size:.66rem}.studio-tabs button:hover{color:var(--white);box-shadow:none;background:#ffffff12;transform:none}.studio-tabs button.active{color:var(--navy);background:var(--orange)}.studio-tabs button span{width:21px;height:21px;color:inherit;background:#ffffff21;border-radius:50%;place-items:center;font-size:.6rem;display:grid}.studio-panel{background:var(--white);border:1px solid var(--line);border-top:0;min-height:440px;padding:clamp(1rem,2.5vw,1.6rem)}.studio-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:1rem;display:grid}.studio-stack{gap:1rem;display:grid}.studio-field{gap:.4rem;min-width:0;display:grid}.studio-field.wide{grid-column:1/-1}.studio-field>span,.secret-control legend{color:var(--navy);font-size:.72rem;font-weight:800}.studio-field>span b{color:#a5441b}.studio-field small{color:var(--muted);font-size:.63rem}.studio-field textarea{resize:vertical;min-height:90px}.studio-toggle{background:var(--soft);border:1px solid var(--line);border-radius:9px;grid-column:1/-1;justify-content:space-between;align-items:center;gap:1rem;min-height:64px;padding:.85rem;display:flex}.studio-toggle>span{gap:.18rem;display:grid}.studio-toggle strong{font-size:.74rem}.studio-toggle small{color:var(--muted);font-size:.63rem}.studio-toggle input{width:42px;min-height:24px;accent-color:var(--orange)}.input-action-row{grid-template-columns:minmax(0,1fr) auto;gap:.45rem;display:grid}.secret-control{background:var(--soft);border:1px solid var(--line);border-radius:9px;min-width:0;margin:0;padding:.85rem}.secret-control p{color:var(--muted);margin:.35rem 0 .65rem;font-size:.63rem}.secret-control>div{flex-wrap:wrap;gap:.5rem;display:flex}.secret-control label{background:var(--white);border:1px solid var(--line);text-transform:capitalize;border-radius:7px;align-items:center;gap:.35rem;min-height:40px;padding:.4rem .6rem;font-size:.67rem;display:inline-flex}.secret-control input{width:18px;min-height:18px;accent-color:var(--orange)}.studio-section{background:var(--soft);border:1px solid var(--line);border-radius:10px;padding:1rem}.studio-section h3{margin:0 0 .3rem;font-size:.9rem}.studio-section>p{color:var(--muted);margin-bottom:.8rem;font-size:.68rem}.code-editor{resize:vertical;color:#e5e7eb;tab-size:2;background:#111827;border-color:#263247;min-height:260px;font:12px/1.6 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace}.code-editor.small{min-height:150px}.json-actions,.preview-actions{flex-wrap:wrap;gap:.55rem;margin-top:.7rem;display:flex}.field-error{color:#9b2c1d;margin:.45rem 0 0;font-size:.68rem;font-weight:700}.preview-code{color:#e5e7eb;white-space:pre-wrap;overflow-wrap:anywhere;background:#111827;border-radius:9px;min-height:290px;max-height:520px;margin:1rem 0 0;padding:1rem;font:12px/1.6 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;overflow:auto}.studio-footer{z-index:10;border:1px solid var(--line);border-top:3px solid var(--orange);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#fffffff5;border-radius:0 0 12px 12px;justify-content:space-between;align-items:center;gap:1rem;padding:.85rem 1rem;display:flex;position:sticky;bottom:0;box-shadow:0 -8px 24px #14213d17}.studio-footer>div:first-child{color:var(--muted);font-size:.68rem}.studio-footer>div:last-child{gap:.55rem;display:flex}.modal-backdrop{z-index:200;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#00000094;place-items:center;padding:1.25rem;display:grid;position:fixed;inset:0;overflow-y:auto}.modal{width:min(560px,100%);max-height:calc(100dvh - 2.5rem);color:var(--navy);background:var(--white);border:1px solid #ffffff80;border-radius:14px;animation:.2s ease-out modal-in;position:relative;overflow-y:auto;box-shadow:0 28px 90px #00000057}.modal.wide{width:min(860px,100%)}@keyframes modal-in{0%{opacity:0;transform:translateY(10px)scale(.985)}}.modal>header{border-bottom:1px solid var(--line);grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.8rem;padding:1.25rem 1.35rem;display:grid}.modal>header>span{width:42px;height:42px;color:var(--navy);box-shadow:none;background:#fca3111f;border:0;border-radius:10px;place-items:center;display:grid}.modal>header svg{width:21px;height:21px}.modal>header h2{margin-bottom:.2rem}.modal>header p{color:var(--muted);margin:0;font-size:.7rem}.modal>header .icon-button{color:var(--navy)}.modal-form{padding:1.35rem}.modal-form input,.modal-form select{background:var(--white);box-shadow:none}.modal-form button:not(.secondary){background:var(--orange)}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;display:grid}.modal-form>.field{margin-bottom:1rem}.toggle-row{background:var(--soft);border:1px solid var(--line);border-radius:8px;justify-content:space-between;align-items:center;gap:1rem;margin-top:1rem;padding:.85rem;display:flex}.toggle-row>span{gap:.2rem;display:grid}.toggle-row strong{font-size:.76rem}.toggle-row small{color:var(--muted);font-size:.65rem}.toggle-row input{width:42px;min-height:22px;accent-color:var(--orange)}.modal-footer{border-top:1px solid var(--line);justify-content:flex-end;gap:.65rem;margin-top:1.25rem;padding-top:1rem;display:flex}.modal>.modal-footer{margin:0;padding:1.1rem 1.35rem}.danger-button{color:var(--white);background:var(--navy)}.security-card{max-width:680px;box-shadow:var(--shadow-md);grid-template-columns:auto 1fr auto;align-items:center;gap:1rem;padding:1.35rem;display:grid;position:relative;overflow:hidden}.security-icon{width:48px;height:48px;color:var(--orange);background:var(--navy);border-radius:11px;place-items:center;display:grid}.security-icon svg{width:24px;height:24px}.security-card p{color:var(--muted);margin:0;font-size:.75rem}.setup-area{border-top:1px solid var(--line);grid-column:1/-1;margin-top:.75rem;padding-top:1rem}.secret{background:var(--soft);border-radius:8px;gap:.45rem;padding:.8rem;display:grid}.secret span{font-size:.68rem;font-weight:750}.secret code{overflow-wrap:anywhere;color:var(--navy)}.recovery-grid{grid-template-columns:repeat(2,1fr);gap:.5rem;display:grid}.recovery-grid code{text-align:center;background:var(--soft);border-radius:6px;padding:.55rem}@media (width<=1100px){.metrics,.summary-strip,.protocol-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=780px){.app-shell{padding-bottom:76px;display:block}.sidebar{z-index:100;width:100%;height:auto;padding:.45rem max(.45rem, env(safe-area-inset-right)) calc(.45rem + env(safe-area-inset-bottom)) max(.45rem, env(safe-area-inset-left));border-top:1px solid #ffffff1f;position:fixed;inset:auto 0 0}.sidebar .brand,.sidebar-support,.account{display:none}.sidebar nav{grid-template-columns:repeat(4,1fr);gap:.2rem}.sidebar nav button{flex-direction:column;justify-content:center;gap:.22rem;min-height:56px;padding:.25rem;font-size:.61rem}.sidebar nav button:before{border-radius:0 0 4px 4px;width:24px;height:3px;top:-.45rem;left:50%;transform:translate(-50%)}.content{padding:1.2rem 1rem 2rem}.page-header{align-items:flex-start}.sync-button{min-width:44px;padding-inline:.7rem;font-size:0}.overview-layout{grid-template-columns:1fr}.toolbar{align-items:stretch}.search-box{width:100%}.form-grid{grid-template-columns:1fr}.convergence-panel dl{grid-template-columns:repeat(2,minmax(0,1fr))}.studio-header{flex-direction:column;align-items:stretch}.studio-header-actions{justify-content:space-between}.studio-grid{grid-template-columns:1fr}.studio-field.wide,.studio-toggle,.studio-warning{grid-column:auto}.studio-footer{flex-direction:column;align-items:stretch;position:static}.studio-footer>div:last-child{grid-template-columns:repeat(3,1fr);display:grid}}@media (width<=520px){.login-card{border-radius:17px;padding:1.5rem}.login-copy{margin-top:1.65rem}.metrics,.summary-strip,.protocol-grid{grid-template-columns:1fr}.summary-strip article{min-height:82px}.toolbar{flex-direction:column}.toolbar>button{width:100%}.system-panel{align-items:flex-start}.security-card{grid-template-columns:auto 1fr}.security-card>button{grid-column:1/-1}.modal-backdrop{padding:.65rem}.modal{border-radius:12px;max-height:calc(100dvh - 1.3rem)}.modal>header,.modal-form{padding:1rem}.convergence-panel dl{grid-template-columns:1fr}.studio-header-actions{flex-direction:column;align-items:stretch}.studio-footer>div:last-child,.input-action-row{grid-template-columns:1fr}.modal-footer{flex-direction:column-reverse}.modal-footer button{width:100%}.recovery-grid{grid-template-columns:1fr}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
