/* Account and server workspace composition, paired with site-redesign.css. */
.portal-main{background:var(--bg)}
[data-theme="dark"] .portal-main{background:var(--bg)}
.portal-main h1{letter-spacing:-.065em}
.portal-main .portal-container{max-width:1180px}
.portal-main a.account-action,.portal-main a.service-manage{color:#fff}
.portal-main :where(a):focus-visible,.portal-main button:focus-visible{outline:3px solid var(--orange);outline-offset:3px}
.account-eyebrow{display:block;color:var(--orange);font-size:.7rem;font-weight:900;text-transform:uppercase}
.account-home{padding-top:42px}
.account-home-intro{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:26px}
.account-home-intro h1{font-size:clamp(2.6rem,5vw,4.9rem);line-height:1.03;margin:11px 0 8px}
.account-home-intro p{margin:0;font-size:1.02rem}
.account-home-intro .account-action{flex:none}
.account-home-layout{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(265px,.8fr);gap:23px;align-items:start}
.account-home-main{min-width:0}
.featured-server{display:flex;flex-direction:column;justify-content:space-between;position:relative;isolation:isolate;min-height:340px;padding:26px;
  overflow:hidden;border:1px solid rgba(188,209,240,.28);border-radius:22px;color:#fff;
  background-image:linear-gradient(180deg,rgba(4,13,31,.46),rgba(4,13,31,.15) 40%,rgba(4,12,28,.94)),var(--featured-art);
  background-color:#132741;background-position:center;background-size:cover;box-shadow:0 28px 60px rgba(2,10,25,.3)}
.featured-server:after{content:"";position:absolute;z-index:-1;inset:12px;border:1px solid rgba(255,255,255,.17);border-radius:14px;pointer-events:none}
.featured-server.featured-empty{background-image:radial-gradient(circle at 75% 5%,rgba(104,145,255,.42),transparent 35%),linear-gradient(135deg,#182f56,#102039)}
.featured-server-top,.featured-server-bottom{display:flex;align-items:start;justify-content:space-between;gap:18px}
.featured-server-bottom{align-items:end}
.featured-kicker{font-size:.73rem;letter-spacing:.13em;text-transform:uppercase;color:#ffcc9d;font-weight:900}
.featured-status{padding:5px 11px;border:1px solid rgba(255,255,255,.34);border-radius:99px;background:rgba(4,13,30,.72);font-size:.75rem;font-weight:800}
.featured-server h2{color:#fff;margin:0 0 5px;font-size:clamp(2rem,3.5vw,3.4rem);overflow-wrap:anywhere}
.featured-server p{color:#e1e9f8;margin:0}
.portal-main .featured-server a{flex:none;display:inline-flex;gap:10px;align-items:center;padding:11px 16px;border-radius:10px;background:#fff;color:#173b8a;text-decoration:none;font-weight:850}
.portal-main .featured-server a:hover{background:#e9efff;color:#173b8a}
.account-home-activity{margin-top:26px;padding:22px 26px 9px;border-top:1px solid var(--stroke-strong);background:linear-gradient(180deg,var(--paper),transparent 95%);border-radius:14px}
.account-home-activity .account-panel-heading{align-items:end;margin-bottom:14px}
.account-home-activity h2{margin:3px 0 0;font-size:1.55rem}
.account-home-activity .account-list-row{padding:15px 2px}
.account-home-empty{padding:12px 0}
.account-home-rail{display:grid;gap:18px}
.account-home-count{display:grid;gap:6px;position:relative;overflow:hidden;padding:27px;border:1px solid #5578d7;border-radius:18px;background:linear-gradient(145deg,#244fac,#142f67);color:#fff;box-shadow:0 18px 40px rgba(27,59,135,.25)}
.account-home-count:after{content:"";position:absolute;width:190px;height:190px;right:-60px;top:-85px;border:1px solid rgba(255,255,255,.3);border-radius:50%;box-shadow:0 0 0 36px rgba(255,255,255,.05)}
.account-home-count strong{font-size:4rem;line-height:1}
.account-home-count span{color:#dbe7ff;font-weight:800}
.portal-main .account-home-count a{margin-top:18px;color:#fff;text-decoration:underline;font-size:.84rem;font-weight:800}
.account-home-mini{display:grid;grid-template-columns:1fr 1fr;border-bottom:1px solid var(--line)}
.account-home-mini div{display:grid;gap:2px;padding:5px 15px 18px 0}
.account-home-mini strong{font-size:1.35rem;line-height:1.1}
.account-home-mini span{color:var(--muted);font-size:.7rem}
.account-home-links{display:grid;gap:0;padding-top:6px}
.account-home-links .account-eyebrow{margin-bottom:5px}
.portal-main .account-home-links a{display:flex;justify-content:space-between;gap:10px;padding:12px 1px;border-bottom:1px solid var(--line);color:var(--ink);text-decoration:none;font-weight:740}
.portal-main .account-home-links a:hover{color:var(--blue);padding-left:5px}
.account-settings-head{max-width:680px;margin:9px 0 28px}
.account-settings-head h1{margin:5px 0 9px}
.account-settings-head p{font-size:1rem}
.security-layout{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:20px}
.portal-main a.security-feature{display:flex;flex-direction:column;min-height:360px;padding:30px;border:1px solid #5272ad;border-radius:17px;
  background:radial-gradient(circle at 100% 0%,rgba(95,137,246,.34),transparent 45%),linear-gradient(145deg,#152e54,#0c1b31);
  color:#fff;text-decoration:none;box-shadow:0 20px 45px rgba(2,12,31,.2)}
.security-feature-icon{display:grid;place-items:center;width:49px;height:49px;margin-bottom:auto;border:1px solid rgba(255,255,255,.3);border-radius:12px;font-size:1.5rem;color:#ffbe91}
.security-feature .account-eyebrow{color:#ffbe91}
.security-feature strong{font-size:clamp(1.6rem,2.4vw,2.3rem);line-height:1.1;margin:7px 0}
.security-feature>span:not(.account-eyebrow):not(.security-feature-icon){color:#d2e1f6}
.security-feature em{margin-top:20px;color:#fff;font-style:normal;font-weight:800}
.security-options{display:grid;align-content:start;border-top:1px solid var(--line)}
.portal-main .security-options a{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:25px 10px;border-bottom:1px solid var(--line);color:var(--ink);text-decoration:none}
.security-options strong{display:block;font-size:1.15rem}
.security-options small{display:block;margin-top:5px;color:var(--muted)}
.portal-main .security-options a:hover{background:var(--paper)}
.account-settings-page .purchase-layout{grid-template-columns:minmax(0,1.3fr) minmax(250px,.7fr);gap:22px}
.account-settings-page .purchase-layout>.account-panel:first-child{border-top:3px solid #7094ec;background:var(--surface-raised)}
.account-settings-page .purchase-layout>.account-panel:last-child{background:var(--surface-sunk)}
.profile-identity{display:flex;align-items:center;gap:25px;margin:8px 0 30px;padding:27px 31px;border:1px solid var(--line);border-radius:17px;
  background:radial-gradient(circle at 95% 0%,rgba(80,125,235,.19),transparent 32%),var(--surface-sunk)}
.profile-identity h1{margin:4px 0 5px;font-size:clamp(2.2rem,4vw,3.4rem)}
.profile-identity p{margin:0}
.profile-avatar{display:grid;place-items:center;flex:none;width:79px;height:79px;border:1px solid #6c8ee2;border-radius:19px;
  background:linear-gradient(145deg,#416fea,#1e428f);color:#fff;font-size:2.3rem;font-weight:850;box-shadow:0 12px 24px rgba(32,76,173,.28)}
.account-settings-page .profile-layout{grid-template-columns:minmax(0,1.3fr) minmax(250px,.7fr);gap:22px}
.profile-email{align-self:start;padding:27px!important}
.profile-email h2{margin:5px 0 17px!important}
.profile-email strong{display:block;overflow-wrap:anywhere;font-size:1.13rem}
.profile-email p{margin:19px 0}
.portal-main.order-page{padding-top:34px;background:radial-gradient(circle at 95% 2%,rgba(76,119,228,.14),transparent 30%),var(--bg)}
.order-page .portal-container{max-width:1300px}
.order-intro{max-width:780px;margin-bottom:19px}
.order-intro h1{font-size:clamp(2.4rem,3.7vw,3.7rem);line-height:1.02;margin:7px 0 6px}
.order-software{margin-bottom:17px}
.portal-main .order-software a{border-radius:8px;padding:9px 16px}
.order-hero{min-height:215px;margin-bottom:25px;border-radius:19px;box-shadow:0 22px 48px rgba(3,13,31,.28)}
.order-hero-shade{background:linear-gradient(90deg,rgba(4,12,28,.96),rgba(5,18,41,.56) 62%,rgba(5,18,41,.13)),linear-gradient(0deg,rgba(4,12,28,.65),transparent)}
.order-hero-copy{padding:34px;max-width:610px}
.order-hero-copy h2{font-size:clamp(2.2rem,3.2vw,3.5rem)}
.order-workspace{grid-template-columns:minmax(0,1.7fr) minmax(285px,.82fr);gap:31px}
.order-form{gap:0}
.order-section{position:relative;margin-left:18px;padding:6px 0 29px 34px;border:0;border-left:1px solid var(--stroke-strong);border-radius:0;background:transparent;box-shadow:none}
.order-section:last-child{border-left-color:transparent}
.order-section-head{align-items:center;margin:0 0 19px}
.order-step-number{position:absolute;left:-17px;top:3px;width:33px;height:33px;border:1px solid #7d9bef;border-radius:50%;background:#234cad;color:#fff;box-shadow:0 0 0 5px var(--bg);font-weight:900}
.order-section-head h2{font-size:1.35rem}
.order-choice-grid{gap:12px}
.order-choice-body{min-height:103px;border:1px solid var(--line);border-radius:11px;background:var(--paper);box-shadow:0 4px 15px rgba(4,13,30,.08)}
[data-theme="dark"] .order-choice-body{background:var(--paper)}
.order-choice input:checked+.order-choice-body{background:var(--surface-raised);border-color:#799df1;box-shadow:inset 0 3px 0 #6388ec,0 10px 25px rgba(29,64,160,.18)}
.order-choice input:checked+.order-choice-body:before{border-color:#6388ec}
.order-choice:has(input:disabled){cursor:not-allowed}.order-choice input:disabled+.order-choice-body{opacity:.58}.order-choice:has(input:disabled):hover .order-choice-body{transform:none}
.order-choice strong{font-size:1.05rem}
.order-extra,[data-theme="dark"] .order-extra{background:var(--paper);border-radius:10px}
.order-summary{top:110px;padding:26px;border:1px solid var(--stroke-strong);border-top:4px solid var(--orange);border-radius:15px;background:var(--surface-raised);box-shadow:0 25px 60px rgba(2,10,26,.22)}
.order-summary h2{font-size:1.5rem}
.order-summary-total{margin-top:10px;border-top:1px solid var(--stroke-strong)}
.order-summary button{min-height:51px;font-weight:850}
.services-heading{margin-bottom:18px}
.services-heading h1{font-size:clamp(2.6rem,5vw,4.6rem)}
.services-summary{display:flex;flex-wrap:wrap;gap:0;padding:12px 0 15px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.services-summary>div{padding:0 28px 0 0;margin-right:28px;border:0;border-right:1px solid var(--line);border-radius:0;background:transparent}
.services-summary>div:last-child{border-right:0}
.service-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,350px),1fr));gap:18px}
.service-card{border-radius:18px;box-shadow:0 19px 46px rgba(1,8,21,.24)}
.service-card-content{min-height:260px;padding:18px}
.service-card-shade{background:linear-gradient(180deg,rgba(4,11,25,.4),rgba(4,11,25,.68) 50%,rgba(4,11,25,.96))}
.service-card-footer{margin-top:auto}
.portal-main.panel-page .portal-container{width:min(100% - 42px,1620px);max-width:1620px}
.server-hero{min-height:235px;margin-bottom:21px;border-radius:19px;background-image:linear-gradient(90deg,rgba(3,10,24,.96),rgba(5,17,39,.7) 55%,rgba(5,17,39,.34)),var(--server-art);box-shadow:0 23px 53px rgba(1,8,22,.25)}
.server-hero h1{font-size:clamp(2.3rem,4.3vw,4.3rem)}
.server-hero-side{padding:16px;border:1px solid rgba(205,221,246,.25);border-radius:12px;background:rgba(7,18,38,.67);backdrop-filter:blur(10px)}
.customer-panel,.workspace-shell[data-nav-collapsed="true"]{grid-template-columns:224px minmax(0,1fr);gap:24px}
.workspace-shell[data-nav-collapsed="true"]{grid-template-columns:68px minmax(0,1fr)}
.customer-panel-sidebar{top:105px;max-height:calc(100dvh - 117px);padding:19px 11px;border-color:var(--line);border-radius:14px;background:var(--surface-sunk);box-shadow:inset 0 1px rgba(255,255,255,.04)}
.portal-main .customer-panel-tabs button,.portal-main .customer-panel-tabs a{font-size:.91rem;padding:11px 13px}
.portal-main .customer-panel-tabs [aria-current="page"]{background:var(--surface-raised);color:var(--ink);box-shadow:inset 3px 0 var(--orange),0 5px 18px rgba(3,11,26,.15)}
.sidebar-server-note{margin-top:30px}
.customer-panel-main{padding:3px 0 30px}
.workspace-section-head{margin-bottom:22px}
.workspace-section-head h2{font-size:clamp(1.9rem,3vw,2.8rem)}
.workspace-overview-grid{grid-template-columns:minmax(0,1.45fr) minmax(200px,.55fr)}
.customer-panel-main .account-panel{border:1px solid var(--line);background:var(--paper);box-shadow:none;border-radius:13px}
.workspace-connection{min-height:175px;padding:25px 28px!important;background:linear-gradient(120deg,var(--surface-raised),var(--paper))!important;border-top:3px solid #6f91ee!important}
.workspace-connection .customer-panel-address{font-size:clamp(1.2rem,2.4vw,2rem);letter-spacing:-.035em}
.workspace-quick-stat{min-height:175px}
.workspace-graphs .account-panel{background:var(--surface-sunk);border-color:var(--line)}
.resource-chart svg{height:135px}
.workspace-activity{margin-top:5px!important;border:0!important;border-top:1px solid var(--line)!important;border-radius:0!important;background:transparent!important}
.console-workspace{padding:16px!important;background:var(--surface-sunk)!important;border-color:var(--line)!important}
.console-toolbar{padding:4px 5px 10px}
.console-screen{overflow:hidden;border:1px solid #334b67;border-radius:10px;background:#070e18;box-shadow:inset 0 3px 20px rgba(0,0,0,.35)}
.console-screen-head{display:flex;justify-content:space-between;gap:12px;padding:10px 15px;border-bottom:1px solid #263d57;color:#b9cce1;font-size:.73rem;font-weight:800}
.console-screen-head span{display:flex;align-items:center;gap:8px}
.console-screen-head i{width:7px;height:7px;border-radius:50%;background:#63d4a1;box-shadow:0 0 0 3px rgba(99,212,161,.15)}
.console-screen-head small{color:#91a6be}
.customer-panel-console{height:min(65dvh,700px);min-height:370px;margin:0;padding:21px;border:0;border-radius:0;background:transparent;color:#dcf4e4;font-size:13px;line-height:1.6}
.console-workspace form{padding:15px 5px 0}
.console-workspace>.customer-panel-actions{padding:0 5px 5px}
.file-current-path{border:1px solid var(--line)}
.customer-panel-file-list li{flex-wrap:wrap;padding:4px 0}
.portal-main .customer-panel-file-list li button:first-child{flex:1 1 14rem;width:auto;border-radius:7px}
.portal-main .customer-panel-file-list li button:not(:first-child){flex:0 0 auto;width:auto;white-space:nowrap;padding:7px 10px;background:transparent;border:1px solid var(--line);color:var(--muted)}
.portal-main .customer-panel-file-list li button:not(:first-child):hover{background:var(--soft);color:var(--ink)}
.file-editor-dialog{box-sizing:border-box;width:min(960px,calc(100vw - 32px));height:min(760px,calc(100dvh - 32px));max-width:none;max-height:none;margin:auto;padding:0;border:1px solid var(--stroke-strong);border-radius:16px;background:var(--paper);color:var(--ink);box-shadow:0 30px 90px rgba(2,9,23,.65);overflow:hidden;overscroll-behavior:contain}
.file-editor-dialog[open]{display:flex;flex-direction:column}
.file-editor-dialog::backdrop{background:rgba(2,8,20,.8);backdrop-filter:blur(5px)}
.file-editor-head,.file-editor-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 20px}
.file-editor-head{border-bottom:1px solid var(--line)}
.file-editor-head>div{min-width:0}.file-editor-head h3{margin:2px 0 0}.file-editor-head p{margin:3px 0 0;color:var(--muted);font:12px ui-monospace,SFMono-Regular,Consolas,monospace;overflow-wrap:anywhere}
.portal-main .file-editor-head button{flex:none;width:auto;margin:0}
.portal-main .file-editor-dialog textarea{flex:1 1 auto;box-sizing:border-box;width:calc(100% - 40px);min-height:0;max-height:none;margin:18px 20px;resize:none;background:var(--surface-sunk);color:var(--ink);font-size:13px;line-height:1.55}
.file-editor-footer{border-top:1px solid var(--line)}
.file-editor-footer [data-editor-status]{color:var(--muted);font-size:.85rem}
.file-editor-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-wrap:wrap}
.portal-main .file-editor-actions a{color:var(--blue);font-weight:750}.portal-main .file-editor-actions button{width:auto;margin:0}
.network-details>div{background:var(--surface-sunk);border-radius:9px}
.workspace-software{margin-top:15px}
.workspace-software ul{list-style:none;padding:0;margin:12px 0}
.workspace-software li{display:flex;justify-content:space-between;gap:16px;padding:11px 0;border-bottom:1px solid var(--line);color:var(--muted)}
.workspace-software li strong{color:var(--ink);overflow-wrap:anywhere;text-align:right}
.workspace-software p{font-size:.82rem}
.workspace-subpage>.customer-panel-main>.account-lede{padding:18px 22px;border-left:3px solid var(--orange);background:var(--surface-sunk);border-radius:0 9px 9px 0}
.workspace-subpage .purchase-layout{grid-template-columns:minmax(0,1.4fr) minmax(260px,.6fr);align-items:start;gap:20px}
.workspace-subpage .purchase-layout>.account-panel{padding:26px;background:var(--paper);border:1px solid var(--line);border-radius:12px;box-shadow:none}
.workspace-subpage .account-list-row{padding:16px 0}
.workspace-content-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(260px,.6fr);align-items:start;gap:20px}
.workspace-content-layout>.account-panel,.workspace-catalog{min-width:0;padding:24px}
.workspace-content-layout .account-list-row,.workspace-catalog .account-list-row{flex-wrap:wrap;overflow-wrap:anywhere}
.workspace-content-actions{display:flex;gap:8px;flex-wrap:wrap}
.workspace-content-actions form{margin:0}
.portal-main .workspace-content-actions button{width:auto;margin:0}
.workspace-content-search{margin:14px 0 18px}
.workspace-content-search .customer-panel-inline{min-width:0}
.workspace-content-search .customer-panel-inline input{min-width:0}
.workspace-catalog{margin-top:18px}
.ops-header{padding:25px 29px;background:linear-gradient(110deg,#142f57,#1d396a);border-color:#476895;border-left:4px solid var(--orange);color:#fff}
.ops-header h1{color:#fff}.ops-kicker{color:#ffbf91}
.portal-main .ops-stats a{background:var(--surface-raised);box-shadow:none}
.ops-panel{background:var(--paper);box-shadow:none}
@media(max-width:1000px){
  .account-home-layout{grid-template-columns:minmax(0,1fr) 260px}
  .customer-panel{gap:15px}.customer-panel,.workspace-shell[data-nav-collapsed="true"]{grid-template-columns:190px minmax(0,1fr)}
  .workspace-shell[data-nav-collapsed="true"]{grid-template-columns:68px minmax(0,1fr)}
}
@media(max-width:800px){
  .account-home-layout{grid-template-columns:1fr}.account-home-rail{grid-template-columns:1fr 1fr}.account-home-links{grid-column:1/-1}
  .security-layout,.account-settings-page .purchase-layout,.account-settings-page .profile-layout,.workspace-subpage .purchase-layout,.workspace-content-layout{grid-template-columns:1fr}
  .customer-panel,.workspace-shell[data-nav-collapsed="true"]{grid-template-columns:minmax(0,1fr)}
  .customer-panel-sidebar{top:0;max-height:100dvh}
  .order-workspace{grid-template-columns:1fr}.order-summary{position:static}
}
@media(max-width:620px){
  .profile-identity{align-items:flex-start;padding:22px;gap:15px}.profile-avatar{width:54px;height:54px;border-radius:13px;font-size:1.65rem}
  .account-home-intro{align-items:start;flex-direction:column}.account-home-intro h1{font-size:2.8rem}
  .account-home-rail{grid-template-columns:1fr}.account-home-links{grid-column:auto}
  .featured-server{min-height:310px;padding:18px}.featured-server-bottom{align-items:start;flex-direction:column}
  .featured-server h2{font-size:2.1rem}
  .account-home-activity{padding:17px 14px 8px}
  .order-hero{min-height:240px}.order-hero-copy{padding:26px}.order-section{margin-left:14px;padding-left:26px}
  .order-step-number{left:-16px}
  .services-summary>div{width:calc(50% - 14px);padding:6px 0;margin:0 14px 6px 0;border:0}
  .portal-main.panel-page .portal-container{width:calc(100% - 24px)}
  .server-hero{min-height:200px;padding:22px}.server-hero-side{width:100%;justify-items:start}
  .workspace-overview-grid,.workspace-graphs{grid-template-columns:minmax(0,1fr)}
  .customer-panel-console{min-height:320px;height:54dvh;padding:13px}
  .console-screen-head small{display:none}
  .portal-main .customer-panel-file-list li button:first-child{flex-basis:100%;white-space:normal}
  .file-editor-dialog{width:calc(100vw - 16px);height:calc(100dvh - 16px);border-radius:12px}
  .file-editor-head,.file-editor-footer{padding:12px;gap:10px}
  .portal-main .file-editor-dialog textarea{width:calc(100% - 24px);margin:12px}
  .file-editor-footer{align-items:stretch;flex-direction:column}.file-editor-actions{justify-content:space-between}
  .workspace-section-head .customer-panel-inline{display:flex;flex-wrap:wrap}
  .workspace-section-head .customer-panel-inline button{flex:1}
}

/* Compact layout: content and controls determine height, not decorative cards. */
.portal-main{padding:28px 0 44px}
.portal-main.panel-page{padding:14px 0 36px}
.portal-main .account-panel{padding:15px}
.portal-main :is(.account-panel,.order-summary,.order-choice-body,.ops-panel){box-shadow:none}
.account-home{padding-top:20px}
.account-home-intro{align-items:center;margin-bottom:14px;gap:12px}
.account-home-intro h1{font-size:clamp(1.8rem,3vw,2.6rem);margin:0}
.account-home-layout{gap:14px}
.featured-server{min-height:190px;padding:19px;border-radius:12px}
.featured-server:after{display:none}
.featured-server h2{font-size:clamp(1.5rem,2.5vw,2.3rem)}
.account-home-activity{margin-top:14px;padding:12px 16px 6px}
.account-home-activity .account-list-row{padding:9px 2px}
.account-home-rail{gap:10px}
.account-home-mini div{padding:7px 8px 10px 0}
.account-home-links{padding-top:0}
.portal-main .account-home-links a{padding:9px 1px}
.profile-identity{gap:14px;margin:0 0 15px;padding:16px}
.profile-avatar{width:56px;height:56px;font-size:1.7rem}
.profile-identity h1{font-size:clamp(1.6rem,2.5vw,2.4rem)}
.account-settings-head{margin:0 0 15px}
.portal-main .security-feature{min-height:210px;padding:18px}
.security-options a{padding-block:14px!important}
.portal-main.order-page{padding-top:16px}
.order-intro{margin-bottom:10px}
.order-intro h1{font-size:clamp(1.8rem,3vw,2.6rem)}
.order-software{margin-bottom:10px}
.order-hero{min-height:135px;margin-bottom:16px;border-radius:12px}
.order-hero-copy{padding:18px}
.order-hero-copy h2{font-size:clamp(1.5rem,2.4vw,2.2rem)}
.order-workspace{gap:16px}
.order-section{margin-left:13px;padding:3px 0 18px 25px}
.order-section-head{margin-bottom:10px}
.order-section-head h2{font-size:1.1rem}
.order-step-number{width:26px;height:26px;left:-14px}
.order-choice-grid{gap:8px}
.order-choice-body,.order-region-grid .order-choice-body{min-height:0;padding:10px 12px;gap:3px}
.order-choice input:checked+.order-choice-body{padding:9px 11px}
.order-extra{padding:9px 12px;margin-top:7px}
.order-summary{top:80px;padding:15px}
.order-summary dl>div{padding:7px 0}
.order-summary-total{padding:11px 0 6px}
.services-heading{margin-bottom:10px;padding:0}
.services-heading h1{font-size:clamp(1.9rem,3vw,2.6rem)}
.services-summary{padding:7px 0;margin-bottom:10px}
.services-toolbar{margin-bottom:10px}
.service-grid{gap:10px}
.service-card{border-radius:11px}
.service-card-content{min-height:0;padding:12px}
.workspace-breadcrumb{margin-bottom:7px}
.server-hero{min-height:0;padding:15px 18px;margin-bottom:12px;border-radius:11px;box-shadow:none}
.server-hero h1{font-size:clamp(1.45rem,2.8vw,2.3rem);margin:2px 0}
.server-hero-side{padding:8px 10px;gap:3px}
.customer-panel,.workspace-shell[data-nav-collapsed="true"]{gap:14px}
.customer-panel-sidebar{top:80px;max-height:calc(100dvh - 90px);padding:10px 7px}
.portal-main .customer-panel-tabs button,.portal-main .customer-panel-tabs a{padding:8px 10px;font-size:.85rem}
.sidebar-server-note{margin-top:10px;padding:9px 5px}
.customer-panel-main{padding:0 0 18px}
.workspace-section-head{gap:10px;margin-bottom:10px}
.workspace-section-head h2{font-size:clamp(1.3rem,2.2vw,1.7rem)}
.workspace-overview-grid,.workspace-graphs{gap:10px}
.workspace-connection,.workspace-quick-stat{min-height:0;gap:6px;padding:12px!important}
.workspace-connection{grid-template-columns:minmax(0,1fr) auto;align-items:center}
.workspace-connection .panel-card-kicker{grid-column:1/-1}
.workspace-connection .customer-panel-address{grid-column:1;grid-row:2}
.workspace-connection button{grid-column:2;grid-row:2;white-space:nowrap}
.workspace-quick-stat{display:flex;align-items:center;justify-content:space-between;gap:8px}
.workspace-quick-stat strong{text-align:right}
.workspace-connection .customer-panel-address{font-size:clamp(1rem,1.8vw,1.35rem)}
.workspace-quick-stat>strong{font-size:1.1rem;overflow-wrap:anywhere}
.workspace-graphs{margin:10px 0}
.workspace-graphs .account-panel{padding:11px 12px}
.resource-chart-header strong{font-size:1.2rem;margin:2px 0}
.resource-chart svg{height:62px;margin-top:2px}
.chart-caption{margin-top:0}
.workspace-activity{margin-top:0!important}
.workspace-activity li{padding:6px 0}
.workspace-subpage>.customer-panel-main>.account-lede{padding:9px 12px}
.workspace-subpage .purchase-layout>.account-panel,.workspace-content-layout>.account-panel,.workspace-catalog{padding:15px}
.workspace-content-layout,.workspace-subpage .purchase-layout{gap:12px}
.ops-header{padding:14px 17px}
.ops-panel{padding:14px;margin-bottom:10px}
.portal-main .ops-stats a{padding:11px}
@media(max-width:800px){
  .customer-panel-sidebar{top:0;max-height:100dvh}
  .workspace-mobile-bar{padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
}
@media(max-width:620px){
  .portal-main{padding:18px 0 30px}
  .portal-main.panel-page{padding:9px 0 26px}
  .customer-panel{gap:6px}
  .account-home-intro{flex-direction:row;align-items:center}
  .account-home-intro h1{font-size:1.55rem}
  .account-home-intro .account-action{padding:8px 10px;font-size:.76rem;white-space:nowrap}
  .account-home-rail{grid-template-columns:1fr}
  .featured-server{min-height:155px;padding:14px}
  .featured-server-bottom{flex-direction:row;align-items:end}
  .featured-server h2{font-size:1.45rem}
  .portal-main .featured-server a{padding:8px 10px;font-size:.75rem;white-space:nowrap}
  .order-hero{min-height:120px}
  .order-hero-copy{padding:14px}
  .order-section{margin-left:10px;padding-left:21px}
  .order-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .server-hero{min-height:0;padding:10px 12px;gap:10px;align-items:center;flex-direction:row}
  .server-hero-copy{min-width:0;overflow-wrap:anywhere}
  .server-hero-side{flex:none}
  .server-hero-side{width:auto;padding:0;border:0;background:transparent;justify-items:start}
  .server-hero h1{font-size:1.45rem}
  .workspace-section-head{align-items:center}
  .workspace-section-head .customer-panel-actions{width:auto}
  .workspace-section-head .customer-panel-actions button{padding:7px 9px;font-size:.76rem}
  .workspace-overview-grid{grid-template-columns:minmax(0,1fr)}
  .workspace-connection{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center}
  .workspace-connection .panel-card-kicker{grid-column:1/-1}
  .workspace-connection button{grid-column:2;grid-row:2;padding:7px 9px;font-size:.76rem;white-space:nowrap}
  .workspace-quick-stat{display:flex;align-items:center;justify-content:space-between;gap:8px}
  .workspace-quick-stat strong{font-size:1rem;text-align:right}
  .workspace-graphs{grid-template-columns:minmax(0,1fr)}
  .resource-chart svg{height:54px}
  .customer-panel-main .account-panel{padding:11px}
  .console-workspace{padding:10px!important}
  .customer-panel-console{min-height:220px;height:45dvh}
  .file-current-path{margin:0}
}
/* CurseForge discovery stays dense enough to scan inside the server workspace. */
.modpack-browser{min-width:0;border:1px solid var(--line);border-radius:12px;background:var(--paper);overflow:hidden}
.modpack-searchbar{display:flex;align-items:center;gap:14px;padding:12px;border-bottom:1px solid var(--line)}
.modpack-searchbar>label{flex:none;font-size:.85rem;font-weight:800}
.modpack-searchbar .customer-panel-inline{flex:1;margin:0;min-width:0}
.modpack-searchbar input{min-width:0}
.portal-main .modpack-searchbar button{width:auto;flex:none;margin:0;padding:8px 14px}
.modpack-browser-body{display:grid;grid-template-columns:195px minmax(0,1fr)}
.modpack-filters{min-width:0;max-height:640px;overflow:auto;padding:12px;border-right:1px solid var(--line);background:var(--surface-sunk)}
.modpack-filters summary{font-size:.84rem;font-weight:850;cursor:pointer;list-style:none}
.modpack-filters summary::-webkit-details-marker{display:none}
.modpack-filters fieldset{min-width:0;margin:11px 0 0;padding:10px 0 0;border:0;border-top:1px solid var(--line)}
.modpack-filters legend,.modpack-version-label{font-size:.73rem;font-weight:850;color:var(--ink)}
.modpack-filters fieldset label{display:flex;align-items:center;gap:6px;margin:5px 0;font-size:.75rem;line-height:1.25;color:var(--muted);cursor:pointer}

/* The tool rail fills the visible workspace; file actions stay out of filename space. */
@media(min-width:801px){
  .customer-panel-sidebar{top:80px;height:calc(100dvh - var(--workspace-sidebar-visible-top, 80px) - 10px);max-height:calc(100dvh - var(--workspace-sidebar-visible-top, 80px) - 10px);min-height:0;align-self:start}
}
.customer-panel-file-list{min-height:0}
.portal-main .order-summary button[data-order-submit][aria-busy="true"]{opacity:1;cursor:progress}
.workspace-overview-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.workspace-overview-grid .workspace-connection{grid-column:1/-1}
.workspace-overview-grid .account-panel{min-height:0;padding:10px 12px}
.workspace-overview-grid .workspace-quick-stat{display:grid;justify-content:stretch;gap:4px}
.workspace-overview-grid .workspace-quick-stat strong{font-size:.98rem;text-align:left}
.workspace-graphs{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.chart-with-scale{display:grid;grid-template-columns:42px minmax(0,1fr);align-items:stretch;gap:5px}
.chart-scale{display:flex;flex-direction:column;justify-content:space-between;padding:3px 0;color:var(--muted);font:10px/1.1 ui-monospace,SFMono-Regular,Consolas,monospace;text-align:right}
.resource-chart .chart-with-scale svg{min-width:0}
.resource-chart-network .chart-line{stroke:#72d5c1}
.resource-chart-network .chart-line-out{fill:none;stroke:#ffac72;stroke-width:2;vector-effect:non-scaling-stroke}
.chart-legend{font-size:.68rem;color:#72d5c1}.chart-legend span{color:#ffac72}
.workspace-data-list{list-style:none;margin:0;padding:0}.workspace-data-list li{padding:9px 2px;border-bottom:1px solid var(--line);font-size:.82rem;overflow-wrap:anywhere}
.schedule-form,.schedule-task-form{display:grid;gap:12px}.schedule-form label,.schedule-task-form label{display:grid;gap:5px;min-width:0}.schedule-form input,.schedule-task-form input,.schedule-task-form select{width:100%;min-width:0}.schedule-cron-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.schedule-check{display:flex!important;align-items:center;gap:8px}.schedule-check input{width:auto!important;margin:0}.schedule-form p,.schedule-card p{margin:0;color:var(--muted)}.schedule-card{padding:16px 2px!important}.schedule-card-head,.schedule-controls,.schedule-tasks li{display:flex;align-items:center;justify-content:space-between;gap:12px}.schedule-card-head strong{font-size:1rem}.schedule-tasks{margin:12px 0;padding-left:22px}.schedule-tasks li{padding:8px 0}.schedule-tasks li span{min-width:0;overflow-wrap:anywhere}.schedule-task-form{grid-template-columns:repeat(2,minmax(0,1fr));margin:12px 0}.schedule-task-form [hidden]{display:none!important}.schedule-task-form button{justify-self:start}.schedule-controls{justify-content:flex-start;flex-wrap:wrap}@media(max-width:650px){.schedule-cron-fields,.schedule-task-form{grid-template-columns:repeat(2,minmax(0,1fr))}.schedule-tasks li{align-items:flex-start;flex-wrap:wrap}}
@media(max-width:1000px){.workspace-overview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace-graphs{grid-template-columns:minmax(0,1fr)}}
@media(max-width:620px){.workspace-overview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace-overview-grid .workspace-connection{grid-column:1/-1}.workspace-overview-grid .account-panel{padding:9px}.workspace-graphs{grid-template-columns:minmax(0,1fr)}}
.workspace-overview-heading{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px 14px;min-width:0}
.workspace-uptime{color:var(--muted);font-size:.78rem;white-space:nowrap}
.workspace-uptime strong{margin-left:4px;color:var(--ink);font-size:.88rem;font-weight:800}
.customer-panel-file-list li.file-row{display:grid;grid-template-columns:minmax(0,1fr) 90px 105px 38px;gap:8px;align-items:center;position:relative;padding:5px 2px}
.portal-main .customer-panel-file-list li.file-row .file-row-name{width:100%;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left}
.file-row-size,.file-row-modified{font-size:.75rem;color:var(--muted);white-space:nowrap}
.file-current-path{display:flex;align-items:center;flex-wrap:wrap;gap:5px;min-width:0}
.portal-main .file-current-path button{width:auto;max-width:100%;min-width:0;overflow-wrap:anywhere;padding:3px 6px;border:0;background:transparent;color:var(--blue);font-size:.8rem}
.portal-main .file-current-path button:hover{text-decoration:underline}
.file-row-menu{position:relative;justify-self:end}
.file-row-menu summary{display:grid;place-items:center;width:34px;height:34px;border:1px solid var(--line);border-radius:8px;cursor:pointer;list-style:none;font-size:1.2rem;color:var(--ink)}
.file-row-menu summary::-webkit-details-marker{display:none}
.file-row-menu summary:focus-visible{outline:2px solid var(--orange);outline-offset:2px}
.file-row-options{position:absolute;right:0;top:calc(100% + 3px);z-index:10;display:grid;width:165px;max-height:60dvh;overflow:auto;padding:5px;border:1px solid var(--line);border-radius:10px;background:var(--paper);box-shadow:0 12px 28px rgba(0,0,0,.28)}
.portal-main .customer-panel-file-list .file-row-options button{width:100%;padding:8px 10px;text-align:left;white-space:nowrap;background:transparent;color:var(--ink);border:0;font-size:.8rem}
.portal-main .customer-panel-file-list .file-row-options button:hover{background:var(--soft)}
@media(max-width:620px){
  .customer-panel-file-list li.file-row{grid-template-columns:minmax(0,1fr) auto;gap:3px 8px}
  .portal-main .customer-panel-file-list li.file-row .file-row-name{grid-column:1;grid-row:1;white-space:normal;overflow-wrap:anywhere}
  .file-row-size{grid-column:1;grid-row:2}.file-row-modified{display:none}
  .file-row-menu{grid-column:2;grid-row:1/3}
}
.modpack-filters input[type="radio"]{flex:none;width:14px;height:14px;margin:0;accent-color:var(--orange)}
.modpack-version-label{display:block;margin:12px 0 5px}
.portal-main .modpack-filters input[list]{box-sizing:border-box;width:100%;min-width:0;margin:0;padding:7px;font-size:.78rem}
.modpack-results{min-width:0;padding:0 12px 10px}
.modpack-results-head{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:52px;border-bottom:1px solid var(--line);font-size:.84rem;font-weight:850}
.modpack-results-head label{display:flex;align-items:center;gap:6px;font-size:.73rem;color:var(--muted);white-space:nowrap}
.portal-main .modpack-results-head select{width:auto;max-width:155px;margin:0;padding:6px 8px;font-size:.76rem}
.modpack-result-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,310px),1fr));gap:9px;padding:9px 0}
.modpack-result{display:flex;flex-direction:column;min-width:0;min-height:176px;padding:11px;border:1px solid var(--line);border-radius:10px;background:var(--surface-raised)}
.modpack-result-top{display:flex;align-items:start;justify-content:space-between;gap:8px;min-width:0}
.modpack-result-top>div:first-child{min-width:0}
.modpack-result-art{display:grid;place-items:center;flex:none;width:58px;height:58px;overflow:hidden;border-radius:8px;background:var(--paper);font-size:1.8rem;color:var(--orange)}
.modpack-result-art img{display:block;width:100%;height:100%;object-fit:cover}
.modpack-result h3{margin:0;font-size:.92rem;line-height:1.2;overflow-wrap:anywhere}
.modpack-result p{margin:3px 0 0}
.modpack-author,.modpack-meta{font-size:.7rem;color:var(--muted)}
.modpack-summary{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:3;font-size:.76rem;line-height:1.35;color:var(--ink)}
.modpack-result-bottom{display:flex;align-items:end;justify-content:space-between;gap:8px;margin-top:auto;padding-top:9px}
.modpack-meta{display:flex;flex-wrap:wrap;gap:3px 8px;min-width:0}
.portal-main .modpack-release-link{flex:none;padding:7px 9px;border-radius:7px;background:var(--action-bg);color:#fff;text-decoration:none;font-size:.72rem;font-weight:800;white-space:nowrap}
.portal-main .modpack-release-link:hover{background:var(--action-hover);color:#fff}
.modpack-empty{padding:20px 0;color:var(--muted)}
.modpack-pagination{display:flex;justify-content:flex-end;gap:14px;padding:10px 0;font-size:.78rem}
.modpack-release-panel{padding:12px;border-top:1px solid var(--line)}
.modpack-release-panel h3{margin:0;font-size:1rem}
.modpack-release-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 0;border-bottom:1px solid var(--line)}
.modpack-release-row span{min-width:0;overflow-wrap:anywhere}
.modpack-release-row small{display:block;color:var(--muted);font-size:.72rem}
.modpack-release-row form{display:flex;align-items:center;gap:8px;margin:0}
.portal-main .modpack-release-row button{width:auto;flex:none;margin:0;padding:7px 10px;font-size:.75rem}
.modpack-local-sections{margin-top:12px}
.modpack-local-sections>.account-panel{padding:12px}
.modpack-local-sections h3{margin:0 0 7px;font-size:1rem}
@media(max-width:800px){
  .modpack-browser-body{grid-template-columns:minmax(0,1fr)}
  .modpack-filters{max-height:none;border-right:0;border-bottom:1px solid var(--line)}
  .modpack-filters:not([open]){padding:10px 12px}
  .modpack-filters[open]{max-height:240px}
}
@media(max-width:620px){
  .modpack-searchbar{display:block;padding:10px}.modpack-searchbar>label{display:block;margin-bottom:5px}
  .modpack-searchbar .customer-panel-inline{display:flex;flex-wrap:nowrap}
  .portal-main .modpack-searchbar .customer-panel-inline input{flex:1 1 auto;width:auto}
  .modpack-results{padding:0 10px 6px}
  .modpack-result{min-height:0;padding:9px}
  .modpack-result-bottom{align-items:end}
  .modpack-results-head{min-height:46px}
  .modpack-release-row{align-items:start;flex-direction:column}
}
.modpack-catalog-page{max-width:1120px;margin:auto}
.modpack-catalog-page>.workspace-section-head{margin:7px 0 12px}
.modpack-catalog-page h1{margin:0;font-size:clamp(1.8rem,3vw,2.5rem)}
.modpack-prepared{margin-top:12px;padding:11px 13px;border:1px solid var(--line);border-radius:9px;background:var(--paper)}
.modpack-prepared summary{cursor:pointer;font-size:.84rem;font-weight:800}
.modpack-release-panel{background:var(--surface-raised)}

/* Services: keep primary controls inside the card at every width. */
.service-card-content,.service-card-footer,.service-identity{min-width:0}
.service-card-footer{gap:8px;min-width:0}
.service-identity .service-modpack,.server-installed-modpack{margin:4px 0 0;color:#e5d6ff;font-size:.72rem;font-weight:700;line-height:1.3;overflow-wrap:anywhere}
.server-installed-modpack{font-size:.85rem}
.portal-main a.service-manage{flex:none}

/* Admin queue rows are navigation actions, with the same visible target as other buttons. */
.portal-main .ops-list:not(.ticket-list){gap:8px}
.portal-main .ops-list:not(.ticket-list)>a{min-width:0;padding:12px 14px;border:1px solid var(--line);border-radius:10px;background:var(--paper);color:var(--ink);text-decoration:none}
.portal-main .ops-list:not(.ticket-list)>a:hover{border-color:var(--blue);background:var(--soft)}
.portal-main .ops-list:not(.ticket-list)>a:focus-visible{outline:3px solid var(--orange);outline-offset:2px}
.portal-main .ops-list:not(.ticket-list)>a>span:first-child{min-width:0;overflow-wrap:anywhere}
.portal-main .file-editor-actions a.action-link.secondary{color:var(--ink)}
.service-power{flex:none;margin-left:auto}
.portal-main .service-power button{display:grid;place-items:center;width:34px;height:34px;padding:6px}
.service-power svg{display:block;width:16px;height:16px;fill:currentColor}
.service-state[data-state="suspended"]{border-color:#f2be6b;background:#704a23;color:#fff2d5}

@media(min-width:851px){
  .service-grid[data-view="list"] .service-card[data-live="true"] .service-card-content{
    display:grid;grid-template-columns:140px minmax(170px,.75fr) minmax(230px,1.5fr) 112px;
    grid-template-rows:auto auto;align-items:center;gap:8px 12px;min-height:0
  }
  .service-grid[data-view="list"] .service-card[data-live="true"] .service-card-top,
  .service-grid[data-view="list"] .service-card[data-live="true"] .service-card-footer{display:contents}
  .service-grid[data-view="list"] .service-card[data-live="true"] .service-game{grid-column:1;grid-row:1}
  .service-grid[data-view="list"] .service-card[data-live="true"] .service-identity{grid-column:2;grid-row:1;margin:0}
  .service-grid[data-view="list"] .service-card[data-live="true"] .service-activity{grid-column:3;grid-row:1;margin:0}
  .service-grid[data-view="list"] .service-card[data-live="true"] .service-state{grid-column:4;grid-row:1;justify-self:end}
  .service-grid[data-view="list"] .service-card[data-live="true"] .service-manage{grid-column:1;grid-row:2;justify-self:start}
  .service-grid[data-view="list"] .service-card[data-live="true"] .service-metrics{grid-column:2/4;grid-row:2;min-width:0}
  .service-grid[data-view="list"] .service-card[data-live="true"] .service-power{grid-column:4;grid-row:2;justify-self:end}
}
@media(max-width:850px){
  .service-grid[data-view="list"] .service-card[data-live="true"] .service-card-content{display:flex;flex-direction:column;align-items:stretch;gap:5px}
  .service-grid[data-view="list"] .service-card[data-live="true"] .service-card-top,
  .service-grid[data-view="list"] .service-card[data-live="true"] .service-card-footer{display:flex}
  .service-grid[data-view="list"] .service-card[data-live="true"] .service-identity{margin:0}
}
@media(max-width:380px){
  .service-card-footer{align-items:center;flex-wrap:wrap}
  .service-power{width:auto}
  .service-power form{flex:none}
  .portal-main .service-power button{width:34px}
}
/* Server workspace refinements, 2026-10-02. */
.service-metric strong,.server-stat strong{white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;font-size:clamp(.8rem,1.5vw,1rem)}
.service-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}
.workspace-permissions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.workspace-permissions fieldset{min-width:0;border:1px solid var(--border,#334761);border-radius:8px;padding:12px}
.workspace-permissions label{display:flex;align-items:flex-start;gap:8px;overflow-wrap:anywhere}
.workspace-permissions input[type=checkbox]{flex:none;width:auto}
.console-toolbar{display:flex;flex-wrap:wrap;gap:10px;align-items:end}
.console-toolbar label{flex:1;min-width:180px}
.console-workspace [data-command-form]{position:sticky;bottom:0;background:#101c2f;padding:12px 0;z-index:1}
.console-workspace [data-console-output]{max-height:55vh;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere}
.network-details strong{overflow-wrap:anywhere;white-space:normal}
.network-details button{margin-top:10px}
.workspace-data-list li{overflow-wrap:anywhere}
.workspace-data-list li button,.workspace-backup-list li button{flex:none;width:auto}
.workspace-backup-list a{display:inline-flex;padding:8px 12px;border:1px solid #536d91;border-radius:8px;text-decoration:none}
[data-release-confirm]{margin-top:20px;padding:18px;border:1px solid #536d91;border-radius:10px}
[data-release-confirm] label{display:flex;align-items:flex-start;gap:8px;margin:16px 0}
[data-release-confirm] input{width:auto;flex:none}
[data-release-select]{max-width:100%;width:100%}
.schedule-form [data-schedule-simple]{display:flex;flex-wrap:wrap;gap:12px}
.schedule-form [data-schedule-simple] label{flex:1;min-width:130px}
button:disabled{opacity:.5;cursor:not-allowed}
[hidden]{display:none!important}
@media(max-width:600px){.workspace-permissions{grid-template-columns:1fr}.service-metrics{grid-template-columns:1fr}.service-metric{display:grid;grid-template-columns:1fr 1.5fr;gap:5px}.service-meter{grid-column:1/-1}.console-toolbar button{flex:1}.workspace-data-list li,.workspace-backup-list li{flex-wrap:wrap}.schedule-cron-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace-content{min-width:0}.network-details{grid-template-columns:1fr}}
.workspace-software [data-startup-variables] li{display:block}
.workspace-software [data-startup-variables] li form{display:grid;width:100%;grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;align-items:end}
.workspace-software [data-startup-variables] li form>label{grid-column:1;grid-row:1;text-align:left;display:block;min-width:0}
.workspace-software [data-startup-variables] li form>label input{display:block;width:100%;box-sizing:border-box}
.workspace-software [data-startup-variables] li form>button{grid-column:2;grid-row:1;width:auto}
.workspace-software [data-startup-variables] li form>p{grid-column:1/-1;grid-row:2;margin:0;color:var(--muted);font-size:.85rem;overflow-wrap:anywhere}
@media(max-width:600px){.workspace-software [data-startup-variables] li form{grid-template-columns:minmax(0,1fr)}.workspace-software [data-startup-variables] li form>button{grid-column:1;grid-row:3;justify-self:start}.workspace-software [data-startup-variables] li form>p{grid-row:2}}

/* Compact phone console: override the older column flex toolbar. */
@media(max-width:620px){
  .portal-main .console-toolbar{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;align-items:stretch;padding:0 0 12px;margin-bottom:0}
  .portal-main .console-toolbar>label{grid-column:1/-1;min-width:0;margin:0;text-align:left;font-size:.8rem}
  .portal-main .console-toolbar input{width:100%;box-sizing:border-box;min-width:0;margin-top:5px;min-height:44px}
  .portal-main .console-toolbar>button{width:100%;min-width:0;min-height:44px;margin:0;padding:8px 6px;font-size:.78rem;line-height:1.2;white-space:normal;align-self:stretch}
  .portal-main .console-workspace{padding:12px!important}
  .portal-main .console-screen-head{padding:9px 10px}
  .portal-main .console-screen-head small{display:none}
  .portal-main .console-workspace [data-console-output]{min-height:240px;height:42dvh;max-height:440px;padding:12px;font-size:12px}
  .portal-main .console-workspace [data-command-form]{position:static;padding:10px 0;margin-bottom:8px}
  .portal-main [data-command-form] .customer-panel-inline{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}
  .portal-main [data-command-form] .customer-panel-inline input{width:100%;min-width:0;min-height:44px}
  .portal-main [data-command-form] .customer-panel-inline button{width:auto;min-height:44px;padding:10px 14px}
  .portal-main .server-hero{padding:16px;gap:8px;min-height:140px}
  .portal-main .server-hero h1{font-size:clamp(1.45rem,6vw,1.85rem);line-height:1.15}
  .portal-main .server-hero .account-eyebrow{font-size:.65rem;letter-spacing:.12em}
  .portal-main .server-hero .customer-panel-state{font-size:.75rem;padding:5px 10px}
  .portal-main .workspace-section-head{margin-bottom:12px;gap:8px}
  .portal-main .workspace-section-head h2{font-size:1.65rem}
}
