:root{--ink:#10203a;--muted:#637086;--line:#dce5f0;--blue:#2864f0;--blue-dark:#164bc4;--blue-soft:#edf3ff;--bg:#f4f7fb;--good:#087f5b;--warn:#8e5a00;--bad:#bc3838;--shadow:0 14px 40px rgba(18,39,74,.08)}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:24px}
body{margin:0;background:radial-gradient(circle at 15% 8%,#e8efff,transparent 30%),var(--bg);color:var(--ink);font:14px/1.55 Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
header{min-height:72px;padding:12px max(24px,calc((100vw - 1180px)/2));display:flex;align-items:center;justify-content:space-between;background:#fff;border-bottom:1px solid var(--line)}
a{color:var(--blue);text-decoration:none}.brand{display:flex;align-items:center;gap:10px;color:var(--ink)}.brand>b{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;color:#fff;background:linear-gradient(145deg,#2864f0,#7658ee)}.brand span{display:flex;flex-direction:column;line-height:1.25}.brand small{color:var(--muted)}
main{max-width:1180px;margin:auto;padding:64px 24px 80px}.auth-grid{display:grid;grid-template-columns:1.05fr .8fr;gap:80px;align-items:center}.eyebrow{font-size:10px;letter-spacing:.15em;color:var(--blue);font-weight:850}.intro h1,.portal h1{font-size:clamp(34px,4vw,46px);line-height:1.08;letter-spacing:-.04em;margin:15px 0}.intro p{font-size:17px;color:var(--muted);max-width:560px}.intro ul{list-style:none;padding:15px 0}.intro li{margin:10px 0}.intro li:before{content:"✓";color:var(--good);font-weight:900;margin-right:10px}
.card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:26px;box-shadow:var(--shadow);min-width:0}.tabs{display:flex;border-bottom:1px solid var(--line);margin:-6px -4px 24px}.tabs button{flex:1;border:0;background:none;padding:12px 4px;color:var(--muted);cursor:pointer}.tabs button.active{color:var(--blue);border-bottom:2px solid var(--blue)}
h2{font-size:20px;line-height:1.25;margin:0 0 18px}h3{line-height:1.3}p{overflow-wrap:anywhere}label{display:block;font-size:12px;font-weight:750;margin:14px 0}label small{color:var(--muted);font-weight:450}input,select,textarea{width:100%;padding:12px;margin-top:6px;border:1px solid #cbd6e5;border-radius:9px;background:#fff;outline:none;font:inherit;color:var(--ink)}input:focus,select:focus,textarea:focus{border-color:var(--blue);box-shadow:0 0 0 3px #2864f01a}textarea{min-height:110px;resize:vertical}
form>button,.portal-head button,.primary-link,.plan-select{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 15px;border:0;border-radius:9px;background:var(--blue);color:#fff;font-weight:800;cursor:pointer}.auth-card form>button{width:100%;margin-top:20px}button:hover,.primary-link:hover{filter:brightness(.96)}button:disabled{opacity:.5;cursor:not-allowed}.hidden{display:none!important}#message{min-height:22px;margin-top:14px;color:var(--bad)}.notice{padding:10px;border-radius:8px;background:#fff4dc;color:var(--warn);font-size:12px}
.portal-head{display:flex;justify-content:space-between;align-items:center;gap:24px}.portal-head h1{font-size:36px;margin:8px 0}.portal-head p{color:var(--muted);margin:0}.portal-head button{width:auto;margin:0;background:#fff;color:var(--ink);border:1px solid var(--line)}
.metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:25px 0}.metrics article{background:#fff;border:1px solid var(--line);border-radius:14px;padding:20px;min-width:0}.metrics span{display:block;color:var(--muted);font-size:10px;font-weight:850;letter-spacing:.04em}.metrics strong{display:block;font-size:23px;margin-top:8px;text-transform:capitalize;overflow-wrap:anywhere}
.journey-card{margin-bottom:20px;background:linear-gradient(135deg,#fff 55%,#f2f6ff)}.journey-head{display:flex;justify-content:space-between;align-items:flex-start;gap:24px}.journey-head h2{margin:5px 0 4px}.journey-head p{margin:0;color:var(--muted)}.journey-count{flex:0 0 auto;padding:7px 10px;border-radius:999px;background:var(--blue-soft);color:var(--blue);font-size:11px;font-weight:850}.progress-track{height:7px;margin:20px 0;background:#e8edf5;border-radius:999px;overflow:hidden}.progress-track span{display:block;height:100%;width:0;background:linear-gradient(90deg,var(--blue),#6f57ea);transition:width .25s}.journey-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.journey-steps article{display:flex;gap:10px;padding:14px;border:1px solid var(--line);border-radius:12px;background:#fff;min-width:0}.journey-steps b{display:grid;place-items:center;flex:0 0 28px;height:28px;border-radius:50%;background:#eef2f7;color:var(--muted)}.journey-steps div{min-width:0}.journey-steps strong,.journey-steps span{display:block}.journey-steps span{font-size:11px;color:var(--muted);margin-top:2px}.journey-steps article.done{border-color:#bde7d5;background:#f3fbf7}.journey-steps article.done b{background:var(--good);color:#fff}.journey-steps article.current{border-color:#9dbaff;box-shadow:0 0 0 3px #2864f012}.journey-steps article.current b{background:var(--blue);color:#fff}.primary-link{width:max-content;margin-top:18px}
.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr);gap:20px;margin-bottom:20px;align-items:start}.wide{padding:0}.dashboard-grid>.card{padding:0 22px 22px}.wide>h2,.dashboard-grid>.card>h2{padding:19px 22px;border-bottom:1px solid var(--line);margin:0}.dashboard-grid>.card>h2{margin:0 -22px 18px}.section-head{padding:22px 24px 8px}.section-head h2{margin:4px 0 5px}.section-head p{margin:0;color:var(--muted);max-width:760px}
.plans-card{margin-top:2px}.plan-list{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;padding:16px 24px 24px}.plan-card{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:14px;padding:17px;background:#fbfcff;min-width:0;transition:border-color .2s,box-shadow .2s,transform .2s}.plan-card:hover{transform:translateY(-2px);box-shadow:0 10px 25px rgba(18,39,74,.08)}.plan-card.paid{border-top:3px solid var(--blue)}.plan-card.selected{border-color:var(--blue);box-shadow:0 0 0 3px #2864f018}.plan-card h3{margin:7px 0;font-size:18px}.plan-card p{color:var(--muted);font-size:12px;min-height:58px;margin:0}.plan-card ul{padding-left:18px;margin:14px 0;font-size:11px;line-height:1.7;overflow-wrap:anywhere}.plan-type{font-size:9px;letter-spacing:.1em;color:var(--blue);font-weight:850}.price-state{font-size:11px;color:var(--good);margin-top:auto}.plan-select{width:100%;margin-top:14px;padding:10px 12px}.plan-card.free .plan-select{background:#fff;color:var(--blue);border:1px solid #a9bfff}
.order-panel{margin:0 24px 24px;padding:20px;display:grid;grid-template-columns:1.1fr .55fr 1.25fr auto;gap:16px;align-items:end;border:1px solid #cbdcff;border-radius:14px;background:#f6f9ff}.order-panel label{margin:0}.order-heading h3{margin:3px 0;font-size:16px}.order-heading p{margin:0;color:var(--muted);font-size:11px}.order-panel textarea{min-height:72px}.order-panel>button{margin:0 0 1px;white-space:nowrap}.order-row{display:flex;align-items:center;gap:12px;padding:14px 24px;border-top:1px solid var(--line)}.order-row div{display:flex;flex-direction:column;margin-right:auto}.order-row small{color:var(--muted)}.order-row button{border:1px solid var(--line);background:#fff;border-radius:8px;padding:8px;cursor:pointer}
.shells-card{margin-top:20px}.shell-list{padding:6px 22px 22px}.shell{display:flex;justify-content:space-between;gap:20px;padding:14px 0;border-bottom:1px solid #edf1f6}.shell:last-child{border:0}.shell small{color:var(--muted)}.empty{padding:28px;text-align:center;color:var(--muted)}.footnote{color:var(--muted);font-size:11px;text-align:center;margin:18px auto 0;max-width:780px}.status{display:inline-flex;padding:4px 8px;border-radius:999px;background:#eef2f7;font-size:10px;font-weight:800;text-transform:capitalize}.status.approved,.status.confirmed,.status.verified{background:#e4f7ef;color:var(--good)}.status.awaiting_payment,.status.payment_review,.status.pending{background:#fff4dc;color:var(--warn)}.status.rejected{background:#fdeaea;color:var(--bad)}
@media(max-width:1080px){.plan-list{grid-template-columns:repeat(3,minmax(0,1fr))}.order-panel{grid-template-columns:1fr 1fr}.order-heading{grid-column:1/-1}.dashboard-grid{grid-template-columns:1fr}.journey-steps{grid-template-columns:repeat(2,1fr)}}
@media(max-width:800px){main{padding:40px 18px 60px}.auth-grid{grid-template-columns:1fr;gap:30px}.intro h1{font-size:34px}.metrics{grid-template-columns:1fr}.intro ul{display:none}.plan-list{grid-template-columns:repeat(2,minmax(0,1fr))}.portal-head{align-items:flex-start}.journey-head{flex-direction:column;gap:10px}}
@media(max-width:560px){header>a:last-child{display:none}.card{border-radius:14px}.auth-card{padding:20px}.tabs button{font-size:11px}.portal-head h1{font-size:29px}.journey-steps,.plan-list,.order-panel{grid-template-columns:1fr}.plan-card p{min-height:0}.order-panel{margin:0 16px 18px}.plan-list{padding:14px 16px 18px}.section-head{padding:20px 18px 8px}.order-row{align-items:flex-start;flex-wrap:wrap}.shell{flex-direction:column;gap:6px}}

/* Approved account: keep the required credential action inside a padded card near the dashboard top. */
.shell-setup-card{margin:4px 0 22px;padding:30px 32px;border-color:#acc7fa;background:linear-gradient(115deg,#fff 58%,#f3f7ff)}
.shell-setup-copy{max-width:700px}.shell-setup-copy h2{font-size:24px;margin:7px 0 8px}.shell-setup-copy p{color:var(--muted);margin:0 0 22px}
.shell-setup-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;max-width:790px}
.shell-setup-fields label{margin:0;min-width:0;font-size:13px}.shell-setup-fields input{margin-top:8px}
.shell-setup-fields small{display:block;margin-top:7px;color:var(--muted);font-size:11px;font-weight:500}
.shell-setup-actions{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin-top:22px}
.shell-setup-actions button{min-height:43px}.shell-setup-actions>span{font-size:12px;color:var(--muted)}
.shells-card .shell-list.hidden{display:none}
@media(max-width:700px){.shell-setup-card{padding:23px 20px}.shell-setup-fields{grid-template-columns:1fr;gap:17px}.shell-setup-actions{align-items:flex-start;flex-direction:column;gap:9px}}

/* Customer shell overview */
.shell-overview{padding:22px 4px;border-bottom:1px solid #e3eaf3}.shell-overview:last-child{border-bottom:0}.shell-overview-head{display:flex;align-items:start;justify-content:space-between;gap:16px}.shell-overview h3{font-size:22px;margin:5px 0 8px}.shell-overview-head>strong{text-transform:capitalize;color:#344965}.shell-badge{display:inline-block;padding:4px 9px;border-radius:20px;background:#e7edf5;font-size:11px;text-transform:capitalize}.shell-badge.active{background:#e4f7ef;color:#087f5b}.shell-note{font-size:13px;color:var(--muted);line-height:1.55;margin:14px 0 20px}.shell-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 24px;padding:16px 0}.shell-facts>div{display:flex;flex-direction:column;align-items:flex-start;gap:5px;min-width:0}.shell-facts span,.shell-connect span{font-size:11px;color:var(--muted)}.shell-facts strong,.shell-facts code{font-size:13px;overflow-wrap:anywhere}.shell-connect{display:flex;flex-direction:column;gap:9px;padding:18px;border:1px solid #cddcf5;border-radius:12px;background:#f5f8ff}.shell-connect code{font-size:13px;overflow-wrap:anywhere}.shell-connect span{line-height:1.5}@media(max-width:640px){.shell-facts{grid-template-columns:1fr}}

.shell-website{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;padding:16px 18px;margin-top:16px;border:1px solid #cddcf5;border-radius:12px;background:#f8fbff}.shell-website>div{display:flex;flex-direction:column;gap:5px}.shell-website span{font-size:12px;color:var(--muted)}.shell-website a{font-size:13px;font-weight:700;overflow-wrap:anywhere}

.web-files-open{margin-top:16px}.web-files-card{margin-top:20px}.web-files-card .section-head{display:flex;justify-content:space-between;gap:20px}.web-files-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:12px 22px}.web-files-toolbar>span{font-weight:700;overflow-wrap:anywhere;margin-right:auto}.web-files-toolbar button,.web-files-upload,.web-file-row button,.web-files-editor-actions button{border:1px solid #d7e1ed;background:#fff;border-radius:8px;padding:8px 11px;cursor:pointer}.web-files-upload input{display:none}#web-files-notice{padding:0 22px;color:var(--muted);font-size:12px}#web-files-list{padding:12px 22px 22px}.web-file-row{display:flex;gap:10px;align-items:center;border-bottom:1px solid #e9eef5;padding:8px 0}.web-file-row button:first-child{border:0;background:none;text-align:left;flex:1;overflow-wrap:anywhere}.web-file-row span{font-size:12px;color:var(--muted)}#web-files-editor{padding:20px 22px}#web-files-editor textarea{width:100%;box-sizing:border-box;font:13px/1.5 monospace}#web-files-editor h3{overflow-wrap:anywhere}.web-files-editor-actions{display:flex;gap:12px;margin-top:10px}@media(max-width:600px){.web-file-row{flex-wrap:wrap}.web-file-row button:first-child{flex-basis:100%}}

.terminal-open{margin:16px 0 0 10px}.terminal-card{margin-top:20px}.terminal-card .section-head{display:flex;justify-content:space-between;gap:20px}.terminal-card form{display:flex;align-items:end;gap:12px;padding:16px 22px;flex-wrap:wrap}.terminal-card label{flex:1;min-width:220px}.terminal-card input{margin-top:7px}.terminal-card #terminal-status{padding:0 22px 15px;color:var(--muted);font-size:12px}.terminal-card #terminal-surface{margin:0 22px 22px;padding:10px;min-height:480px;background:#101827;border-radius:10px;overflow:auto}.terminal-card .xterm{min-height:480px}

/* Customer navigation and terminal legibility */
main:has(#portal:not(.hidden)){max-width:1600px;padding:26px 24px 80px}
.customer-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:24px;align-items:start}
.customer-sidebar{position:sticky;top:20px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:16px;display:flex;flex-direction:column;gap:5px;box-shadow:var(--shadow)}
.customer-sidebar strong{font-size:11px;color:var(--muted);letter-spacing:.13em;padding:8px 11px 15px}
.customer-sidebar a{display:block;border-radius:9px;padding:11px;color:var(--ink);font-weight:700}
.customer-sidebar a:hover,.customer-sidebar a.active{background:var(--blue-soft);color:var(--blue)}
.customer-content{min-width:0}
.customer-content [data-page-section]{min-width:0}
.customer-content [data-page-section="shell-access"] .terminal-card,.customer-content [data-page-section="web-directory"] .web-files-card{margin-top:18px}
#terminal-hint{padding:0 22px 12px;margin:0;color:#42536f;font-size:12px}
.terminal-card #terminal-surface{cursor:text;color:#f4f7ff}
.terminal-card .xterm,.terminal-card .xterm .xterm-rows,.terminal-card .xterm .xterm-rows span{color:#f4f7ff!important}
.terminal-card .xterm .xterm-cursor{background-color:#facc15!important;color:#101827!important;outline:1px solid #facc15}
.terminal-card #terminal-surface:focus-within{outline:3px solid #7fa6ff;outline-offset:2px}
.community-card{width:100%;max-width:none}.community-card h2{margin:12px 0}.community-card p{color:var(--muted)}
@media(max-width:800px){main:has(#portal:not(.hidden)){padding:18px 12px 60px}.customer-layout{grid-template-columns:1fr;gap:14px}.customer-sidebar{position:static;flex-direction:row;overflow-x:auto;white-space:nowrap;padding:8px}.customer-sidebar strong{display:none}.customer-sidebar a{flex:none;padding:10px}.terminal-card #terminal-surface{margin:0 10px 14px}}

/* Shared visual language with the administrator panel */
body:has(#portal:not(.hidden)){background:#f2f5fa}
body:has(#portal:not(.hidden))>header{display:none}
main:has(#portal:not(.hidden)){max-width:none;padding:0}
.customer-layout{display:block}
.customer-sidebar{position:fixed;left:0;top:0;bottom:0;width:242px;z-index:20;display:flex;flex-direction:column;gap:0;border:0;border-radius:0;background:#111c31;color:#dce7fc;box-shadow:none;padding:0 12px}
.customer-sidebar .customer-side-brand{display:flex;align-items:center;gap:11px;padding:16px 7px 19px;margin:0 -12px 14px;border-bottom:1px solid #24344f;border-radius:0;color:#fff}
.customer-sidebar .customer-side-brand:hover{background:transparent;color:#fff}
.customer-side-brand b{display:grid;place-items:center;width:40px;height:40px;flex:0 0 40px;border-radius:12px;background:linear-gradient(145deg,#2864f0,#7658ee);font-size:12px}
.customer-side-brand span{display:flex;flex-direction:column;line-height:1.3}.customer-side-brand strong{font-size:14px}.customer-side-brand small{font-size:10px;color:#9aafd1;font-weight:400}
.customer-side-links{display:flex;flex-direction:column;gap:5px}
.customer-side-links a{display:flex;align-items:center;gap:12px;color:#a9c6fd;font-size:13px;font-weight:550;padding:12px 13px;border-radius:9px}
.customer-side-links a>span{font-size:16px;display:inline-grid;place-items:center;width:20px;color:#8bafff}
.customer-side-links a:hover,.customer-side-links a.active{background:#20314e;color:#fff}
.customer-side-links a.active{border-left:3px solid #3680ff;padding-left:10px}
.customer-side-foot{display:flex;align-items:start;gap:10px;margin-top:auto;border-top:1px solid #293852;padding:18px 10px 30px}
.customer-side-foot>div{display:flex;flex-direction:column;line-height:1.4}.customer-side-foot strong{color:#fff;font-size:12px}.customer-side-foot small{color:#9aafd1;font-size:10px}
.customer-online-dot{width:8px;height:8px;background:#17bb87;border-radius:50%;margin-top:5px;box-shadow:0 0 0 4px #17bb8720}
.customer-content{margin-left:242px}
.customer-topbar{position:sticky;top:0;z-index:10;display:flex;align-items:center;justify-content:space-between;min-height:63px;background:#fff;border-bottom:1px solid var(--line);padding:0 28px;font-size:13px}
.customer-topbar-actions{display:flex;align-items:center;gap:14px}.customer-topbar-actions>a{font-size:11px;margin-right:8px}
#customer-topbar-avatar{display:grid;place-items:center;width:35px;height:35px;border-radius:50%;background:#eaf0ff;color:#2056d4;font-weight:800}
.customer-topbar-identity{display:flex;flex-direction:column;line-height:1.3}.customer-topbar-identity small{color:var(--muted);font-size:10px}
#logout{background:#fff;color:var(--ink);border:1px solid var(--line);padding:8px 12px;border-radius:9px;font-size:12px;cursor:pointer}
.customer-page-body{width:min(1440px,100%);padding:32px clamp(18px,4vw,68px) 80px;margin:auto}
.portal-head{margin:0 0 22px}.portal-head h1{font-size:clamp(28px,3vw,36px);margin:7px 0}.portal-head p{font-size:12px}
.customer-page-body [data-page-section]:not([data-page-section="home"]){padding-top:4px}
@media(max-width:850px){.customer-sidebar{width:68px;padding:0 7px}.customer-sidebar .customer-side-brand{justify-content:center;margin:0 -7px 12px;padding:15px 0}.customer-side-brand span,.customer-side-links a{font-size:0}.customer-side-links a{justify-content:center;padding:12px 5px}.customer-side-links a.active{padding-left:2px}.customer-side-links a>span{font-size:19px}.customer-side-foot{justify-content:center;padding:16px 0}.customer-side-foot>div{display:none}.customer-content{margin-left:68px}.customer-topbar{padding:0 16px}.customer-page-body{padding:26px 18px 70px}}
@media(max-width:580px){.customer-sidebar{width:56px;padding:0 4px}.customer-side-brand b{width:35px;height:35px;flex-basis:35px}.customer-content{margin-left:56px}.customer-topbar{gap:8px;padding:0 10px}.customer-topbar-actions{gap:7px}.customer-topbar-actions>a,.customer-topbar-identity small{display:none}.customer-topbar-identity strong{max-width:85px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}#customer-topbar-avatar{width:28px;height:28px}#logout{padding:7px;font-size:11px}.customer-page-body{padding:20px 12px 55px}}

.customer-sidebar .customer-side-brand.active{background:transparent;color:#fff}

/* Applications, Plans and terminal session controls */
.section-action,.terminal-card .section-action,.web-files-card .section-action{flex:none;align-self:flex-start;padding:9px 14px;border:1px solid #b9cef5;border-radius:9px;background:#f2f6ff;color:#1752c1;font-size:12px;font-weight:700;cursor:pointer}
.section-action:hover{background:#e3edff}.section-action:focus-visible,.package-item button:focus-visible{outline:3px solid #8bb3ff;outline-offset:2px}
.terminal-session-badge{display:inline-flex;margin:0 22px 13px;padding:5px 10px;border-radius:999px;color:#087f5b;background:#e4f7ef;font-size:11px;font-weight:700}
.customer-side-links a[href="#shell-access"].session-connected:after{content:"●";color:#20cc96;margin-left:auto;font-size:11px}
.packages-card{max-width:1000px}.packages-card>p{color:var(--muted);margin:4px 0 20px}.package-catalog{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.package-item{display:flex;flex-direction:column;justify-content:space-between;gap:16px;border:1px solid var(--line);border-radius:12px;background:#fbfcff;padding:20px;min-width:0}
.package-item h3{margin:0 0 6px}.package-item p{margin:0 0 14px;color:var(--muted)}
.package-item code{display:block;padding:12px;border-radius:8px;background:#edf3ff;overflow-wrap:anywhere}
.package-item small{display:block;margin:12px 0;color:var(--muted);line-height:1.5}.package-item button{align-self:flex-start;background:var(--blue);color:white;border:0;border-radius:9px;padding:10px 13px;font-weight:700;cursor:pointer}
@media(max-width:760px){.package-catalog{grid-template-columns:1fr}.terminal-card .section-head,.web-files-card .section-head{flex-wrap:wrap}}

/* Compact technical overview and application controls */
.portal-head h1{font-size:26px;line-height:1.14;letter-spacing:-.025em;margin:4px 0}
.portal-head{margin-bottom:12px}.metrics{gap:12px;margin:12px 0 18px}.metrics article{padding:14px 17px}.metrics strong{font-size:19px;margin-top:4px}
.customer-page-body{padding-top:22px}.shell-overview{padding:13px 4px}.shell-overview h3{font-size:18px;margin:3px 0}.shell-note{margin:8px 0 10px}.shell-facts{gap:8px 20px;padding:9px 0}.shell-connect{padding:13px}.shell-website{padding:11px 13px}
.package-actions{display:flex;flex-wrap:wrap;gap:7px}.package-item .package-actions button{font-size:11px;padding:8px 10px}.package-actions button:not(:first-child){border:1px solid #c8d9f7;background:#f4f7fd;color:#1b4fa7}
#package-actions-status{margin-top:16px;color:#354c70;font-size:12px}.package-command-output{white-space:pre-wrap;overflow-wrap:anywhere;padding:15px;background:#111c31;color:#e6edfa;border-radius:9px;min-height:46px;font-size:12px}
.package-item input{max-width:240px}

.customer-profile{position:relative}
#customer-profile-toggle{display:flex;align-items:center;gap:9px;padding:5px 8px;border:1px solid transparent;border-radius:9px;background:transparent;color:var(--ink);cursor:pointer}
#customer-profile-toggle:hover,#customer-profile-toggle[aria-expanded="true"]{background:#f1f5ff;border-color:#dae5f5}
.customer-profile-menu{position:absolute;right:0;top:calc(100% + 8px);width:265px;z-index:50;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 18px 45px #182d4b2b;padding:10px}
.customer-profile-menu>strong,.customer-profile-menu>span{display:block;padding:2px 8px;overflow-wrap:anywhere}.customer-profile-menu>span{font-size:11px;color:var(--muted);padding-bottom:12px;margin-bottom:7px;border-bottom:1px solid var(--line)}
.customer-profile-menu>a,.customer-profile-menu>button{display:block;width:100%;padding:10px;border:0;border-radius:8px;background:#fff;color:var(--ink);font-size:12px;text-align:left;cursor:pointer}
.customer-profile-menu>a:hover,.customer-profile-menu>button:hover{background:var(--blue-soft);color:var(--blue)}
.account-settings-card{max-width:980px}.account-settings-card>p{color:var(--muted);margin:0 0 20px}
.account-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.account-settings-grid form{border:1px solid var(--line);background:#fbfcff;border-radius:12px;padding:20px}
.account-settings-grid h3{margin:0 0 12px}.account-settings-grid small{display:block;color:var(--muted);font-size:11px}
.account-settings-grid form>button{margin:16px 0 0}.account-settings-grid form>span{display:block;margin-top:10px;color:#1751ab;font-size:12px}
.account-settings-grid input[readonly]{background:#f0f3f8;color:#536581}
@media(max-width:760px){.account-settings-grid{grid-template-columns:1fr}}

.account-settings-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 16px}
.account-settings-facts>div{padding:12px 14px;border:1px solid var(--line);border-radius:10px;background:#f7faff}
.account-settings-facts span{display:block;color:var(--muted);font-size:10px;text-transform:uppercase;letter-spacing:.04em}
.account-settings-facts strong{display:block;margin-top:4px;overflow-wrap:anywhere;font-size:13px;text-transform:capitalize}
@media(max-width:600px){.account-settings-facts{grid-template-columns:1fr}}

/* Consistent customer action controls */
.customer-page-body .ui-action,.customer-page-body .section-action,
.customer-page-body .package-actions button,.customer-page-body .web-files-toolbar button,
.customer-page-body .web-files-upload,.customer-page-body .web-files-editor-actions button{
 display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:38px;
 margin:0;padding:8px 13px;border:1px solid #b9cef5;border-radius:9px;
 background:#f2f6ff;color:#1752c1;font:700 12px/1.35 Inter,system-ui,sans-serif;
 cursor:pointer;box-shadow:0 1px 2px #1528440b;transition:background .15s,border-color .15s,box-shadow .15s
}
.customer-page-body .ui-action:hover,.customer-page-body .section-action:hover,
.customer-page-body .package-actions button:hover,.customer-page-body .web-files-toolbar button:hover,
.customer-page-body .web-files-upload:hover,.customer-page-body .web-files-editor-actions button:hover{
 background:#e6efff;border-color:#8eaff0;box-shadow:0 3px 10px #163e8117
}
.customer-page-body .ui-action:focus-visible,.customer-page-body .section-action:focus-visible,
.customer-page-body button:focus-visible,.customer-page-body .web-files-upload:focus-within{
 outline:3px solid #82a9fc;outline-offset:2px
}
.customer-page-body button:disabled{opacity:.48;cursor:not-allowed;box-shadow:none}
.shell-overview .shell-overview-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin-top:15px}
.shell-overview-actions .web-files-open,.shell-overview-actions .terminal-open{margin:0}
.customer-page-body .package-actions button:first-child{background:#2864f0;border-color:#2864f0;color:#fff}
.customer-page-body .package-actions button:first-child:hover{background:#164bc4;border-color:#164bc4}
.customer-page-body .web-file-row button:first-child{min-height:36px}
/* Compact technical overview typography */
.customer-page-body [data-page-section="home"] .eyebrow{font:800 10px/1.3 ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:.11em}
.customer-page-body [data-page-section="home"] .portal-head h1{font-size:24px;letter-spacing:-.03em;margin:4px 0 2px}
.customer-page-body [data-page-section="home"] .metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:12px 0 16px}
.customer-page-body [data-page-section="home"] .metrics article{padding:13px 16px;border-top:2px solid #bcd0f6}
.customer-page-body [data-page-section="home"] .metrics span,
.customer-page-body [data-page-section="home"] .shell-facts span{
 font:700 10px/1.35 ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:.025em
}
.customer-page-body [data-page-section="home"] .metrics strong{font-size:18px;line-height:1.2;letter-spacing:-.02em}
.customer-page-body [data-page-section="home"] .shell-facts{gap:0;padding:0;border:1px solid #e4eaf3;border-radius:10px;overflow:hidden;background:#fbfcff}
.customer-page-body [data-page-section="home"] .shell-facts>div{padding:10px 13px;border-bottom:1px solid #e8edf5}
.customer-page-body [data-page-section="home"] .shell-facts>div:nth-child(odd){border-right:1px solid #e8edf5}
.customer-page-body [data-page-section="home"] .shell-facts>div:nth-last-child(-n+2){border-bottom:0}
.customer-page-body [data-page-section="home"] .shell-facts code,
.customer-page-body [data-page-section="home"] .shell-connect code{font:600 12px/1.5 ui-monospace,SFMono-Regular,Consolas,monospace}
.customer-page-body [data-page-section="home"] .shell-overview-head>strong{font-size:12px;padding:4px 10px;background:#edf3ff;border-radius:999px;color:#2053bd}
.customer-page-body [data-page-section="home"] .shell-note{font-size:12px}
@media(max-width:680px){
 .customer-page-body [data-page-section="home"] .metrics{grid-template-columns:1fr}
 .customer-page-body [data-page-section="home"] .shell-facts>div:nth-child(odd){border-right:0}
 .customer-page-body [data-page-section="home"] .shell-facts>div:nth-last-child(2){border-bottom:1px solid #e8edf5}
}

/* Shared primary button geometry and paired shell actions */
.customer-page-body form>button,.customer-page-body .plan-select,.customer-page-body .primary-link{
 min-height:38px;padding:9px 14px;border-radius:9px;font:700 12px/1.35 Inter,system-ui,sans-serif
}
.customer-page-body .shell-overview>.ui-action{margin:14px 9px 0 0}
.customer-page-body .terminal-card .section-action,
.customer-page-body .web-files-card .section-action{white-space:nowrap}

.web-files-scope{display:flex;align-items:center;gap:16px;flex-wrap:wrap;padding:12px 22px 0;border-top:1px solid #e9eef6}
.web-files-scope label{min-width:230px;margin:0}.web-files-scope select{margin:4px 0 0;padding:9px 11px}
.web-files-scope>span{font-size:12px;color:var(--muted)}
.web-files-sftp{padding:14px 22px 20px;margin:0;color:var(--muted);font-size:12px;border-top:1px solid #e9eef6}
.web-files-sftp code{font:600 12px ui-monospace,SFMono-Regular,Consolas,monospace;color:#1b4fa7;overflow-wrap:anywhere}

.web-files-instance-empty{display:flex;align-items:center;flex-wrap:wrap;gap:5px;margin:11px 22px 0;padding:11px 13px;background:#f1f6ff;border:1px solid #d2e0fa;border-radius:9px;color:#344969;font-size:12px}
.web-files-instance-empty button{border:0;background:transparent;color:#1656bf;font-size:12px;font-weight:750;cursor:pointer;text-decoration:underline;text-underline-offset:2px;padding:0}
.web-files-instance-empty button:hover{color:#103e91}

.customer-shell-picker{display:flex;align-items:center;gap:8px;font-size:12px}.customer-shell-picker select{max-width:270px;margin:0;padding:7px 10px}.shell-context{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:12px 16px;margin-bottom:16px}.shell-context code{font-size:12px}.shell-context span{color:var(--muted,#94a3b8)}#shell-network-details code{display:block}#shell-network-details pre{white-space:pre-wrap;overflow-wrap:anywhere}@media(max-width:700px){.customer-topbar-actions{flex-wrap:wrap}.customer-shell-picker select{max-width:210px}}

.dns-management{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:18px}.dns-management form{display:grid;gap:10px;padding:16px;border:1px solid #334155;border-radius:12px}.dns-management label{display:grid;gap:5px}.dns-management input,.dns-management select{width:100%;min-width:0}.dns-management input[readonly]{opacity:.6;cursor:not-allowed}.dns-address,.dns-job{display:grid;gap:5px;padding:10px 0;border-bottom:1px solid #334155}.dns-address code,#dns-verification code{display:block;overflow-wrap:anywhere;white-space:normal}.dns-management h3{font-size:16px;margin:0}#dns-verification{margin-top:14px}@media(max-width:760px){.dns-management{grid-template-columns:1fr}}

/* Visible selected-shell control, using the dashboard action palette. */
.customer-topbar{padding-top:8px;padding-bottom:8px;gap:14px}
.customer-shell-picker{display:grid;gap:4px;align-items:start;margin:0;padding:8px 11px;border:1px solid #b9cef5;border-radius:9px;background:#f2f6ff;color:#1752c1;min-width:230px}
.shell-picker-heading{display:flex;align-items:center;gap:7px;font-size:11px;line-height:1.3}
.shell-picker-heading>small{margin-left:auto;font-size:10px;padding:2px 6px;border-radius:5px;background:#dce8ff;color:#174ba8}
.shell-picker-heading>small:empty{display:none}
.customer-shell-picker select{width:100%;max-width:330px;min-height:36px;margin:0;padding:7px 32px 7px 10px;border:1px solid #8eaff0;border-radius:7px;background:#fff;color:#17365f;font:700 12px/1.35 Inter,system-ui,sans-serif;cursor:pointer}
.customer-shell-picker select:focus-visible{outline:3px solid #82a9fc;outline-offset:2px}
#shell-picker-hint{font-size:10px;font-weight:500;color:#486284;line-height:1.35}
.customer-page-body .dns-management .ui-action{justify-self:start;width:auto}
@media(max-width:700px){.customer-topbar{flex-wrap:wrap}.customer-topbar-actions{justify-content:flex-end;flex:1}.customer-shell-picker{min-width:190px}.customer-shell-picker select{max-width:100%}}
@media(max-width:440px){.customer-topbar-actions{width:100%;justify-content:space-between}.customer-shell-picker{flex:1;min-width:0}#shell-picker-hint{max-width:220px}}

.shell-keep-card{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 20px;margin-bottom:16px;border-color:#b9cef5;background:#f7faff}.shell-keep-card h2{font-size:17px;margin:4px 0}.shell-keep-card p{font-size:12px;margin:6px 0;color:#344969}.shell-keep-card small{font-size:11px;color:#586e8d;line-height:1.5}.shell-keep-card button{white-space:nowrap}@media(max-width:600px){.shell-keep-card{align-items:flex-start;flex-direction:column}}

/* Compact live renewal instrument; no animation or network polling. */
.shell-keep-card>div:first-child{flex:1;min-width:0}.keep-clock{position:relative;width:86px;height:86px;flex:0 0 86px;color:#2161cc}.keep-clock svg{width:100%;height:100%;transform:rotate(-90deg)}.keep-clock circle{fill:none;stroke-width:6;stroke-linecap:round}.keep-clock-track{stroke:#dfe8f5}.keep-clock-progress,#keep-clock-progress{stroke:currentColor}.keep-clock>div{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column}.keep-clock strong{font:750 25px/1.1 ui-monospace,monospace}.keep-clock small{font:700 8px/1.8 ui-monospace,monospace;letter-spacing:.06em}.keep-clock[data-level="urgent"]{color:#b45309}.keep-clock[data-level="off"]{color:#74869e}.keep-clock-digits{display:grid;gap:5px;text-align:center;min-width:112px}.keep-clock-digits>span{font:700 21px/1.2 ui-monospace,monospace;font-variant-numeric:tabular-nums;color:#183858;letter-spacing:.06em}.keep-clock-digits>small{font-size:10px;max-width:150px}@media(max-width:900px){.shell-keep-card{flex-wrap:wrap}.shell-keep-card>div:first-child{flex-basis:100%}}@media(max-width:600px){.shell-keep-card{flex-direction:row;align-items:center}.shell-keep-card>button{margin-left:auto}}

.keep-clock[data-level="paused"]{color:#7c3aed}

.inbox-message{padding:16px 0;border-bottom:1px solid #dde5ef}.inbox-message h3{font-size:14px;margin:0 0 6px}.inbox-message small{color:#68758a;font-size:11px}.inbox-message p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px}

/* Customer dashboard theme: compact opaque cards, quiet blue actions, dark navigation. */
:root{--ink:#22324b;--muted:#61728b;--line:#dce5f0;--blue:#1752c1;--blue-dark:#1547a5;--blue-soft:#f2f6ff;--bg:#f5f7fc;--shadow:0 2px 9px rgba(18,39,74,.045)}
body{background:var(--bg);font-size:13px;line-height:1.5}
.customer-sidebar{width:220px;background:#132039;padding:0 12px;overflow-y:auto}
.customer-content{margin-left:220px}.customer-sidebar .customer-side-brand{padding:20px 8px;margin-bottom:12px}.customer-side-brand b{background:#2864f0;border-radius:10px}
.customer-side-links{gap:4px}.customer-side-links a{color:#aebed6;padding:10px 12px;font-size:12px;font-weight:600}.customer-side-links a>span{color:#aebed6}.customer-side-links a.active,.customer-side-links a:hover{background:#263754;color:#fff}.customer-side-links a.active{border-left:0;padding-left:12px}.customer-side-foot small{font-size:11px}
.customer-topbar{min-height:64px;background:#fff;padding:12px 22px}.customer-shell-picker{background:#f5f8ff;border-color:#d2dff3;padding:7px 10px;min-width:220px}.customer-shell-picker select{border-color:#c6d4e9;font-weight:600}.customer-topbar-identity small,#shell-picker-hint{font-size:11px}
.customer-page-body{padding:24px;max-width:1440px}.customer-page-body .card{background:#fff;border:1px solid var(--line);border-radius:10px;padding:18px;box-shadow:var(--shadow)}
.customer-page-body h1{font-size:25px;line-height:1.3;letter-spacing:-.4px}.customer-page-body h2{font-size:20px;line-height:1.3;margin-bottom:10px}.customer-page-body h3{font-size:14px;line-height:1.4}.customer-page-body p{font-size:13px;line-height:1.5}.customer-page-body .eyebrow{font-size:11px;letter-spacing:.08em;font-weight:600}
.customer-page-body label{font-size:12px;font-weight:600}.customer-page-body input,.customer-page-body select,.customer-page-body textarea{background:#fff;color:var(--ink);border:1px solid #cbd6e5;border-radius:8px;font-size:13px;padding:9px 11px}.customer-page-body input[type=checkbox]{width:auto}.customer-page-body input:focus,.customer-page-body select:focus,.customer-page-body textarea:focus{border-color:#8eaff0;box-shadow:0 0 0 3px #2864f012}
.customer-page-body button,.customer-page-body .ui-action{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:38px;padding:8px 13px;border:1px solid #b9cef5;border-radius:9px;background:#f2f6ff;color:#1752c1;font:600 12px/1.35 Inter,system-ui,sans-serif;cursor:pointer;box-shadow:0 1px 2px #1528440b;white-space:normal}
.customer-page-body button:hover,.customer-page-body .ui-action:hover{background:#e6efff;border-color:#8eaff0;filter:none}.customer-page-body button:focus-visible{outline:3px solid #82a9fc;outline-offset:2px}.customer-page-body button:disabled{opacity:.48;cursor:not-allowed}.customer-page-body button.danger{background:#fff2f2;color:#ba3434;border-color:#edbcbc}
.customer-page-body .dns-management form{background:#fff;border-color:var(--line)}.customer-page-body .dns-address,.customer-page-body .dns-job{border-color:var(--line)}
.customer-page-body .metrics{gap:12px;margin:18px 0}.customer-page-body .metrics article{border-radius:10px;padding:16px;border-color:var(--line);box-shadow:var(--shadow)}.customer-page-body .metrics strong{font-size:23px}.customer-page-body .metrics span{font-size:11px}
.customer-page-body .shell-overview{border-color:var(--line);background:#fff}.customer-page-body .shell-keep-card{background:#f7faff;border-color:#d5e3fb}.customer-page-body .account-settings-facts>div{border-radius:9px;background:#f8faff}
.package-page-head,.package-manager-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.package-page-head h2{margin:0 0 5px}.package-page-head p{margin:0;color:var(--muted)}
.package-plan-summary{margin:18px 0;color:var(--blue);font-size:12px;font-weight:600}.customer-page-body .package-catalog{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0 0 16px}.customer-page-body .package-item{display:block;padding:16px;background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:var(--shadow);min-width:0}.package-title{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;flex-wrap:wrap}.package-title h3{margin:0}.package-state{font-size:11px;border-radius:20px;padding:3px 9px;background:#e8f2ff;color:#1752c1}.customer-page-body .package-item p{color:var(--muted);margin:10px 0 0;min-height:38px}.customer-page-body .package-actions{display:flex;flex-direction:row;justify-content:flex-start;gap:7px;flex-wrap:wrap;margin-top:14px}.customer-page-body .package-actions button:first-child{background:#f2f6ff;border-color:#b9cef5;color:#1752c1}.customer-page-body .package-actions button:first-child:hover{background:#e6efff}
#package-detail{margin:0 0 16px}#package-detail p{color:var(--muted)}#package-detail label{margin:12px 0}#package-detail code{display:block;padding:11px;background:#f3f6fb;border-radius:8px;white-space:normal;overflow-wrap:anywhere;color:#22324b}.package-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 14px}.package-connection{display:grid;gap:5px;font-size:12px;padding:12px 0}.package-instances{display:flex;gap:8px;flex-wrap:wrap;font-size:12px;color:var(--muted)}.package-instances span{padding:4px 8px;border-radius:6px;background:#f3f6fb}.package-port-note{margin-top:14px;font-size:12px}.package-resource-note{font-size:12px;color:var(--muted)}#package-actions-status{margin:12px 0;font-size:12px}.package-command-output:empty{display:none}.customer-page-body .package-command-output{background:#142139;color:#dce6f5;border-radius:9px;max-height:320px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;padding:14px}
@media(max-width:1000px){.customer-sidebar{width:190px}.customer-content{margin-left:190px}.customer-page-body{padding:20px}.customer-topbar-actions>a{display:none}}
@media(max-width:850px){.customer-sidebar{width:68px;padding:0 7px}.customer-content{margin-left:68px}.customer-side-links a{font-size:0;padding:12px 5px}.customer-side-links a.active{padding-left:5px}.customer-page-body{padding:18px}.customer-topbar{padding:10px 16px}}
@media(max-width:600px){.customer-page-body .package-catalog,.package-form-grid{grid-template-columns:1fr}.customer-page-body{padding:16px 12px}.customer-page-body .card{padding:15px}.customer-sidebar{width:56px;padding:0 4px}.customer-content{margin-left:56px}.customer-topbar{padding:10px}.customer-shell-picker{min-width:0}.customer-topbar-actions{min-width:0;width:100%}.customer-page-body h1{font-size:23px}.customer-page-body h2{font-size:19px}}

.eggdrop-instance-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:18px 0}.eggdrop-instance-card{min-width:0;padding:16px;background:#fff;border:1px solid var(--line);border-radius:10px}.eggdrop-instance-card h3{margin:0}.eggdrop-instance-card .package-connection{overflow-wrap:anywhere}.package-state.is-running{background:#e5f6ee;color:#166744}.package-state.is-stopped{background:#edf0f5;color:#5d687b}.eggdrop-new-bot{padding:16px;margin-top:18px;background:#f6f8fc;border:1px solid var(--line);border-radius:10px}.eggdrop-new-bot>summary{cursor:pointer;font-weight:600;color:#1752c1}.eggdrop-instance-card .package-command-output:empty{display:none}@media(max-width:760px){.eggdrop-instance-grid{grid-template-columns:1fr}}

/* Managed private Cloud IRC */
.lounge-frame{width:100%;height:min(78vh,900px);min-height:460px;border:1px solid var(--border,#263246);border-radius:14px;margin-top:20px;background:#111820}
@media(max-width:700px){.lounge-frame{min-height:520px;height:80vh}}

/* Consistent logo tiles keep package headings aligned across the catalog. */
.package-heading{display:flex;align-items:center;gap:10px;flex-wrap:wrap;min-width:0}
.package-logos{display:inline-flex;align-items:center;gap:7px;flex-shrink:0}
.package-logo{display:block;box-sizing:border-box;width:64px;height:48px;padding:5px;object-fit:contain;flex-shrink:0;border:1px solid #e1e5eb;border-radius:8px;background:#fff}
@media(max-width:600px){.package-heading{gap:8px}.package-logos{gap:5px}}

/* Match the admin brand and give the selected category a clear blue edge. */
.customer-side-brand b{box-shadow:inset 0 0 0 2px #477cff;border-radius:12px}
.customer-side-brand b img{display:block;width:100%;height:100%}
header .brand>b{width:56px;height:56px;flex:0 0 56px;box-shadow:inset 0 0 0 2px #477cff;border-radius:15px}
header .brand>b img{display:block;width:56px;height:56px}
.customer-side-links a.active{background:#203657;color:#fff;box-shadow:inset 3px 0 #3680ff}
.customer-side-links a.active>span{color:#86b5ff}
.customer-side-links a:focus-visible{outline:2px solid #3680ff;outline-offset:2px}

/* DarkWorld community destinations. */
.presence-tagline{max-width:720px;line-height:1.7}
.presence-platforms{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin:24px 0}
.presence-platform{--presence-icon-bg:#17263d;display:flex;flex-direction:column;align-items:flex-start;min-width:0;padding:22px;border:1px solid #334762;border-radius:15px;background:#152238;color:#e6efff;text-decoration:none;transition:border-color .15s,background .15s}
.presence-platform:hover{border-color:var(--presence-color);background:#1c2e49;color:#fff}
.presence-platform:focus-visible{outline:2px solid var(--presence-color);outline-offset:3px}
.presence-icon{display:grid;place-items:center;width:48px;height:48px;background:var(--presence-icon-bg);border:1px solid #3b4e69;border-radius:13px;color:var(--presence-color)}
.presence-icon svg{width:24px;height:24px;fill:currentColor}
.presence-platform h3{font-size:16px;margin:16px 0 6px;color:inherit}
.presence-platform p{font-size:13px;line-height:1.6;color:#b7c7df;margin:0 0 20px}
.presence-action{display:flex;gap:10px;align-items:center;margin-top:auto;font-size:12px;font-weight:700;color:var(--presence-color)}
.presence-pending{border-style:dashed}.presence-pending:hover{background:#152238;border-color:#334762}.presence-pending .presence-action{color:#a8b7ce}
.presence-network-link{display:inline-flex;gap:10px;align-items:center;font-size:13px;font-weight:700}
@media(max-width:1100px){.presence-platforms{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:850px){.presence-platforms{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.presence-platforms{grid-template-columns:1fr}.presence-platform{padding:18px}}
@media(prefers-reduced-motion:reduce){.presence-platform{transition:none}}

/* Keep overview notices and shell connection details on their own pages. */
.customer-layout:not(:has(.customer-side-links a[data-customer-page="home"].active)) #portal-tickers{display:none!important}
.customer-layout:not(:has(.customer-side-links a[data-customer-page="shell-access"].active)) #selected-shell-context{display:none!important}

/* One compact dashboard header. */
.customer-topbar{gap:14px;flex-wrap:nowrap;min-height:60px;padding:10px 22px}
#customer-page-title{font-weight:700;flex-shrink:0}
.customer-topbar #portal-tickers{display:flex;align-items:center;flex:1 1 240px;min-width:0;margin:0;gap:6px;max-width:none}
.customer-topbar .portal-ticker{flex:1;min-width:0;background:#f2f6ff;border-color:#d7e3f5;color:#294366;padding:6px 9px;border-radius:8px;font-size:11px;gap:8px}
.customer-topbar .portal-ticker strong,.customer-topbar .portal-ticker a{color:#1752c1}
.customer-topbar .portal-ticker>a{display:none}
.customer-topbar .portal-ticker.community{background:#fff9ea;border-color:#eadcb8;color:#63532c}
.customer-topbar .portal-ticker.community strong{color:#806023}
.customer-topbar-actions{margin-left:auto;flex:0 0 auto;gap:10px;flex-wrap:nowrap;width:auto}
.customer-topbar .customer-shell-picker{display:block;position:relative;margin:0;padding:0;border:0;background:transparent;min-width:0;width:180px}
.customer-topbar .customer-shell-picker select{min-height:36px;font-size:11px;font-weight:600;max-width:100%;background:#f5f8ff}
.customer-topbar .shell-picker-heading,.customer-topbar #shell-picker-hint{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.customer-topbar .donation-top-button{min-height:36px;padding:7px 12px;font-size:12px;flex-shrink:0}
.customer-topbar-identity small{display:none}
.header-notice-options{position:relative;flex-shrink:0;color:#1752c1}
.header-notice-options>summary{cursor:pointer;list-style:none;font-size:22px;line-height:1;padding:4px 6px;border-radius:6px}
.header-notice-options>summary::-webkit-details-marker{display:none}
.header-notice-options>summary:focus-visible{outline:2px solid #3680ff}
.header-notice-menu{position:absolute;right:0;top:calc(100% + 12px);width:min(360px,70vw);max-height:60vh;overflow:auto;padding:14px;border:1px solid var(--line);border-radius:10px;background:#fff;box-shadow:0 8px 28px #15284422;color:var(--ink)}
.customer-topbar .portal-ticker-readable{margin:8px 0;color:#61728b;font-size:11px}
.customer-topbar #portal-ticker-pause{border:1px solid #b9cef5;border-radius:7px;background:#f2f6ff;color:#1752c1;font:inherit;font-size:11px;padding:5px 9px;cursor:pointer}
@media(max-width:1100px){.customer-topbar{gap:10px;padding:10px 16px}.customer-topbar .customer-shell-picker{width:155px}.customer-topbar .portal-ticker strong{display:none}}
@media(max-width:850px){.customer-topbar{flex-wrap:wrap}.customer-topbar #portal-tickers{order:3;flex-basis:100%}.customer-topbar-actions{gap:8px}.customer-topbar .customer-shell-picker{width:145px}}
@media(max-width:500px){.customer-topbar{padding:8px 10px;gap:8px}.customer-topbar-actions{flex:1;justify-content:flex-end}.customer-topbar .customer-shell-picker{width:110px;flex:0 1 110px}.customer-topbar .donation-top-button{padding:7px 8px;font-size:11px}.customer-topbar-identity{display:none}}

/* Grouped customer navigation with consistent outline icons. */
.customer-nav-group{display:grid;gap:3px}
.customer-nav-heading{margin:12px 12px 5px;color:#8299ba;font-size:9px;font-weight:700;line-height:1.4;letter-spacing:.08em;text-transform:uppercase}
.customer-nav-group:first-child .customer-nav-heading{margin-top:0}
.customer-side-links a{gap:10px}
.customer-side-links a>.customer-nav-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 20px;width:20px;height:20px}
.customer-nav-icon svg{display:block;width:18px;height:18px;flex-shrink:0}
.customer-side-links a:hover .customer-nav-icon{color:#c5dcff}
.customer-side-links a.active .customer-nav-icon{color:#86b5ff}
@media(max-width:850px){.customer-nav-heading{display:none}.customer-nav-group+.customer-nav-group{padding-top:8px;margin-top:5px;border-top:1px solid #283b58}.customer-nav-icon svg{width:20px;height:20px}}

/* Overview shortcuts and selected-shell application status. */
.overview-shortcuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0}
.customer-page-body .overview-shortcuts button{display:grid;grid-template-columns:28px 1fr;gap:3px 10px;justify-content:start;text-align:left;padding:15px;background:#fff;border-color:var(--line);color:var(--ink)}
.overview-shortcuts button>span{grid-row:span 2;align-self:center;color:#2864f0;font-size:22px}.overview-shortcuts strong{font-size:12px}.overview-shortcuts small{color:var(--muted);font-size:10px;font-weight:400}
.overview-apps{margin-bottom:20px}.overview-apps-heading{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:12px}.overview-apps-heading h2{margin:0!important}.overview-apps-heading p{margin:5px 0 0;color:var(--muted);font-size:11px!important}
.overview-app-row{display:flex;align-items:center;gap:14px;padding:12px 0;border-top:1px solid var(--line)}.overview-app-row>div{display:flex;flex-direction:column;gap:3px;flex:1;min-width:0}.overview-app-row strong{overflow-wrap:anywhere;font-size:13px}.overview-app-row small{font-size:10px;color:var(--muted)}
.overview-app-state{font-size:10px;background:#edf1f6;color:#61728b;padding:4px 8px;border-radius:20px;white-space:nowrap}.overview-app-state.running{background:#e4f7ef;color:#07845d}.overview-apps-empty{color:var(--muted);padding:12px 0}
@media(max-width:1100px){.overview-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:500px){.customer-page-body .overview-shortcuts button{padding:12px;gap:3px 6px}.overview-shortcuts small{display:none}.overview-app-row{gap:8px}.overview-apps-heading{align-items:flex-start}}

.overview-shortcuts button>span svg{display:block;width:22px;height:22px}

.overview-alerts{margin:18px 0}.overview-alerts-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.overview-alerts-heading h2{margin:0!important}
.overview-alert{display:flex;align-items:center;gap:12px;padding:12px;border-radius:9px;background:#fff9eb;border:1px solid #ead7a5;margin-top:8px}.overview-alert>span{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#f0dfb0;color:#795519;font-weight:800;flex-shrink:0}.overview-alert p{flex:1;margin:0!important}.overview-alert.urgent{background:#fff2f2;border-color:#edc5c5}.overview-alert.urgent>span{background:#f4d0d0;color:#a42c2c}.overview-alert.info{background:#f3f7ff;border-color:#d5e2f7}.overview-alert.info>span{background:#dce8ff;color:#1752c1}.overview-alerts-clear{color:var(--muted);margin:0;padding:8px 0}
@media(max-width:600px){.overview-alert{flex-wrap:wrap}.overview-alert p{flex-basis:calc(100% - 40px)}.overview-alert button{margin-left:34px}}

/* Package surfaces follow the blue bordered DWShells sign-in cards. */
.customer-page-body .package-catalog{gap:16px}
.customer-page-body .package-item,
.customer-page-body .eggdrop-instance-card{
 border:2px solid #b9cef2;
 border-radius:16px;
 background:linear-gradient(145deg,#ffffff 65%,#f4f9ff);
 box-shadow:0 8px 24px rgba(30,64,120,.07),inset 0 1px 0 rgba(255,255,255,.95);
 padding:20px;
 transition:border-color .18s ease,box-shadow .18s ease;
}
.customer-page-body .package-item:hover,
.customer-page-body .eggdrop-instance-card:hover{
 border-color:#84adeb;
 box-shadow:0 12px 30px rgba(37,99,235,.11);
}
.customer-page-body .package-item:focus-within,
.customer-page-body .eggdrop-instance-card:focus-within{
 border-color:#2563eb;
 box-shadow:0 0 0 3px rgba(37,99,235,.10),0 10px 24px rgba(30,64,120,.07);
}
.customer-page-body #package-detail{
 border:2px solid #b9cef2;
 border-radius:16px;
 box-shadow:0 8px 24px rgba(30,64,120,.07);
}
@media(max-width:600px){
 .customer-page-body .package-item,.customer-page-body .eggdrop-instance-card{padding:16px}
}
@media(prefers-reduced-motion:reduce){
 .customer-page-body .package-item,.customer-page-body .eggdrop-instance-card{transition:none}
}

/* Consistent card surfaces across customer and administrator pages. */
body :is(.card,.plan-card,.resource-card,.community-card,.shell-keep-card,.admin-keep-card,.donation-wallet,.request-card){
 border:2px solid #b9cef2!important;
 border-radius:16px!important;
 box-shadow:0 8px 24px rgba(30,64,120,.07),inset 0 1px 0 rgba(255,255,255,.75)!important;
 transition:border-color .18s ease,box-shadow .18s ease;
}
body :is(.card,.plan-card,.resource-card,.community-card,.shell-keep-card,.admin-keep-card,.donation-wallet,.request-card):hover{
 border-color:#84adeb!important;
 box-shadow:0 12px 30px rgba(37,99,235,.10)!important;
}
body :is(.card,.plan-card,.resource-card,.community-card,.shell-keep-card,.admin-keep-card,.donation-wallet,.request-card):focus-within,
body .plan-card.selected{
 border-color:#2563eb!important;
 box-shadow:0 0 0 3px rgba(37,99,235,.10),0 10px 24px rgba(30,64,120,.07)!important;
}
@media(prefers-reduced-motion:reduce){
 body :is(.card,.plan-card,.resource-card,.community-card,.shell-keep-card,.admin-keep-card,.donation-wallet,.request-card){transition:none}
}
/* Compact network overview and aligned DNS management surfaces. */
.network-page-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}
.network-page-head h2{margin:4px 0}.network-page-head p{margin:4px 0 0;color:var(--muted);font-size:12px}
.network-summary{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);border:1px solid #d9e5f6;border-radius:12px;background:#f7faff;overflow:hidden}
.network-identity,.network-port-panel{padding:16px;min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:8px}
.network-port-panel{border-left:1px solid #d9e5f6}.network-label{font-size:11px;color:#607593;font-weight:600;text-transform:uppercase;letter-spacing:.04em}
.network-identity>strong{font-size:18px;color:#19345b}.network-identity>code{font-size:12px;overflow-wrap:anywhere;color:#234c84}
.network-summary small{font-size:11px;line-height:1.5;color:var(--muted)}
.network-port-groups{width:100%;display:grid;gap:8px}.network-port-row{display:grid;grid-template-columns:42px minmax(0,1fr);align-items:start;gap:8px}
.network-port-row>span{font-size:11px;color:#526984;font-weight:700;padding-top:5px}.network-port-row>div{display:flex;flex-wrap:wrap;gap:5px}
.network-port-row code{padding:4px 8px;border:1px solid #c8daf5;border-radius:7px;background:#fff;color:#2359af;font-size:12px;line-height:1.25;font-variant-numeric:tabular-nums}
.network-address-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:20px;margin-bottom:10px}.network-address-heading h3{margin:0;font-size:14px}.network-address-heading>span{font-size:11px;color:var(--muted)}
.network-card #dns-current-records{border:1px solid #dae5f3;border-radius:10px;overflow:hidden;margin-bottom:18px}
.network-card .dns-address{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) 110px;align-items:center;gap:12px;padding:12px 14px;margin:0;background:#fbfdff;border:0;border-bottom:1px solid #e2eaf5;border-radius:0}
.network-card .dns-address:last-child{border-bottom:0}.network-card .dns-address code{font-size:12px;color:#234c84;overflow-wrap:anywhere}.network-card .dns-address>span{font-size:12px;overflow-wrap:anywhere;color:#3b506c}.network-card .dns-address small{font-size:10px;text-align:center;border:1px solid #d0dff3;border-radius:20px;padding:4px 7px;color:#315b92;background:#edf4ff}
.network-card .dns-management{gap:16px;margin-top:18px}.network-card .dns-management form{border:2px solid #b9cef2;border-radius:14px;padding:18px;background:linear-gradient(145deg,#fff 65%,#f4f9ff);box-shadow:0 6px 18px rgba(30,64,120,.05);min-width:0}
.network-card .dns-management h3{margin:0 0 8px;font-size:14px}.network-card .dns-management p{font-size:12px;line-height:1.55;color:var(--muted)}.network-card .dns-management label{margin:12px 0;font-size:12px}.network-card .dns-management input,.network-card .dns-management select{width:100%;min-width:0}.network-card .dns-management small{display:block;font-size:11px;line-height:1.6;color:var(--muted);margin:10px 0}.network-card .dns-management .ui-action{margin:6px 6px 0 0}
.network-card .dns-job{border:1px solid #dae5f3;border-radius:9px;padding:10px 12px;background:#f7faff;font-size:12px}
@media(max-width:800px){.network-summary{grid-template-columns:1fr}.network-port-panel{border-left:0;border-top:1px solid #d9e5f6}.network-card .dns-address{grid-template-columns:minmax(0,1fr) 110px}.network-card .dns-address code{grid-column:1/-1}}
@media(max-width:600px){.network-page-head{align-items:flex-start;flex-direction:column}.network-address-heading>span{display:none}.network-card .dns-management{grid-template-columns:1fr}}

/* One heading hierarchy for the customer workspace. */
#portal .customer-page-body :is(h1,h2,h3,h4){
 font-family:inherit;
 font-weight:600;
 line-height:1.4;
 letter-spacing:-.015em;
 color:#19314f;
 overflow-wrap:anywhere;
}
#portal .customer-page-body h1{font-size:24px;line-height:1.3;letter-spacing:-.025em}
#portal .customer-page-body h2{font-size:19px;line-height:1.35}
#portal .customer-page-body h3{font-size:14px}
#portal .customer-page-body h4{font-size:13px}
#portal .customer-page-body .portal-head h1{font-size:24px}
#portal .customer-page-body .eyebrow{
 font-family:inherit;
 font-size:10px;
 line-height:1.4;
 font-weight:600;
 letter-spacing:.075em;
}
#portal #customer-page-title{font-size:16px;font-weight:600;line-height:1.35;letter-spacing:-.015em;color:#19314f}
#portal .customer-page-body :is(.section-head,.network-page-head,.resource-page-heading,.package-page-head) h2{margin:3px 0 6px}
#portal .customer-page-body :is(.package-title,.security-layout,.dns-management) h3{line-height:1.4}
#portal .customer-page-body p{line-height:1.6}
@media(max-width:600px){
 #portal .customer-page-body h1,#portal .customer-page-body .portal-head h1{font-size:22px}
 #portal .customer-page-body h2{font-size:18px}
 #portal #customer-page-title{font-size:15px}
}

/* Labels and metric titles used instead of heading tags on overview, mail and resources. */
#portal .customer-page-body :is([data-page-section="home"],[data-page-section="resources"],#customer-mail) strong{
 font-family:inherit;
 font-weight:600;
 letter-spacing:-.01em;
 line-height:1.4;
}
#portal .customer-page-body [data-page-section="home"] :is(.metrics span,.shell-facts span){
 font-family:inherit;
 font-size:11px;
 font-weight:500;
 line-height:1.5;
 letter-spacing:0;
 color:#637086;
}
#portal .customer-page-body :is(.resource-card>span,.mail-summary span){
 font-family:inherit;
 font-size:11px;
 font-weight:500;
 letter-spacing:.01em;
 line-height:1.5;
}
#portal .customer-page-body :is(.resource-card>strong,.mail-summary strong,[data-page-section="home"] .metrics strong){
 font-size:20px;
 font-weight:600;
 line-height:1.3;
 letter-spacing:-.02em;
 font-variant-numeric:tabular-nums;
}
#portal #customer-mail .mail-box strong{font-size:13px}
#portal #customer-mail :is(label,.mail-form-grid strong){font-size:12px;font-weight:500;line-height:1.5}
#portal .customer-page-body :is(.resource-summary strong,.overview-app-row strong,.overview-shortcuts strong){font-size:13px;font-weight:600}
#portal .customer-page-body :is(.resource-page-heading,.mail-heading,.overview-apps-heading,.overview-alerts-heading) h2{font-size:19px;font-weight:600;line-height:1.35;letter-spacing:-.015em}
#portal #customer-mail .mail-section h3,#portal .customer-page-body .resource-chart h3{font-size:14px;font-weight:600;line-height:1.4}
@media(max-width:600px){
 #portal .customer-page-body :is(.resource-page-heading,.mail-heading,.overview-apps-heading,.overview-alerts-heading) h2{font-size:18px}
}

/* Customer registration, verification and sign-in typography. */
#auth :is(h1,h2,h3){font-family:inherit;font-weight:600;line-height:1.35;letter-spacing:-.02em;color:#19314f}
#auth .intro h1{font-size:32px;line-height:1.2;letter-spacing:-.03em;max-width:540px}
#auth h2{font-size:20px;margin:0 0 18px}
#auth .intro p{font-size:14px;line-height:1.7}
#auth :is(p,li){line-height:1.65}
#auth label{font-size:12px;font-weight:500;line-height:1.5}
#auth .tabs button,#auth form>button{font-weight:600}
#auth .eyebrow{font-size:10px;font-weight:600;letter-spacing:.075em;line-height:1.4}
body :is(.mail-admin,.donation-admin,.notice-admin) :is(h1,h2,h3){font-family:inherit;font-weight:600;line-height:1.4;letter-spacing:-.015em;color:#19314f}
body :is(.mail-admin,.donation-admin,.notice-admin) h1{font-size:24px}
body :is(.mail-admin,.donation-admin,.notice-admin) h2{font-size:19px}
body :is(.mail-admin,.donation-admin,.notice-admin) h3{font-size:14px}
@media(max-width:600px){#auth .intro h1{font-size:28px}#auth h2{font-size:19px}}
/* DWShells sign-in showcase and project footer. */
body:has(#auth:not(.hidden)){background:radial-gradient(ellipse at 8% 20%,#e4f0ff,transparent 52%),radial-gradient(ellipse at 95% 65%,#e4f7fc,transparent 45%),#f5f8fd}
body:has(#auth:not(.hidden))>header{background:rgba(255,255,255,.9)}
#auth{gap:44px 64px;align-items:center}
#auth .auth-hero h1{font-size:clamp(32px,3.4vw,44px);line-height:1.15;letter-spacing:-.035em;margin:16px 0}
#auth .auth-hero>p{max-width:475px;font-size:14px;color:#5c718d}
.auth-feature-tags{display:flex;flex-wrap:wrap;gap:7px;margin:18px 0 22px}.auth-feature-tags span{font-size:11px;color:#2a5a9a;border:1px solid #bfd5f3;background:#edf5ff;padding:5px 9px;border-radius:20px}
.auth-terminal{background:linear-gradient(135deg,#142d4f,#0a192f);border:1px solid #244977;border-radius:14px;max-width:500px;box-shadow:0 16px 36px rgba(20,50,94,.13);overflow:hidden;color:#dbeafe}
.auth-terminal-bar{display:flex;align-items:center;gap:18px;border-bottom:1px solid #254060;padding:11px 15px}.auth-terminal-bar>span{font-size:10px;color:#5e9bde;letter-spacing:4px}.auth-terminal-bar small{font-size:10px;color:#a8beda}.auth-terminal-content{display:grid;gap:13px;padding:19px 17px}.auth-terminal-content>span{font-size:11px;color:#97b8de}.auth-terminal-content code{font-size:12px;overflow-wrap:anywhere;line-height:1.6;color:#e0edff}.auth-terminal-content b{color:#4dd6cf;font-weight:500;margin-right:6px}.auth-terminal-content small{font-size:10px;color:#91acca}
#auth .intro ul{padding:12px 0 0;margin:14px 0 0;font-size:12px}#auth .intro li{margin:7px 0}
#auth .auth-card{padding:26px;border-color:#a9c9f7!important;box-shadow:0 22px 60px rgba(29,67,119,.11)!important;background:rgba(255,255,255,.97)}
#auth .auth-card input{min-height:44px;background:#fbfdff;border-color:#c5d8f2;border-radius:9px}
#auth form>button:not(#twofa-login-cancel){background:linear-gradient(110deg,#2563eb,#138eaf);box-shadow:0 6px 16px rgba(37,99,235,.17);min-height:44px;border-radius:9px}
.auth-project-footer{grid-column:1/-1;padding:28px 0 0;border-top:1px solid #d1dff2;margin-top:6px}.auth-footer-heading{text-align:center}.auth-footer-heading h2{font-size:18px!important;margin:8px 0 5px!important}.auth-footer-heading p{font-size:12px;color:#637895;margin:0 0 20px}
.auth-project-links{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.auth-project-links>a{display:flex;align-items:center;gap:10px;padding:12px 10px;min-width:0;text-decoration:none;border:1px solid #c9daf2;border-radius:12px;background:rgba(255,255,255,.8);color:#19314f;box-shadow:0 5px 14px rgba(30,64,120,.04);transition:border-color .15s,background .15s}.auth-project-links>a:hover{background:#fff;border-color:#79a9ed}.auth-project-links>a:focus-visible{outline:3px solid #82a9fc;outline-offset:2px}.auth-project-links>a>span:nth-child(2){min-width:0;display:grid;gap:4px}.auth-project-links strong{font-size:11px;font-weight:600;line-height:1.4}.auth-project-links small{font-size:10px;line-height:1.4;color:#70839c}.auth-project-links a>b{font-size:12px;color:#5980af;margin-left:auto}.auth-project-icon{width:34px;height:34px;flex:0 0 34px;display:grid;place-items:center;border-radius:9px;background:#edf4ff;padding:3px;color:#2864f0}.auth-project-icon img,.auth-project-icon svg{width:100%;height:100%;object-fit:contain}.auth-footer-note{display:flex;justify-content:space-between;gap:12px;margin-top:18px;font-size:10px;color:#7a8da6}
@media(max-width:1000px){.auth-project-links{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){#auth{gap:28px}#auth .auth-hero h1{font-size:32px}.auth-project-links{grid-template-columns:repeat(2,minmax(0,1fr))}.auth-footer-note{flex-direction:column;align-items:center}.auth-terminal{max-width:none}}
@media(max-width:400px){.auth-project-links{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.auth-project-links>a{transition:none}}
