/* grommunio download index — tokens follow grommunio.com / docs.grommunio.com */
@font-face { font-family: "Noto Sans"; font-weight: 400; font-display: swap; src: url(fonts/notosans-regular.woff2) format("woff2"); }
@font-face { font-family: "Noto Sans"; font-weight: 600; font-display: swap; src: url(fonts/notosans-semibold.woff2) format("woff2"); }

:root {
	--azure-300: #66caff; --azure-400: #29b3f6; --azure-500: #009fe3; --azure-600: #007fc0; --teal: #2bd4c7;
	--bg: #f5f8fc; --bg-grad: radial-gradient(1200px 400px at 15% -10%, #dff2ff 0%, transparent 60%);
	--surface: #ffffff; --surface-2: #f0f4fa; --raised: #ffffff;
	--border: #dfe6f0; --border-strong: #c9d4e3;
	--text: #0c1625; --text-2: #283a5a; --muted: #5f7192;
	--accent: var(--azure-600); --accent-strong: #0369a1; --accent-bg: #ecf8ff; --accent-border: #a6ddff;
	--head-bg: rgb(255 255 255 / 0.82);
	--row-hover: #f3f8fd;
	--code-bg: #0c1625; --code-text: #d4dcea;
	--warn-bg: #fff8e6; --warn-border: #f5d98b; --warn-text: #6b4e00;
	--lock: #9a5b00; --lock-bg: #fff4dc; --lock-border: #f2d394;
	--new: #047857; --new-bg: #e7f8f0; --new-border: #a7e3c8;
	--shadow: 0 1px 2px rgb(12 22 37 / 0.05), 0 8px 24px -12px rgb(12 22 37 / 0.12);
	--shadow-hover: 0 2px 4px rgb(12 22 37 / 0.06), 0 16px 32px -16px rgb(0 127 192 / 0.35);
	--h1-grad: linear-gradient(100deg, #007fc0 0%, #009fe3 45%, #0fb5a8 100%);
	--t-folder: #009fe3; --t-disc: #7c5cdb; --t-vm: #4f6bd8; --t-package: #0f9f8f; --t-source: #5f7192; --t-archive: #c17d0b;
	--t-key: #c17d0b; --t-check: #5f7192; --t-file: #5f7192; --t-lock: #c17d0b; --t-flask: #d9480f; --t-phone: #009fe3;
	--radius: 14px; --radius-sm: 8px;
	--font: "Noto Sans", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
	--mono: ui-monospace, "Cascadia Code", "Source Code Pro", Menlo, Consolas, monospace;
	color-scheme: light;
}
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		--bg: #091321; --bg-grad: radial-gradient(1200px 420px at 15% -10%, rgb(0 159 227 / 0.16) 0%, transparent 60%);
		--surface: #0c1625; --surface-2: #101c2e; --raised: #131f30;
		--border: #1b2840; --border-strong: #283a5a;
		--text: #eef2f8; --text-2: #d4dcea; --muted: #8b9cbb;
		--accent: var(--azure-400); --accent-strong: var(--azure-300); --accent-bg: rgb(0 159 227 / 0.12); --accent-border: rgb(41 179 246 / 0.35);
		--head-bg: rgb(9 19 33 / 0.78);
		--row-hover: #111d30;
		--code-bg: #050b14; --code-text: #d4dcea;
		--warn-bg: rgb(245 158 11 / 0.1); --warn-border: rgb(245 158 11 / 0.35); --warn-text: #fcd679;
		--lock: #fbbf24; --lock-bg: rgb(251 191 36 / 0.1); --lock-border: rgb(251 191 36 / 0.3);
		--new: #6ee7b7; --new-bg: rgb(16 185 129 / 0.12); --new-border: rgb(16 185 129 / 0.35);
		--shadow: 0 1px 0 0 rgb(255 255 255 / 0.03) inset, 0 16px 40px -24px rgb(0 0 0 / 0.7);
		--shadow-hover: 0 1px 0 0 rgb(255 255 255 / 0.04) inset, 0 24px 48px -24px rgb(0 0 0 / 0.8), 0 0 0 1px rgb(41 179 246 / 0.25);
		--h1-grad: linear-gradient(100deg, #66caff 0%, #29b3f6 45%, #2bd4c7 100%);
		--t-folder: #29b3f6; --t-disc: #a78bfa; --t-vm: #8ea2ff; --t-package: #2bd4c7; --t-source: #8b9cbb; --t-archive: #fbbf24;
		--t-key: #fbbf24; --t-check: #8b9cbb; --t-file: #8b9cbb; --t-lock: #fbbf24; --t-flask: #fb923c; --t-phone: #29b3f6;
		color-scheme: dark;
	}
}
:root[data-theme="dark"] {
	--bg: #091321; --bg-grad: radial-gradient(1200px 420px at 15% -10%, rgb(0 159 227 / 0.16) 0%, transparent 60%);
	--surface: #0c1625; --surface-2: #101c2e; --raised: #131f30;
	--border: #1b2840; --border-strong: #283a5a;
	--text: #eef2f8; --text-2: #d4dcea; --muted: #8b9cbb;
	--accent: var(--azure-400); --accent-strong: var(--azure-300); --accent-bg: rgb(0 159 227 / 0.12); --accent-border: rgb(41 179 246 / 0.35);
	--head-bg: rgb(9 19 33 / 0.78);
	--row-hover: #111d30;
	--code-bg: #050b14; --code-text: #d4dcea;
	--warn-bg: rgb(245 158 11 / 0.1); --warn-border: rgb(245 158 11 / 0.35); --warn-text: #fcd679;
	--lock: #fbbf24; --lock-bg: rgb(251 191 36 / 0.1); --lock-border: rgb(251 191 36 / 0.3);
	--new: #6ee7b7; --new-bg: rgb(16 185 129 / 0.12); --new-border: rgb(16 185 129 / 0.35);
	--shadow: 0 1px 0 0 rgb(255 255 255 / 0.03) inset, 0 16px 40px -24px rgb(0 0 0 / 0.7);
	--shadow-hover: 0 1px 0 0 rgb(255 255 255 / 0.04) inset, 0 24px 48px -24px rgb(0 0 0 / 0.8), 0 0 0 1px rgb(41 179 246 / 0.25);
	--h1-grad: linear-gradient(100deg, #66caff 0%, #29b3f6 45%, #2bd4c7 100%);
	--t-folder: #29b3f6; --t-disc: #a78bfa; --t-vm: #8ea2ff; --t-package: #2bd4c7; --t-source: #8b9cbb; --t-archive: #fbbf24;
	--t-key: #fbbf24; --t-check: #8b9cbb; --t-file: #8b9cbb; --t-lock: #fbbf24; --t-flask: #fb923c; --t-phone: #29b3f6;
	color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
	margin: 0; font: 400 15px/1.6 var(--font); color: var(--text-2);
	background: var(--bg-grad) no-repeat, var(--bg); min-height: 100vh; display: flex; flex-direction: column;
	-webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-strong); }
h1, h2, h3 { color: var(--text); font-weight: 600; margin: 0; line-height: 1.25; }
code, kbd, pre { font-family: var(--mono); }
p code { font-size: .88em; background: var(--surface-2); border: 1px solid var(--border); padding: 1px 5px; border-radius: 5px; }
:focus-visible { outline: 2px solid var(--azure-500); outline-offset: 2px; border-radius: 6px; }
.ic { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -3px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--surface); padding: 8px 12px; border-radius: 8px; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: var(--head-bg); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--border); }
.top-in { display: flex; align-items: center; gap: 24px; height: 60px; }
.brand { display: flex; align-items: center; gap: 12px; }
.logo { height: 26px; width: auto; display: block; }
.logo-d { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo-l { display: none; } :root:not([data-theme="light"]) .logo-d { display: block; } }
:root[data-theme="dark"] .logo-l { display: none; }
:root[data-theme="dark"] .logo-d { display: block; }
.brand-tag { font-size: 13px; font-weight: 600; color: var(--accent); background: var(--accent-bg); border: 1px solid var(--accent-border); padding: 1px 9px; border-radius: 99px; letter-spacing: .01em; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { color: var(--muted); font-size: 14px; padding: 6px 10px; border-radius: 8px; transition: color .15s, background .15s; }
.nav a:hover { color: var(--text); background: var(--surface-2); }
.langsel { position: relative; }
.langsel summary { display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 10px; border: 1px solid var(--border); border-radius: 99px; background: var(--surface); color: var(--muted); font-size: 12.5px; font-weight: 600; letter-spacing: .04em; cursor: pointer; list-style: none; user-select: none; transition: color .15s, border-color .15s; }
.langsel summary::-webkit-details-marker { display: none; }
.langsel summary:hover, .langsel[open] summary { color: var(--text); border-color: var(--border-strong); }
.langsel summary .ic { width: 15px; height: 15px; }
.langsel-menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 30; min-width: 210px; max-height: min(80vh, 600px); overflow-y: auto; margin: 0; padding: 6px; list-style: none; background: var(--raised); border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 16px 40px -12px rgb(0 0 0 / .35); }
.langsel-menu a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 7px 10px; border-radius: 8px; color: var(--text-2); font-size: 14px; }
.langsel-menu a:hover { background: var(--surface-2); color: var(--text); }
.langsel-menu a[aria-current] { color: var(--accent); font-weight: 600; }
.langsel-menu .ic { width: 14px; height: 14px; }
.theme { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--border); border-radius: 99px; background: var(--surface); }
.theme button { display: grid; place-items: center; width: 28px; height: 28px; border: 0; border-radius: 99px; background: none; color: var(--muted); cursor: pointer; transition: color .15s, background .15s; }
.theme button:hover { color: var(--text); }
.theme button[aria-pressed="true"] { background: var(--accent-bg); color: var(--accent); }
.theme .ic { width: 15px; height: 15px; }

/* breadcrumbs + hero */
main { flex: 1; padding-bottom: 64px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin: 24px 0 0; font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); padding: 2px 6px; border-radius: 6px; }
.crumbs a:hover { color: var(--text); background: var(--surface-2); }
.crumbs [aria-current] { color: var(--text); font-weight: 600; padding: 2px 6px; }
.crumbs .sep { width: 14px; height: 14px; opacity: .5; }
.crumb-home { display: inline-flex; }
.hero { display: flex; gap: 20px; align-items: flex-start; margin: 20px 0 28px; }
.hero h1 { font-size: 30px; letter-spacing: -.01em; overflow-wrap: anywhere; }
.hero-root { margin: 56px 0 36px; }
.hero-root h1 { font-size: clamp(36px, 6vw, 52px); letter-spacing: -.02em; background: var(--h1-grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: 4px; }
.lead { margin: 8px 0 0; max-width: 70ch; color: var(--muted); font-size: 16px; }
.hero-root .lead { font-size: 18px; max-width: 60ch; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 14px; font-size: 13.5px; color: var(--muted); }
.meta > span { display: inline-flex; align-items: center; gap: 6px; }
.meta .ic { width: 14px; height: 14px; }
.more { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; }
.more .ic { width: 13px; height: 13px; }

/* tiles */
.tile { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 10px; color: var(--tc, var(--t-folder)); background: color-mix(in srgb, var(--tc, var(--t-folder)) 12%, transparent); border: 1px solid color-mix(in srgb, var(--tc, var(--t-folder)) 22%, transparent); }
.tile .ic { width: 20px; height: 20px; }
.tile-lg { width: 56px; height: 56px; border-radius: 14px; margin-top: 2px; }
.tile-lg .ic { width: 26px; height: 26px; }
.tile-sm { width: 30px; height: 30px; border-radius: 8px; }
.tile-sm .ic { width: 16px; height: 16px; }
.t-folder { --tc: var(--t-folder); } .t-disc { --tc: var(--t-disc); } .t-vm { --tc: var(--t-vm); } .t-package { --tc: var(--t-package); }
.t-source { --tc: var(--t-source); } .t-archive { --tc: var(--t-archive); } .t-key { --tc: var(--t-key); } .t-check, .t-file, .t-up { --tc: var(--t-file); }
.t-shield, .t-lock { --tc: var(--t-lock); } .t-flask { --tc: var(--t-flask); } .t-phone, .t-monitor, .t-windows, .t-laptop, .t-terminal, .t-blocks, .t-download { --tc: var(--t-folder); }
.t-blocks, .t-book { --tc: var(--t-disc); } .t-book { --tc: var(--t-package); } .t-monitor { --tc: var(--t-vm); }

/* pills + chips */
.pill { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 600; padding: 2px 10px; border-radius: 99px; color: var(--accent); background: var(--accent-bg); border: 1px solid var(--accent-border); white-space: nowrap; }
.pill .ic { width: 13px; height: 13px; }
.pill-sm { font-size: 11.5px; padding: 0 7px; gap: 4px; line-height: 19px; }
.pill-sm .ic { width: 11px; height: 11px; vertical-align: -1px; }
.pill-lock { color: var(--lock); background: var(--lock-bg); border-color: var(--lock-border); }
.pill-new { color: var(--new); background: var(--new-bg); border-color: var(--new-border); }
.chip { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 600; color: var(--text-2); background: var(--surface); border: 1px solid var(--border-strong); padding: 3px 10px; border-radius: 99px; cursor: pointer; font-family: inherit; line-height: 1.4; transition: border-color .15s, color .15s, background .15s; }
.chip:hover { color: var(--accent); border-color: var(--accent-border); }
.chip-sm { font-size: 11px; padding: 0 7px; line-height: 19px; color: var(--muted); }
.chip-sm .ic { width: 11px; height: 11px; vertical-align: -1px; }
.chip-btn[aria-pressed="true"] { color: var(--accent); background: var(--accent-bg); border-color: var(--accent-border); }
.chip span { color: var(--muted); font-weight: 400; }

/* cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; margin-bottom: 24px; }
.cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cards-4 .card { flex-direction: column; gap: 14px; padding: 20px; }
.cards-4 .card p { margin-bottom: 12px; }
.cards-4 .card > div:last-of-type { display: flex; flex-direction: column; flex: 1; }
.cards-4 .card-meta { margin-top: auto; }
@media (max-width: 1080px) { .cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cards-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.cards-3 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.card { position: relative; display: flex; gap: 16px; padding: 20px 44px 20px 20px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); color: inherit; transition: transform .2s cubic-bezier(.22,1,.36,1), box-shadow .2s, border-color .2s; }
.card:hover { color: inherit; transform: translateY(-2px); box-shadow: var(--shadow-hover); border-color: var(--accent-border); }
.card h3 { font-size: 16px; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.card h3 .ic { width: 13px; height: 13px; color: var(--muted); }
.card p { margin: 4px 0 10px; font-size: 14px; color: var(--muted); line-height: 1.5; }
.card-meta { font-size: 12.5px; color: var(--muted); opacity: .85; }
.card-go { position: absolute; right: 18px; top: 22px; color: var(--muted); transition: transform .2s, color .2s; }
.card:hover .card-go { transform: translateX(3px); color: var(--accent); }

.keybox { display: grid; grid-template-columns: auto 1fr auto; gap: 16px 20px; align-items: center; padding: 20px; margin-bottom: 24px; border: 1px dashed var(--border-strong); border-radius: var(--radius); background: var(--surface-2); }
.keybox h2 { font-size: 16px; }
.keybox p { margin: 2px 0 6px; font-size: 14px; color: var(--muted); }
.fpr { font-size: 12.5px; color: var(--text-2); letter-spacing: .02em; word-break: break-word; }
.keybox-act { display: flex; gap: 8px; flex-wrap: wrap; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; font: 600 14px/1 var(--font); color: #fff; background: linear-gradient(180deg, #0aa8ec, var(--azure-600)); border: 1px solid var(--azure-600); padding: 10px 16px; border-radius: 10px; cursor: pointer; white-space: nowrap; box-shadow: 0 1px 0 rgb(255 255 255 / .2) inset, 0 6px 16px -8px rgb(0 127 192 / .7); transition: filter .15s, transform .15s; }
.btn:hover { color: #fff; filter: brightness(1.08); }
.btn:active { transform: translateY(1px); }
.btn-sub { font-weight: 400; opacity: .8; padding-left: 8px; margin-left: 2px; border-left: 1px solid rgb(255 255 255 / .35); }
.btn-ghost { color: var(--text-2); background: var(--surface); border-color: var(--border-strong); box-shadow: none; }
.btn-ghost:hover { color: var(--accent); filter: none; border-color: var(--accent-border); }

/* notes */
.note { display: flex; gap: 12px; padding: 14px 16px; margin-bottom: 24px; border-radius: 12px; border: 1px solid var(--accent-border); background: var(--accent-bg); font-size: 14px; color: var(--text-2); }
.note .ic { width: 18px; height: 18px; margin-top: 2px; color: var(--accent); }
.note-warn { border-color: var(--warn-border); background: var(--warn-bg); color: var(--warn-text); }
.note-warn .ic { color: currentColor; }
.note-warn a { color: inherit; text-decoration: underline; }

/* featured */
.h2 { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 12px; }
.feat { margin-bottom: 28px; }
.feat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 16px; }
.fcard { display: flex; flex-direction: column; gap: 12px; padding: 20px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.fcard::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--h1-grad); opacity: .9; }
.fcard-top { display: flex; gap: 14px; align-items: center; }
.fcard h3 { font-size: 17px; }
.fver { font-size: 13px; color: var(--muted); }
.fcard p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.5; min-height: 3em; }
.fcard-act { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.hash { display: flex; align-items: center; gap: 8px; width: 100%; padding: 6px 10px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface-2); color: var(--muted); font: 600 11px var(--font); cursor: pointer; text-align: left; transition: border-color .15s, color .15s; }
.hash code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 400; font-size: 11.5px; color: var(--text-2); }
.hash:hover { border-color: var(--accent-border); color: var(--accent); }
.hash .ic { width: 14px; height: 14px; }
.fname { margin-top: auto; font: 11.5px var(--mono); color: var(--muted); opacity: .8; overflow-wrap: anywhere; }

/* repo */
.repo { margin-bottom: 28px; padding: 20px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.repo-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; margin-bottom: 14px; }
.repo-head .h2 { margin-bottom: 4px; }
.repo-head p { margin: 0; font-size: 14px; color: var(--muted); }
.code { position: relative; border-radius: 10px; background: var(--code-bg); border: 1px solid var(--border); }
.code pre { margin: 0; padding: 16px 18px; overflow-x: auto; font-size: 13px; line-height: 1.65; color: var(--code-text); tab-size: 4; }
.code-copy { position: absolute; top: 8px; right: 8px; display: inline-flex; align-items: center; gap: 6px; font: 600 12px var(--font); color: #aab9d2; background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .12); padding: 5px 10px; border-radius: 7px; cursor: pointer; transition: background .15s, color .15s; }
.code-copy:hover { color: #fff; background: rgb(255 255 255 / .12); }
.code-copy .ic { width: 14px; height: 14px; }

/* listing */
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-bottom: 12px; }
.search { position: relative; display: flex; align-items: center; flex: 1 1 280px; max-width: 420px; }
.search > .ic { position: absolute; left: 12px; color: var(--muted); pointer-events: none; }
.search input { width: 100%; font: 14px var(--font); color: var(--text); background: var(--surface); border: 1px solid var(--border-strong); border-radius: 10px; padding: 9px 40px 9px 38px; outline: none; transition: border-color .15s, box-shadow .15s; }
.search input::placeholder { color: var(--muted); }
.search input:focus { border-color: var(--azure-500); box-shadow: 0 0 0 3px rgb(0 159 227 / .18); }
.search input::-webkit-search-cancel-button { display: none; }
.search kbd { position: absolute; right: 10px; font-size: 11px; color: var(--muted); border: 1px solid var(--border-strong); border-bottom-width: 2px; border-radius: 5px; padding: 0 6px; line-height: 18px; background: var(--surface-2); }
.search input:focus + kbd, .search input:not(:placeholder-shown) + kbd { display: none; }
.archs { display: flex; flex-wrap: wrap; gap: 6px; }
.count { margin-left: auto; font-size: 13px; color: var(--muted); }
.msort { display: none; }
.msort select { font: 600 13px var(--font); color: var(--text-2); background: var(--surface); border: 1px solid var(--border-strong); border-radius: 10px; padding: 8px 10px; }

.table-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); overflow: clip; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl thead th { position: sticky; top: 60px; z-index: 5; background: var(--surface-2); border-bottom: 1px solid var(--border); text-align: left; font-weight: 600; font-size: 12.5px; padding: 0; }
.tbl thead a { display: flex; align-items: center; gap: 4px; padding: 10px 14px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.tbl thead a:hover { color: var(--text); }
.tbl th[aria-sort="ascending"] a, .tbl th[aria-sort="descending"] a { color: var(--accent); }
.si { width: 13px; height: 13px; opacity: .45; }
th[aria-sort="ascending"] .si .s-dn, th[aria-sort="descending"] .si .s-up { opacity: .2; }
th[aria-sort="ascending"] .si, th[aria-sort="descending"] .si { opacity: 1; }
.utc { font-size: 10px; font-weight: 600; letter-spacing: .04em; color: var(--muted); background: var(--surface); border: 1px solid var(--border); border-radius: 99px; padding: 0 6px; margin-left: 2px; white-space: nowrap; text-transform: none; }
.no-date .c-date { display: none; }
.tbl td { padding: 7px 14px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl tbody tr { transition: background .1s; }
.tbl tbody tr:hover { background: var(--row-hover); }
.c-name { width: auto; }
.c-size { width: 120px; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.c-size a { justify-content: flex-end; }
.c-date { width: 210px; white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--muted); }
.c-act { width: 52px; text-align: right; }
td.c-size { color: var(--text-2); }
.nm { display: inline-flex; align-items: center; gap: 12px; color: var(--text); font-weight: 500; vertical-align: middle; max-width: 100%; }
.nm:hover { color: var(--accent); }
.nm-txt { overflow-wrap: anywhere; }
.tags { display: inline-flex; flex-wrap: wrap; gap: 4px; margin-left: 8px; vertical-align: middle; }
.tags:empty { display: none; }
.target { display: block; margin: 0 0 0 42px; font: 12px var(--mono); color: var(--muted); overflow-wrap: anywhere; }
.m-meta { display: none; }
.up a { display: inline-flex; align-items: center; gap: 12px; color: var(--muted); font-weight: 500; }
.up a:hover { color: var(--accent); }
.act { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; border: 1px solid transparent; background: none; color: var(--muted); cursor: pointer; opacity: 0; transition: opacity .15s, color .15s, border-color .15s; }
tr:hover .act, .act:focus-visible { opacity: 1; }
.act:hover { color: var(--accent); border-color: var(--border-strong); background: var(--surface); }
@media (hover: none) { .act { opacity: 1; } }
tr[hidden] { display: none; }
.empty { display: grid; justify-items: center; gap: 4px; padding: 40px 16px; color: var(--muted); }
.empty .ic { width: 28px; height: 28px; opacity: .6; }
.empty p { margin: 0; }
.empty[hidden] { display: none; }

/* footer */
.foot { border-top: 1px solid var(--border); background: var(--surface); }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; padding-top: 28px; padding-bottom: 28px; }
.foot-brand { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.foot-brand .logo { height: 22px; }
.foot-brand p { margin: 0; font-size: 13px; color: var(--muted); }
.foot-nav { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13.5px; }
.foot-nav a { color: var(--muted); }
.foot-nav a:hover { color: var(--accent); }

/* toast */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 10px; background: var(--text); color: var(--bg); font-size: 14px; font-weight: 600; box-shadow: 0 12px 32px -12px rgb(0 0 0 / .5); transition: opacity .2s, transform .2s cubic-bezier(.22,1,.36,1); z-index: 50; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast .ic { width: 16px; height: 16px; color: var(--new); }

/* responsive */
@media (max-width: 860px) {
	.nav { display: none; }
	.langsel { margin-left: auto; }
	.c-date { display: none; }
}
@media (max-width: 640px) {
	.wrap { padding: 0 16px; }
	.brand-tag { display: none; }
	.hero { gap: 14px; margin: 16px 0 22px; }
	.hero h1 { font-size: 24px; }
	.hero-root { margin: 32px 0 24px; }
	.tile-lg { width: 44px; height: 44px; }
	.tile-lg .ic { width: 22px; height: 22px; }
	.cards, .cards-2, .cards-3, .cards-4, .feat-grid { grid-template-columns: 1fr; }
	.keybox { grid-template-columns: auto 1fr; }
	.keybox-act { grid-column: 1 / -1; }
	.repo-head .pill { display: none; }
	.c-size { display: none; }
	.c-act { width: 44px; }
	.tbl td { padding: 8px 10px; }
	.m-meta { display: block; margin-left: 42px; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
	.tags { margin-left: 42px; display: flex; margin-top: 2px; }
	.count { margin-left: auto; }
	.msort { display: block; }
	.search { max-width: none; }
	.foot-in { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
