/* Theme colours (generated by tools/theme.mjs). */
:root{--jj-bd-00000040:rgba(0,0,0,.25);--jj-bd-00000080:rgba(0,0,0,.5);--jj-bd-0000008c:rgba(0, 0, 0, .55);--jj-bd-111111:#111;--jj-bd-1f1f24:#1F1F24;--jj-bd-202026:#202026;--jj-bd-222226:#222226;--jj-bd-26262b:#26262B;--jj-bd-2a2a30:#2A2A30;--jj-bd-2c2c32:#2C2C32;--jj-bd-34343a:#34343A;--jj-bd-34343b:#34343B;--jj-bd-3a3a40:#3A3A40;--jj-bd-3a3a42:#3A3A42;--jj-bd-3b4a1a:#3B4A1A;--jj-bd-4a4a52:#4A4A52;--jj-bd-555555:#555;--jj-bd-5a2a25:#5A2A25;--jj-bd-5a4a1e:#5A4A1E;--jj-bd-5a5a62:#5A5A62;--jj-bd-7a2e27:#7A2E27;--jj-bd-9ed8ff:#9ED8FF;--jj-bd-b42318:#B42318;--jj-bd-b79cff:#B79CFF;--jj-bd-bdbdbd:#BDBDBD;--jj-bd-cfff4a:#CFFF4A;--jj-bd-cfff4a2e:rgba(207, 255, 74, .18);--jj-bd-cfff4a59:rgba(207, 255, 74, .35);--jj-bd-f4f2ec:#F4F2EC;--jj-bd-ff8a7a:#FF8A7A;--jj-bd-ff8ac0:#FF8AC0;--jj-bd-ff9f6b:#FF9F6B;--jj-bd-ffa091:#FFA091;--jj-bg-000000:#000;--jj-bg-0000008c:rgba(0, 0, 0, .55);--jj-bg-00000099:rgba(0, 0, 0, .6);--jj-bg-08080a:#08080A;--jj-bg-0a0a0c:#0A0A0C;--jj-bg-0b0b0d:#0B0B0D;--jj-bg-0e0e10:#0E0E10;--jj-bg-0e0e10cc:rgba(14, 14, 16, .8);--jj-bg-0e0e10e6:rgba(14, 14, 16, .9);--jj-bg-131317:#131317;--jj-bg-131317eb:rgba(19, 19, 23, .92);--jj-bg-151518:#151518;--jj-bg-151519:#151519;--jj-bg-17171b:#17171B;--jj-bg-1b1b1b:#1B1B1B;--jj-bg-1b1b1f:#1B1B1F;--jj-bg-1e1e22:#1E1E22;--jj-bg-202024:#202024;--jj-bg-232327:#232327;--jj-bg-232328:#232328;--jj-bg-26262b:#26262B;--jj-bg-28282e:#28282E;--jj-bg-2a2a2a:#2A2A2A;--jj-bg-2a2a30:#2A2A30;--jj-bg-2c2c32:#2C2C32;--jj-bg-2e2e35:#2E2E35;--jj-bg-34343a:#34343A;--jj-bg-3a3a42:#3A3A42;--jj-bg-3b1512:#3B1512;--jj-bg-4fbf67:#4fbf67;--jj-bg-55555e:#55555E;--jj-bg-5a5a62:#5A5A62;--jj-bg-8a8a8a:#8a8a8a;--jj-bg-8c8c94:#8C8C94;--jj-bg-b4a0ff:#B4A0FF;--jj-bg-b4a0ff2e:rgba(180, 160, 255, .18);--jj-bg-cfff4a0f:rgba(207, 255, 74, .06);--jj-bg-cfff4a14:rgba(207, 255, 74, .08);--jj-bg-cfff4a1f:rgba(207, 255, 74, .12);--jj-bg-cfff4a24:rgba(207, 255, 74, .14);--jj-bg-e0603a:#e0603a;--jj-bg-ff8a7a:#FF8A7A;--jj-bg-ff8a7a14:rgba(255, 138, 122, .08);--jj-bg-ff8a7a1a:rgba(255, 138, 122, .1);--jj-bg-ff8a7a29:rgba(255, 138, 122, .16);--jj-bg-ffa091:#FFA091;--jj-bg-ffbe501f:rgba(255, 190, 80, .12);--jj-bg-ffbe5029:rgba(255, 190, 80, .16);--jj-bg-ffc76a:#FFC76A;--jj-fg-0e0e10:#0E0E10;--jj-fg-111111:#111;--jj-fg-1a0b09:#1A0B09;--jj-fg-26262b:#26262B;--jj-fg-34343b:#34343B;--jj-fg-55555c:#55555C;--jj-fg-6e6e76:#6E6E76;--jj-fg-777777:#777;--jj-fg-8c8c94:#8C8C94;--jj-fg-9a9aa2:#9A9AA2;--jj-fg-9fd8ff:#9FD8FF;--jj-fg-a8a8ae:#A8A8AE;--jj-fg-a8a8b0:#A8A8B0;--jj-fg-b42318:#B42318;--jj-fg-b4a0ff:#B4A0FF;--jj-fg-b8b8be:#B8B8BE;--jj-fg-b9b9c0:#B9B9C0;--jj-fg-bdbdbd:#BDBDBD;--jj-fg-c8c8ce:#C8C8CE;--jj-fg-c9c9c9:#C9C9C9;--jj-fg-c9c9ce:#C9C9CE;--jj-fg-cbb9ff:#CBB9FF;--jj-fg-cfff4a:#CFFF4A;--jj-fg-d0d0d5:#D0D0D5;--jj-fg-d7d7db:#D7D7DB;--jj-fg-d8d8dc:#D8D8DC;--jj-fg-e6e6e6:#E6E6E6;--jj-fg-e8b04a:#E8B04A;--jj-fg-f2c14e:#F2C14E;--jj-fg-f2f2f4:#F2F2F4;--jj-fg-f4f2ec:#F4F2EC;--jj-fg-ff8a7a:#FF8A7A;--jj-fg-ffc76a:#FFC76A;--jj-fg-ffd9d4:#FFD9D4;--jj-fg-ffe27a:#FFE27A;--jj-fg-ffffff:#fff}
:root[data-theme="light"]{--jj-bd-00000040:rgba(0, 0, 0, .12);--jj-bd-00000080:rgba(0, 0, 0, .12);--jj-bd-0000008c:rgba(0, 0, 0, .14);--jj-bd-111111:#111111;--jj-bd-1f1f24:#d9d6cc;--jj-bd-202026:#d9d6cc;--jj-bd-222226:#ecebe4;--jj-bd-26262b:#e4e1d8;--jj-bd-2a2a30:#dddad0;--jj-bd-2c2c32:#dddad0;--jj-bd-34343a:#dddad0;--jj-bd-34343b:#cfcbc1;--jj-bd-3a3a40:#c4c1b7;--jj-bd-3a3a42:#c4c1b7;--jj-bd-3b4a1a:#a9c46a;--jj-bd-4a4a52:#bcb9af;--jj-bd-555555:#8a877f;--jj-bd-5a2a25:#e8b4ac;--jj-bd-5a4a1e:#d9c27a;--jj-bd-5a5a62:#8a877f;--jj-bd-7a2e27:#e3a59c;--jj-bd-9ed8ff:#0a78bd;--jj-bd-b42318:#f0b4ab;--jj-bd-b79cff:#7c5ce6;--jj-bd-bdbdbd:#55555c;--jj-bd-cfff4a:#4d7c0f;--jj-bd-cfff4a2e:rgba(77, 124, 15, .35);--jj-bd-cfff4a59:rgba(77, 124, 15, .45);--jj-bd-f4f2ec:#17171a;--jj-bd-ff8a7a:#c8341f;--jj-bd-ff8ac0:#c2185b;--jj-bd-ff9f6b:#d1570f;--jj-bd-ffa091:#a82a18;--jj-bg-000000:#faf9f6;--jj-bg-0000008c:rgba(17, 17, 17, .3);--jj-bg-00000099:rgba(17, 17, 17, .35);--jj-bg-08080a:#e6e3da;--jj-bg-0a0a0c:#e6e3da;--jj-bg-0b0b0d:#faf9f6;--jj-bg-0e0e10:#f1efe8;--jj-bg-0e0e10cc:rgba(241, 239, 232, .8);--jj-bg-0e0e10e6:rgba(241, 239, 232, .9);--jj-bg-131317:#f4f2ec;--jj-bg-131317eb:rgba(244, 242, 236, .92);--jj-bg-151518:#ffffff;--jj-bg-151519:#f1efe9;--jj-bg-17171b:#d9d6cc;--jj-bg-1b1b1b:#ffffff;--jj-bg-1b1b1f:#ffffff;--jj-bg-1e1e22:#ffffff;--jj-bg-202024:#f4f2ec;--jj-bg-232327:#faf9f6;--jj-bg-232328:#faf9f6;--jj-bg-26262b:#ecebe4;--jj-bg-28282e:#f1efe8;--jj-bg-2a2a2a:#e9e6dd;--jj-bg-2a2a30:#e9e6dd;--jj-bg-2c2c32:#e3e0d6;--jj-bg-2e2e35:#e3e0d6;--jj-bg-34343a:#e3e0d6;--jj-bg-3a3a42:#c9c6bc;--jj-bg-3b1512:#fdecea;--jj-bg-4fbf67:#1f9d55;--jj-bg-55555e:#a9a69c;--jj-bg-5a5a62:#a3a3ab;--jj-bg-8a8a8a:#8a8a8a;--jj-bg-8c8c94:#8c8c94;--jj-bg-b4a0ff:#6b4fd8;--jj-bg-b4a0ff2e:rgba(91, 63, 196, .12);--jj-bg-cfff4a0f:rgba(77, 124, 15, .06);--jj-bg-cfff4a14:rgba(77, 124, 15, .08);--jj-bg-cfff4a1f:rgba(77, 124, 15, .12);--jj-bg-cfff4a24:rgba(77, 124, 15, .13);--jj-bg-e0603a:#d0472a;--jj-bg-ff8a7a:#c8341f;--jj-bg-ff8a7a14:rgba(200, 52, 31, .07);--jj-bg-ff8a7a1a:rgba(200, 52, 31, .08);--jj-bg-ff8a7a29:rgba(200, 52, 31, .12);--jj-bg-ffa091:#a82a18;--jj-bg-ffbe501f:rgba(208, 138, 0, .12);--jj-bg-ffbe5029:rgba(208, 138, 0, .16);--jj-bg-ffc76a:#d08a00;--jj-fg-0e0e10:#0e0e10;--jj-fg-111111:#111111;--jj-fg-1a0b09:#ffffff;--jj-fg-26262b:#e4e1d8;--jj-fg-34343b:#d6d3ca;--jj-fg-55555c:#6e6e76;--jj-fg-6e6e76:#63636b;--jj-fg-777777:#606067;--jj-fg-8c8c94:#5c5c64;--jj-fg-9a9aa2:#5a5a62;--jj-fg-9fd8ff:#0a5e95;--jj-fg-a8a8ae:#55555c;--jj-fg-a8a8b0:#55555d;--jj-fg-b42318:#b42318;--jj-fg-b4a0ff:#5b3fc4;--jj-fg-b8b8be:#4a4a52;--jj-fg-b9b9c0:#4a4a52;--jj-fg-bdbdbd:#4a4a4f;--jj-fg-c8c8ce:#3f3f46;--jj-fg-c9c9c9:#3a3a40;--jj-fg-c9c9ce:#3a3a40;--jj-fg-cbb9ff:#5b3fc4;--jj-fg-cfff4a:#3f6212;--jj-fg-d0d0d5:#2e2e33;--jj-fg-d7d7db:#2e2e33;--jj-fg-d8d8dc:#2e2e33;--jj-fg-e6e6e6:#26262b;--jj-fg-e8b04a:#8a5300;--jj-fg-f2c14e:#7a5a00;--jj-fg-f2f2f4:#17171a;--jj-fg-f4f2ec:#17171a;--jj-fg-ff8a7a:#b42318;--jj-fg-ffc76a:#8a5300;--jj-fg-ffd9d4:#7a1a10;--jj-fg-ffe27a:#7a6200;--jj-fg-ffffff:#17171a}
/* 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: var(--jj-fg-111111); outline: 0; font-family: inherit; }
.code-box:focus, .f:focus { box-shadow: 0 0 0 3px var(--jj-bd-cfff4a), 0 0 0 5px var(--jj-bd-111111); }
.code-box.filled { background: #CFFF4A; }
.f[hidden], .code-box[hidden] { display: none; }
.err { color: var(--jj-fg-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: var(--jj-bg-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: var(--jj-bg-2a2a2a) !important; color: var(--jj-fg-bdbdbd); }
.codein { height: 46px; width: 150px; box-sizing: border-box; border-radius: 999px; border: 1.5px solid var(--jj-bd-555555); background: transparent; color: var(--jj-fg-ffffff); padding: 0 18px; font: 500 15px 'DM Mono', monospace; letter-spacing: .2em; outline: 0; }
.codein:focus { border-color: var(--jj-bd-cfff4a); }
.ufhhxny:disabled { opacity: .5; cursor: progress; }
.u1rx2uyq:disabled { opacity: .4; cursor: not-allowed; }
.u1f4p4bc .info { color: var(--jj-fg-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 var(--jj-bd-555555); background: var(--jj-bg-1b1b1b); color: var(--jj-fg-ffffff); padding: 0 18px; font: 500 14px 'DM Sans', system-ui, sans-serif; outline: 0; }
.field:focus { border-color: var(--jj-bd-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 var(--jj-bd-bdbdbd); border-bottom: 2px solid var(--jj-bd-bdbdbd); transform: rotate(45deg) translateY(-2px); }
.msel[open] .msel-label { border-color: var(--jj-bd-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: var(--jj-bg-1b1b1b); border: 1.5px solid var(--jj-bd-555555); box-shadow: 0 12px 32px var(--jj-bd-00000080); }
.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: var(--jj-fg-e6e6e6); }
.msel-pop label:hover { background: var(--jj-bg-2a2a2a); }
.msel-pop input { accent-color: var(--jj-bd-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: var(--jj-fg-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: var(--jj-fg-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: var(--jj-bg-0b0b0d) !important; border: 1.5px solid var(--jj-bd-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: var(--jj-fg-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: var(--jj-bg-2a2a2a); }
.fwbanner .fwtext { flex: 1 1 320px; font-size: 13px; color: var(--jj-fg-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 var(--jj-bd-34343a); }
.infrow .t { font: 700 15px 'DM Sans', system-ui, sans-serif; color: var(--jj-fg-f4f2ec); }
.infrow .d { font: 400 13px/1.55 'DM Sans', system-ui, sans-serif; color: var(--jj-fg-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 var(--jj-bd-555555); background: var(--jj-bg-1b1b1b); color: var(--jj-fg-f4f2ec); font: 400 13px/1.5 'DM Mono', monospace; resize: vertical; outline: 0; tab-size: 4; }
.etext:focus { border-color: var(--jj-bd-cfff4a); }
.frow { display: flex; gap: 10px; align-items: center; padding: 10px 4px; border-bottom: 1px solid var(--jj-bd-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: var(--jj-fg-f4f2ec); cursor: pointer; }
.frow .fm { color: var(--jj-fg-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: var(--jj-fg-c9c9c9); }
.dbrow > .u1xn3lfm { width: auto; flex: 0 0 90px; }
#sessions .dbrow, #users .dbrow:not(:first-child) { padding: 12px 0; border-bottom: 1px solid var(--jj-bd-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: var(--jj-fg-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 var(--jj-bd-26262b); }
.jj-thead { height: 34px; padding: 0; color: var(--jj-fg-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: var(--jj-fg-f4f2ec); }
.jj-tname strong { font-weight: 700; } .jj-tname small, .jj-tsub { color: var(--jj-fg-8c8c94); font: 500 12px 'DM Mono', monospace; overflow-wrap: anywhere; }
.jj-tmono { font: 500 13px 'DM Mono', monospace; color: var(--jj-fg-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: var(--jj-fg-cfff4a); } .jj-dstate-bad { color: var(--jj-fg-ff8a7a); }
.jj-dstate-pull { color: var(--jj-fg-cfff4a); } .jj-dstate-pull::before { width: 11px; height: 11px; background: none; border: 2px solid var(--jj-bd-3a3a42); border-top-color: var(--jj-bd-cfff4a); animation: jj-spin .7s linear infinite; } .jj-dstate-off { color: var(--jj-fg-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: var(--jj-fg-f4f2ec); font: 700 22px 'DM Sans', system-ui, sans-serif; letter-spacing: -.01em; }
.jj-dsub { color: var(--jj-fg-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: var(--jj-bg-232328); border: 1.5px solid var(--jj-bd-2c2c32); color: var(--jj-fg-f4f2ec); text-align: left; cursor: pointer; font-family: inherit; transition: border-color .15s, background .15s; }
.jj-dtile:hover { border-color: var(--jj-bd-cfff4a); background: var(--jj-bg-28282e); }
.jj-dtile-t { font-size: 17px; font-weight: 700; }
.jj-dtile-d { font-size: 13px; color: var(--jj-fg-9a9aa2); font-weight: 500; }
.jj-dtile-i { margin-top: 10px; font: 500 12px 'DM Mono', monospace; color: var(--jj-fg-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: var(--jj-bg-232328); border: 1.5px solid var(--jj-bd-34343b); box-shadow: 0 14px 34px var(--jj-bd-00000080); padding: 6px; }
.jj-sitem { display: flex; flex-direction: column; gap: 2px; width: 100%; padding: 9px 12px; border: 0; border-radius: 11px; background: none; color: var(--jj-fg-f4f2ec); text-align: left; cursor: pointer; font-family: inherit; }
.jj-sitem:hover { background: var(--jj-bg-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: var(--jj-bg-3a3a42); color: var(--jj-fg-cfff4a); }
.jj-sstar { margin-left: auto; color: var(--jj-fg-9a9aa2); font: 500 12px 'DM Sans', system-ui, sans-serif; }
.jj-sdesc { color: var(--jj-fg-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: var(--jj-fg-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 var(--jj-bd-3a3a42); border-top-color: var(--jj-bd-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: var(--jj-fg-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: var(--jj-fg-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: var(--jj-bg-0e0e10); border: 1.5px solid var(--jj-bd-2c2c32); color: var(--jj-fg-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 var(--jj-bd-26262b); }
.jj-vlabel { color: var(--jj-fg-8c8c94); font: 600 13px 'DM Sans', system-ui, sans-serif; }
.jj-vvalue { font: 500 13px 'DM Mono', monospace; color: var(--jj-fg-f4f2ec); overflow-wrap: anywhere; }
.jj-vvalue.secret { color: var(--jj-fg-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: var(--jj-bg-1b1b1f); border: 1.5px solid var(--jj-bd-cfff4a); color: var(--jj-fg-f4f2ec); font: 600 14px 'DM Sans', system-ui, sans-serif; box-shadow: 0 12px 32px var(--jj-bd-00000080); opacity: 0; pointer-events: none; transition: opacity .15s, transform .15s; }
.jj-toast.on { opacity: 1; transform: translate(-50%, 0); }
.jj-toast.bad { border-color: var(--jj-bd-ff8a7a); color: var(--jj-fg-ffd9d4); }
/* Add website dialog */
.jj-addsite { width: min(94vw, 680px); 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: var(--jj-fg-8c8c94); }
.jj-fhint { margin-top: 8px; color: var(--jj-fg-9a9aa2); font: 500 13px/1.45 'DM Sans', system-ui, sans-serif; }
.jj-addsite .field { width: 100%; box-sizing: border-box; }
.field.jj-sftppaste { height: auto; min-height: 104px; padding: 12px 16px; border-radius: 16px; resize: vertical; font: 400 12.5px/1.5 'DM Mono', ui-monospace, monospace; word-break: break-all; }
.jj-sftplogin { font-family: 'DM Mono', ui-monospace, monospace; }
.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 var(--jj-bd-3a3a40); background: transparent; color: var(--jj-fg-e6e6e6); font: 700 13px 'DM Sans', system-ui, sans-serif; cursor: pointer; white-space: nowrap; }
.jj-segbtn:hover { border-color: var(--jj-bd-cfff4a); }
.jj-addsite.jj-wide { width: min(94vw, 760px); padding: 26px 28px; }
.jj-cats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.jj-cat { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-width: 0; min-height: 220px; padding: 20px 18px; border-radius: 26px; border: 1.5px solid var(--jj-bd-3a3a40); background: transparent; color: var(--jj-fg-e6e6e6); text-align: left; cursor: pointer; font-family: 'DM Sans', system-ui, sans-serif; }
.jj-cat:hover, .jj-cat:focus-visible { border-color: var(--jj-bd-cfff4a); outline: 0; }
.jj-catico { display: flex; align-items: center; gap: 12px; min-height: 40px; margin-bottom: 10px; }
.jj-catnm { font-weight: 700; font-size: 19px; }
.jj-cathint { color: var(--jj-fg-9a9aa2); font-weight: 500; font-size: 14px; line-height: 1.5; }
.jj-wiztiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.jj-wiztile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-width: 0; min-height: 120px; padding: 14px 10px; border-radius: 24px; border: 1.5px solid var(--jj-bd-3a3a40); background: transparent; color: var(--jj-fg-e6e6e6); text-align: center; cursor: pointer; font: 700 15px 'DM Sans', system-ui, sans-serif; }
.jj-wiztile:hover, .jj-wiztile:focus-visible { border-color: var(--jj-bd-cfff4a); outline: 0; }
.jj-wiztileico { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; color: var(--jj-fg-e6e6e6); }
@media (max-width: 560px) { .jj-cats, .jj-wiztiles { grid-template-columns: 1fr 1fr; } .jj-cat:first-child { grid-column: 1 / -1; } }
.jj-steps { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0 0 16px; padding: 0; list-style: none; }
.jj-step { display: inline-flex; align-items: center; gap: 8px; color: var(--jj-fg-8c8c94); font: 700 12px 'DM Sans', system-ui, sans-serif; }
.jj-stepn { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 999px; border: 1.5px solid var(--jj-bd-3a3a40); font-size: 11px; }
.jj-step.on { color: var(--jj-fg-e6e6e6); }
.jj-step.on .jj-stepn { background: #CFFF4A; border-color: #CFFF4A; color: #111; }
.jj-step.done .jj-stepn { border-color: var(--jj-bd-cfff4a); color: var(--jj-fg-cfff4a); }
.jj-stepnav { display: flex; gap: 10px; margin-top: 8px; position: sticky; bottom: -24px; padding: 12px 0 24px; background: var(--jj-bg-1b1b1f); }
.jj-stepnav .fm-btn:not(.fm-primary) { flex: 0 0 auto; }
.jj-stepnav .fm-btn { height: 52px; font-size: 15px; }
.jj-stepnav .jj-addgo { width: auto; flex: 1 1 auto; margin-top: 0; }
.jj-choicehint { margin: 0 0 14px; }
.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: var(--jj-fg-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: var(--jj-fg-e6e6e6); font: 700 13px 'DM Sans', system-ui, sans-serif; cursor: pointer; }
.jj-pg:hover:not(:disabled), .jj-pg:focus-visible { border-color: var(--jj-bd-3a3a40); outline: 0; }
.jj-pg.on { background: #CFFF4A; color: #111; }
.jj-pg:disabled { opacity: .35; cursor: default; }
.jj-pg-gap { color: var(--jj-fg-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: var(--jj-bg-1b1b1f); color: var(--jj-fg-e6e6e6); border: 1.5px solid var(--jj-bd-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: var(--jj-bd-cfff4a); color: var(--jj-fg-cfff4a); outline: 0; }
.jj-ipchip .jj-copyicon { flex: none; color: var(--jj-fg-8c8c94); }
.jj-ipchip:hover .jj-copyicon { color: var(--jj-fg-cfff4a); }
.jj-ipchip.copied { border-color: var(--jj-bd-cfff4a); color: var(--jj-fg-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 var(--jj-bd-bdbdbd); border-bottom: 2px solid var(--jj-bd-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: var(--jj-bd-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: var(--jj-bd-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: var(--jj-bg-1b1b1f); border: 1.5px solid var(--jj-bd-2c2c32); box-shadow: 0 18px 50px var(--jj-bd-0000008c); 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 var(--jj-bd-2c2c32); }
.jj-menu-name { font: 700 15px 'DM Sans', system-ui, sans-serif; color: var(--jj-fg-f4f2ec); }
.jj-menu-role { margin-top: 2px; font: 600 12px 'DM Sans', system-ui, sans-serif; color: var(--jj-fg-8c8c94); }
.jj-menu-item { display: block; width: 100%; box-sizing: border-box; padding: 10px 14px; border: 0; border-radius: 14px; background: transparent; color: var(--jj-fg-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: var(--jj-bg-2a2a30); color: var(--jj-fg-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: var(--jj-fg-8c8c94); font: 600 13px 'DM Sans', system-ui, sans-serif; text-decoration: none; }
.jj-back:hover { color: var(--jj-fg-cfff4a); }
.jj-sitehead { display: flex; align-items: center; gap: 14px; flex: 1 0 100%; 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: var(--jj-bg-1b1b1f); border: 1.5px solid var(--jj-bd-2c2c32); color: var(--jj-fg-c9c9c9); font: 600 12px 'DM Sans', system-ui, sans-serif; white-space: nowrap; }
.jj-chip.jj-warn { border-color: var(--jj-bd-7a2e27); color: var(--jj-fg-ff8a7a); }
.jj-sitetabs { display: flex; gap: 4px; padding: 5px; border-radius: 999px; background: var(--jj-bg-1e1e22); flex-wrap: wrap; }
.jj-sitetab { display: inline-flex; align-items: center; height: 38px; padding: 0 18px; border-radius: 999px; color: var(--jj-fg-e6e6e6); font: 700 13px 'DM Sans', system-ui, sans-serif; text-decoration: none; white-space: nowrap; }
.jj-sitetab:hover { color: var(--jj-fg-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: var(--jj-bg-1b1b1f); border: 1.5px solid var(--jj-bd-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: var(--jj-fg-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 var(--jj-bd-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: var(--jj-fg-f4f2ec); }
.jj-act-sub { margin-top: 3px; color: var(--jj-fg-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: var(--jj-bd-7a2e27); color: var(--jj-fg-ff8a7a); }
.jj-act .jj-danger:hover { border-color: var(--jj-bd-ff8a7a); background: var(--jj-bg-ff8a7a1a); }
.jj-empty { color: var(--jj-fg-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: var(--jj-bg-1b1b1f); border: 1.5px solid var(--jj-bd-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 var(--jj-bd-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: var(--jj-fg-a8a8b0); cursor: pointer; font: inherit; }
.fm-crumb:hover { color: var(--jj-fg-f4f2ec); background: var(--jj-bg-26262b); }
.fm-crumb.on { color: var(--jj-fg-f4f2ec); font-weight: 800; }
.fm-sep { color: var(--jj-fg-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 var(--jj-bd-3a3a40); background: transparent; color: var(--jj-fg-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: var(--jj-bd-cfff4a); color: var(--jj-fg-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: var(--jj-fg-a8a8b0); }
.fm-small { height: 32px; padding: 0 14px; font-size: 12px; }
.fm-danger { color: var(--jj-fg-ff8a7a); border-color: var(--jj-bd-5a2a25); }
.fm-danger:hover { border-color: var(--jj-bd-ff8a7a); color: var(--jj-fg-ff8a7a); background: var(--jj-bg-ff8a7a14); }
.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 var(--jj-bd-222226); }
.fm-row:not(.fm-head):hover { background: var(--jj-bg-202024); border-radius: 14px; }
.fm-head { padding-top: 12px; padding-bottom: 8px; color: var(--jj-fg-8c8c94); font: 700 11px 'DM Sans', system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase; border-bottom-color: var(--jj-bd-26262b); }
.fm-name { display: flex; align-items: center; gap: 12px; min-width: 0; }
.fm-open { background: transparent; border: 0; padding: 4px 6px; color: var(--jj-fg-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: var(--jj-fg-a8a8b0); }
.fm-icon { display: inline-flex; flex: none; color: var(--jj-fg-8c8c94); }
.fm-icon-dir { color: var(--jj-fg-cfff4a); }
.fm-size, .fm-mode { color: var(--jj-fg-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: var(--jj-fg-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: var(--jj-fg-8c8c94); font: 500 12px 'DM Mono', monospace; }
.fm-ecount.bad { color: var(--jj-fg-ff8a7a); }
.fm-text { box-sizing: border-box; width: 100%; min-height: 440px; padding: 16px 18px; border-radius: 22px; border: 1.5px solid var(--jj-bd-2c2c32); background: var(--jj-bg-0e0e10); color: var(--jj-fg-e6e6e6); font: 500 13px/1.6 'DM Mono', monospace; resize: vertical; outline: 0; tab-size: 2; }
.fm-text:focus { border-color: var(--jj-bd-cfff4a); }
.fm-drop { position: absolute; inset: 8px; display: flex; align-items: center; justify-content: center; border-radius: 30px; border: 2px dashed var(--jj-bd-cfff4a); background: var(--jj-bg-0e0e10e6); color: var(--jj-fg-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: var(--jj-fg-cfff4a); font: 600 13px 'DM Sans', system-ui, sans-serif; opacity: 0; transition: opacity .15s; }
.fm-toast.on { opacity: 1; }
.fm-toast.bad { color: var(--jj-fg-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: var(--jj-bd-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: var(--jj-bg-2a2a30); color: var(--jj-fg-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: var(--jj-bg-232327); border: 1.5px solid var(--jj-bd-34343a); }
.fm-pastebar { background: var(--jj-bg-cfff4a14); border-color: var(--jj-bd-cfff4a59); }
.fm-selbar[hidden] { display: none; }
.fm-selcount { font: 700 13px 'DM Sans', system-ui, sans-serif; color: var(--jj-fg-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: var(--jj-bg-1b1b1f); border: 1.5px solid var(--jj-bd-2c2c32); box-shadow: 0 18px 50px var(--jj-bd-0000008c); 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: var(--jj-fg-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: var(--jj-bg-2a2a30); color: var(--jj-fg-cfff4a); outline: 0; }
.fm-menu-item.danger { color: var(--jj-fg-ff8a7a); }
.fm-menu-item.danger:hover, .fm-menu-item.danger:focus-visible { background: var(--jj-bg-ff8a7a1a); color: var(--jj-fg-ff8a7a); }
.fm-menu-sep { height: 1px; margin: 4px 6px; background: var(--jj-bg-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: var(--jj-fg-8c8c94); }
.fm-permwho { display: flex; flex-direction: column; gap: 1px; }
.fm-permwho strong { font: 700 14px 'DM Sans', system-ui, sans-serif; color: var(--jj-fg-f4f2ec); }
.fm-permwho small { font: 500 12px 'DM Sans', system-ui, sans-serif; color: var(--jj-fg-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: var(--jj-fg-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 var(--jj-bd-3a3a40); background: var(--jj-bg-0e0e10); color: var(--jj-fg-f4f2ec); text-align: center; padding: 0; outline: 0; font: 700 28px 'Bricolage Grotesque', 'DM Sans', system-ui, sans-serif; }
.jj-box:focus { border-color: var(--jj-bd-cfff4a); box-shadow: 0 0 0 3px var(--jj-bd-cfff4a2e); }
.jj-box.filled { border-color: var(--jj-bd-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 var(--jj-bd-3a3a40); background: transparent; color: var(--jj-fg-a8a8b0); cursor: pointer; }
.jj-dclose:hover, .jj-dclose:focus-visible { border-color: var(--jj-bd-cfff4a); color: var(--jj-fg-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: var(--jj-fg-f4f2ec); }
.jj-kind::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--k, var(--jj-bg-8c8c94)); }
.jj-sitelogo { flex: none; width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--jj-bg-26262b); border: 1.5px solid var(--jj-bd-3a3a40); color: var(--jj-fg-e6e6e6); }
.jj-kind-logo { gap: 8px; }
.jj-kind-logo::before { display: none; }
.jj-kind-logo svg { flex: none; }
.jj-sitemark-logo { background: var(--jj-bg-26262b); border: 1.5px solid var(--jj-bd-3a3a40); color: var(--jj-fg-e6e6e6); }
.jj-kind-static { --k: var(--jj-bd-cfff4a); } .jj-kind-php { --k: var(--jj-bd-b79cff); } .jj-kind-app { --k: var(--jj-bd-ff9f6b); } .jj-kind-proxy { --k: var(--jj-bd-9ed8ff); } .jj-kind-balance { --k: var(--jj-bd-ff8ac0); }
.jj-stack-sub { padding-left: 15px; font: 500 12px 'DM Sans', system-ui, sans-serif; color: var(--jj-fg-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: var(--jj-fg-cfff4a); }
.jj-ssl-off { color: var(--jj-fg-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 var(--jj-bd-3a3a40); background: transparent; color: var(--jj-fg-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: var(--jj-bd-cfff4a); color: var(--jj-fg-cfff4a); outline: 0; }
.uk4dm40.iconbtn:not(.envlink) { width: 32px; height: 32px; border: 1.5px solid var(--jj-bd-3a3a40); border-radius: 999px; color: var(--jj-fg-e6e6e6); }
.uk4dm40.iconbtn:not(.envlink):hover { border-color: var(--jj-bd-ff8a7a); color: var(--jj-fg-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: var(--jj-bg-1b1b1f); border: 1.5px solid var(--jj-bd-2c2c32); box-shadow: 0 30px 80px var(--jj-bd-0000008c); font-family: 'DM Sans', system-ui, sans-serif; }
.jj-code::backdrop { background: var(--jj-bg-0e0e10cc); 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: var(--jj-fg-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: var(--jj-fg-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: var(--jj-fg-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: var(--jj-fg-cfff4a); }
.jj-code .jj-dlinks .linkbtn:last-child { color: var(--jj-fg-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: var(--jj-bg-3b1512); color: var(--jj-fg-ffd9d4); border: 1.5px solid var(--jj-bd-b42318); font: 500 14px 'DM Sans', system-ui, sans-serif; box-shadow: 0 12px 32px var(--jj-bd-00000080); }
@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 var(--jj-bd-3a3a40); border-radius: 28px; background: var(--jj-bg-1b1b1f); color: var(--jj-fg-f4f2ec); padding: 24px 26px; box-sizing: border-box; }
.jj-dialog::backdrop { background: var(--jj-bg-00000099); }
.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: var(--jj-fg-9a9aa2); }
.jj-dl dd { margin: 0; color: var(--jj-fg-e6e6e6); overflow-wrap: anywhere; }
.jj-dfoot { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--jj-bd-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: var(--jj-bd-7a2e27); color: var(--jj-fg-ff8a7a); margin-left: auto; }
.jj-dfoot .jj-danger:hover { border-color: var(--jj-bd-ff8a7a); background: var(--jj-bg-ff8a7a1a); }
.jj-dfoot .jj-close { border-color: transparent; color: var(--jj-fg-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: var(--jj-fg-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: var(--jj-bg-26262b); color: var(--jj-fg-d8d8dc); font: 600 12px 'DM Sans', system-ui, sans-serif; white-space: nowrap; }
.jj-wpchip-up { background: #CFFF4A; color: #111; }
.jj-wpchip-warn { background: var(--jj-bg-ffbe5029); color: var(--jj-fg-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: var(--jj-bg-232328); color: var(--jj-fg-d8d8dc); font: 500 14px 'DM Sans', system-ui, sans-serif; }
.jj-wptask { display: flex; align-items: center; gap: 10px; margin-top: 16px; color: var(--jj-fg-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 var(--jj-bd-3a3a42); border-top-color: var(--jj-bd-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 var(--jj-bd-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 var(--jj-bd-3a3a40); border-radius: 999px; background: var(--jj-bg-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: var(--jj-bg-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 var(--jj-bd-cfff4a); outline-offset: 2px; }
.jj-wpcheck { display: flex; align-items: center; gap: 8px; margin: 4px 0 14px; color: var(--jj-fg-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 var(--jj-bd-3a3a40); color: var(--jj-fg-f4f2ec); }
.jj-wpclone:hover { border-color: var(--jj-bd-cfff4a); color: var(--jj-fg-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 var(--jj-bd-3a3a40); background: var(--jj-bg-0e0e10); cursor: pointer; transition: background .12s, border-color .12s; }
.jj-wpcheck input[type=checkbox]:hover { border-color: var(--jj-bd-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 var(--jj-bd-111111); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.jj-wpcheck input[type=checkbox]:focus-visible { outline: 2px solid var(--jj-bd-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, var(--jj-bg-26262b) 25%, var(--jj-bg-2e2e35) 50%, var(--jj-bg-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 var(--jj-bd-26262b); }
.jj-applyhint { color: var(--jj-fg-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: var(--jj-bg-26262b); color: var(--jj-fg-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 var(--jj-bd-5a5a62); background: transparent; cursor: pointer; }
.msel-pop input[type=radio]:checked { border-color: var(--jj-bd-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 var(--jj-bd-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: var(--jj-bg-5a5a62); }
.jj-fwdot.on { background: #CFFF4A; box-shadow: 0 0 0 5px rgba(207, 255, 74, .18); }
.jj-fwsub { color: var(--jj-fg-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 var(--jj-bd-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%), var(--jj-bg-2a2a30) 0); display: flex; align-items: center; justify-content: center; }
.jj-ring::before { content: ''; position: absolute; inset: 9px; border-radius: 50%; background: var(--jj-bg-1b1b1f); }
.jj-ringnum { position: relative; font: 800 30px 'Bricolage Grotesque', 'DM Sans', sans-serif; color: var(--jj-fg-f4f2ec); letter-spacing: -.02em; }
.jj-chkrow { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-top: 1px solid var(--jj-bd-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: var(--jj-bg-ffc76a); color: var(--jj-fg-111111); }
.jj-chkicon.jj-chk-info { background: var(--jj-bg-3a3a42); color: var(--jj-fg-e6e6e6); }
.jj-chkpill { flex: none; display: inline-flex; padding: 5px 12px; border-radius: 999px; background: var(--jj-bg-26262b); color: var(--jj-fg-d8d8dc); font: 700 12px 'DM Sans', system-ui, sans-serif; white-space: nowrap; }
.jj-chkpill.jj-chk-ok { background: var(--jj-bg-cfff4a24); color: var(--jj-fg-cfff4a); }
.jj-chkpill.jj-chk-warn, .jj-chkpill.jj-eff-destructive { background: var(--jj-bg-ffbe5029); color: var(--jj-fg-ffc76a); }
.jj-chkpill.jj-eff-reads { background: var(--jj-bg-cfff4a1f); color: var(--jj-fg-cfff4a); }
.jj-chkpill.jj-role-admin { background: var(--jj-bg-b4a0ff2e); color: var(--jj-fg-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 var(--jj-bd-34343b); background: transparent; color: var(--jj-fg-c8c8ce); font: 600 13px 'DM Sans', system-ui, sans-serif; cursor: pointer; }
.jj-permfilter:hover { border-color: var(--jj-bd-cfff4a); color: var(--jj-fg-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 var(--jj-bd-26262b); }
.jj-wplist .jj-permrow:first-child { border-top: 0; }
.jj-permname { font: 600 13px 'DM Mono', monospace; color: var(--jj-fg-f4f2ec); overflow-wrap: anywhere; }
.jj-permtext { min-width: 0; }
.jj-permcode { color: var(--jj-fg-6e6e76); font: 600 13px 'DM Sans', system-ui, sans-serif; }
.jj-permcode.on { color: var(--jj-fg-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: var(--jj-bg-0e0e10e6); -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: var(--jj-fg-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 var(--jj-bd-26262b); }
.jj-comprow.busy { background: linear-gradient(90deg, var(--jj-bg-cfff4a0f), 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: var(--jj-fg-f4f2ec); }
.jj-compname2 small { color: var(--jj-fg-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: var(--jj-fg-d8d8dc); font: 600 14px 'DM Sans', system-ui, sans-serif; }
.jj-compver { color: var(--jj-fg-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: var(--jj-fg-f4f2ec); margin-bottom: 8px; }
.jj-membar { height: 10px; border-radius: 999px; background: var(--jj-bg-26262b); overflow: hidden; }
.jj-memfill { height: 100%; border-radius: 999px; background: #CFFF4A; min-width: 4px; }
.jj-compmemsub { margin-top: 8px; color: var(--jj-fg-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: var(--jj-bg-cfff4a1f); color: var(--jj-fg-cfff4a); }
.jj-compstate.warn { background: var(--jj-bg-ffbe5029); color: var(--jj-fg-ffc76a); }
.jj-compfile { margin-bottom: 8px; color: var(--jj-fg-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 var(--jj-bd-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 var(--jj-bd-26262b); }
.jj-bkrow.jj-thead { height: auto; padding: 14px 0 8px; border-top: 0; }
.jj-complistbody .jj-bkrow:first-child { border-top: 1px solid var(--jj-bd-26262b); }
.jj-bkrow .jj-wpchip { justify-self: start; }
.jj-bksize { color: var(--jj-fg-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: var(--jj-bd-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: var(--jj-fg-111111); 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: var(--jj-bg-1b1b1f); border: 1.5px solid var(--jj-bd-2c2c32); color: var(--jj-fg-f4f2ec); }
.jj-t-dark .jj-ts { opacity: 1; color: var(--jj-fg-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: var(--jj-bg-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: var(--jj-fg-f4f2ec); box-shadow: inset 0 0 0 1.5px var(--jj-bd-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 var(--jj-bd-00000040); border-top-color: var(--jj-bd-111111); 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: var(--jj-fg-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: var(--jj-fg-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 var(--jj-bd-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 var(--jj-bd-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: var(--jj-fg-8c8c94); font: 500 12px 'DM Sans', system-ui, sans-serif; }
.jj-cardlink { color: var(--jj-fg-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 var(--jj-bd-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 var(--jj-bd-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 var(--jj-bd-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 var(--jj-bd-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: var(--jj-fg-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: var(--jj-bg-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 var(--jj-bd-5a5a62); background: transparent; }
.jj-srvmenu .jj-srvradio.on { background: var(--jj-bg-26262b); color: var(--jj-fg-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: var(--jj-fg-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: var(--jj-fg-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: var(--jj-bg-8a8a8a); flex: none; }
.jj-svcdot.on { background: var(--jj-bg-4fbf67); }
.jj-svcdot.off { background: var(--jj-bg-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 var(--jj-bd-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: var(--jj-fg-111111); 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: var(--jj-fg-111111); }
.jj-netdown { stroke: var(--jj-fg-111111); 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: var(--jj-fg-cfff4a); }
.jj-code .u12v1gap { border-radius: 18px; background: var(--jj-bg-0e0e10); color: var(--jj-fg-f4f2ec); border: 2px solid var(--jj-bd-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 var(--jj-bd-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: var(--jj-fg-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: var(--jj-fg-9a9aa2); }
.jj-reqchart { display: block; width: 100%; flex: 1 1 auto; min-height: 130px; margin-top: 12px; }
.jj-reqbar { fill: var(--jj-fg-cfff4a); }
.jj-reqbar.nil { fill: var(--jj-fg-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: var(--jj-fg-8c8c94); font: 500 12px 'DM Sans', system-ui, sans-serif; }
.jj-reqbar.err { fill: var(--jj-fg-ff8a7a); }
.jj-reqnote { margin-top: 6px; color: var(--jj-fg-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: var(--jj-fg-8c8c94); margin-bottom: 6px; }
.jj-toprow { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; border-top: 1px solid var(--jj-bd-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: var(--jj-fg-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: var(--jj-fg-a8a8b0); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.jj-side-btn:hover { background: var(--jj-bg-1e1e22); color: var(--jj-fg-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 var(--jj-bd-cfff4a); outline-offset: 2px; }
.jj-side { position: fixed; z-index: 30; left: 0; top: 0; bottom: 0; background: var(--jj-bg-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: var(--jj-fg-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: var(--jj-fg-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: var(--jj-fg-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: var(--jj-fg-d0d0d5); text-decoration: none; font: 600 15px 'DM Sans', system-ui, sans-serif; white-space: nowrap; }
.jj-side-ico { flex: 0 0 auto; color: var(--jj-fg-a8a8b0); }
.jj-side-link:hover { background: var(--jj-bg-17171b); color: var(--jj-fg-f4f2ec); }
.jj-side-link[aria-current="page"] { background: #CFFF4A; color: #0E0E10; }
.jj-side-link[aria-current="page"] .jj-side-ico { color: var(--jj-fg-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: var(--jj-bg-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 var(--jj-bd-202026); border-radius: 32px; background: var(--jj-bg-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: var(--jj-bg-131317eb); }
  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 var(--jj-bd-1f1f24); }
}
@media (max-width: 860px) {
  .jj-side { width: min(300px, 84vw); padding-top: 24px; background: var(--jj-bg-0a0a0c); border-right: 1px solid var(--jj-bd-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: var(--jj-bg-0000008c); }
}
@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: var(--jj-bd-3a3a42) transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--jj-bg-3a3a42); border-radius: 999px; border: 2px solid transparent; background-clip: content-box; }
::-webkit-scrollbar-thumb:hover { background: var(--jj-bg-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: var(--jj-fg-c9c9ce); font: 500 14px/1.5 'DM Sans', system-ui, sans-serif; }
.jj-ask-check { margin: 16px 0 0; align-items: flex-start; }
.jj-ask-check span { line-height: 1.45; }
.jj-confirm-type { display: block; margin-top: 18px; color: var(--jj-fg-d8d8dc); font: 500 14px 'DM Sans', system-ui, sans-serif; }
.jj-confirm-type strong { font-family: 'DM Mono', monospace; color: var(--jj-fg-f4f2ec); background: var(--jj-bg-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: var(--jj-bg-ff8a7a); border-color: var(--jj-bd-ff8a7a); color: var(--jj-fg-1a0b09); font-weight: 700; }
.fm-btn.jj-confirm-go:hover:not(:disabled) { background: var(--jj-bg-ffa091); border-color: var(--jj-bd-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: var(--jj-fg-a8a8b0); text-decoration: none; }
.jj-hgh:hover { background: var(--jj-bg-1e1e22); color: var(--jj-fg-f4f2ec); }
.jj-hgh:focus-visible { outline: 2px solid var(--jj-bd-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 var(--jj-bd-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; }
}

.jj-morewrap { margin: 0 0 10px; }
.jj-more { margin-top: 6px; }
.jj-more > summary { cursor: pointer; color: var(--jj-fg-9a9aa2); font: 600 13px 'DM Sans', system-ui, sans-serif; list-style: none; }
.jj-more > summary::-webkit-details-marker { display: none; }
.jj-more > summary::before { content: "\203A  "; display: inline-block; transition: transform .15s; }
.jj-more[open] > summary::before { transform: rotate(90deg); }
.jj-more > summary:hover { color: var(--jj-fg-cfff4a); }
/* Deployments: the log is as tall as its lines (up to a limit), not as tall as the column beside it. */
body.pg-PanelDeployDark .dlog { flex: 0 0 auto; min-height: 120px; max-height: 340px; overflow: auto; }
body.pg-PanelDeployDark section.u1epn4fs { align-self: flex-start; }

/* Deployments as a bento: a row of tiles, then cards in two columns. */
body.pg-PanelDeployDark .jj-deploytiles { margin: 0; } /* the page frame already puts its gap between rows */
body.pg-PanelDeployDark .ul7e0yt { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
body.pg-PanelDeployDark .jj-colL, body.pg-PanelDeployDark .u18p3o6 { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
body.pg-PanelDeployDark .jj-colL > *, body.pg-PanelDeployDark .u18p3o6 > * { width: 100%; box-sizing: border-box; margin: 0; flex: none; }
body.pg-PanelDeployDark section.u1epn4fs { background: var(--jj-bg-1b1b1f) !important; border: 1.5px solid var(--jj-bd-2c2c32); border-radius: 36px; }
body.pg-PanelDeployDark .dlog { min-height: 0; max-height: 300px; }
body.pg-PanelDeployDark .dlog:empty { display: none; }
body.pg-PanelDeployDark .uvqb0ve { flex: none; }
@media (max-width: 900px) { body.pg-PanelDeployDark .ul7e0yt { grid-template-columns: 1fr; } }
body.pg-PanelDeployDark section.u1epn4fs > .jj-card-head { order: -3; margin-bottom: 0; }
body.pg-PanelDeployDark section.u1epn4fs { gap: 14px; }
body.pg-PanelDeployDark .dkey { flex-direction: column; flex-wrap: nowrap; gap: 0; }
body.pg-PanelDeployDark .dkey .jj-act:first-of-type { border-top: 0; padding-top: 0; }
body.pg-PanelDeployDark .dkey .jj-act[hidden] { display: none; }
.jj-act .jj-actgo { background: #CFFF4A; border-color: #CFFF4A; color: #111; font-weight: 700; }
body.pg-PanelDeployDark section.u1epn4fs > .jj-card-head { order: -5; }
body.pg-PanelDeployDark section.u1epn4fs > .dform { order: -4; }
body.pg-PanelDeployDark section.u1epn4fs > .jj-morewrap { order: -2; }
body.pg-PanelDeployDark section.u1epn4fs > .dkey { order: -1; }
body.pg-PanelDeployDark #deploy { display: none; }
.jj-prepare-opt { display: flex; align-items: center; gap: 8px; margin: 4px 0 8px; color: var(--jj-fg-e6e6e6); font: 500 14px 'DM Sans', system-ui, sans-serif; }

/* The output of a deploy or the app's logs, as a terminal. */
.jj-term { border-radius: 18px; border: 1.5px solid var(--jj-bd-2c2c32); background: var(--jj-bg-0b0b0d); overflow: hidden; }
.jj-term[hidden] { display: none; }
.jj-term-head { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: var(--jj-bg-151519); border-bottom: 1.5px solid var(--jj-bd-2c2c32); }
.jj-term-title { flex: 1; color: var(--jj-fg-8c8c94); font: 500 12px 'DM Mono', ui-monospace, monospace; }
.jj-term-clear { border: 0; background: transparent; color: var(--jj-fg-8c8c94); font: 600 12px 'DM Sans', system-ui, sans-serif; cursor: pointer; }
.jj-term-clear:hover { color: var(--jj-fg-cfff4a); }
.jj-term .dlog { display: block; margin: 0; padding: 14px 16px; min-height: 90px; max-height: 300px; overflow: auto; color: var(--jj-fg-d7d7db); font: 400 12.5px/1.65 'DM Mono', ui-monospace, monospace; white-space: pre-wrap; word-break: break-word; border: 0; background: transparent; }
.jj-termdlg { width: min(94vw, 760px); }
.jj-termdlg .jj-term .dlog { min-height: 260px; max-height: 60vh; }
.jj-linkbtn { margin: -6px 0 8px; padding: 0; border: 0; background: transparent; color: var(--jj-fg-9a9aa2); font: 600 13px 'DM Sans', system-ui, sans-serif; cursor: pointer; text-align: left; text-decoration: underline; text-underline-offset: 3px; }
.jj-linkbtn:hover { color: var(--jj-fg-cfff4a); }

.jj-act .jj-stepdot { flex: none; width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; border: 1.5px solid var(--jj-bd-3a3a40); color: var(--jj-fg-8c8c94); font: 700 12px 'DM Sans', system-ui, sans-serif; }
.jj-act .jj-stepdot.done { background: #CFFF4A; border-color: #CFFF4A; color: #111; }
.jj-act .jj-act-text { flex: 1 1 auto; min-width: 0; }
.jj-sub-title { margin: 18px 0 8px; font: 700 11px 'DM Sans', system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--jj-fg-8c8c94); }
.jj-keylist { margin-top: 6px; }

.jj-arow { display: flex; gap: 16px; align-items: baseline; margin: 0 0 8px; }
.jj-arow .jj-flabel { flex: 0 0 120px; margin: 0; }
.jj-arow .jj-avalue { color: var(--jj-fg-f4f2ec); font: 500 14px/1.5 'DM Sans', system-ui, sans-serif; word-break: break-all; }
.jj-warnline { color: var(--jj-fg-ffc76a); }

/* 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 var(--jj-bd-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 var(--jj-bd-26262b); }
.jj-wplist .jj-actrow:first-child { border-top: 0; }
.jj-acttime { color: var(--jj-fg-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; }
}

/* Builds from CI and previews, on the Deployments page */
.jj-artifacts, .jj-previews { display: flex; flex-direction: column; gap: 16px; margin-top: 16px; }
.jj-artifacts .jj-wptask, .jj-previews .jj-wptask { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.jj-artifacts .jj-act-sub, .jj-previews .jj-act-sub { overflow-wrap: anywhere; }

/* 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 var(--jj-bd-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: var(--jj-fg-f4f2ec); text-decoration: none; overflow-wrap: anywhere; }
.jj-certdomain:hover { text-decoration: underline; }
.jj-certname small, .jj-certexp small { color: var(--jj-fg-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: var(--jj-fg-ffc76a); }
.jj-certexp { display: flex; flex-direction: column; gap: 2px; }
.jj-certexp strong { font: 700 15px 'DM Sans', system-ui, sans-serif; color: var(--jj-fg-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: var(--jj-bd-7a2e27); color: var(--jj-fg-ff8a7a); }
.jj-certcf { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.jj-chkpill.jj-chk-bad { background: var(--jj-bg-ff8a7a29); color: var(--jj-fg-ff8a7a); }
.jj-certfile { margin-top: 8px; color: var(--jj-fg-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 var(--jj-bd-5a4a1e); color: var(--jj-fg-f2c14e); font: 500 11px 'DM Sans', system-ui, sans-serif; vertical-align: middle; }
.jj-filtertag.jj-filterdef { border-color: var(--jj-bd-3b4a1a); color: var(--jj-fg-cfff4a); }
.jj-filterrules { margin-top: 6px; color: var(--jj-fg-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: var(--jj-fg-9a9aa2); font: 500 13px/1.45 'DM Sans', system-ui, sans-serif; }
.jj-performance .jj-empty a { color: var(--jj-fg-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: var(--jj-fg-9a9aa2); font: 500 12px 'DM Sans', system-ui, sans-serif; }
.jj-scanfound { max-height: 240px; overflow: auto; }

/* Release mode of a PHP site, on the Deployments page */
.jj-releases { display: flex; flex-direction: column; gap: 16px; margin-bottom: 16px; }
.jj-releases .jj-act-sub { overflow-wrap: anywhere; margin: 8px 0; }
.jj-releases .fm-btn { align-self: flex-start; margin-top: 8px; }
/* A PHP site in the old layout takes no deployments: only the card that explains release mode shows. */
.jj-php-norel #artifacts, .jj-php-norel #previews, .jj-php-norel #deploy, .jj-php-norel .dkey, .jj-php-norel #log { display: none; }
/* Phase 2: prepared releases, the command dialog and its output */
.jj-releases-prepared { display: flex; flex-direction: column; gap: 16px; margin-bottom: 16px; }
.jj-releases-prepared .jj-act-sub { overflow-wrap: anywhere; margin: 8px 0; }
.jj-releases-prepared .fm-btn { margin-top: 8px; }
.jj-prepare-opt { display: block; margin: 8px 0; }
.jj-runout { white-space: pre-wrap; overflow-wrap: anywhere; max-height: 320px; overflow: auto; font-family: monospace; font-size: 12px; margin: 8px 0; }

/* 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: var(--jj-fg-ffffff); min-height: 33px; }
.jj-sh-at { min-height: 18px; margin-top: 2px; color: var(--jj-fg-8c8c94); font: 500 12px 'DM Sans', system-ui, sans-serif; }
.jj-sh-plot { position: relative; margin-top: 12px; height: 160px; border-radius: 14px; background: var(--jj-bg-151518); overflow: hidden; }
.jj-sh-svg { display: block; width: 100%; height: 100%; cursor: crosshair; }
.jj-sh-grid line { stroke: var(--jj-fg-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: var(--jj-fg-cfff4a); }
.jj-sh-l2 { stroke: var(--jj-fg-b4a0ff); }
.jj-sh-th { stroke: var(--jj-fg-ffc76a); stroke-width: 1.5; stroke-dasharray: 6 5; vector-effect: non-scaling-stroke; }
.jj-sh-cursor { stroke: var(--jj-fg-8c8c94); stroke-width: 1; vector-effect: non-scaling-stroke; }
.jj-sh-ymax { position: absolute; top: 6px; right: 10px; color: var(--jj-fg-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: var(--jj-fg-8c8c94); font: 500 12px 'DM Sans', system-ui, sans-serif; }
.jj-sh-legend { display: flex; gap: 16px; margin-top: 8px; color: var(--jj-fg-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: var(--jj-bg-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: var(--jj-fg-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: var(--jj-bg-ffbe501f); color: var(--jj-fg-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 var(--jj-bd-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 var(--jj-bd-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: var(--jj-fg-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); } }

/* Staging tab of a website: copies, push, undo */
.jj-ov.jj-staging { grid-template-columns: minmax(0, 1fr); }
.jj-staging .jj-card .fm-btn { margin-top: 12px; }
.jj-staging .jj-taskrow .fm-btn { margin-top: 0; }
.jj-stagehead { margin-top: 18px; }
.jj-stagevars { display: flex; flex-direction: column; gap: 6px; margin: 8px 0 12px; max-height: 280px; overflow: auto; }
.jj-stagevar { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; padding: 8px 10px; border: 1px solid var(--jj-bd-2a2a30); border-radius: 10px; background: var(--jj-bg-0e0e10); }
.jj-stagename { display: flex; flex-direction: column; min-width: 140px; flex: 1 1 140px; }
.jj-stagename strong { font: 600 13px 'DM Mono', ui-monospace, monospace; color: var(--jj-fg-f2f2f4); word-break: break-all; }
.jj-stagename small { font: 500 12px 'DM Sans', system-ui, sans-serif; }
.jj-stagewarn { color: var(--jj-fg-e8b04a); }
.jj-stagelo { display: flex; align-items: center; gap: 6px; font: 500 13px 'DM Sans', system-ui, sans-serif; color: var(--jj-fg-d8d8dc); cursor: pointer; }
.jj-stagerep { flex: 2 1 180px; min-width: 0; }
.jj-stagepick { cursor: pointer; }
.jj-stagestate { font: 500 12px 'DM Sans', system-ui, sans-serif; color: var(--jj-fg-9a9aa2); }
.jj-stagestate-diff { color: var(--jj-fg-e8b04a); }
.jj-stagestate-lock { color: var(--jj-fg-9a9aa2); font-style: italic; }
.jj-stagedb { margin: 4px 0 8px; padding-left: 12px; border-left: 2px solid var(--jj-bd-2a2a30); }
.jj-stageschema { margin: 4px 0 8px; padding-left: 12px; border-left: 2px solid var(--jj-bd-2a2a30); }
.jj-stagelist { margin: 6px 0 10px; padding-left: 18px; font: 500 13px 'DM Mono', ui-monospace, monospace; color: var(--jj-fg-d8d8dc); max-height: 200px; overflow: auto; word-break: break-word; }
.jj-stagesql summary { cursor: pointer; font: 500 13px 'DM Sans', system-ui, sans-serif; color: var(--jj-fg-9a9aa2); }
.jj-stagesql pre { margin: 8px 0 0; padding: 10px; max-height: 240px; overflow: auto; border: 1px solid var(--jj-bd-2a2a30); border-radius: 10px; background: var(--jj-bg-0e0e10); font: 500 12px 'DM Mono', ui-monospace, monospace; color: var(--jj-fg-d8d8dc); white-space: pre; }

/* Light theme: what the automatic colour mapping (tools/theme.mjs) cannot know.
   Rules here mention data-theme, so the build leaves their colours as written. */
:root[data-theme="light"], :root[data-theme="light"] body { color-scheme: light; }
/* A dark button keeps its dark hover. */
:root[data-theme="light"] .jj-tilebtn:not(.alt):not(.link):hover { background: #2a2a30; }
/* Uptime: a day without data still shows as a bar. */
:root[data-theme="light"] .jj-up-d { background: #dcd9cf; }
/* Lime is a surface colour. As a thin bar, line or dot on a pale background it has no
   contrast, so graphics that carry meaning are drawn in olive (3:1 or more on white). */
:root[data-theme="light"] .jj-ring { background: conic-gradient(#4d7c0f calc(var(--p) * 1%), #e3e0d6 0); }
:root[data-theme="light"] #mem-bar, :root[data-theme="light"] #disk-bar,
:root[data-theme="light"] .jj-memfill, :root[data-theme="light"] .jj-up-ok,
:root[data-theme="light"] .jj-sh-key::before, :root[data-theme="light"] .jj-fwdot.on,
:root[data-theme="light"] #load::before,
:root[data-theme="light"] .msel-pop input[type=radio]:checked::after { background: #4d7c0f; }
:root[data-theme="light"] .jj-fwdot.on { box-shadow: 0 0 0 5px rgba(77, 124, 15, .18); }
:root[data-theme="light"] .jj-up-warn { background: #d08a00; }
:root[data-theme="light"] .jj-up-bad { background: #c8341f; }

/* Uptime page (tools/src/uptime.js). */
.jj-up-list { margin-top: 6px; }
.jj-up-row { padding: 16px 0; border-top: 1px solid var(--jj-bd-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: var(--jj-fg-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: var(--jj-fg-9a9aa2); font: 500 13px/1.45 'DM Sans', system-ui, sans-serif; overflow-wrap: anywhere; }
.jj-up-info .jj-up-note { color: var(--jj-fg-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: var(--jj-bg-26262b); }
.jj-up-ok { background: #CFFF4A; }
.jj-up-warn { background: var(--jj-bg-ffc76a); }
.jj-up-bad { background: var(--jj-bg-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; } }

/* SVG colours given as attributes follow the theme. */
[stroke="#F4F2EC" i]{stroke:var(--jj-fg-f4f2ec)}
