:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;font-size:14px;line-height:1.55;color:#243247;background:#f5f7fa;--blue:#205bd6;--muted:#65748a;--line:#e4e9f0;--surface:#fff;--radius:10px}
*{box-sizing:border-box;scrollbar-color:#bdc8d8 #f5f7fa;scrollbar-width:thin}body{margin:0}button,input,select,textarea{font:inherit}button{border:0;cursor:pointer;background:none;color:inherit;transition:background .15s,color .15s}button:disabled{opacity:.55;cursor:not-allowed}button,input,select,a{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible{outline:3px solid #a3c0fa;outline-offset:3px}input:focus,select:focus,textarea:focus{outline:0;border-color:#729de9;box-shadow:0 0 0 3px #205bd612}::selection{background:#d5e3ff;color:#193f86}[hidden]{display:none!important}h1,h2,h3,p{margin-top:0}h1{font-size:28px;font-weight:650;line-height:1.25;letter-spacing:-.025em;margin-bottom:10px}h2{font-size:16px;font-weight:600;line-height:1.4;margin:0}h3{font-size:15px;font-weight:600;line-height:1.4;margin:0 0 10px}p{color:var(--muted);line-height:1.75}input,select,textarea{border:1px solid #ced7e3;border-radius:7px;background:#fff;color:#243247;min-width:0;caret-color:var(--blue);transition:border-color .15s,box-shadow .15s}input,select{height:42px;padding:9px 13px}input::placeholder,textarea::placeholder{color:#7a8799}input:disabled,select:disabled{background:#f4f6f9;color:#69788c}select{appearance:none;-webkit-appearance:none;padding-right:42px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2365748a' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 13px center;background-size:16px}label{display:block;font-size:12px;font-weight:550;margin:0 0 9px;line-height:1.5}textarea{display:block;width:100%;padding:12px 14px;line-height:1.65;resize:vertical}a{color:var(--blue);text-underline-offset:3px}
.primary,.secondary,.danger{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;padding:9px 15px;border-radius:7px;font-size:13px;font-weight:550;white-space:nowrap}.primary{background:var(--blue);color:white}.primary:hover{background:#194db8}.secondary{background:white;border:1px solid #d7dfe9;color:#42536b}.secondary:hover{background:#f3f6fa;border-color:#becbde}.danger{background:#b82f40;color:white}.danger:hover{background:#9c2634}.icon-button{width:30px;height:30px;display:grid;place-items:center;padding:0;border-radius:6px;font-size:21px;line-height:1}.icon-button:hover{background:#edf2f9;color:#294c7d}.hint{font-size:12px;color:var(--muted);line-height:1.7;margin:12px 0 0}.dot{display:inline-block;flex-shrink:0;width:6px;height:6px;background:#368361;border-radius:50%;vertical-align:middle;margin-right:6px}.dot.gray{background:#8793a4}.dot.green{background:#368361}
#console{display:flex;min-height:100vh}aside{position:sticky;top:0;width:240px;height:100vh;flex-shrink:0;padding:30px 18px 24px;background:white;border-right:1px solid var(--line);display:flex;flex-direction:column;overflow:auto}.brand{display:flex;align-items:center;gap:11px;font-size:16px;font-weight:700;letter-spacing:-.02em;line-height:1.3}.brand-mark{display:grid;place-items:center;width:34px;height:36px;border-radius:8px;background:var(--blue);color:#fff;font-size:24px;font-weight:800;font-style:italic;flex-shrink:0}.brand small{display:block;font-size:11px;letter-spacing:.02em;font-weight:400;color:var(--muted);margin-top:5px}.nav-title{margin:42px 12px 11px;color:#758298;font-size:11px}.nav{width:100%;display:flex;justify-content:space-between;align-items:center;gap:12px;text-align:left;border-radius:7px;padding:12px;font-weight:550;font-size:13px}.nav:hover{background:#f3f6fb}.nav.active{background:#edf3ff;color:#2155af}.nav>span{font-size:12px;font-weight:400;font-variant-numeric:tabular-nums}.side-heading{display:flex;justify-content:space-between;align-items:center;padding:28px 8px 9px;font-size:12px;color:var(--muted)}.account-item{display:flex;align-items:center;gap:4px;margin:5px 0;border-radius:7px}.account-item:hover{background:#f5f7fa}.account-item.active{background:#edf3ff}.account-select{padding:12px 10px;text-align:left;flex:1;min-width:0}.account-select strong{display:block;font-size:13px;font-weight:550;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.account-select small{display:block;margin-top:5px;font-size:11px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.remove-account{width:28px;height:30px;font-size:18px;color:#8a95a6;border-radius:6px;margin-right:4px;opacity:0}.account-item:hover .remove-account,.account-item:focus-within .remove-account{opacity:1}.remove-account:hover{background:#fbeef0;color:#b43d4d}.side-bottom{margin-top:auto;padding:45px 10px 0;font-size:11px;color:var(--muted)}.side-bottom button{display:block;margin-top:18px;padding:0;font-size:12px;color:#5f6f84}.side-bottom button:hover{color:var(--blue)}
main{width:100%;max-width:1536px;min-width:0;padding:36px 44px 32px;margin:0 auto}header{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:28px}.breadcrumb{display:block;font-size:11px;color:#79869a;margin-bottom:19px}header p{font-size:13px;margin:0}.overview{display:flex;align-items:center;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:23px 0;gap:0;margin-bottom:28px}.overview>div:not(.sync-info){min-width:140px;width:15%;max-width:180px;border-right:1px solid var(--line);padding-left:26px}.overview>div:first-child{padding-left:0}.overview span{display:block;font-size:12px;color:var(--muted);margin-bottom:8px}.overview strong{font-size:28px;line-height:1.25;font-weight:550;font-variant-numeric:tabular-nums;letter-spacing:-.02em}.sync-info{display:grid;grid-template-columns:1fr auto;column-gap:16px;align-items:center;margin-left:auto;text-align:right}.overview .sync-info>span{grid-column:1;margin:0;font-size:11px}.refresh-policy{grid-column:1;grid-row:2;font-size:10px;color:#7a8799;line-height:1.6}.sync-info button{grid-column:2;grid-row:1/3}
.panel{border:1px solid #c7d8f3;border-radius:var(--radius);padding:26px 28px;background:white;margin-bottom:25px}.panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.panel-heading p{margin:8px 0 22px;font-size:12px}#add-form{max-width:720px}.input-row{display:flex;align-items:stretch;gap:10px}.input-row input{flex:1;min-width:0}#api-key{max-width:550px}.instances{border:1px solid var(--line);background:#fff;border-radius:var(--radius);overflow:hidden}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:21px 24px}.toolbar h2{white-space:nowrap;font-size:15px}.toolbar h2 span{font-size:12px;font-weight:400;color:var(--muted);margin-left:7px}.filters{display:flex;gap:10px;align-items:center}.filters input{width:260px;font-size:12px;height:38px}.filters select{font-size:12px;height:38px;min-width:118px}.table-scroll{overflow:auto}table{width:100%;border-collapse:collapse;white-space:nowrap;text-align:left}th{font-size:11px;font-weight:550;color:#748197;background:#f8fafd;padding:13px 22px;border-top:1px solid #edf0f5;border-bottom:1px solid #edf0f5}td{font-size:12px;line-height:1.55;padding:22px;border-bottom:1px solid #edf0f5}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fbfcfe}.name{display:block;max-width:240px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:600}.detail-link{padding:0;text-align:left;color:#275cb8}.detail-link:hover{text-decoration:underline;text-underline-offset:3px}.sub{display:block;margin-top:5px;color:var(--muted);font-size:11px}.mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px;font-variant-numeric:tabular-nums}.badge{display:inline-flex;align-items:center;border-radius:5px;padding:5px 8px;font-size:11px;line-height:1.4;background:#edf7f2;color:#2e6a49}.badge.stopped,.badge.unknown{background:#f0f3f7;color:#667388}.badge.pending{background:#fff5df;color:#82601a}.badge.pending .dot{background:#b38a38}.right{text-align:right}.row-actions{white-space:nowrap}.action{border:1px solid #dce5f3;border-radius:6px;color:#2b5eb2;font-size:12px;min-height:32px;padding:5px 11px;line-height:1.5}.action+.action{margin-left:6px}.action:hover{background:#edf3ff;border-color:#b8cdee}.action.halt{color:#a64c56;border-color:#ecdce0}.action.halt:hover{background:#fff2f4}.action:disabled{color:#8795a8;border-color:#e5eaf1}footer{border-top:1px solid var(--line);padding:15px 23px;display:flex;justify-content:space-between;align-items:center;gap:16px;color:#788599;font-size:11px;line-height:1.7}.empty{text-align:center;padding:58px 20px;min-height:280px}.empty h3{font-size:18px;font-weight:550;margin-bottom:10px}.empty p{font-size:13px;margin-bottom:23px}.empty-symbol{display:grid;place-items:center;width:56px;height:56px;margin:0 auto 22px;border-radius:12px;background:#edf3ff;color:var(--blue);font-size:29px;font-style:italic;font-weight:700}.footnote{font-size:11px;display:flex;justify-content:space-between;gap:15px;margin:22px 0 0;color:#8691a2}.footnote a{color:#76849a;text-decoration:none}.footnote a:hover{color:var(--blue)}.error-line{font-size:12px;line-height:1.8;padding:13px 17px;color:#9c4b39;background:#fff6f2;border:1px solid #f0dacf;border-radius:7px;margin-bottom:18px}#add-error,#login-error,.detail-error{color:#b23748;font-size:12px;line-height:1.7}#add-error,#login-error{margin:12px 0 0}
.detail-panel{margin-top:28px;background:white;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;scroll-margin-top:20px}.detail-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:26px 28px 22px}.detail-heading h2{font-size:20px;font-weight:650;letter-spacing:-.015em}.detail-heading p{font-size:12px;line-height:1.6;margin:8px 0 0;overflow-wrap:anywhere}.detail-heading .secondary{min-height:36px;font-size:12px}.detail-tabs{display:flex;gap:28px;padding:0 28px;border-bottom:1px solid var(--line);overflow:auto}.detail-tabs button{padding:14px 0 13px;font-size:13px;color:#718096;white-space:nowrap;border-bottom:2px solid transparent}.detail-tabs button:hover{color:#2959a7}.detail-tabs button[aria-selected=true]{border-bottom-color:var(--blue);color:#2158bd;font-weight:550}.detail-content{padding:28px}.detail-content p{font-size:12px}.detail-panel>.detail-error{margin:20px 28px 0}.info-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px 36px;margin:0}.info-grid>div{min-width:0}.info-grid dt{font-size:12px;color:#718097;line-height:1.5;margin-bottom:7px}.info-grid dd{margin:0;font-size:13px;color:#26384e;line-height:1.7;overflow-wrap:anywhere}.info-grid .wide{grid-column:1/-1}#pricing-note{padding-top:22px;margin-top:26px;border-top:1px solid #eef1f6;font-size:11px;color:#7b8798}.month-summary{padding:0 0 25px;margin:0 0 28px;border-bottom:1px solid var(--line)}.month-summary h3{font-size:15px;margin:0 0 22px}.month-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px;margin:0}.month-grid dt{font-size:12px;color:#63728a;line-height:1.5}.month-grid dd{font-size:22px;font-weight:600;line-height:1.4;margin:10px 0 8px;font-variant-numeric:tabular-nums;letter-spacing:-.02em;overflow-wrap:anywhere}.month-grid small{display:block;font-size:11px;line-height:1.65;color:#7b8799}.detail-content .month-note{font-size:11px;line-height:1.8;margin:18px 0 0;color:#728096}.usage-heading{display:flex;align-items:flex-start;gap:12px;margin-bottom:14px}.usage-heading>div{flex:1}.usage-heading h3{margin-bottom:6px}.usage-heading p{margin-bottom:0}.usage-heading select{font-size:12px;min-width:136px;height:38px}.usage-heading button{font-size:12px;min-height:38px}.usage-totals{display:flex;gap:45px;padding:20px 0;border-bottom:1px solid var(--line);margin-bottom:15px}.usage-totals span{font-size:12px;color:var(--muted)}.usage-totals strong{display:block;font-size:20px;font-weight:550;color:#243247;margin-top:8px;font-variant-numeric:tabular-nums}#usage-chart{width:100%;min-height:80px;overflow:auto}#usage-chart svg{width:100%;height:auto;min-width:480px;display:block}.usage-table{max-height:265px;margin-top:16px;border:1px solid var(--line);border-radius:7px}.usage-table td,.usage-table th{padding:12px 16px;font-variant-numeric:tabular-nums}.chart-empty{padding:35px 0;text-align:center;color:var(--muted);font-size:13px}
.login-info-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;max-width:860px}.login-info-heading p{margin:0}.login-info-heading h3{margin-bottom:8px}.login-info-heading button{font-size:12px;min-height:36px}#default-password-note{max-width:760px;line-height:1.8;margin-top:16px;font-size:12px}#ssh-form{max-width:760px;margin-top:28px}.credentials-grid{display:grid;grid-template-columns:minmax(0,280px) minmax(0,280px);column-gap:28px;row-gap:23px;margin:0 0 24px}.credentials-grid input,.credentials-grid select{width:100%;font-size:13px}.credentials-grid .hint{display:block;margin-top:8px;font-size:11px;line-height:1.6}#ssh-port{width:148px}.password-control{position:relative;width:min(100%,420px)}#ssh-password{width:100%;padding-right:85px}.password-actions{display:flex;align-items:center;position:absolute;top:5px;right:6px;gap:3px}.field-icon{width:32px;height:32px;display:grid;place-items:center;color:#74839a;border-radius:5px;padding:6px}.field-icon:hover{background:#edf2f9;color:#2a5bab}.field-icon svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}.field-icon[aria-pressed=true]{background:#edf3ff;color:var(--blue)}.secret-input{width:min(100%,620px);font-family:ui-monospace,SFMono-Regular,monospace;font-size:12px}#ssh-passphrase-field{margin-top:20px}#ssh-passphrase{width:min(100%,360px)}.checkbox-label{display:flex;align-items:center;gap:9px;font-size:12px;font-weight:400;color:#586a82;margin:20px 0 0}.checkbox-label input{height:15px;width:15px;margin:0;accent-color:var(--blue);box-shadow:none}.credential-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding-top:23px;margin-top:25px;border-top:1px solid var(--line)}.credential-actions .text-danger{margin-left:8px}.text-danger,.text-button{font-size:12px;padding:8px 6px;border-radius:5px;min-height:34px}.text-danger{color:#a54a57}.text-danger:hover{background:#fff2f4}.text-button{color:#6d7c92}.text-button:hover{background:#f2f5f9}.default-password-box{padding:18px 20px;margin-top:20px;background:#f7f9fc;border:1px solid var(--line);border-radius:7px;max-width:620px}.default-password-box p{margin-bottom:0}#ssh-form-error:empty{display:none}
.terminal-tab{background:#111d2e}.terminal-toolbar{display:flex;justify-content:space-between;align-items:center;padding:16px 24px;background:#f7f9fc;gap:16px;font-size:12px;color:#52667f}.terminal-toolbar>div{display:flex;gap:9px}.terminal-toolbar button{font-size:12px;min-height:34px;padding:7px 12px}#terminal-container{height:440px;padding:18px 12px 0 20px}.terminal-hint{margin:0;padding:16px 24px;color:#b5c4d8;font-size:11px}.host-trust{padding:22px;margin:20px;background:#fff;border-radius:8px}.host-trust p{font-size:12px}.host-trust code{display:block;font-size:12px;color:#213953;line-height:1.8;overflow-wrap:anywhere}.host-trust button{margin-right:8px}
#login{display:grid;place-items:center;min-height:100vh;padding:28px}.login-box{width:min(400px,100%)}.login-box .brand{margin-bottom:46px}.login-box h1{font-size:28px}.login-box p{font-size:13px}.login-box form{margin:30px 0 26px}.login-box input,.login-box form button{width:100%;display:block;margin-bottom:15px}.login-box small{font-size:11px;color:var(--muted)}#toast{position:fixed;bottom:26px;left:50%;transform:translateX(-50%);padding:13px 21px;border-radius:8px;background:#26354b;color:#fff;box-shadow:0 10px 30px #00000020;max-width:90%;z-index:10;font-size:13px;line-height:1.6}dialog{border:0;border-radius:12px;padding:28px;max-width:440px;width:calc(100% - 40px);box-shadow:0 20px 70px #00000030}dialog::backdrop{background:#15243866}dialog h2{font-size:19px;margin-bottom:14px}dialog p{font-size:13px;line-height:1.8;overflow-wrap:anywhere}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:26px}
@media(min-width:1700px){main{padding:42px 48px}}
@media(max-width:1200px){aside{width:216px;padding:27px 15px}main{padding:30px 28px}.overview>div:not(.sync-info){min-width:112px;padding-left:22px}.sync-info{column-gap:12px}.month-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:23px 30px}td,th{padding-left:17px;padding-right:17px}.filters input{width:230px}.refresh-policy{font-size:10px}.table-scroll>table{min-width:860px}.usage-table>table{min-width:440px}}
@media(max-width:780px){#console{display:block}aside{position:static;width:100%;height:auto;border-right:0;border-bottom:1px solid var(--line);padding:18px 20px;overflow:visible}.brand{font-size:16px}.brand-mark{width:30px;height:32px;font-size:22px}.brand small,.nav-title,.side-bottom{display:none}.nav{margin-top:20px;padding:11px 12px}.side-heading{padding:18px 5px 5px}#accounts{display:flex;gap:8px;overflow:auto}.account-item{min-width:175px;max-width:240px;background:#f6f8fb}.account-select{padding:10px 12px}.remove-account{opacity:1}main{padding:26px 20px}.breadcrumb{margin-bottom:15px;font-size:11px}h1{font-size:25px}header{margin-bottom:22px}header p{font-size:12px}.overview{flex-wrap:wrap;padding:20px 0;row-gap:22px;margin-bottom:24px}.overview>div:not(.sync-info){width:33.33%;min-width:0;max-width:none;padding-left:20px}.overview>div:nth-child(3){border:0}.overview strong{font-size:25px}.overview .sync-info{margin:0;width:100%;text-align:left;grid-template-columns:1fr auto}.toolbar{padding:18px;align-items:flex-start;flex-direction:column;gap:15px}.filters{width:100%;gap:9px}.filters input{width:100%;flex:1}.filters select{min-width:118px;max-width:130px}.empty{padding:45px 20px}.panel{padding:21px 20px}.input-row{flex-wrap:wrap}.input-row input{min-width:160px}footer{padding:14px 18px;align-items:flex-start;flex-direction:column;gap:4px}.footnote{font-size:11px;line-height:1.7}.detail-heading{padding:22px 20px 18px}.detail-heading h2{font-size:18px}.detail-heading .secondary{font-size:12px;min-height:34px;padding:7px 11px}.detail-tabs{padding:0 20px;gap:24px}.detail-content{padding:23px 20px}.info-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 20px}.info-grid dd{font-size:12px}.month-grid{gap:24px 18px}.month-grid dd{font-size:20px}.month-summary{padding-bottom:23px;margin-bottom:25px}.detail-content .month-note{font-size:11px}.usage-heading{flex-wrap:wrap}.usage-heading>div{flex-basis:100%}.usage-heading select{margin-top:4px}.usage-heading button{margin-top:4px}.usage-totals{gap:35px}.usage-totals strong{font-size:18px}.login-info-heading{flex-direction:column;gap:15px}.login-info-heading p{font-size:12px}.credentials-grid{column-gap:18px;grid-template-columns:repeat(2,minmax(0,1fr))}.credentials-grid .hint{font-size:11px}#ssh-port{width:100%;max-width:148px}.credential-actions{gap:10px}.credential-actions .text-danger{margin-left:0}.terminal-toolbar{align-items:flex-start;flex-direction:column;padding:16px 20px}.host-trust{padding:18px;margin:14px}#terminal-container{height:400px;padding-left:10px}.terminal-hint{padding:15px 20px}.detail-panel>.detail-error{margin-left:20px;margin-right:20px}}
@media(max-width:480px){.credentials-grid{grid-template-columns:minmax(0,1fr);max-width:320px;row-gap:20px}.password-control{max-width:360px}.month-grid dd{font-size:18px}.month-grid dt{font-size:11px}.month-grid small{font-size:11px}.overview span{font-size:11px}.overview strong{font-size:24px}.overview>div:not(.sync-info){padding-left:18px}.overview>div:first-child{padding-left:0}.credential-actions .primary,.credential-actions .secondary{font-size:12px}.default-password-box .input-row input{width:100%;flex-basis:100%}.default-password-box{padding:16px}.filters input{font-size:12px}.detail-heading p{font-size:11px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
.text-button{color:#52647e}
/* Shared action grammar from the member workbench: one size, semantic fills. */
body :is(button.primary,button.secondary,button.danger,a.secondary){min-height:36px;padding:7px 14px;border-radius:10px;font-size:13px;line-height:20px;font-weight:600;gap:7px;text-decoration:none;border:1px solid transparent}
body button.primary{background:#205bd6;color:white}body button.primary:hover:not(:disabled){background:#194db8}
body :is(button.secondary,a.secondary){background:#edf2f9;color:#425d83}body :is(button.secondary,a.secondary):hover{background:#e1e9f5}
body button.danger{background:#f9e9e9;color:#a8323a}body button.danger:hover:not(:disabled){background:#f2d7d9}
body :is(button.primary,button.secondary,button.danger):disabled{background:#f0f2f5;color:#8290a2;border-color:transparent}
body #confirm-dialog button.danger{background:#a8323a;color:white}
#ssh-port{width:100%;max-width:none}.credentials-grid input[readonly],#ssh-secret[readonly],#ssh-password[readonly],#ssh-passphrase[readonly]{background:#f5f7fa;color:#52647b;cursor:default}
.credential-actions{gap:10px;max-width:760px}.credential-actions .danger{margin-left:8px}.key-control{position:relative;width:min(100%,620px)}.key-control textarea{width:100%;padding:13px 86px 13px 14px;min-height:100px}.key-control .password-actions{top:8px}.key-masked{-webkit-text-security:disc}.key-visible{-webkit-text-security:none}#ssh-passphrase-control{width:min(100%,420px)}#ssh-passphrase{width:100%;padding-right:85px}
.ssh-page{height:100dvh;min-height:400px;display:flex;flex-direction:column;overflow:hidden;background:#111d2e}.ssh-page-header{display:flex;align-items:center;justify-content:space-between;gap:24px;background:#fff;padding:18px 26px;margin:0;border-bottom:1px solid #e4e9f0;flex:none}.ssh-page-identity{display:flex;align-items:center;gap:13px;min-width:0}.ssh-page-header h1{font-size:18px;margin:0;line-height:1.5;max-width:45vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ssh-page-header p{margin:4px 0 0;font-size:12px;line-height:1.5;color:#6c7c92}.ssh-page-actions{display:flex;align-items:center;gap:10px}.ssh-page-actions>span{font-size:12px;color:#526b8b;margin-right:8px}.ssh-page .ssh-page-actions a{display:inline-flex;align-items:center;justify-content:center}.ssh-page #standalone-terminal{flex:1;min-height:0;width:100%;max-width:none;margin:0;padding:20px 12px 0 22px}.ssh-page-footer{flex:none;background:#111d2e;border:0;color:#9eb2cd;font-size:11px;padding:12px 24px}.terminal-notice{flex:none;padding:12px 24px;color:#b8434d;background:#fff2f3;font-size:13px;line-height:1.7}.terminal-trust{flex:none;background:#fff;padding:22px 26px;display:flex;align-items:center;justify-content:space-between;gap:24px;border-bottom:1px solid #dce5f0}.terminal-trust h2{font-size:16px;margin-bottom:8px}.terminal-trust p{font-size:12px;margin:5px 0}.terminal-trust code{display:block;font-size:12px;line-height:1.7;overflow-wrap:anywhere}.terminal-trust>div:last-child{display:flex;gap:10px;flex-shrink:0}
@media(max-width:780px){.ssh-page-header{align-items:flex-start;flex-direction:column;padding:16px 18px;gap:14px}.ssh-page-header h1{max-width:75vw}.ssh-page-actions{gap:8px;flex-wrap:wrap}.ssh-page-actions>span{flex-basis:100%;margin-bottom:2px}.ssh-page .ssh-page-actions :is(button,a){font-size:12px;padding:6px 11px;min-height:32px}.terminal-trust{flex-direction:column;align-items:flex-start;padding:18px}.ssh-page #standalone-terminal{padding:14px 8px 0 10px}.ssh-page-footer{padding:10px 14px;gap:5px}.credential-actions .danger{margin-left:0}}

.sync-info{display:flex;align-items:center;gap:16px}.sync-info button{grid-row:auto}.overview .sync-info>span{margin:0}
/* Resource summary: primary figures, explicit statuses, financial scope. */
.overview.summary-grid{display:grid;grid-template-columns:1fr 1.05fr 1.12fr 1.12fr;gap:0;padding:0;margin:28px 0 0;background:#fff;border:1px solid #e1e7ef;border-radius:12px;overflow:hidden}
.overview.summary-grid>.summary-item{width:auto;min-width:0;max-width:none;padding:25px 26px 23px;border:0;border-right:1px solid #e8edf3}
.overview.summary-grid>.summary-item:last-child{border-right:0}
.overview.summary-grid .summary-label{display:flex;align-items:center;gap:9px;color:#53667f;font-size:13px;font-weight:550;white-space:nowrap;line-height:1.6}
.overview.summary-grid .summary-icon{display:grid;place-items:center;width:30px;height:30px;margin:0;border-radius:8px;background:#edf3ff;color:#2b63c4;flex-shrink:0}
.summary-icon svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
.overview.summary-grid .green-icon{color:#2a7c59;background:#edf7f1}.overview.summary-grid .amber-icon{color:#9b7428;background:#faf4e8}.overview.summary-grid .purple-icon{color:#7162a3;background:#f1eef8}
.overview.summary-grid .metric-en{font-size:10px;font-weight:400;margin:0 0 0 auto;color:#8a96a7}
.overview.summary-grid .summary-value{display:flex;align-items:baseline;gap:9px;min-height:65px;margin-top:16px}
.overview.summary-grid .summary-value strong{font-size:42px;line-height:1.2;font-weight:650;letter-spacing:-.035em;font-variant-numeric:tabular-nums;color:#25364d;overflow-wrap:anywhere}
.overview.summary-grid .summary-value.money strong{font-size:35px;line-height:1.4;letter-spacing:-.025em}
.overview.summary-grid .metric-unit{font-size:13px;color:#8794a7;margin:0}
.overview.summary-grid .summary-item>p{font-size:11px;line-height:1.6;color:#8390a3;margin:0}
.status-numbers{display:flex;gap:32px;margin-top:15px}.overview.summary-grid .status-numbers strong{font-size:33px;line-height:1.3;font-weight:650;letter-spacing:-.02em;display:block}
.overview.summary-grid .status-numbers span{font-size:11px;color:#718197;margin:7px 0 0;white-space:nowrap}
.status-track{height:4px;background:#e7ecf2;border-radius:3px;margin-top:18px;overflow:hidden}.overview.summary-grid .status-track>span{display:block;margin:0;height:100%;background:#418c6a;border-radius:3px;transition:width .2s}
.data-toolbar{display:flex;justify-content:flex-end;align-items:center;padding:18px 0;margin-bottom:3px}.data-toolbar .sync-info{margin:0;display:flex;align-items:center;gap:13px}.data-toolbar .sync-info>span{font-size:11px;color:#8190a3;white-space:nowrap}.data-toolbar .sync-divider{width:1px;height:12px;background:#dce3ed;margin:0 2px}.data-toolbar .provider-source .dot{width:5px;height:5px;background:#547e6d;margin-right:5px}.data-toolbar .sync-info .secondary{min-height:34px;padding:6px 13px;font-size:12px}
.side-bottom{border-top:1px solid #edf0f5;margin-top:auto;padding:20px 6px 0}.user-profile{display:flex;align-items:center;gap:10px;margin-bottom:14px;color:#344b67;font-size:13px;font-weight:550}.user-avatar{display:grid;place-items:center;width:30px;height:30px;background:#edf3fc;border-radius:8px;color:#5c7ba7}.user-avatar svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.side-bottom button.logout-button{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:38px;padding:8px 12px;margin:0;border:1px solid #efdfe3;border-radius:9px;background:#fcf2f4;color:#a34655;font-size:13px;font-weight:550}.logout-button svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.side-bottom button.logout-button:hover{background:#f7e5e9;color:#963447}
/* Dedicated sign-in and registration pages. */
.auth-page{background:#fff;min-height:100dvh}.auth-layout{display:grid;grid-template-columns:minmax(400px,46%) 1fr;min-height:100dvh}.auth-intro{display:flex;flex-direction:column;padding:44px 12%;background:#152c47;color:#fff;min-height:100dvh}.auth-brand{color:#fff;text-decoration:none;font-size:18px}.auth-brand .brand-mark{background:#356ed8;width:36px;height:38px}.auth-intro-copy{margin:auto 0;padding:80px 0}.auth-intro h1{font-size:46px;line-height:1.4;font-weight:600;letter-spacing:-.03em;margin:0 0 25px}.auth-intro-copy>p{font-size:14px;color:#afc0d6;line-height:2;margin-bottom:42px}.auth-feature-list{display:flex;flex-direction:column;gap:22px}.auth-feature-list>div{display:flex;align-items:center;gap:13px;font-size:13px;color:#c6d5e8}.auth-feature-list svg{width:20px;height:20px;fill:none;stroke:#86a7d8;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.auth-intro-footer{font-size:11px;color:#819ab9;margin:0}.auth-main{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;min-width:0;max-width:none;margin:0;padding:60px 48px 30px;background:white}.auth-form-wrap{width:min(100%,380px);margin:auto 0}.auth-navigation{display:flex;gap:28px;border-bottom:1px solid #e8edf4;margin-bottom:40px}.auth-navigation a{font-size:14px;font-weight:550;color:#8a97a9;text-decoration:none;padding:0 0 13px;border-bottom:2px solid transparent}.auth-navigation a.active{color:#205bd6;border-bottom-color:#205bd6}.auth-form-wrap h2{font-size:29px;letter-spacing:-.03em;margin:0 0 11px;font-weight:650}.auth-form-wrap>p{font-size:13px;line-height:1.8;color:#8490a2;margin-bottom:32px}.auth-field{margin-bottom:23px}.auth-field label{font-size:13px;color:#465971;margin-bottom:10px}.auth-field input{width:100%;height:46px;border-radius:8px;font-size:14px;padding:11px 14px}.auth-field .password-control{width:100%}.auth-field .password-control input{padding-right:52px}.auth-field .password-actions{top:7px;right:7px}.auth-form-wrap #auth-submit{width:100%;min-height:45px;margin-top:8px;border-radius:8px;font-size:14px}.auth-form-wrap #auth-error{font-size:12px;line-height:1.7;color:#af3c4e;background:#fff3f4;border-radius:7px;padding:11px 13px;margin:0 0 17px}.auth-form-wrap #auth-switch{font-size:12px;text-align:center;margin:24px 0 0;color:#8a95a5}.auth-form-wrap #auth-switch a{margin-left:8px;font-weight:550;text-decoration:none}.auth-footer{border:0;justify-content:center;color:#99a4b3;font-size:11px;margin-top:45px;padding:15px 0 0;background:transparent}
@media(max-width:1200px){.overview.summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.overview.summary-grid>.summary-item{padding:23px 25px}.overview.summary-grid>.summary-item:nth-child(2){border-right:0}.overview.summary-grid>.summary-item:nth-child(-n+2){border-bottom:1px solid #e8edf3}.overview.summary-grid .summary-value strong{font-size:39px}.overview.summary-grid .summary-value.money strong{font-size:34px}.auth-intro{padding:36px 11%}.auth-intro h1{font-size:39px}.auth-layout{grid-template-columns:43% 1fr;min-height:100dvh}}
@media(max-width:780px){.overview.summary-grid{margin-top:23px}.overview.summary-grid>.summary-item{padding:20px 18px}.overview.summary-grid .summary-label{gap:7px;font-size:12px}.overview.summary-grid .summary-icon{width:26px;height:26px;border-radius:7px}.summary-icon svg{width:16px;height:16px}.overview.summary-grid .summary-value strong{font-size:35px}.overview.summary-grid .summary-value.money strong{font-size:27px}.overview.summary-grid .summary-value{min-height:55px;margin-top:14px}.overview.summary-grid .metric-en{display:none}.status-numbers{gap:25px;margin-top:13px}.overview.summary-grid .status-numbers strong{font-size:29px}.overview.summary-grid .summary-item>p{font-size:10px}.status-track{margin-top:15px}.data-toolbar{padding:15px 0}.data-toolbar .sync-info{gap:9px;flex-wrap:wrap;justify-content:flex-end}.data-toolbar .provider-source{display:none}.data-toolbar .sync-divider{display:none}.side-bottom{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:15px 0 0;margin-top:17px}.user-profile{margin:0}.side-bottom button.logout-button{width:auto;min-height:34px;padding:6px 12px}.auth-layout{display:block;min-height:100dvh}.auth-intro{min-height:0;padding:24px 28px;background:#152c47}.auth-intro-copy,.auth-intro-footer{display:none}.auth-main{min-height:calc(100dvh - 86px);padding:36px 28px 22px}.auth-form-wrap{width:min(100%,400px)}.auth-form-wrap h2{font-size:27px}.auth-navigation{margin-bottom:31px}.auth-footer{margin-top:40px}}
@media(max-width:780px){.data-toolbar .provider-source{display:inline-flex;align-items:center}.data-toolbar .sync-info{justify-content:flex-start}.data-toolbar{justify-content:flex-start}}
.auth-navigation a,.auth-form-wrap>p,.auth-form-wrap #auth-switch,.auth-footer{color:#65748a}.auth-field input::placeholder{color:#68768b}.overview.summary-grid .summary-item>p{color:#65748a}.auth-intro-footer{color:#a4b7d1}
.profile-area{position:relative}.side-bottom.profile-area{padding:14px 0 0}.side-bottom .profile-switcher{width:100%;display:flex;align-items:center;gap:12px;margin:0;padding:12px 7px;border-radius:10px;text-align:left;background:transparent;color:#283f5b}.side-bottom .profile-switcher:hover,.side-bottom .profile-switcher[aria-expanded=true]{background:#f2f6fc}.letter-avatar{flex-shrink:0;display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#dce8fb;color:#315b92;font-size:24px;font-weight:650;line-height:1;letter-spacing:-.03em}.profile-copy{min-width:0;flex:1;display:flex;flex-direction:column;gap:4px}.profile-copy strong{font-size:14px;font-weight:650;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-copy small{font-size:11px;line-height:1.5;color:#6d7f95}.profile-chevron{flex-shrink:0;width:8px;height:8px;border-top:1.6px solid #6a809c;border-right:1.6px solid #6a809c;transform:rotate(-45deg);margin:6px 8px 0 0}.profile-switcher[aria-expanded=true] .profile-chevron{transform:rotate(135deg);margin-top:-3px}.profile-menu{position:absolute;z-index:20;bottom:calc(100% + 8px);left:0;right:0;padding:7px;background:#fff;border:1px solid #e0e7f1;border-radius:10px;box-shadow:0 10px 30px #00000012}.side-bottom .profile-menu>button{display:block;width:100%;text-align:left;margin:0;min-height:38px;padding:9px 12px;color:#aa3f50;background:#fff;border:0;border-radius:6px;font-size:13px;font-weight:550}.side-bottom .profile-menu>button:hover,.side-bottom .profile-menu>button:focus-visible{background:#fff0f3}
.summary-trend-button{font-size:11px;color:#3464b2;border-radius:5px;min-height:26px;padding:3px 7px;margin-left:auto;background:#edf3fd}.summary-trend-button:hover{background:#e1eafb}.cost-trend-panel{padding:24px;background:#fff;border:1px solid var(--line);border-radius:10px;margin-bottom:25px}.trend-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:18px}.trend-heading p{font-size:12px;margin:7px 0 0}.trend-heading button{font-size:12px}#cost-trend-chart{overflow:auto}#cost-trend-chart svg{width:100%;min-width:500px;display:block}.trend-legend{display:flex;justify-content:flex-end;gap:20px;margin:8px 0 18px;font-size:11px;color:#65748a}.trend-legend i{display:inline-block;width:9px;height:9px;border-radius:2px;margin-right:6px}.legend-invoiced{background:#376dc5}.legend-pending{background:#d2a350}.cost-trend-panel td,.cost-trend-panel th{padding:12px 16px}.cost-trend-panel>.table-scroll{max-height:250px}
@media(max-width:780px){.side-bottom.profile-area{display:block;padding-top:12px;margin-top:14px}.side-bottom .profile-switcher{padding:9px 4px}.letter-avatar{width:38px;height:38px;font-size:22px}.profile-menu{max-width:320px}.cost-trend-panel{padding:19px}}

/* VPN deploy / connection drawer: extends the existing console controls. */
.vpn-row-action{white-space:nowrap;display:inline-flex;align-items:center;gap:5px}.vpn-row-action i{width:5px;height:5px;border-radius:50%;background:currentColor}.vpn-row-action.ready{color:#277454;background:#f0f8f4;border-color:#d6eade}.vpn-row-action.failed{color:#b52e3d;background:#fff5f5}.vpn-row-action.running{color:#8b601e;background:#fff8ec}
.vpn-drawer{position:fixed;inset:0 0 0 auto;margin:0;height:100dvh;max-height:100dvh;width:min(540px,100vw);max-width:100vw;border:0;border-left:1px solid #e3e9f1;border-radius:0;padding:0;background:#fff;color:#1c2b3e;box-sizing:border-box;box-shadow:-16px 0 48px #00000012;overflow:hidden}.vpn-drawer[open]{display:flex;flex-direction:column}.vpn-drawer::backdrop{background:#14294245}.vpn-heading{padding:26px 28px 22px;border-bottom:1px solid #e3e9f1;display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.vpn-heading h2{font-size:21px;line-height:1.4;margin:0}.vpn-heading p{margin:7px 0 0;color:#617086;font-size:13px}.vpn-close{width:34px;height:34px;min-width:34px;border:0;background:#f2f5fa;color:#617086;display:grid;place-items:center;border-radius:8px}.vpn-close:hover{background:#e8edf5;color:#1c2b3e}.vpn-close svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.7}.vpn-body{padding:24px 28px;overflow:auto;flex:1}.vpn-status-line{display:flex;gap:12px;align-items:center;justify-content:space-between}.vpn-state{font-size:13px;font-weight:600;padding:5px 9px;border-radius:5px;background:#f0f3f8;color:#617086}.vpn-state.ready{color:#276341;background:#edf7f0}.vpn-state.running{color:#825a1c;background:#fff5e3}.vpn-state.failed{color:#b52e3d;background:#fff0f1}.vpn-status-line time{font-size:11px;color:#617086}.vpn-status-block>p{font-size:13px;line-height:1.8;margin:16px 0 0}.vpn-steps{list-style:none;padding:0;margin:22px 0 0;display:grid;grid-template-columns:1fr 1fr;gap:18px 16px}.vpn-steps li{display:flex;align-items:center;gap:10px;color:#617086;font-size:12px}.vpn-steps li>span{display:grid;place-items:center;flex:none;width:25px;height:25px;border:1px solid #e3e9f1;border-radius:50%;font-size:11px}.vpn-steps .current{color:#185bd7;font-weight:600}.vpn-steps .current>span{background:#edf3ff;border-color:#b8cff8}.vpn-steps .complete>span{color:#276341;background:#edf7f0;border-color:#d2e7d9}.vpn-steps .failed>span{color:#b52e3d;background:#fff0f1;border-color:#f1ced3}.vpn-steps small{display:block;font-size:11px;font-weight:400;margin-top:2px}.vpn-connection{margin-top:28px;border-top:1px solid #e3e9f1;padding-top:24px}.vpn-body h3{font-size:14px;line-height:1.5;margin:0 0 16px}.vpn-connection dl{display:grid;grid-template-columns:1fr 1fr;gap:20px 24px;margin:0 0 24px}.vpn-connection dt{font-size:12px;color:#617086;margin-bottom:7px}.vpn-connection dd{font-size:14px;margin:0;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.vpn-connection label{font-size:12px;font-weight:600;display:block;margin-bottom:9px}.vpn-password-control{display:flex;align-items:center;border:1px solid #dce4ee;border-radius:7px;padding-right:5px;max-width:100%;height:42px}.vpn-password-control input{border:0!important;background:transparent!important;width:0;flex:1;min-width:0;box-shadow:none!important;font-size:13px}.vpn-password-control:focus-within{outline:2px solid #c4d6f5;outline-offset:1px}.vpn-password-control .field-icon{flex:none}.vpn-download{margin:25px 0 16px}.vpn-download>div{display:flex;gap:10px}.vpn-download select{flex:1;min-width:0;padding-right:36px}.vpn-download button{white-space:nowrap;flex:none}.vpn-download p{font-size:12px;line-height:1.7;margin:10px 0 0;color:#617086}.vpn-logs{border-top:1px solid #e3e9f1;margin-top:28px;padding-top:19px}.vpn-logs summary{font-size:13px;color:#617086;cursor:pointer;padding:5px 0}.vpn-logs pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#111d2e;color:#d7e4f5;max-height:260px;overflow:auto;padding:16px;border-radius:8px;font:11px/1.8 ui-monospace,SFMono-Regular,monospace}.vpn-actions{padding:18px 28px;border-top:1px solid #e3e9f1;display:flex;gap:10px;justify-content:flex-start;background:#fff}.vpn-actions button{font-size:13px}.vpn-trust,.vpn-reinstall-confirm{background:#f7f9fc;border:1px solid #e3e9f1;padding:18px;border-radius:8px;margin-top:24px}.vpn-trust p,.vpn-reinstall-confirm p{font-size:13px;line-height:1.8;margin:0 0 16px}.vpn-trust code{display:block;font-size:11px;overflow-wrap:anywhere;white-space:pre-wrap;margin-bottom:18px}.vpn-reinstall-confirm>div{display:flex;gap:10px}body:has(.vpn-drawer[open]){overflow:hidden}.vpn-drawer button:focus-visible,.vpn-drawer summary:focus-visible{outline:2px solid #185bd7;outline-offset:3px}
@media(max-width:600px){.vpn-heading{padding:22px 20px}.vpn-body{padding:22px 20px}.vpn-actions{padding:16px 20px;flex-wrap:wrap}.vpn-status-line{align-items:flex-start}.vpn-status-line time{max-width:160px;text-align:right}.vpn-download>div{flex-wrap:wrap}.vpn-download select{flex-basis:100%}}
@media(prefers-reduced-motion:no-preference){.vpn-drawer[open]{animation:vpn-slide-in .22s cubic-bezier(.16,1,.3,1)}@keyframes vpn-slide-in{from{transform:translateX(24px);opacity:.75}to{transform:translateX(0);opacity:1}}}
.vpn-heading{margin:0;flex:none}.vpn-body{min-height:0}.vpn-actions{flex:none;flex-direction:row;align-items:center}
