/* Additions on top of the generated design CSS (ui/ui.css). */
button { font-family: inherit; cursor: pointer; }
.un8cpvp { margin: 0; }
.u1orljfw { border: 0; width: 100%; }
.u1orljfw:disabled { opacity: .6; cursor: progress; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; text-align: center; }
.code-box { padding: 0; min-width: 0; text-align: center; color: #111; outline: 0; font-family: inherit; }
.code-box:focus, .f:focus { box-shadow: 0 0 0 3px #CFFF4A, 0 0 0 5px #111; }
.code-box.filled { background: #CFFF4A; }
.f[hidden], .code-box[hidden] { display: none; }
.err { color: #B42318 !important; font-weight: 700; }
.soon { opacity: .35; cursor: not-allowed; }
.iconbtn { background: transparent; padding: 0; cursor: pointer; }

/* The designs are fixed artboards; the live pages fill the viewport. */
/* The page is centred in a column, so the whole window needs the dark background, not just the column. */
html, body { margin: 0; background: #0E0E10; color-scheme: dark; }
.ux5eptu { width: 100%; min-height: 100vh; height: auto; overflow: visible; }
.un8cpvp { min-width: 0; align-items: stretch; }
.un8cpvp > * { width: 100%; max-width: 460px; margin-left: auto; margin-right: auto; }
.code-box { width: 0; flex: 1 1 0; }
.u1wru7wy { width: 100%; min-height: 100vh; height: auto; overflow: visible; }

/* Components page */
.badge-off { background: #2A2A2A !important; color: #BDBDBD; }
.codein { height: 46px; width: 150px; box-sizing: border-box; border-radius: 999px; border: 1.5px solid #555; background: transparent; color: #fff; padding: 0 18px; font: 500 15px 'DM Mono', monospace; letter-spacing: .2em; outline: 0; }
.codein:focus { border-color: #CFFF4A; }
.ufhhxny:disabled { opacity: .5; cursor: progress; }
.u1rx2uyq:disabled { opacity: .4; cursor: not-allowed; }
.u1f4p4bc .info { color: #C9C9C9; white-space: pre-wrap; }

/* Websites */
.submit { border: 0; cursor: pointer; font-family: inherit; }
.submit:disabled { opacity: .6; cursor: progress; }
.empty { padding: 24px 4px; }
.uk4dm40.iconbtn { cursor: pointer; font-size: 18px; line-height: 1; }

/* The designs set display on many elements; [hidden] must still hide. */
[hidden] { display: none !important; }

/* API tokens */
.tform { display: flex; flex-direction: column; gap: 10px; }
.field { height: 44px; box-sizing: border-box; width: 100%; border-radius: 999px; border: 1.5px solid #555; background: #1B1B1B; color: #fff; padding: 0 18px; font: 500 14px 'DM Sans', system-ui, sans-serif; outline: 0; }
.field:focus { border-color: #CFFF4A; }
.scopes { position: relative; }
.msel { position: relative; }
.msel-label { display: flex; align-items: center; cursor: pointer; list-style: none; user-select: none; }
.msel-label::-webkit-details-marker { display: none; }
.msel-label::after { content: ""; margin-left: auto; width: 8px; height: 8px; border-right: 2px solid #BDBDBD; border-bottom: 2px solid #BDBDBD; transform: rotate(45deg) translateY(-2px); }
.msel[open] .msel-label { border-color: #CFFF4A; }
.msel-pop { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 6px); display: flex; flex-direction: column; gap: 2px; padding: 8px; border-radius: 18px; background: #1B1B1B; border: 1.5px solid #555; box-shadow: 0 12px 32px rgba(0,0,0,.5); }
.msel-pop label { display: flex; align-items: center; gap: 10px; font: 500 12px 'DM Mono', monospace; padding: 9px 12px; border-radius: 12px; cursor: pointer; color: #E6E6E6; }
.msel-pop label:hover { background: #2A2A2A; }
.msel-pop input { accent-color: #CFFF4A; }

/* Databases */
.dbform { padding: 20px 28px; display: flex; flex-direction: column; gap: 12px; }
.dbrow { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.dbrow .field { width: auto; flex: 1 1 180px; }
.dbrow .submit { flex: 0 0 auto; padding: 0 28px; height: 44px; }
.secret { font: 500 13px 'DM Mono', monospace; color: #CFFF4A; white-space: pre-wrap; word-break: break-all; }

.envlink { text-decoration: none; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; padding: 0 12px; }

.dbpick { flex: 1 1 180px; }

/* Deployments */
.dform { display: flex; flex-direction: column; gap: 10px; padding: 0 0 12px; }
.drow { display: flex; gap: 10px; flex-wrap: wrap; }
.drow .field { flex: 1 1 200px; }
.dform .go { flex: 0 0 auto; width: auto; padding: 0 28px; background: #CFFF4A; color: #111; font-weight: 700; border: 0; }
.dlog { color: #E6E6E6; font-size: 13px; line-height: 1.9; white-space: pre-wrap; word-break: break-word; min-height: 80px; }
.u1epn4fs { padding: 28px !important; box-sizing: border-box; background: #0B0B0D !important; border: 1.5px solid #2C2C32; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.u1epn4fs .dform { order: -2; }
.dkey { order: -1; margin: 0; display: flex; flex-direction: row; flex-wrap: wrap; gap: 10px; }
.dkey .dkeyout { flex: 1 0 100%; }
.dlog { flex: 1; min-height: 240px; }
.dkey .field { width: auto; align-self: flex-start; padding: 0 22px; height: 40px; font-size: 13px; }
.dkeyout { font-size: 12px; color: #CFFF4A; word-break: break-all; white-space: pre-wrap; }

/* Setup */
.cols { display: contents; }
.backlink { text-decoration: none; }
.setuplink { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* Backups */
.backfoot { flex-wrap: wrap; }
.backpick { flex: 1 1 220px; min-width: 200px; }

/* Firewall */
.fwform { display: flex; flex-wrap: wrap; gap: 10px; padding: 0 0 12px; align-items: center; }
.fwform .field { flex: 1 1 160px; width: auto; }
.fwform .fwproto { flex: 0 0 110px; }
.fwform .go { flex: 0 0 auto; background: #CFFF4A; color: #111; font-weight: 700; border: 0; padding: 0 26px; }
.fwbanner { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 14px 18px; margin: 4px 0 12px; border-radius: 22px; background: #2A2A2A; }
.fwbanner .fwtext { flex: 1 1 320px; font-size: 13px; color: #E6E6E6; }
.fwtoggle { width: auto; margin: 0 0 12px; padding: 0 22px; }

/* Site protection */
.protrow { overflow: visible; }
.protpick { flex: 0 1 280px; min-width: 200px; margin-left: auto; }

.restorebtn { margin: 6px 28px 0 0; }

/* Settings tabs: five of them have to fit the left column on one line. */
.uq77zq7 { flex-wrap: nowrap; max-width: 100%; }
.uq77zq7 > * { white-space: nowrap; padding: 0 11px; font-size: 12.5px; }

/* Plain explanation rows (updates, notifications). */
.infrow { display: flex; flex-direction: column; gap: 4px; padding: 14px 4px; border-bottom: 1px solid #34343A; }
.infrow .t { font: 700 15px 'DM Sans', system-ui, sans-serif; color: #F4F2EC; }
.infrow .d { font: 400 13px/1.55 'DM Sans', system-ui, sans-serif; color: #B9B9C0; }

/* File manager editor */
.etext { box-sizing: border-box; width: 100%; min-height: 340px; margin: 10px 0; padding: 14px 16px; border-radius: 22px; border: 1.5px solid #555; background: #1B1B1B; color: #F4F2EC; font: 400 13px/1.5 'DM Mono', monospace; resize: vertical; outline: 0; tab-size: 4; }
.etext:focus { border-color: #CFFF4A; }
.frow { display: flex; gap: 10px; align-items: center; padding: 10px 4px; border-bottom: 1px solid #34343A; }
.frow .fn { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 500 14px 'DM Sans', system-ui, sans-serif; color: #F4F2EC; cursor: pointer; }
.frow .fm { color: #B9B9C0; font: 400 12px 'DM Mono', monospace; }
.esmall { min-height: 90px; }
.elog { min-height: 200px; overflow: auto; white-space: pre-wrap; }

/* ---- Page frame (desktop): one centred column with even padding ---- */
body > div:not(.ux5eptu):not(.jj-bar):not(.jj-note):not(.jj-toast) { box-sizing: border-box; width: 100%; max-width: 1400px; margin: 0 auto; padding: 32px 40px 72px; gap: 28px; height: auto; min-height: 100vh; }
body > div:not(.ux5eptu) > header { margin-bottom: 4px; }
body > div:not(.ux5eptu) > header > div:first-child { flex: none; white-space: nowrap; }
body > div:not(.ux5eptu) > header { gap: 12px; }
body > div:not(.ux5eptu) > header > nav { flex: 0 1 auto; margin: 0 auto; min-width: 0; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; }
body > div:not(.ux5eptu) > header > nav::-webkit-scrollbar { display: none; }
body > div:not(.ux5eptu) > header > nav > a { padding-left: 11px; padding-right: 11px; }
body > div:not(.ux5eptu) > header > button { flex: none; }
body > div:not(.ux5eptu) > div:has(> h1) { align-items: center; gap: 20px; }
body > div:not(.ux5eptu) > div:has(> h1) > h1 { margin: 0; }
/* A title that has the whole row to itself stays on one line; in a narrow side column it keeps its two lines. */
body > div:not(.ux5eptu) > div:has(> h1) > h1 br { display: none; }
body > div:not(.ux5eptu) > div:has(> h1) > h1 br + span { margin-left: .26em; }
/* Tab groups: no stray bottom margin (it pushed them above the title line), a readable size. */
.uurj05q, .uq77zq7 { margin: 0; flex-wrap: wrap; max-width: 100%; box-sizing: border-box; }
/* Settings: the left column is wide enough for its five tabs on one line. */
body.pg-PanelSettingsDark .uq1hwb9 { width: 480px; }
body.pg-PanelSettingsDark .uq77zq7, body.pg-PanelTokensDark .uq77zq7 { flex-wrap: nowrap; }
body.pg-PanelTokensDark .u1566bz6 { width: 480px; }
/* Account: sessions and users read as tidy rows. */
.dbrow > .u1j0d5d8 { width: auto; flex: 1 1 220px; min-width: 0; color: #C9C9C9; }
.dbrow > .u1xn3lfm { width: auto; flex: 0 0 90px; }
#sessions .dbrow, #users .dbrow:not(:first-child) { padding: 12px 0; border-bottom: 1px solid #26262B; align-items: center; }
#sessions > button, #sessions > .u1f3oqhi { align-self: flex-start; white-space: nowrap; margin-top: 14px; }
#sessions .m { flex: 0 0 110px; }
#users-head { margin-top: 30px; }
/* Pages made of a heading with a button, and one card holding a table */
.jj-pagehead { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.jj-h1 { margin: 0; font-size: clamp(44px, 6vw, 76px); line-height: .95; letter-spacing: -.03em; font-weight: 700; color: #F4F2EC; }
.fm-btn.jj-bigbtn { height: 56px; padding: 0 28px; font-size: 15px; }
.jj-bigbtn:disabled { opacity: .4; cursor: not-allowed; }
.jj-tablecard { padding: 20px 28px; }
button.u1vprjqd { border: 0; cursor: pointer; font-family: inherit; }
.uql69ik.jj-tablecard { padding: 20px 28px; }
.jj-trow { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1.4fr) minmax(0, 1fr) 44px; align-items: center; gap: 16px; padding: 10px 0; border-bottom: 1px solid #26262B; }
.jj-thead { height: 34px; padding: 0; color: #A8A8AE; font: 700 12px 'DM Sans', system-ui, sans-serif; letter-spacing: .06em; text-transform: uppercase; }
.jj-thead .jj-tcell { font: inherit; color: inherit; }
.jj-tcell { min-width: 0; display: flex; flex-direction: column; gap: 3px; font: 600 14px 'DM Sans', system-ui, sans-serif; color: #F4F2EC; }
.jj-tname strong { font-weight: 700; } .jj-tname small, .jj-tsub { color: #8C8C94; font: 500 12px 'DM Mono', monospace; overflow-wrap: anywhere; }
.jj-tmono { font: 500 13px 'DM Mono', monospace; color: #C9C9C9; }
.jj-tacts { align-items: flex-end; }
.jj-dstate { display: inline-flex; align-items: center; gap: 8px; }
.jj-dstate::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.jj-dstate-on { color: #CFFF4A; } .jj-dstate-bad { color: #FF8A7A; }
.jj-dstate-pull { color: #CFFF4A; } .jj-dstate-pull::before { width: 11px; height: 11px; background: none; border: 2px solid #3A3A42; border-top-color: #CFFF4A; animation: jj-spin .7s linear infinite; } .jj-dstate-off { color: #8C8C94; }
.uql69ik#dockercard.jj-isempty, .uql69ik.jj-isempty { flex: none; }
.uql69ik:has(.fm-morewrap) { overflow: visible; }
.jj-dempty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 44px 8px 36px; }
.jj-dempty strong { color: #F4F2EC; font: 700 22px 'DM Sans', system-ui, sans-serif; letter-spacing: -.01em; }
.jj-dsub { color: #9A9AA2; font: 500 14px 'DM Sans', system-ui, sans-serif; margin-bottom: 18px; }
.jj-dtiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; width: 100%; max-width: 1000px; }
.jj-dtile { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 20px 22px; border-radius: 22px; background: #232328; border: 1.5px solid #2C2C32; color: #F4F2EC; text-align: left; cursor: pointer; font-family: inherit; transition: border-color .15s, background .15s; }
.jj-dtile:hover { border-color: #CFFF4A; background: #28282E; }
.jj-dtile-t { font-size: 17px; font-weight: 700; }
.jj-dtile-d { font-size: 13px; color: #9A9AA2; font-weight: 500; }
.jj-dtile-i { margin-top: 10px; font: 500 12px 'DM Mono', monospace; color: #CFFF4A; }
.jj-suggwrap { position: relative; }
.jj-sugg { position: absolute; left: 0; right: 0; top: 100%; margin-top: 6px; z-index: 5; max-height: 260px; overflow-y: auto; border-radius: 16px; background: #232328; border: 1.5px solid #34343B; box-shadow: 0 14px 34px rgba(0,0,0,.5); padding: 6px; }
.jj-sitem { display: flex; flex-direction: column; gap: 2px; width: 100%; padding: 9px 12px; border: 0; border-radius: 11px; background: none; color: #F4F2EC; text-align: left; cursor: pointer; font-family: inherit; }
.jj-sitem:hover { background: #2E2E35; }
.jj-sline { display: flex; align-items: center; gap: 8px; }
.jj-sname { font: 600 14px 'DM Mono', monospace; }
.jj-sbadge { font: 700 10px 'DM Sans', system-ui, sans-serif; letter-spacing: .05em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; }
.jj-sloc { background: #CFFF4A; color: #111; }
.jj-sofc { background: #3A3A42; color: #CFFF4A; }
.jj-sstar { margin-left: auto; color: #9A9AA2; font: 500 12px 'DM Sans', system-ui, sans-serif; }
.jj-sdesc { color: #9A9AA2; font: 500 12px 'DM Sans', system-ui, sans-serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jj-snote { display: block; padding: 9px 12px; color: #9A9AA2; font: 500 12px 'DM Sans', system-ui, sans-serif; }
.jj-snspin { display: flex !important; align-items: center; gap: 10px; }
.jj-snspin::before { content: ''; width: 12px; height: 12px; border-radius: 50%; border: 2px solid #3A3A42; border-top-color: #CFFF4A; animation: jj-spin .7s linear infinite; }
@keyframes jj-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .jj-snspin::before { animation: none; } }
.jj-dlink { color: #CFFF4A; font: 600 12px 'DM Sans', system-ui, sans-serif; text-decoration: none; overflow-wrap: anywhere; }
.jj-dlink:hover { text-decoration: underline; }
.jj-dnote { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 28px 4px; }
.jj-dnote strong { color: #F4F2EC; font-size: 16px; }
.jj-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.jj-pair .jj-flabel { margin-bottom: 8px; }
.jj-logmodal { width: min(94vw, 760px); }
.jj-logbox { margin: 8px 0 0; max-height: 56vh; overflow: auto; padding: 16px 18px; border-radius: 18px; background: #0E0E10; border: 1.5px solid #2C2C32; color: #D8D8DC; font: 500 12px/1.6 'DM Mono', monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
@media (max-width: 860px) { .jj-trow { grid-template-columns: minmax(0, 1fr) 44px; } .jj-trow > :nth-child(3) { display: none; } .jj-thead > :nth-child(2) { display: none; } }
/* Database dialogs and short messages */
.jj-dbmodal { width: min(94vw, 560px); }
.jj-vrow { display: grid; grid-template-columns: 100px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid #26262B; }
.jj-vlabel { color: #8C8C94; font: 600 13px 'DM Sans', system-ui, sans-serif; }
.jj-vvalue { font: 500 13px 'DM Mono', monospace; color: #F4F2EC; overflow-wrap: anywhere; }
.jj-vvalue.secret { color: #CFFF4A; font-size: 15px; }
.jj-dbmodal .jj-dtext { margin-top: 16px; }
.jj-dbmodal .jj-addgo { margin-top: 8px; }
.jj-toast { position: fixed; left: 50%; bottom: 28px; z-index: 60; transform: translate(-50%, 12px); max-width: min(92vw, 520px); padding: 12px 20px; border-radius: 999px; background: #1B1B1F; border: 1.5px solid #CFFF4A; color: #F4F2EC; font: 600 14px 'DM Sans', system-ui, sans-serif; box-shadow: 0 12px 32px rgba(0, 0, 0, .5); opacity: 0; pointer-events: none; transition: opacity .15s, transform .15s; }
.jj-toast.on { opacity: 1; transform: translate(-50%, 0); }
.jj-toast.bad { border-color: #FF8A7A; color: #FFD9D4; }
/* Add website dialog */
.jj-addsite { width: min(94vw, 640px); max-height: 92vh; overflow-y: auto; }
.jj-frow { margin-top: 18px; }
.jj-flabel { display: block; margin-bottom: 8px; font: 700 11px 'DM Sans', system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: #8C8C94; }
.jj-fhint { margin-top: 8px; color: #9A9AA2; font: 500 13px/1.45 'DM Sans', system-ui, sans-serif; }
.jj-addsite .field { width: 100%; box-sizing: border-box; }
.jj-textarea { height: auto; min-height: 84px; padding: 12px 18px; border-radius: 22px; resize: vertical; font: 500 13px 'DM Mono', monospace; }
.jj-seg { display: flex; flex-wrap: wrap; gap: 8px; }
.jj-segbtn { height: 40px; padding: 0 16px; border-radius: 999px; border: 1.5px solid #3A3A40; background: transparent; color: #E6E6E6; font: 700 13px 'DM Sans', system-ui, sans-serif; cursor: pointer; white-space: nowrap; }
.jj-segbtn:hover { border-color: #CFFF4A; }
.jj-segbtn.on { background: #CFFF4A; border-color: #CFFF4A; color: #111; }
.jj-addgo { width: 100%; height: 52px; font-size: 15px; margin-top: 4px; }
/* Page buttons under a long list */
.jj-pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 4px 4px; }
.jj-pager[hidden] { display: none; }
.jj-pager-info { color: #8C8C94; font: 600 13px 'DM Sans', system-ui, sans-serif; }
.jj-pager-btns { display: flex; align-items: center; gap: 4px; }
.jj-pg { min-width: 36px; height: 36px; padding: 0 10px; border-radius: 999px; border: 1.5px solid transparent; background: transparent; color: #E6E6E6; font: 700 13px 'DM Sans', system-ui, sans-serif; cursor: pointer; }
.jj-pg:hover:not(:disabled), .jj-pg:focus-visible { border-color: #3A3A40; outline: 0; }
.jj-pg.on { background: #CFFF4A; color: #111; }
.jj-pg:disabled { opacity: .35; cursor: default; }
.jj-pg-gap { color: #55555C; padding: 0 4px; }
/* A group with one tab is just a label; drop it. */
.uq77zq7:has(> :only-child), .uurj05q:has(> :only-child) { display: none; }
/* Security: the note stays clear of the big tick. */
.u1lew8k8 .ueu5vwk { max-width: calc(100% - 170px); }
.uurj05q > *, .uq77zq7 > * { height: 38px; font-size: 13px; padding: 0 16px; display: inline-flex; align-items: center; white-space: nowrap; }
/* The setup header shows two steps, not a menu: a compact pair, not a stretched bar. */
header > nav[aria-label="Setup steps"] { flex: 0 0 auto !important; margin: 0 auto; padding: 5px; gap: 4px; justify-content: center; cursor: default; }
header > nav[aria-label="Setup steps"] > span { padding: 0 22px; height: 38px; display: inline-flex; align-items: center; white-space: pre; }
/* Setup: the profile card is as tall as its content, not stretched to the column. */
.u18xjwp2, .u63emm9 { padding: 28px !important; }
.u18xjwp2 { flex: 0 0 auto !important; height: auto !important; min-height: 0 !important; gap: 10px; }
.u18xjwp2 #msg:empty { display: none; }
.u18xjwp2 .submit { margin-top: 8px; }
/* Dashboard: the three facts about the server are quiet, equal chips on the title's baseline, not a lime button. */
/* The chips fill the same height as the headline: the address lines up with its top, uptime and load with its bottom. */
body.pg-PanelDashDark > div > div:has(> h1) { align-items: stretch; }
body.pg-PanelDashDark .umg1mws { display: grid; grid-template-columns: auto auto; grid-template-rows: 1fr 1fr; justify-content: end; justify-items: end; align-self: stretch; margin: 0; gap: 8px; }
/* The address sits on its own line above the uptime and load chips. */
body.pg-PanelDashDark .umg1mws > #ip { grid-column: 1 / -1; }
body.pg-PanelDashDark .umg1mws > * { display: inline-flex; align-items: center; height: 100%; max-height: 38px; min-height: 30px; padding: 0 16px; box-sizing: border-box; border-radius: 999px; background: #1B1B1F; color: #E6E6E6; border: 1.5px solid #2C2C32; font: 700 13px 'DM Sans', system-ui, sans-serif; white-space: nowrap; }
body.pg-PanelDashDark .jj-ipchip { cursor: pointer; gap: 9px; font-family: inherit; }
body.pg-PanelDashDark .jj-ipchip:hover, body.pg-PanelDashDark .jj-ipchip:focus-visible { border-color: #CFFF4A; color: #CFFF4A; outline: 0; }
.jj-ipchip .jj-copyicon { flex: none; color: #8C8C94; }
.jj-ipchip:hover .jj-copyicon { color: #CFFF4A; }
.jj-ipchip.copied { border-color: #CFFF4A; color: #CFFF4A; }
.jj-ipchip[hidden] { display: none; }
body.pg-PanelDashDark #load::before { content: ""; width: 8px; height: 8px; margin-right: 9px; border-radius: 50%; background: #CFFF4A; }
/* The server pill is a switcher: it says so with a chevron. */
header button:has(> #host) { cursor: pointer; }
header button:has(> #host)::after { content: ""; width: 7px; height: 7px; margin: -3px 0 0 2px; border-right: 2px solid #BDBDBD; border-bottom: 2px solid #BDBDBD; transform: rotate(45deg); flex: none; }
header button:has(> #host):hover, header button:has(> #host):focus-visible, header button:has(> #host)[aria-expanded=true] { border-color: #CFFF4A; outline: 0; }
/* Smooth moves between pages, and no shifting while a page fills in. */
@view-transition { navigation: auto; }
header { view-transition-name: jj-header; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .14s; }
::view-transition-group(jj-header) { animation-duration: 0s; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }
@keyframes jj-in { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
.jj-enter > :not(header) { animation: jj-in .16s ease-out both; }
@media (prefers-reduced-motion: reduce) { .jj-enter > :not(header) { animation: none; } }
/* The room for the account menu is kept from the first paint; the sign-out button it replaces never shows. */
.jj-who-ph { flex: none; width: 52px; height: 52px; }
header > #logout { display: none; }
/* The website frame keeps its height before its script fills it in. */
.jj-sitebar { min-height: 79px; }
.jj-sitebar:empty { visibility: hidden; }
/* Who is signed in: a round avatar that opens a small menu below it. */
.jj-who { position: relative; flex: none; }
.jj-avatar { width: 52px; height: 52px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--jj-tint, #CFFF4A); color: #111; font: 800 20px 'Bricolage Grotesque', 'DM Sans', system-ui, sans-serif; padding: 0; cursor: pointer; box-sizing: border-box; border: 2px solid transparent; }
.jj-avatar:hover, .jj-avatar:focus-visible, .jj-avatar[aria-expanded="true"] { border-color: #F4F2EC; outline: 0; }
.jj-menu { position: absolute; top: calc(100% + 10px); right: 0; z-index: 40; min-width: 220px; padding: 8px; border-radius: 22px; background: #1B1B1F; border: 1.5px solid #2C2C32; box-shadow: 0 18px 50px rgba(0, 0, 0, .55); display: flex; flex-direction: column; gap: 2px; }
.jj-menu[hidden] { display: none; }
.jj-menu-who { padding: 10px 14px 12px; margin-bottom: 4px; border-bottom: 1px solid #2C2C32; }
.jj-menu-name { font: 700 15px 'DM Sans', system-ui, sans-serif; color: #F4F2EC; }
.jj-menu-role { margin-top: 2px; font: 600 12px 'DM Sans', system-ui, sans-serif; color: #8C8C94; }
.jj-menu-item { display: block; width: 100%; box-sizing: border-box; padding: 10px 14px; border: 0; border-radius: 14px; background: transparent; color: #E6E6E6; text-align: left; text-decoration: none; font: 600 14px 'DM Sans', system-ui, sans-serif; cursor: pointer; }
.jj-menu-item:hover, .jj-menu-item:focus-visible { background: #2A2A30; color: #CFFF4A; outline: 0; }
/* The separate sign-out button is replaced by the menu. */
.jj-has-avatar > #logout { display: none; }
body.pg-PanelDashDark #who { display: none; }
/* The designs set text lines to nowrap, sized for their sample words; real text wraps. */
body > div:not(.ux5eptu) > :not(header) div { white-space: normal; overflow-wrap: break-word; }
/* A title in a side column is sized to fit it whole, without a hyphen. */
body > div:not(.ux5eptu) > div:not(:has(> h1)) h1.d { font-size: clamp(42px, 4vw, 58px); line-height: 1; hyphens: none; overflow-wrap: normal; }
/* The pages of one website share a frame: breadcrumb, what the site is, tabs. */
.jj-sitebar { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.jj-back { flex: 0 0 100%; color: #8C8C94; font: 600 13px 'DM Sans', system-ui, sans-serif; text-decoration: none; }
.jj-back:hover { color: #CFFF4A; }
.jj-sitehead { display: flex; align-items: center; gap: 14px; flex: 1 1 auto; min-width: 0; flex-wrap: wrap; }
.jj-sitemark { flex: none; width: 48px; height: 48px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #CFFF4A; color: #111; font: 800 16px 'Bricolage Grotesque', 'DM Sans', system-ui, sans-serif; }
.jj-sitename { margin: 0; font-size: 34px; line-height: 1.1; letter-spacing: -.02em; overflow-wrap: anywhere; }
.jj-sitechips { display: flex; flex-wrap: wrap; gap: 8px; }
.jj-chip { display: inline-flex; align-items: center; height: 30px; padding: 0 14px; border-radius: 999px; background: #1B1B1F; border: 1.5px solid #2C2C32; color: #C9C9C9; font: 600 12px 'DM Sans', system-ui, sans-serif; white-space: nowrap; }
.jj-chip.jj-warn { border-color: #7A2E27; color: #FF8A7A; }
.jj-sitetabs { display: flex; gap: 4px; padding: 5px; border-radius: 999px; background: #1E1E22; flex-wrap: wrap; }
.jj-sitetab { display: inline-flex; align-items: center; height: 38px; padding: 0 18px; border-radius: 999px; color: #E6E6E6; font: 700 13px 'DM Sans', system-ui, sans-serif; text-decoration: none; white-space: nowrap; }
.jj-sitetab-more { border: 0; background: transparent; cursor: pointer; opacity: .75; }
.jj-sitetab-rare[hidden] { display: none; }
.jj-sitetab:hover { color: #CFFF4A; }
.jj-sitetab.on { background: #CFFF4A; color: #111; }
/* The page's own title becomes a quieter heading under that frame. */
/* The frame names the page (its tab is lit), so the big page title goes. */
body.jj-sitepage h1.d { display: none; }
/* ...and so does the row it was in, so every page of a site starts its content the same distance under the frame. */
body.jj-sitepage > div > div:has(> h1) { display: none; }
/* A website's overview page */
.jj-ov { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 20px; align-items: start; }
.jj-col { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.jj-card { box-sizing: border-box; padding: 28px; border-radius: 36px; background: #1B1B1F; border: 1.5px solid #2C2C32; min-width: 0; }
.jj-card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.jj-card-title { margin: 0; font-size: 22px; letter-spacing: -.01em; }
.jj-card-hint { color: #8C8C94; font: 500 13px 'DM Sans', system-ui, sans-serif; }
.jj-card .jj-dl { grid-template-columns: 130px 1fr; gap: 14px 18px; font-size: 14px; line-height: 1.5; }
.jj-act { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid #26262B; }
.jj-act:first-of-type { border-top: 0; padding-top: 0; }
.jj-act-title { font: 700 15px 'DM Sans', system-ui, sans-serif; color: #F4F2EC; }
.jj-act-sub { margin-top: 3px; color: #9A9AA2; font: 500 13px/1.45 'DM Sans', system-ui, sans-serif; }
.jj-act .envlink { flex: none; height: 38px; padding: 0 18px; }
.jj-act .jj-danger { border-color: #7A2E27; color: #FF8A7A; }
.jj-act .jj-danger:hover { border-color: #FF8A7A; background: rgba(255, 138, 122, .1); }
.jj-empty { color: #9A9AA2; font: 500 14px/1.5 'DM Sans', system-ui, sans-serif; }
@media (max-width: 860px) { .jj-ov { grid-template-columns: minmax(0, 1fr); } .jj-card .jj-dl { grid-template-columns: 1fr; gap: 2px; } .jj-card .jj-dl dd { margin-bottom: 10px; } .jj-act { flex-wrap: wrap; } }
/* File manager */
.fm { min-width: 0; }
.fm-card { position: relative; box-sizing: border-box; padding: 22px 24px 18px; border-radius: 36px; background: #1B1B1F; border: 1.5px solid #2C2C32; min-width: 0; }
.fm-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding-bottom: 16px; border-bottom: 1px solid #26262B; }
.fm-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; min-width: 0; font: 600 14px 'DM Sans', system-ui, sans-serif; }
.fm-crumb { background: transparent; border: 0; padding: 6px 8px; border-radius: 10px; color: #A8A8B0; cursor: pointer; font: inherit; }
.fm-crumb:hover { color: #F4F2EC; background: #26262B; }
.fm-crumb.on { color: #F4F2EC; font-weight: 800; }
.fm-sep { color: #55555C; }
.fm-tools { display: flex; flex-wrap: wrap; gap: 8px; }
.fm-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 999px; border: 1.5px solid #3A3A40; background: transparent; color: #E6E6E6; font: 700 13px 'DM Sans', system-ui, sans-serif; cursor: pointer; white-space: nowrap; box-sizing: border-box; }
.fm-btn:hover, .fm-btn:focus-visible { border-color: #CFFF4A; color: #CFFF4A; outline: 0; }
.fm-btn .fm-btn-icon { display: inline-flex; }
.fm-primary { background: #CFFF4A; border-color: #CFFF4A; color: #111; }
.fm-primary:hover, .fm-primary:focus-visible { background: #DDFF7A; border-color: #DDFF7A; color: #111; }
.fm-ghost { border-color: transparent; color: #A8A8B0; }
.fm-small { height: 32px; padding: 0 14px; font-size: 12px; }
.fm-danger { color: #FF8A7A; border-color: #5A2A25; }
.fm-danger:hover { border-color: #FF8A7A; color: #FF8A7A; background: rgba(255, 138, 122, .08); }
.fm-list { display: flex; flex-direction: column; margin-top: 6px; min-height: 260px; }
.fm-row { display: grid; grid-template-columns: 22px minmax(0, 1fr) 90px 72px 36px; align-items: center; gap: 12px; padding: 9px 6px; border-bottom: 1px solid #222226; }
.fm-row:not(.fm-head):hover { background: #202024; border-radius: 14px; }
.fm-head { padding-top: 12px; padding-bottom: 8px; color: #8C8C94; font: 700 11px 'DM Sans', system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase; border-bottom-color: #26262B; }
.fm-name { display: flex; align-items: center; gap: 12px; min-width: 0; }
.fm-open { background: transparent; border: 0; padding: 4px 6px; color: #F4F2EC; font: 600 14px 'DM Sans', system-ui, sans-serif; text-align: left; cursor: pointer; border-radius: 10px; }
.fm-open span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fm-open:disabled { cursor: default; color: #A8A8B0; }
.fm-icon { display: inline-flex; flex: none; color: #8C8C94; }
.fm-icon-dir { color: #CFFF4A; }
.fm-size, .fm-mode { color: #8C8C94; font: 500 12px 'DM Mono', monospace; }
.fm-size { text-align: right; }
.fm-acts { display: flex; gap: 6px; justify-content: flex-end; }
.fm-empty { padding: 40px 12px; color: #8C8C94; font: 500 14px 'DM Sans', system-ui, sans-serif; text-align: center; }
.fm-editing { margin-top: 14px; }
.fm-ehead { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 12px; }
.fm-etitle { display: flex; align-items: center; gap: 10px; flex: 1 1 auto; min-width: 0; font: 700 15px 'DM Sans', system-ui, sans-serif; overflow-wrap: anywhere; }
.fm-ecount { color: #8C8C94; font: 500 12px 'DM Mono', monospace; }
.fm-ecount.bad { color: #FF8A7A; }
.fm-text { box-sizing: border-box; width: 100%; min-height: 440px; padding: 16px 18px; border-radius: 22px; border: 1.5px solid #2C2C32; background: #0E0E10; color: #E6E6E6; font: 500 13px/1.6 'DM Mono', monospace; resize: vertical; outline: 0; tab-size: 2; }
.fm-text:focus { border-color: #CFFF4A; }
.fm-drop { position: absolute; inset: 8px; display: flex; align-items: center; justify-content: center; border-radius: 30px; border: 2px dashed #CFFF4A; background: rgba(14, 14, 16, .9); color: #CFFF4A; font: 700 16px 'DM Sans', system-ui, sans-serif; z-index: 5; pointer-events: none; }
.fm-drop[hidden] { display: none; }
.fm-toast { min-height: 22px; margin-top: 10px; padding: 0 6px; color: #CFFF4A; font: 600 13px 'DM Sans', system-ui, sans-serif; opacity: 0; transition: opacity .15s; }
.fm-toast.on { opacity: 1; }
.fm-toast.bad { color: #FF8A7A; }
.jj-ask { width: min(92vw, 440px); }
.jj-ask .field { width: 100%; box-sizing: border-box; }
.jj-ask .jj-code-input { text-align: center; letter-spacing: .3em; font-size: 20px; }
.jj-ask-row { display: flex; gap: 10px; margin-top: 22px; }
.jj-ask-row .fm-btn { width: 100%; height: 52px; font-size: 15px; }
.jj-ask .jj-dtitle { padding-right: 44px; }
.fm-check { width: 18px; height: 18px; margin: 0; accent-color: #CFFF4A; cursor: pointer; }
.fm-check:disabled { opacity: .3; cursor: not-allowed; }
.fm-check-gap { width: 18px; }
.fm-modebtn { background: transparent; border: 0; padding: 4px 6px; border-radius: 8px; cursor: pointer; text-align: left; }
.fm-modebtn:hover:not(:disabled) { background: #2A2A30; color: #CFFF4A; }
.fm-modebtn:disabled { cursor: default; }
.fm-selbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; padding: 8px 8px 8px 18px; border-radius: 999px; background: #232327; border: 1.5px solid #34343A; }
.fm-pastebar { background: rgba(207, 255, 74, .08); border-color: rgba(207, 255, 74, .35); }
.fm-selbar[hidden] { display: none; }
.fm-selcount { font: 700 13px 'DM Sans', system-ui, sans-serif; color: #F4F2EC; }
.fm-selbtns { display: flex; flex-wrap: wrap; gap: 6px; }
.fm-morewrap { position: relative; display: inline-flex; }
.fm-morebtn { width: 36px; padding: 0; }
.fm-menu { position: absolute; top: calc(100% + 6px); right: 0; z-index: 30; min-width: 200px; padding: 6px; border-radius: 18px; background: #1B1B1F; border: 1.5px solid #2C2C32; box-shadow: 0 18px 50px rgba(0, 0, 0, .55); display: flex; flex-direction: column; gap: 1px; }
.fm-menu.up { top: auto; bottom: calc(100% + 6px); }
.fm-menu-item { display: block; width: 100%; box-sizing: border-box; padding: 9px 14px; border: 0; border-radius: 12px; background: transparent; color: #E6E6E6; text-align: left; font: 600 13px 'DM Sans', system-ui, sans-serif; cursor: pointer; }
.fm-menu-item:hover, .fm-menu-item:focus-visible { background: #2A2A30; color: #CFFF4A; outline: 0; }
.fm-menu-item.danger { color: #FF8A7A; }
.fm-menu-item.danger:hover, .fm-menu-item.danger:focus-visible { background: rgba(255, 138, 122, .1); color: #FF8A7A; }
.fm-menu-sep { height: 1px; margin: 4px 6px; background: #2C2C32; }
.fm-perm { width: min(92vw, 480px); }
.fm-permgrid { display: grid; grid-template-columns: 1fr 64px 64px 64px; align-items: center; gap: 12px 0; margin: 6px 0 18px; }
.fm-permh { text-align: center; font: 700 11px 'DM Sans', system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: #8C8C94; }
.fm-permwho { display: flex; flex-direction: column; gap: 1px; }
.fm-permwho strong { font: 700 14px 'DM Sans', system-ui, sans-serif; color: #F4F2EC; }
.fm-permwho small { font: 500 12px 'DM Sans', system-ui, sans-serif; color: #8C8C94; }
.fm-permgrid .fm-check { justify-self: center; width: 22px; height: 22px; }
.fm-permlabel { margin-bottom: 8px; }
.fm-permnum { width: 100%; box-sizing: border-box; font: 700 20px 'DM Mono', monospace; letter-spacing: .3em; text-align: center; }
.fm-presets { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
@media (max-width: 860px) { .fm-row { grid-template-columns: 22px minmax(0, 1fr) auto; } .fm-row .fm-size, .fm-row .fm-mode { display: none; } .fm-acts { grid-column: 1 / -1; justify-content: flex-start; } .fm-head { display: none; } }
/* The shared "confirm it's you" dialog: the same boxes as the sign-in one. */
.jj-ask-code { width: min(92vw, 480px); }
.jj-boxlabel { margin: 26px 0 14px; text-align: center; font: 700 11px 'DM Sans', system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: #8C8C94; }
.jj-boxes { display: flex; justify-content: center; gap: 12px; margin-bottom: 8px; }
.jj-box { box-sizing: border-box; flex: 0 1 58px; width: 58px; min-width: 0; height: 66px; border-radius: 18px; border: 1.5px solid #3A3A40; background: #0E0E10; color: #F4F2EC; text-align: center; padding: 0; outline: 0; font: 700 28px 'Bricolage Grotesque', 'DM Sans', system-ui, sans-serif; }
.jj-box:focus { border-color: #CFFF4A; box-shadow: 0 0 0 3px rgba(207, 255, 74, .18); }
.jj-box.filled { border-color: #CFFF4A; }
.jj-dialog { position: relative; }
dialog.jj-dialog:modal { position: fixed; }
.jj-dclose { position: absolute; top: 18px; right: 18px; width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; padding: 0; border-radius: 50%; border: 1.5px solid #3A3A40; background: transparent; color: #A8A8B0; cursor: pointer; }
.jj-dclose:hover, .jj-dclose:focus-visible { border-color: #CFFF4A; color: #CFFF4A; outline: 0; }
.jj-code .jj-dtitle { padding-right: 44px; }
@media (max-width: 480px) { .jj-box { font-size: 22px; border-radius: 14px; } .jj-boxes { gap: 7px; } }
/* Chips and pills never wrap their text. */
.umg1mws > *, .uq1hwb9 > *, [class*="chip"] { white-space: nowrap; }
/* The designs had two tabs that go nowhere; the website pages are reached from each row. */
body.pg-PanelSitesDark .uurj05q { display: none; }
/* Website list: a row is its details, then its actions on a second line. */
.uzcumaa { height: auto; padding-top: 8px; padding-bottom: 8px; align-items: center; }
.uzcumaa .jj-stack { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; font-family: 'DM Sans', system-ui, sans-serif; }
.jj-kind { display: inline-flex; align-items: center; gap: 7px; font: 700 13px 'DM Sans', system-ui, sans-serif; color: #F4F2EC; }
.jj-kind::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--k, #8C8C94); }
.jj-kind-static { --k: #CFFF4A; } .jj-kind-php { --k: #B79CFF; } .jj-kind-app { --k: #FF9F6B; } .jj-kind-proxy { --k: #9ED8FF; } .jj-kind-balance { --k: #FF8AC0; }
.jj-stack-sub { padding-left: 15px; font: 500 12px 'DM Sans', system-ui, sans-serif; color: #8C8C94; }
.jj-ssl { display: inline-flex; align-items: center; gap: 7px; font: 600 13px 'DM Sans', system-ui, sans-serif; }
.jj-ssl::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.jj-ssl-on { color: #CFFF4A; }
.jj-ssl-off { color: #8C8C94; }
.u9k859r { flex: 0 0 auto; width: 110px; justify-content: flex-end; }
body.pg-PanelSitesDark .u1yxcnfo { width: 110px; }
.uzcumaa .u86xm2j { text-decoration: none; font-weight: 700; }
.jj-manage { height: 34px; padding: 0 18px; border-radius: 999px; font: 700 13px 'DM Sans', system-ui, sans-serif; }
.u9k859r .uk4dm40.envlink, .envlink { height: 32px; padding: 0 14px; border-radius: 999px; border: 1.5px solid #3A3A40; background: transparent; color: #E6E6E6; font: 700 12px 'DM Sans', system-ui, sans-serif; text-decoration: none; white-space: nowrap; box-sizing: border-box; }
.u9k859r .envlink:hover, .envlink:hover, .envlink:focus-visible { border-color: #CFFF4A; color: #CFFF4A; outline: 0; }
.uk4dm40.iconbtn:not(.envlink) { width: 32px; height: 32px; border: 1.5px solid #3A3A40; border-radius: 999px; color: #E6E6E6; }
.uk4dm40.iconbtn:not(.envlink):hover { border-color: #FF8A7A; color: #FF8A7A; }

/* Sign-in: the two columns are equal. */
.u1goliwx { flex: 1 1 0; width: auto; min-width: 0; }
.un8cpvp { flex: 1 1 0; min-width: 0; }
.jj-code { width: min(92vw, 480px); padding: 36px 36px 28px; border-radius: 40px; background: #1B1B1F; border: 1.5px solid #2C2C32; box-shadow: 0 30px 80px rgba(0, 0, 0, .55); font-family: 'DM Sans', system-ui, sans-serif; }
.jj-code::backdrop { background: rgba(14, 14, 16, .8); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.jj-code button { font-family: inherit; }
.jj-code form { display: flex; flex-direction: column; gap: 0; }
.jj-code .jj-dtitle { margin: 0 0 8px; font-size: 40px; line-height: 1; letter-spacing: -.02em; }
.jj-dtext { margin: 0 0 24px; color: #A8A8B0; font: 500 14px/1.45 'DM Sans', system-ui, sans-serif; }
.jj-code .u1nbmbbb { gap: 10px; margin: 0; }
.jj-code .l { padding: 0; font: 700 11px 'DM Sans', system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: #8C8C94; }
.jj-code .umm2ujz { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; width: 100%; }
.jj-code .code-box { width: 100%; min-width: 0; height: auto; aspect-ratio: 10 / 11; box-sizing: border-box; border-radius: 18px; font-size: 28px; }
.jj-dmsg { min-height: 18px; margin: 14px 0 10px; color: #FF8A7A; font: 600 13px 'DM Sans', system-ui, sans-serif; }
.jj-code .jj-dgo { width: 100%; border: 0; cursor: pointer; margin: 0 0 18px; }
.jj-code .jj-dgo:disabled { opacity: .6; cursor: progress; }
.jj-dlinks { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.jj-code .linkbtn { padding: 6px 2px; font-size: 14px; font-weight: 600; color: #CFFF4A; }
.jj-code .jj-dlinks .linkbtn:last-child { color: #8C8C94; }
.jj-code .linkbtn:hover { text-decoration: underline; }
/* A short window: keep the boxes upright but smaller so nothing needs to scroll. */
@media (max-height: 560px) {
  .jj-code { padding: 20px 28px 14px; }
  .jj-code .jj-dtitle { font-size: 28px; margin-bottom: 4px; }
  .jj-dtext { margin-bottom: 12px; }
  .jj-code .umm2ujz { grid-template-columns: repeat(6, 48px); justify-content: space-between; }
  .jj-code .code-box { aspect-ratio: auto; height: 52px; font-size: 24px; }
  .jj-dmsg { margin: 8px 0 6px; }
  .jj-code .jj-dgo { margin-bottom: 10px; }
}
@media (max-width: 480px) { .jj-code { padding: 26px 20px 20px; border-radius: 28px; } .jj-code .code-box { font-size: 22px; border-radius: 14px; } .jj-code .jj-dtitle { font-size: 32px; } }

/* Small screens. The designs are fixed-width artboards, so below 860 px the
   page is restacked: one column, the menu scrolls sideways, rows wrap. */
@media (max-width: 860px) {
  html { -webkit-text-size-adjust: 100%; }
  /* Sign-in: the picture panel shrinks to a banner above the form. */
  .ux5eptu { width: 100%; height: auto; min-height: 100vh; flex-direction: column; padding: 12px; gap: 12px; overflow: visible; box-sizing: border-box; }
  .u1goliwx { width: 100%; flex: none; min-height: 0; padding: 20px 24px; border-radius: 28px; }
  .u1goliwx > svg, .u1goliwx > .u1f7m8wp { display: none; }
  .un8cpvp { flex: none; width: 100%; padding: 24px 20px; border-radius: 28px; }
  /* Panel pages */
  body > div:not(.ux5eptu):not(.jj-bar):not(.jj-note):not(.jj-toast) { width: 100% !important; min-width: 0 !important; box-sizing: border-box; overflow-x: hidden; padding: 16px 16px 48px !important; gap: 18px !important; }
  body > div:not(.ux5eptu) > header { flex-wrap: wrap; height: auto !important; padding: 0 !important; gap: 8px 12px; }
  body > div:not(.ux5eptu) > header > nav { order: 9; flex: 1 1 100%; width: 100%; overflow-x: auto; flex-wrap: nowrap; gap: 6px; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
  body > div:not(.ux5eptu) > header > nav > a { flex: none; white-space: nowrap; }
  body > div:not(.ux5eptu) > div { box-sizing: border-box; min-width: 0; max-width: 100%; }
  body > div:not(.ux5eptu) > div > * { min-width: 0; max-width: 100%; }
  body > div:not(.ux5eptu) > header > nav { scrollbar-width: none; }
  body > div:not(.ux5eptu) > header > nav::-webkit-scrollbar { display: none; }
  /* Two columns of cards (settings, security, account...) become one. */
  body > div:not(.ux5eptu) > div:not(:has(> h1)):not(:has(> section)) { flex-direction: column; }
  body > div:not(.ux5eptu) > div:not(:has(> h1)):not(:has(> section)) > div { width: 100% !important; flex: none !important; }
  /* A row of three or more small cards is a two-column grid, one column on a phone. */
  body > div:not(.ux5eptu) > div:has(> section:nth-child(3)) { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px !important; }
  body > div:not(.ux5eptu) > div:has(> section:nth-child(3)) > section { width: auto !important; min-height: 0; }
  /* Rows that hold a list and a side panel become a column. */
  body > div:not(.ux5eptu) > div:has(> section) { flex-direction: column; }
  body > div:not(.ux5eptu) > div > section,
  body > div:not(.ux5eptu) > div > aside { width: 100% !important; flex: none !important; box-sizing: border-box; }
  /* The artboards give boxes fixed heights; let them grow with their content. */
  body > div:not(.ux5eptu) div, body > div:not(.ux5eptu) section, body > div:not(.ux5eptu) header { height: auto !important; min-height: 0 !important; }
  body > div:not(.ux5eptu) section div:has(> :nth-child(3)) { flex-wrap: wrap; min-width: 0; row-gap: 8px; }
  body > div:not(.ux5eptu) section .u128843r { display: none; }
  body > div:not(.ux5eptu) section div > div:first-child:not(:only-child) { flex: 1 1 60%; min-width: 0; }
  .uai4ie8 { flex: 1 1 100%; }
  .uzcumaa { column-gap: 14px; }
  .uzcumaa > .u1tur5bh, .uzcumaa > .ue1ce9j, .uzcumaa > .u1jo41il, .uzcumaa > .u15wp71i { flex: 0 0 auto; width: auto; }
  body > div:not(.ux5eptu) pre, body > div:not(.ux5eptu) code { white-space: pre-wrap; word-break: break-all; max-width: 100%; }
  body > div:not(.ux5eptu) table { display: block; overflow-x: auto; max-width: 100%; }
  .codein, .field { max-width: 100%; }
  body > div:not(.ux5eptu) > div:has(> h1) { flex-direction: column; align-items: flex-start !important; gap: 12px; }
  @media (max-width: 480px) { body > div:not(.ux5eptu) > div:has(> section:nth-child(3)) { grid-template-columns: minmax(0, 1fr); } }
  h1.d { font-size: clamp(30px, 9vw, 48px) !important; line-height: 1.05 !important; }
}

/* Loading and error states (see util.js) */
.jj-bar { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 50; background: linear-gradient(90deg, transparent, #CFFF4A, transparent); background-size: 40% 100%; background-repeat: no-repeat; animation: jj-slide 1.1s linear infinite; }
@keyframes jj-slide { from { background-position: -40% 0; } to { background-position: 140% 0; } }
.jj-note { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 50; max-width: min(92vw, 560px); padding: 12px 18px; border-radius: 18px; background: #3B1512; color: #FFD9D4; border: 1.5px solid #B42318; font: 500 14px 'DM Sans', system-ui, sans-serif; box-shadow: 0 12px 32px rgba(0,0,0,.5); }
@media (prefers-reduced-motion: reduce) { .jj-bar { animation: none; background: #CFFF4A; } }

/* Site details */
.jj-dialog { width: min(92vw, 560px); max-height: 86vh; overflow: auto; border: 1.5px solid #3A3A40; border-radius: 28px; background: #1B1B1F; color: #F4F2EC; padding: 24px 26px; box-sizing: border-box; }
.jj-dialog::backdrop { background: rgba(0, 0, 0, .6); }
.jj-dtitle { margin: 0 0 14px; font-size: 26px; word-break: break-all; }
.jj-dl { display: grid; grid-template-columns: 110px 1fr; gap: 12px 16px; line-height: 1.45; margin: 0; font: 500 14px 'DM Sans', system-ui, sans-serif; }
.jj-dl dt { color: #9A9AA2; }
.jj-dl dd { margin: 0; color: #E6E6E6; overflow-wrap: anywhere; }
.jj-dfoot { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; padding-top: 18px; border-top: 1px solid #2C2C32; }
.jj-dfoot .envlink { height: 38px; padding: 0 18px !important; display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; font-size: 13px; }
.jj-dfoot .jj-danger { border-color: #7A2E27; color: #FF8A7A; margin-left: auto; }
.jj-dfoot .jj-danger:hover { border-color: #FF8A7A; background: rgba(255, 138, 122, .1); }
.jj-dfoot .jj-close { border-color: transparent; color: #8C8C94; }
@media (max-width: 480px) { .jj-dl { grid-template-columns: 1fr; gap: 2px; } .jj-dl dd { margin-bottom: 8px; } }

/* WordPress page */
.jj-wp > .jj-wphead { grid-column: 1 / -1; }
.jj-wptop { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.jj-wptitle { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.jj-wpname { margin: 0; font-size: 34px; line-height: 1.05; letter-spacing: -.02em; overflow-wrap: anywhere; }
.jj-wpurl { color: #CFFF4A; font: 600 14px 'DM Sans', system-ui, sans-serif; text-decoration: none; overflow-wrap: anywhere; }
.jj-wpurl:hover { text-decoration: underline; }
.jj-wpacts { display: flex; align-items: center; gap: 10px; flex: none; }
.jj-wpacts .fm-menu { right: 0; }
.jj-wpchips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.jj-wpchip { display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 999px; background: #26262B; color: #D8D8DC; font: 600 12px 'DM Sans', system-ui, sans-serif; white-space: nowrap; }
.jj-wpchip-up { background: #CFFF4A; color: #111; }
.jj-wpchip-warn { background: rgba(255, 190, 80, .16); color: #FFC76A; }
.jj-wpupdate { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 16px; padding: 14px 18px; border-radius: 20px; background: #232328; color: #D8D8DC; font: 500 14px 'DM Sans', system-ui, sans-serif; }
.jj-wptask { display: flex; align-items: center; gap: 10px; margin-top: 16px; color: #9A9AA2; font: 500 13px 'DM Sans', system-ui, sans-serif; }
.jj-wptask[hidden] { display: none; }
.jj-wptask::before { content: ''; width: 12px; height: 12px; border-radius: 50%; border: 2px solid #3A3A42; border-top-color: #CFFF4A; animation: jj-spin .7s linear infinite; }
.jj-wptools { display: flex; gap: 8px; flex-wrap: wrap; }
.jj-wpheadtools { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: flex-end; }
.jj-wp .jj-card-head { align-items: center; }
.jj-wprow { display: grid; grid-template-columns: minmax(0, 1fr) 90px 70px 44px; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid #26262B; }
.jj-wprow.jj-wpuser { grid-template-columns: minmax(0, 1fr) minmax(0, 120px) 44px; }
.jj-wplist .jj-wprow:first-child { border-top: 0; }
.jj-switch { flex: none; position: relative; width: 48px; height: 28px; padding: 0; border: 1.5px solid #3A3A40; border-radius: 999px; background: #0E0E10; cursor: pointer; transition: background .15s, border-color .15s; }
.jj-switch .jj-knob { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #8C8C94; transition: transform .15s, background .15s; }
.jj-switch.on { background: #CFFF4A; border-color: #CFFF4A; }
.jj-switch.on .jj-knob { transform: translateX(20px); background: #111; }
.jj-switch:disabled { opacity: .5; cursor: progress; }
.jj-switch:focus-visible { outline: 2px solid #CFFF4A; outline-offset: 2px; }
.jj-wpcheck { display: flex; align-items: center; gap: 8px; margin: 4px 0 14px; color: #D8D8DC; font: 500 14px 'DM Sans', system-ui, sans-serif; }
.jj-mono { font-family: 'DM Mono', monospace !important; }
@media (max-width: 860px) { .jj-wprow { grid-template-columns: minmax(0, 1fr) 44px; } .jj-wprow > :nth-child(2), .jj-wprow > :nth-child(3) { display: none; } .jj-wprow.jj-wpuser > :nth-child(2) { display: none; } .jj-wpname { font-size: 28px; } }
.jj-wpclone { background: transparent; border: 1.5px solid #3A3A40; color: #F4F2EC; }
.jj-wpclone:hover { border-color: #CFFF4A; color: #CFFF4A; }
.jj-wpcheck { cursor: pointer; }
.jj-wpcheck input[type=checkbox] { appearance: none; -webkit-appearance: none; flex: none; position: relative; width: 22px; height: 22px; margin: 0; border-radius: 7px; border: 1.5px solid #3A3A40; background: #0E0E10; cursor: pointer; transition: background .12s, border-color .12s; }
.jj-wpcheck input[type=checkbox]:hover { border-color: #CFFF4A; }
.jj-wpcheck input[type=checkbox]:checked { background: #CFFF4A; border-color: #CFFF4A; }
.jj-wpcheck input[type=checkbox]:checked::after { content: ''; position: absolute; left: 6px; top: 2px; width: 6px; height: 11px; border: solid #111; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.jj-wpcheck input[type=checkbox]:focus-visible { outline: 2px solid #CFFF4A; outline-offset: 2px; }

/* The confirm-it's-you dialog follows the other dialogs: left aligned, the same title and button. */
.jj-ask-code { width: min(94vw, 464px); }
.jj-ask-code .jj-boxes { justify-content: flex-start; margin-bottom: 4px; }
.jj-ask-code .jj-flabel { margin-bottom: 10px; }
.jj-ask-code .jj-dmsg { min-height: 18px; margin-top: 8px; }

.jj-skel { border-radius: 8px; background: linear-gradient(90deg, #26262B 25%, #2E2E35 50%, #26262B 75%); background-size: 200% 100%; animation: jj-shimmer 1.3s linear infinite; margin: 6px 0; }
.jj-skelrow { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 8px 0; }
@keyframes jj-shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .jj-skel { animation: none; } }

/* Protection page */
.jj-protset { align-items: flex-start; }
.jj-protset .jj-act-text { max-width: 440px; }
.jj-protpick { flex: none; width: 250px; }
.jj-applybar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 8px; padding: 16px 0 0; border-top: 1px solid #26262B; }
.jj-applyhint { color: #9A9AA2; font: 500 13px 'DM Sans', system-ui, sans-serif; }
.jj-applybar .fm-btn:disabled { opacity: .35; cursor: not-allowed; }
.jj-working { cursor: progress; }
.jj-restorerow { grid-template-columns: minmax(0, 1fr) auto; }
@media (max-width: 860px) { .jj-protset { flex-direction: column; align-items: stretch; } .jj-protpick { width: 100%; } }

/* Options of a select: the dot and the text sit on one line, the chosen one is marked. */
.msel-pop label { gap: 12px; padding: 10px 12px; font: 600 14px 'DM Sans', system-ui, sans-serif; line-height: 1.2; }
.msel-pop label:has(input:checked) { background: #26262B; color: #F4F2EC; }
.msel-pop input[type=radio] { appearance: none; -webkit-appearance: none; flex: none; position: relative; width: 18px; height: 18px; margin: 0; border-radius: 50%; border: 1.5px solid #5A5A62; background: transparent; cursor: pointer; }
.msel-pop input[type=radio]:checked { border-color: #CFFF4A; }
.msel-pop input[type=radio]:checked::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: #CFFF4A; }
.msel-pop input[type=radio]:focus-visible { outline: 2px solid #CFFF4A; outline-offset: 2px; }

.jj-wptitle .jj-wpchips { margin-top: 12px; }

/* Security pages */
.jj-sectabs { flex: none; }
.jj-sec { grid-template-columns: minmax(0, 1fr); }
.jj-sec > .jj-wphead { grid-column: 1 / -1; }
.jj-fwstate { display: flex; align-items: center; gap: 14px; }
.jj-fwdot { flex: none; width: 14px; height: 14px; border-radius: 50%; background: #5A5A62; }
.jj-fwdot.on { background: #CFFF4A; box-shadow: 0 0 0 5px rgba(207, 255, 74, .18); }
.jj-fwsub { color: #9A9AA2; font: 500 14px/1.5 'DM Sans', system-ui, sans-serif; }
.jj-fwpend { margin-top: 18px; }
.jj-fwpendbtns { display: flex; gap: 8px; }
.jj-fwtools { margin: 0; }
.jj-card-head:has(.jj-fwtools) { align-items: center; }
.jj-secrow { display: grid; grid-template-columns: 120px minmax(0, 1fr) minmax(0, 220px) 110px; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid #26262B; }
.jj-secrow.jj-thead { height: auto; padding: 8px 0; border-top: 0; }
.jj-wplist .jj-secrow:first-child { border-top: 0; }
.jj-hardscore { display: flex; align-items: center; gap: 24px; min-width: 0; }
.jj-ring { --p: 0; flex: none; position: relative; width: 96px; height: 96px; border-radius: 50%; background: conic-gradient(#CFFF4A calc(var(--p) * 1%), #2A2A30 0); display: flex; align-items: center; justify-content: center; }
.jj-ring::before { content: ''; position: absolute; inset: 9px; border-radius: 50%; background: #1B1B1F; }
.jj-ringnum { position: relative; font: 800 30px 'Bricolage Grotesque', 'DM Sans', sans-serif; color: #F4F2EC; letter-spacing: -.02em; }
.jj-chkrow { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-top: 1px solid #26262B; }
.jj-wplist .jj-chkrow:first-child { border-top: 0; }
.jj-chktext { flex: 1; min-width: 0; }
.jj-chkicon { flex: none; width: 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }
.jj-chkicon.jj-chk-ok { background: #CFFF4A; color: #111; }
.jj-chkicon.jj-chk-warn { background: #FFC76A; color: #111; }
.jj-chkicon.jj-chk-info { background: #3A3A42; color: #E6E6E6; }
.jj-chkpill { flex: none; display: inline-flex; padding: 5px 12px; border-radius: 999px; background: #26262B; color: #D8D8DC; font: 700 12px 'DM Sans', system-ui, sans-serif; white-space: nowrap; }
.jj-chkpill.jj-chk-ok { background: rgba(207, 255, 74, .14); color: #CFFF4A; }
.jj-chkpill.jj-chk-warn, .jj-chkpill.jj-eff-destructive { background: rgba(255, 190, 80, .16); color: #FFC76A; }
.jj-chkpill.jj-eff-reads { background: rgba(207, 255, 74, .12); color: #CFFF4A; }
.jj-chkpill.jj-role-admin { background: rgba(180, 160, 255, .18); color: #CBB9FF; }
.jj-permbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin: 0 0 8px; }
.jj-permsearch { flex: 1 1 240px; max-width: 360px; }
.jj-permfilters { display: flex; flex-wrap: wrap; gap: 6px; }
.jj-permfilter { height: 34px; padding: 0 14px; border-radius: 999px; border: 1.5px solid #34343B; background: transparent; color: #C8C8CE; font: 600 13px 'DM Sans', system-ui, sans-serif; cursor: pointer; }
.jj-permfilter:hover { border-color: #CFFF4A; color: #CFFF4A; }
.jj-permfilter.on { background: #CFFF4A; border-color: #CFFF4A; color: #111; }
.jj-permrow { display: grid; grid-template-columns: minmax(0, 1fr) 90px 130px 130px; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid #26262B; }
.jj-wplist .jj-permrow:first-child { border-top: 0; }
.jj-permname { font: 600 13px 'DM Mono', monospace; color: #F4F2EC; overflow-wrap: anywhere; }
.jj-permtext { min-width: 0; }
.jj-permcode { color: #6E6E76; font: 600 13px 'DM Sans', system-ui, sans-serif; }
.jj-permcode.on { color: #E6E6E6; }
@media (max-width: 860px) {
  .jj-secrow { grid-template-columns: 70px minmax(0, 1fr) auto; } .jj-secrow > :nth-child(3) { display: none; }
  .jj-permrow { grid-template-columns: minmax(0, 1fr) auto; } .jj-permrow > :nth-child(3), .jj-permrow > :nth-child(4) { display: none; }
  .jj-hardscore { flex-direction: column; align-items: flex-start; }
}
a.fm-btn { text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
/* The big title's letters sit lower than its box, so the tabs are lowered to the middle of the letters. */
.jj-pagehead .jj-sectabs { margin-top: 22px; }

/* The header stays in view while a long page scrolls under it. */
@media (min-width: 861px) {
  body > div:not(.ux5eptu):not(.jj-bar):not(.jj-note):not(.jj-toast) > header {
    position: sticky; top: 0; z-index: 35;
    margin: -32px -40px 0; padding: 22px 40px 14px;
    background: rgba(14, 14, 16, .9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  }
}

/* Components page */
.jj-comp-page { display: flex; flex-direction: column; align-items: stretch; gap: 20px; }
.jj-comptools { margin: 0; }
.jj-complist { padding: 10px 28px 18px; }
.jj-compgrouprow { padding: 18px 0 8px; color: #8C8C94; font: 700 12px 'DM Sans', system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.jj-compgrouprow:first-child { padding-top: 10px; }
.jj-comprow { display: grid; grid-template-columns: minmax(0, 1fr) 120px 140px 140px 190px; align-items: center; gap: 16px; padding: 12px 0; border-top: 1px solid #26262B; }
.jj-comprow.busy { background: linear-gradient(90deg, rgba(207, 255, 74, .06), transparent 70%); }
.jj-compname2 { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.jj-compname2 strong { font: 700 15px 'DM Sans', system-ui, sans-serif; color: #F4F2EC; }
.jj-compname2 small { color: #9A9AA2; font: 500 13px/1.4 'DM Sans', system-ui, sans-serif; }
.jj-compmem2 { display: flex; flex-direction: column; gap: 3px; min-width: 0; color: #D8D8DC; font: 600 14px 'DM Sans', system-ui, sans-serif; }
.jj-compver { color: #8C8C94; font: 500 12px 'DM Mono', monospace; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jj-compstatus { min-width: 0; font: 600 14px 'DM Sans', system-ui, sans-serif; }
.jj-compacts { display: flex; justify-content: flex-end; gap: 8px; }
@media (max-width: 860px) { .jj-comprow { grid-template-columns: minmax(0, 1fr) auto; } .jj-compkind, .jj-compmem2, .jj-compstatus { display: none; } }
.jj-compmem { flex: 0 1 320px; min-width: 220px; }
.jj-compmemtext { font: 700 18px 'DM Sans', system-ui, sans-serif; color: #F4F2EC; margin-bottom: 8px; }
.jj-membar { height: 10px; border-radius: 999px; background: #26262B; overflow: hidden; }
.jj-memfill { height: 100%; border-radius: 999px; background: #CFFF4A; min-width: 4px; }
.jj-compmemsub { margin-top: 8px; color: #8C8C94; font: 500 12px 'DM Sans', system-ui, sans-serif; }
.jj-compstate { margin: 0 0 14px; padding: 10px 14px; border-radius: 14px; font: 600 13px 'DM Sans', system-ui, sans-serif; }
.jj-compstate.ok { background: rgba(207, 255, 74, .12); color: #CFFF4A; }
.jj-compstate.warn { background: rgba(255, 190, 80, .16); color: #FFC76A; }
.jj-compfile { margin-bottom: 8px; color: #8C8C94; font: 500 12px 'DM Mono', monospace; overflow-wrap: anywhere; }

.jj-comprow.jj-thead { height: auto; padding: 14px 0 8px; border-top: 0; }
.jj-complistbody .jj-comprow:first-child { border-top: 1px solid #26262B; }

/* Backups page */
.jj-bkrow { display: grid; grid-template-columns: minmax(0, 1fr) 120px 100px 130px 160px; align-items: center; gap: 16px; padding: 12px 0; border-top: 1px solid #26262B; }
.jj-bkrow.jj-thead { height: auto; padding: 14px 0 8px; border-top: 0; }
.jj-complistbody .jj-bkrow:first-child { border-top: 1px solid #26262B; }
.jj-bkrow .jj-wpchip { justify-self: start; }
.jj-bksize { color: #D8D8DC; font: 500 13px 'DM Mono', monospace; }
.jj-keyrow { grid-template-columns: minmax(0, 1fr) auto; }
@media (max-width: 860px) { .jj-bkrow { grid-template-columns: minmax(0, 1fr) auto; } .jj-bkrow > .jj-wpchip, .jj-bkrow > .jj-bksize, .jj-bkrow > .jj-compstatus { display: none; } }
.jj-wptop > .jj-wptitle { flex: 1 1 260px; }

/* Logs: the terminal fits the screen and scrolls inside; only the newest 500 events are loaded. */
body:has(#rows) .ul7e0yt { align-items: start; }
body:has(#rows) .urdu6aj { display: flex; flex-direction: column; height: calc(100vh - 315px); min-height: 360px; overflow: hidden; }
body:has(#rows) #rows { flex: 1 1 auto; min-height: 0; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #3A3A42 transparent; }

/* Bento pages: a wide panel and a column of coloured tiles, like Logs. */
.jj-bento { display: flex; align-items: flex-start; gap: 20px; }
.jj-bento-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.jj-bento-side { width: 330px; flex: none; display: flex; flex-direction: column; gap: 20px; }
.jj-tile { box-sizing: border-box; padding: 24px 28px; border-radius: 36px; display: flex; flex-direction: column; gap: 8px; color: #111; min-width: 0; }
.jj-tl { font: 700 13px 'DM Sans', system-ui, sans-serif; letter-spacing: .06em; text-transform: uppercase; }
.jj-tn { font-size: 72px; font-weight: 800; letter-spacing: -.06em; line-height: 1; overflow-wrap: anywhere; }
.jj-tn.jj-tnsmall { font-size: 48px; }
.jj-ts { font: 600 14px/1.45 'DM Sans', system-ui, sans-serif; opacity: .75; }
.jj-t-lime { background: #CFFF4A; }
.jj-t-orange { background: #FF9F6B; }
.jj-t-yellow { background: #FFE27A; }
.jj-t-purple { background: #B8A0FF; }
.jj-t-dark { background: #1B1B1F; border: 1.5px solid #2C2C32; color: #F4F2EC; }
.jj-t-dark .jj-ts { opacity: 1; color: #A8A8B0; }
.jj-tilebtns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.jj-tilebtn { height: 44px; padding: 0 20px; border-radius: 999px; border: 0; background: #111; color: #F4F2EC; font: 700 14px 'DM Sans', system-ui, sans-serif; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
.jj-tilebtn:hover { background: #26262B; }
.jj-tilebtn:disabled { opacity: .5; cursor: not-allowed; }
.jj-tilebtn.alt { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.jj-t-dark .jj-tilebtn { background: #CFFF4A; color: #111; }
.jj-t-dark .jj-tilebtn.alt { background: transparent; color: #F4F2EC; box-shadow: inset 0 0 0 1.5px #3A3A42; }
.jj-tilestatus { display: flex; align-items: center; gap: 10px; margin-top: 4px; font: 600 13px 'DM Sans', system-ui, sans-serif; }
.jj-tilestatus::before { content: ''; flex: none; width: 12px; height: 12px; border-radius: 50%; border: 2px solid rgba(0,0,0,.25); border-top-color: #111; animation: jj-spin .7s linear infinite; }
.jj-bento-main > .jj-card { padding: 20px 28px 22px; }
@media (max-width: 1000px) { .jj-bento { flex-direction: column; } .jj-bento-side { width: 100%; } .jj-bento-main { width: 100%; } }

.jj-tilerow { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.jj-tilerow .jj-tile { padding: 20px 22px; border-radius: 30px; }
.jj-tilerow .jj-tn { font-size: 44px; }
.jj-tilerow .jj-ts { font-size: 12px; }

.jj-tiles4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.jj-tiles4 .jj-tile { min-height: 210px; justify-content: flex-start; }
.jj-tiles4 .jj-tn { font-size: 60px; }
.jj-tiles4 .jj-tn.jj-tnsmall { font-size: 48px; }
.jj-tiles4 .jj-tilebtns { margin-top: auto; padding-top: 10px; }
@media (max-width: 1100px) { .jj-tiles4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .jj-tiles4 { grid-template-columns: minmax(0, 1fr); } }

.jj-bento-rev { flex-direction: row; }
.jj-fwside { width: 360px; }
.jj-tn.jj-tnbig { font-size: 96px; }
@media (max-width: 1000px) { .jj-bento-rev { flex-direction: column; } .jj-fwside { width: 100%; } }

.jj-tiles-score { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
.jj-tiles-score .jj-tn.jj-tnbig { font-size: 84px; }
@media (max-width: 1100px) { .jj-tiles-score { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.jj-bkbar { justify-content: flex-end; margin: 0; }
.jj-bento-main > .jj-permbar { margin: 0; }
/* An empty list keeps its room: centered, with space around it. */
.jj-complistbody .jj-empty { padding: 64px 12px 56px; text-align: center; color: #9A9AA2; font: 500 15px/1.5 'DM Sans', system-ui, sans-serif; }
.jj-complistbody:has(.jj-empty) { min-height: 180px; }

/* In a row of tiles the text sits at the bottom, under the figure or the button. */
.jj-tiles4 .jj-tile .jj-ts { margin-top: auto; padding-top: 12px; }
.jj-tiles4 .jj-tilebtns { margin-top: 8px; padding-top: 0; align-items: center; }
.jj-tilebtn.link { background: transparent; color: inherit; padding: 0 8px; height: 44px; text-decoration: underline; text-underline-offset: 3px; }
.jj-tilebtn.link:hover { background: transparent; opacity: .8; }
.jj-t-dark .jj-tilebtn.link { background: transparent; color: #F4F2EC; }

/* Settings pages */
.jj-stduo { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.jj-userrow { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid #26262B; }
.jj-userrow4 { grid-template-columns: minmax(0, 1fr) auto auto 48px; }
.jj-wplist .jj-userrow:first-child, .jj-wplist .jj-recentrow:first-child, .jj-wplist .jj-tokrow:first-child, .jj-wplist .jj-sessrow:first-child { border-top: 0; }
.jj-recentrow { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 0; border-top: 1px solid #26262B; }
.jj-recentact { font-family: 'DM Mono', monospace !important; font-weight: 600; font-size: 13px !important; }
.jj-recentside { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.jj-recentside small { color: #8C8C94; font: 500 12px 'DM Sans', system-ui, sans-serif; }
.jj-cardlink { color: #CFFF4A; text-decoration: none; }
.jj-cardlink:hover { text-decoration: underline; }
.jj-tokrow { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr) minmax(0, 1fr) 90px; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid #26262B; }
.jj-tokrow.jj-thead { height: auto; padding: 8px 0; border-top: 0; }
.jj-tokscopes { display: flex; flex-wrap: wrap; gap: 6px; }
.jj-sessrow { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid #26262B; }
.jj-signall { margin-top: 14px; }
.jj-revealbox { white-space: pre-wrap; overflow-wrap: anywhere; user-select: all; }
.jj-hooktools { display: flex; gap: 8px; margin-top: 14px; justify-content: center; }
.jj-hookfoot { margin: 14px 0 0; }
@media (max-width: 1000px) { .jj-stduo { grid-template-columns: minmax(0, 1fr); } .jj-tokrow { grid-template-columns: minmax(0, 1fr) auto; } .jj-tokrow > :nth-child(2), .jj-tokrow > :nth-child(3) { display: none; } }

.jj-tilecta { position: relative; border: 0; text-align: left; font: inherit; cursor: pointer; transition: transform .15s; }
.jj-tilecta:hover:not(:disabled) { transform: translateY(-2px); }
.jj-tilecta:disabled { cursor: progress; opacity: .85; }
.jj-tilecta:focus-visible { outline: 3px solid #F4F2EC; outline-offset: 3px; }
.jj-tnhead { font-size: 40px; letter-spacing: -.03em; line-height: 1.05; max-width: 80%; }
.jj-tiles4 .jj-tnhead { font-size: 40px; }
.jj-ctaicon { position: absolute; top: 20px; right: 22px; width: 46px; height: 46px; border-radius: 50%; background: #111; color: #CFFF4A; display: flex; align-items: center; justify-content: center; }
.jj-tiles4 .jj-tilebtn { padding: 0 16px; }
.jj-tiles4 .jj-tilebtn.link { padding: 0 4px; }
.jj-tiles4 .jj-tilebtns { gap: 6px; flex-wrap: nowrap; }

/* Servers page */
.jj-tiles-servers { grid-template-columns: 2fr 1fr 1fr; }
.jj-tiles-servers .jj-tile { min-height: 190px; }
.jj-fprow { display: flex; align-items: center; gap: 12px; margin-top: 6px; }
.jj-fpbox { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px 14px; margin-top: 4px; padding: 16px 20px; border-radius: 20px; background: #111; color: #CFFF4A; font: 500 15px/1.3 'DM Mono', monospace; letter-spacing: .02em; user-select: all; }
.jj-svrow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 150px 190px; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid #26262B; }
.jj-svrow.jj-thead { height: auto; padding: 8px 0; border-top: 0; }
.jj-wplist .jj-svrow:first-child { border-top: 0; }
.jj-svaddr { font: 500 13px 'DM Mono', monospace; color: #B8B8BE; overflow-wrap: anywhere; }
.jj-svduo { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.jj-svbody .jj-hooktools { justify-content: flex-start; }
@media (max-width: 1000px) { .jj-tiles-servers { grid-template-columns: minmax(0, 1fr); } .jj-svrow { grid-template-columns: minmax(0, 1fr) auto; } .jj-svrow > :nth-child(2), .jj-svrow > :nth-child(3) { display: none; } .jj-svduo { grid-template-columns: minmax(0, 1fr); } }

.jj-fpbtns { margin-top: 14px; }
@media (max-width: 700px) { .jj-fpbox { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* The server menu: the pill with its chevron opens a list of servers. */
.jj-srvwrap .jj-srvmenu { min-width: 240px; }
.jj-menu-sep { height: 1px; margin: 6px 8px; background: #2C2C32; }
.jj-srvmenu .jj-srvradio { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.jj-srvmenu .jj-srvradio::before { content: ''; flex: none; box-sizing: border-box; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid #5A5A62; background: transparent; }
.jj-srvmenu .jj-srvradio.on { background: #26262B; color: #F4F2EC; }
.jj-srvmenu .jj-srvradio.on::before { border-color: #CFFF4A; background: radial-gradient(circle, #CFFF4A 0 38%, transparent 42%); }
.jj-srvmenu .jj-menu-who { color: #8C8C94; font: 600 12px 'DM Sans', system-ui, sans-serif; }
.jj-srvmenu .jj-menu-who .jj-menu-name { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: #8C8C94; }

header button:has(> #host)[aria-expanded=true]::after { transform: rotate(225deg); margin-top: 3px; }

/* The logo before the name in the header. */
header .u1lgc5me { display: inline-flex; align-items: center; gap: 10px; }
.jj-logo { height: 25px; width: auto; flex: none; display: block; margin-top: 2px; }
header .u1lgc5me { font-size: 34px; gap: 9px; }
header .jj-logo { height: 21px; margin-top: 1px; }

/* Narrow screens (found on a phone-sized window) */
@media (max-width: 860px) {
  .jj-comprow.jj-thead, .jj-bkrow.jj-thead, .jj-svrow.jj-thead, .jj-secrow.jj-thead, .jj-tokrow.jj-thead, .jj-lgrow.jj-thead { display: none; }
  .jj-wpacts { width: 100%; flex-wrap: wrap; }
  .jj-wpacts > * { flex: 1 1 auto; }
  .jj-wpacts .fm-morewrap { flex: 1 1 auto; display: flex; }
  .jj-wpacts .fm-morewrap > button { flex: 1; }
}
@media (max-width: 480px) {
  header .u1lgc5me { font-size: 28px; gap: 7px; }
  header .jj-logo { height: 17px; }
  body > div:not(.ux5eptu) > header { gap: 8px 10px; }
  header button:has(> #host) { padding-left: 14px; padding-right: 14px; }
}
.jj-dtitle { word-break: normal; overflow-wrap: anywhere; }

/* Dashboard services list */
.jj-svcrow { display: flex; align-items: center; gap: 10px; padding: 7px 0; }
.jj-svcdot { width: 9px; height: 9px; border-radius: 50%; background: #8a8a8a; flex: none; }
.jj-svcdot.on { background: #4fbf67; }
.jj-svcdot.off { background: #e0603a; }
.jj-svcname { flex: 1; font-weight: 600; }
.jj-svcstate { opacity: .65; font-size: 13px; }
#services { display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 2px; height: auto; max-height: 260px; overflow-y: auto; padding-top: 6px; }
#cpu-unit, #disk-unit { margin-left: 4px; }
.jj-svchead { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.jj-svcall { font-size: 13px; font-weight: 600; color: inherit; opacity: .7; text-decoration: none; padding: 4px 12px; border: 1.5px solid #2C2C32; border-radius: 999px; }
.jj-svcall:hover { opacity: 1; }
.jj-svcall[hidden] { display: none; }
.jj-cta2 { flex-direction: column; align-items: stretch; justify-content: center; gap: 10px; }
.jj-ctalink { display: flex; align-items: center; justify-content: space-between; flex: none; color: #111; text-decoration: none; }
.jj-ctalink:hover { text-decoration: underline; text-underline-offset: 5px; }
.u5v4a8g { position: relative; overflow: hidden; }
.jj-netchart { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 76px; pointer-events: none; }
.jj-netchart polyline { stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.jj-netup { stroke: #111; }
.jj-netdown { stroke: #111; opacity: .4; }

/* The two-step dialog used inside the panel is the sign-in one; these rules let it stand on any page. */
.jj-code .ucad0bd { color: #CFFF4A; }
.jj-code .u12v1gap { border-radius: 18px; background: #0E0E10; color: #F4F2EC; border: 2px solid #4A4A52; display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 800; }
.jj-code .u1orljfw { height: 60px; border-radius: 999px; background: #CFFF4A; color: #111; font-size: 17px; font-weight: 700; display: flex; align-items: center; justify-content: space-between; padding: 0 10px 0 28px; box-sizing: border-box; }
.jj-code .u2mdajo { width: 42px; height: 42px; border-radius: 50%; background: #111; display: flex; align-items: center; justify-content: center; flex: none; }
.jj-code .code-box.filled { background: #CFFF4A; color: #111; }
.jj-reporow { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 12px; }

/* The code boxes keep a fixed size instead of stretching across the dialog. */
.jj-code .umm2ujz { grid-template-columns: repeat(6, 64px); gap: 12px; justify-content: start; }
.jj-code .code-box { height: 72px; aspect-ratio: auto; }
@media (max-width: 520px) { .jj-code .umm2ujz { grid-template-columns: repeat(6, 1fr); gap: 8px; } .jj-code .code-box { height: 60px; } }
@media (max-height: 560px) { .jj-code .umm2ujz { grid-template-columns: repeat(6, 48px); justify-content: start; } .jj-code .code-box { height: 52px; } }
.jj-extlist { display: flex; flex-direction: column; margin: 8px 0 4px; }
.jj-extrow { padding: 12px 0; }

/* A long dialog scrolls inside the window instead of running off it. */
dialog.jj-dialog { max-height: calc(100vh - 32px); overflow-y: auto; }
.jj-dbrow { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }

/* Scheduled tasks */
.jj-taskrow { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.3fr) minmax(0, 1.4fr) auto; align-items: center; gap: 16px; padding: 14px 0; border-top: 1px solid #26262B; }
.jj-taskrow.jj-thead { border-top: 0; padding: 6px 0 10px; }
.jj-taskwhen { font: 600 14px 'DM Sans', system-ui, sans-serif; }
.jj-tasklast { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.jj-tasklast small { color: #9A9AA2; font: 500 12px 'DM Sans', system-ui, sans-serif; }
@media (max-width: 860px) { .jj-taskrow { grid-template-columns: 1fr; gap: 8px; } .jj-taskrow.jj-thead { display: none; } }
.jj-ov.jj-tasks { grid-template-columns: minmax(0, 1fr); }

/* Requests chart (dashboard) and the traffic card of a site */
.jj-reqtotal { font: 600 13px 'DM Sans', system-ui, sans-serif; color: #9A9AA2; }
.jj-reqchart { display: block; width: 100%; flex: 1 1 auto; min-height: 130px; margin-top: 12px; }
.jj-reqbar { fill: #CFFF4A; }
.jj-reqbar.nil { fill: #34343B; }
#req-body:has(.jj-reqchart) { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; }
.jj-reqaxis { display: flex; justify-content: space-between; margin-top: 8px; color: #8C8C94; font: 500 12px 'DM Sans', system-ui, sans-serif; }
.jj-reqbar.err { fill: #FF8A7A; }
.jj-reqnote { margin-top: 6px; color: #9A9AA2; font: 500 12px 'DM Sans', system-ui, sans-serif; }
.u1nfeoow:has(> .jj-reqtotal) { justify-content: space-between; gap: 12px; }
.jj-trafficperiod { margin: 4px 0 14px; }
.jj-trafficnums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 10px; }
.jj-trafficval { font: 800 24px 'Bricolage Grotesque', 'DM Sans', system-ui, sans-serif; letter-spacing: -.02em; }
.jj-toplists { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; margin-top: 16px; }
.jj-toptitle { font: 700 11px 'DM Sans', system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: #8C8C94; margin-bottom: 6px; }
.jj-toprow { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; border-top: 1px solid #26262B; font: 500 13px 'DM Sans', system-ui, sans-serif; }
.jj-topkey { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.jj-topn { color: #9A9AA2; flex: none; }
.jj-logbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; }
.jj-logbar .jj-trafficperiod { margin: 0; }
.jj-sitelog { max-height: 300px; overflow: auto; white-space: pre; font-size: 12px; }
@media (max-width: 860px) { .jj-trafficnums { grid-template-columns: repeat(2, minmax(0, 1fr)); } .jj-toplists { grid-template-columns: minmax(0, 1fr); } }

/* Side menu (sidebar.js): the whole menu in a column at the left edge, brand on top; the page is one large rounded panel with a slim top bar. Folded, a rail of icons. */
html[data-jj-side] { --jj-w: 264px; }
html[data-jj-side="folded"] { --jj-w: 84px; }
.jj-side-btn { flex: 0 0 auto; width: 52px; height: 52px; border-radius: 16px; border: 0; background: transparent; color: #A8A8B0; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.jj-side-btn:hover { background: #1E1E22; color: #F4F2EC; }
.jj-side-btn .jj-side-ico { color: inherit; width: 24px; height: 24px; }
.jj-side-btn:focus-visible, .jj-side-link:focus-visible, .jj-side-brand:focus-visible { outline: 2px solid #CFFF4A; outline-offset: 2px; }
.jj-side { position: fixed; z-index: 30; left: 0; top: 0; bottom: 0; background: #08080A; width: var(--jj-w, 264px); box-sizing: border-box; padding: 22px 14px 16px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.jj-side-brand { display: flex; align-items: center; gap: 12px; padding: 0 12px 6px; min-height: 48px; text-decoration: none; color: #F4F2EC; }
.jj-side-logo { flex: 0 0 auto; }
.jj-side-brandtext { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.jj-side-name { font: 700 20px 'Bricolage Grotesque', 'DM Sans', system-ui, sans-serif; letter-spacing: -.02em; }
.jj-side-ver { font: 500 12px 'DM Sans', system-ui, sans-serif; color: #8C8C94; white-space: nowrap; }
.jj-side-nav { flex: 1 1 auto; min-height: 0; overflow-y: auto; scrollbar-width: none; display: flex; flex-direction: column; gap: 24px; }
.jj-side-nav::-webkit-scrollbar { display: none; }
.jj-side-group { display: flex; flex-direction: column; gap: 4px; }
.jj-side-title { padding: 0 14px 6px; color: #6E6E76; font: 700 11px 'DM Sans', system-ui, sans-serif; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.jj-side-link { display: flex; align-items: center; gap: 14px; height: 40px; padding: 0 14px; border-radius: 14px; color: #D0D0D5; text-decoration: none; font: 600 15px 'DM Sans', system-ui, sans-serif; white-space: nowrap; }
.jj-side-ico { flex: 0 0 auto; color: #A8A8B0; }
.jj-side-link:hover { background: #17171B; color: #F4F2EC; }
.jj-side-link[aria-current="page"] { background: #CFFF4A; color: #0E0E10; }
.jj-side-link[aria-current="page"] .jj-side-ico { color: #0E0E10; }
.jj-side-shade { display: none; }
.jj-hnav { display: none !important; }
html[data-jj-side] body > div > header > .jj-srvwrap { margin-left: auto; }
html[data-jj-side] body > div > header > .jj-hgh ~ .jj-srvwrap { margin-left: 0; }
@media (min-width: 861px) {
  html[data-jj-side], html[data-jj-side] body { background: #08080A; }
  /* The page is one large rounded panel to the right of the menu. */
  html[data-jj-side] body > div:not(.ux5eptu):not(.jj-bar):not(.jj-note):not(.jj-toast) { box-sizing: border-box; width: auto; max-width: none; min-height: calc(100vh - 20px); margin: 10px 10px 10px var(--jj-w); padding: 22px 40px 56px; border: 1px solid #202026; border-radius: 32px; background: #131317; }
  html[data-jj-side] body > div:not(.ux5eptu):not(.jj-bar):not(.jj-note):not(.jj-toast) > :not(header):not(script) { width: 100%; max-width: 1280px; margin-left: auto; margin-right: auto; box-sizing: border-box; }
  html[data-jj-side] body > div:not(.ux5eptu):not(.jj-bar):not(.jj-note):not(.jj-toast) > header { box-sizing: content-box; height: 48px !important; margin: -22px -40px 0; padding: 12px 40px 10px; border-radius: 32px 32px 0 0; gap: 12px; background: rgba(19, 19, 23, .92); }
  html[data-jj-side] body > div > header > .u1c1kudc { display: none; }
  html[data-jj-side="folded"] .jj-side { padding-left: 14px; padding-right: 14px; }
  html[data-jj-side="folded"] .jj-side-brandtext, html[data-jj-side="folded"] .jj-side-label, html[data-jj-side="folded"] .jj-side-title { display: none; }
  html[data-jj-side="folded"] .jj-side-brand { justify-content: center; padding-left: 0; padding-right: 0; }
  html[data-jj-side="folded"] .jj-side-link { justify-content: center; padding: 0; }
  html[data-jj-side="folded"] .jj-side-group + .jj-side-group { padding-top: 8px; border-top: 1px solid #1F1F24; }
}
@media (max-width: 860px) {
  .jj-side { width: min(300px, 84vw); padding-top: 24px; background: #0A0A0C; border-right: 1px solid #1F1F24; border-radius: 0 24px 24px 0; transform: translateX(-105%); visibility: hidden; transition: transform .2s ease, visibility 0s linear .2s; z-index: 60; }
  html[data-jj-drawer="open"] .jj-side { transform: none; visibility: visible; transition-delay: 0s; }
  html[data-jj-drawer="open"] .jj-side-shade { display: block; position: fixed; inset: 0; z-index: 55; background: rgba(0, 0, 0, .55); }
}
@media (prefers-reduced-motion: reduce) { .jj-side { transition: none; } }

/* A short row of coloured tiles at the top of a page (J.tiles). */
.jj-tilesm .jj-tile { min-height: 148px; padding: 20px 24px; border-radius: 30px; }
.jj-tilesm .jj-tn { font-size: 46px; }
.jj-tilesm .jj-tn.jj-tnsmall { font-size: 34px; }
.jj-tilesm .jj-tile .jj-ts { padding-top: 8px; }
.jj-ov > .jj-tilesm, .jj-ov > .jj-col > .jj-tilesm { grid-column: 1 / -1; }

/* Performance: the right column is narrow, so a setting's text sits above its control instead of beside it. */
.jj-performance .jj-col:last-child .jj-act { flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 10px; }
.jj-performance .jj-col:last-child .jj-act .jj-act-text { max-width: none; }
.jj-performance .jj-col:last-child .jj-protpick { width: 100%; }
.jj-performance .jj-col:last-child .jj-act > .envlink, .jj-performance .jj-col:last-child .jj-act > .fm-btn { align-self: flex-start; }
.jj-performance .jj-col:last-child .jj-card-head { flex-wrap: wrap; align-items: baseline; gap: 2px 12px; }
.jj-performance .jj-col:last-child .jj-card-title { white-space: nowrap; }

/* An empty list keeps its room: a roomy, centred message instead of a thin strip. */
.jj-complist > .jj-empty, .jj-activity-card .jj-wplist > .jj-empty { box-sizing: border-box; min-height: 220px; padding: 40px 28px; display: flex; align-items: center; justify-content: center; text-align: center; font-size: 15px; }

/* Scrollbars: slim and quiet, in the panel's colours, everywhere. */
* { scrollbar-width: thin; scrollbar-color: #3A3A42 transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #3A3A42; border-radius: 999px; border: 2px solid transparent; background-clip: content-box; }
::-webkit-scrollbar-thumb:hover { background: #55555E; background-clip: content-box; border: 2px solid transparent; }
::-webkit-scrollbar-button, ::-webkit-scrollbar-corner { display: none; }
dialog.jj-dialog { scrollbar-gutter: stable; }

/* Confirmation dialog (J.ask). */
.jj-confirm .jj-dtitle { margin-bottom: 8px; }
.jj-confirm-list { margin: 10px 0 0; padding-left: 20px; color: #C9C9CE; font: 500 14px/1.5 'DM Sans', system-ui, sans-serif; }
.jj-confirm-type { display: block; margin-top: 18px; color: #D8D8DC; font: 500 14px 'DM Sans', system-ui, sans-serif; }
.jj-confirm-type strong { font-family: 'DM Mono', monospace; color: #F4F2EC; background: #26262B; padding: 1px 6px; border-radius: 6px; }
.jj-confirm .field { margin-top: 8px; }
.jj-confirm .jj-ask-row .fm-btn { flex: 1 1 0; }
.fm-btn.jj-confirm-go { background: #FF8A7A; border-color: #FF8A7A; color: #1A0B09; font-weight: 700; }
.fm-btn.jj-confirm-go:hover:not(:disabled) { background: #FFA091; border-color: #FFA091; }
.fm-btn.jj-confirm-go:disabled { opacity: .4; cursor: not-allowed; }

/* The GitHub link in the header. */
.jj-hgh { flex: 0 0 auto; width: 52px; height: 52px; margin-left: auto; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; color: #A8A8B0; text-decoration: none; }
.jj-hgh:hover { background: #1E1E22; color: #F4F2EC; }
.jj-hgh:focus-visible { outline: 2px solid #CFFF4A; outline-offset: 2px; }

/* Dialogs made by J.modal: fixed header and footer, scrolling middle. */
dialog.jj-dbmodal { padding: 0; overflow: hidden; max-height: calc(100vh - 32px); }
dialog.jj-dbmodal[open] { display: flex; flex-direction: column; }
.jj-dbmodal .jj-dhead { flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 22px 26px 14px; }
.jj-dbmodal .jj-dhead .jj-dtitle { margin: 0; min-width: 0; }
.jj-dbmodal .jj-dhead .jj-dclose { position: static; flex: 0 0 auto; }
.jj-dbmodal .jj-dscroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 2px 26px 18px; }
.jj-dbmodal .jj-dactions { flex: 0 0 auto; display: flex; flex-direction: column; gap: 10px; padding: 14px 26px 22px; border-top: 1px solid #2C2C32; }
.jj-dbmodal .jj-dactions:empty { display: none; }
.jj-dbmodal .jj-dactions .jj-addgo { margin: 0; }
.jj-dbmodal .jj-dactions .jj-dmsg:empty { display: none; }
dialog.jj-dialog { scrollbar-gutter: auto; }
.jj-dbmodal .jj-dactions:not(:has(> :not(.jj-dmsg:empty))) { display: none; }

/* Phones: one slim top bar, tabs in one scrolling row, tiles two across. */
@media (max-width: 560px) {
  html[data-jj-side] body > div > header > .u1c1kudc { display: none; }
  html[data-jj-side] body > div > header { flex-wrap: nowrap !important; gap: 8px !important; }
  .jj-sitetabs { flex-wrap: nowrap !important; overflow-x: auto; max-width: 100%; border-radius: 999px !important; scrollbar-width: none; }
  .jj-sitetabs::-webkit-scrollbar { display: none; }
  .jj-sitetabs > * { flex: 0 0 auto; white-space: nowrap; }
  .jj-tilesm { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px; }
  .jj-tilesm .jj-tile { min-height: 120px; padding: 14px 16px; border-radius: 24px; }
  .jj-tilesm .jj-tn { font-size: 32px; }
  .jj-tilesm .jj-tn.jj-tnsmall { font-size: 22px; }
  .jj-tilesm .jj-tile .jj-ts { font-size: 12px; padding-top: 4px; }
}

/* Access tab of a website */
.jj-ov.jj-access { grid-template-columns: minmax(0, 1fr); }
.jj-access .jj-wphead { grid-column: 1 / -1; }
.jj-aclist { display: flex; flex-direction: column; }
.jj-acuser { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid #26262B; }
.jj-acuser strong { font: 600 14px 'DM Mono', monospace; overflow-wrap: anywhere; }
.jj-access .jj-frow[hidden], .jj-access .jj-act[hidden] { display: none; }
.jj-access .jj-textarea { width: 100%; box-sizing: border-box; }
@media (max-width: 860px) { .jj-acuser { flex-wrap: wrap; } }

/* Activity tab of a website and the site pickers of team access. */
.jj-ov.jj-activity { display: block; }
.jj-actrow { display: grid; grid-template-columns: 128px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid #26262B; }
.jj-wplist .jj-actrow:first-child { border-top: 0; }
.jj-acttime { color: #9A9AA2; font: 400 13px/1.4 'DM Mono', ui-monospace, monospace; white-space: nowrap; }
.jj-actmore { margin-top: 12px; }
@media (max-width: 640px) {
  .jj-actrow { grid-template-columns: minmax(0, 1fr) auto; }
  .jj-acttime { grid-column: 1 / -1; }
}

/* Certificates page (tools/src/certificates.js) and the HTTPS method choice in the site dialog. */
.jj-certlist { margin-top: 14px; }
.jj-certrow { display: grid; grid-template-columns: minmax(0, 1fr) 130px 140px auto; align-items: center; gap: 16px; padding: 14px 0; border-top: 1px solid #26262B; }
.jj-certlist .jj-certrow:first-child { border-top: 0; }
.jj-certname { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.jj-certdomain { font: 700 15px 'DM Sans', system-ui, sans-serif; color: #F4F2EC; text-decoration: none; overflow-wrap: anywhere; }
.jj-certdomain:hover { text-decoration: underline; }
.jj-certname small, .jj-certexp small { color: #9A9AA2; font: 500 13px/1.45 'DM Sans', system-ui, sans-serif; overflow-wrap: anywhere; }
.jj-certname .jj-certnames { font-family: 'DM Mono', monospace; font-size: 12px; }
.jj-certname .jj-certwarn { color: #FFC76A; }
.jj-certexp { display: flex; flex-direction: column; gap: 2px; }
.jj-certexp strong { font: 700 15px 'DM Sans', system-ui, sans-serif; color: #F4F2EC; }
.jj-certacts { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.jj-certacts .envlink { height: 38px; padding: 0 16px; }
.jj-certacts .jj-danger { border-color: #7A2E27; color: #FF8A7A; }
.jj-certcf { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.jj-chkpill.jj-chk-bad { background: rgba(255, 138, 122, .16); color: #FF8A7A; }
.jj-certfile { margin-top: 8px; color: #9A9AA2; font: 500 13px 'DM Sans', system-ui, sans-serif; max-width: 100%; }
.jj-certarea { min-height: 120px; }
.jj-tlsmethod { display: flex; flex-direction: column; gap: 8px; margin: 4px 0 14px; }
@media (max-width: 860px) {
  .jj-certrow { grid-template-columns: minmax(0, 1fr) auto; }
  .jj-certrow .jj-certexp { grid-column: 1; }
  .jj-certrow .jj-certacts { grid-column: 1 / -1; justify-content: flex-start; }
}

/* Request filter card on the Access tab of a website */
.jj-ov.jj-filter { grid-template-columns: minmax(0, 1fr); margin-top: 16px; }
.jj-filter .jj-filterlist[hidden], .jj-filter .fm-btn[hidden] { display: none; }
.jj-filtergroup { align-items: flex-start; }
.jj-filtertag { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 999px; border: 1px solid #5A4A1E; color: #F2C14E; font: 500 11px 'DM Sans', system-ui, sans-serif; vertical-align: middle; }
.jj-filtertag.jj-filterdef { border-color: #3B4A1A; color: #CFFF4A; }
.jj-filterrules { margin-top: 6px; color: #8C8C94; font: 400 13px 'DM Sans', system-ui, sans-serif; }
.jj-filterrules summary { cursor: pointer; }
.jj-filterrules ul { margin: 6px 0 0; padding-left: 18px; }
.jj-filterrules li { margin: 2px 0; overflow-wrap: anywhere; }

/* Performance tab of a website (tools/src/performance.js). */
.jj-perfnote { margin: 4px 0 0; color: #9A9AA2; font: 500 13px/1.45 'DM Sans', system-ui, sans-serif; }
.jj-performance .jj-empty a { color: #CFFF4A; text-decoration: underline; text-underline-offset: 3px; }

/* Processes of a site, and the scheduled scan under its Protection page */
.jj-ov.jj-procs { grid-template-columns: minmax(0, 1fr); }
.jj-ov.jj-scansched { margin-top: 20px; }
.jj-scanlast { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 6px 0 8px; }
.jj-scanlast small { color: #9A9AA2; font: 500 12px 'DM Sans', system-ui, sans-serif; }
.jj-scanfound { max-height: 240px; overflow: auto; }

/* Monitoring and Server pages (tools/src/monitoring.js, tools/src/serverops.js). */
.jj-sh-charts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.jj-sh-chart { display: flex; flex-direction: column; }
.jj-sh-chart .jj-card-head { margin-bottom: 6px; }
.jj-sh-now { font-size: 30px; line-height: 1.1; color: #fff; min-height: 33px; }
.jj-sh-at { min-height: 18px; margin-top: 2px; color: #8C8C94; font: 500 12px 'DM Sans', system-ui, sans-serif; }
.jj-sh-plot { position: relative; margin-top: 12px; height: 160px; border-radius: 14px; background: #151518; overflow: hidden; }
.jj-sh-svg { display: block; width: 100%; height: 100%; cursor: crosshair; }
.jj-sh-grid line { stroke: #26262B; stroke-width: 1; vector-effect: non-scaling-stroke; }
.jj-sh-line { stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.jj-sh-l1 { stroke: #CFFF4A; }
.jj-sh-l2 { stroke: #B4A0FF; }
.jj-sh-th { stroke: #FFC76A; stroke-width: 1.5; stroke-dasharray: 6 5; vector-effect: non-scaling-stroke; }
.jj-sh-cursor { stroke: #8C8C94; stroke-width: 1; vector-effect: non-scaling-stroke; }
.jj-sh-ymax { position: absolute; top: 6px; right: 10px; color: #6E6E76; font: 600 11px 'DM Sans', system-ui, sans-serif; pointer-events: none; }
.jj-sh-axis { display: flex; justify-content: space-between; margin-top: 6px; color: #8C8C94; font: 500 12px 'DM Sans', system-ui, sans-serif; }
.jj-sh-legend { display: flex; gap: 16px; margin-top: 8px; color: #C8C8CE; font: 600 12px 'DM Sans', system-ui, sans-serif; }
.jj-sh-key::before { content: ""; display: inline-block; width: 14px; height: 3px; margin-right: 7px; vertical-align: middle; border-radius: 2px; background: #CFFF4A; }
.jj-sh-key.jj-sh-l2::before { background: #B4A0FF; }
.jj-sh-form { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 18px; }
.jj-sh-acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.jj-sh-state { color: #E6E6E6; font: 600 15px/1.5 'DM Sans', system-ui, sans-serif; }
.jj-sh-reboot { margin-top: 12px; padding: 12px 16px; border-radius: 16px; background: rgba(255, 190, 80, .12); color: #FFC76A; font: 600 14px/1.45 'DM Sans', system-ui, sans-serif; }
.jj-sh-pkgs { margin-top: 12px; }
.jj-sh-pkg { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid #26262B; }
.jj-sh-pkgs .jj-sh-pkg:first-child { border-top: 0; }
.jj-sh-auto { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px; padding-top: 18px; border-top: 1px solid #26262B; }
.jj-sh-duo { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
.jj-sh-select { appearance: none; cursor: pointer; }
.field.jj-sh-keyin { height: auto; min-height: 84px; padding: 12px 18px; border-radius: 20px; resize: vertical; font: 400 13px/1.4 'DM Mono', ui-monospace, monospace; }
.jj-sh-fp { font-family: 'DM Mono', ui-monospace, monospace; word-break: break-all; }
@media (max-width: 1100px) { .jj-sh-duo { grid-template-columns: minmax(0, 1fr); } .jj-sh-form { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .jj-sh-charts { grid-template-columns: minmax(0, 1fr); } .jj-sh-form { grid-template-columns: minmax(0, 1fr); } .jj-sh-auto { flex-direction: column; align-items: stretch; } }

/* SFTP accounts of a site */
.jj-ov.jj-sftp { grid-template-columns: minmax(0, 1fr); }
.jj-sftpkeys { display: flex; flex-direction: column; gap: 4px; margin-top: 4px; }
.jj-sftpkey { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font: 500 12px 'DM Sans', system-ui, sans-serif; color: #9A9AA2; }
.jj-sftpkey code { font: 500 12px ui-monospace, SFMono-Regular, Menlo, monospace; overflow-wrap: anywhere; }
.jj-sftphint { display: grid; grid-template-columns: max-content minmax(0, 1fr) max-content; gap: 6px 12px; align-items: center; margin: 6px 0 2px; }
.jj-sftphint code { font: 500 13px ui-monospace, SFMono-Regular, Menlo, monospace; overflow-wrap: anywhere; }
.jj-sftpfp { font: 500 12px ui-monospace, SFMono-Regular, Menlo, monospace; overflow-wrap: anywhere; min-height: 1.4em; }
textarea.jj-sftppaste { min-height: 96px; font: 500 12px ui-monospace, SFMono-Regular, Menlo, monospace; resize: vertical; }
@media (max-width: 640px) { .jj-sftphint { grid-template-columns: minmax(0, 1fr); } }

/* Uptime page (tools/src/uptime.js). */
.jj-up-list { margin-top: 6px; }
.jj-up-row { padding: 16px 0; border-top: 1px solid #26262B; }
.jj-up-list .jj-up-row:first-child { border-top: 0; }
.jj-up-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 18px; }
.jj-up-name { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-width: 0; }
.jj-up-name strong { font: 700 15px 'DM Sans', system-ui, sans-serif; color: #F4F2EC; overflow-wrap: anywhere; }
.jj-up-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.jj-up-info small, .jj-up-head > small { color: #9A9AA2; font: 500 13px/1.45 'DM Sans', system-ui, sans-serif; overflow-wrap: anywhere; }
.jj-up-info .jj-up-note { color: #FFC76A; }
.jj-up-bars { display: flex; gap: 2px; height: 26px; margin: 12px 0 6px; }
.jj-up-d { flex: 1 1 0; min-width: 0; border-radius: 2px; background: #26262B; }
.jj-up-ok { background: #CFFF4A; }
.jj-up-warn { background: #FFC76A; }
.jj-up-bad { background: #FF8A7A; }
.jj-up-body { margin-top: 6px; white-space: pre-line; overflow-wrap: anywhere; }
.jj-up-row .jj-certacts { margin-top: 8px; justify-content: flex-start; }
@media (max-width: 860px) { .jj-up-bars { height: 20px; } }
