/* jt-zimbra-plugins pages — shared style (from the jt-waf-mgr project page: light page, logo blue, one colour per card) */
:root { --blue: #2563c4; --blue-h: #3a86e6; --blue-d: #1a4c9c; --orange: #ff8a5c;
  --ink: #0f172a; --text: #334155; --muted: #64748b; --bg: #eef2f8; --panel: #fff; --panel-2: #f6f8fc; --border: #e1e7f0;
  --accent: var(--blue); --ok: #1d7a46; --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 4px 16px rgba(15, 23, 42, .05); color-scheme: light; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); line-height: 1.65; -webkit-font-smoothing: antialiased;
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans TC", "Noto Sans JP", Roboto, Helvetica, Arial, sans-serif; }
a { color: var(--blue-d); text-decoration: none; } a:hover { text-decoration: underline; }
h1, h2, h3 { color: var(--ink); line-height: 1.25; letter-spacing: .2px; }
code, pre, .mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
header.top { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--border); }
header.top .wrap { display: flex; align-items: center; gap: 18px; height: 60px; }
.brand { display: flex; align-items: center; gap: 9px; font: 700 19px ui-monospace, Menlo, Consolas, monospace; color: var(--ink); white-space: nowrap; }
.brand:hover { text-decoration: none; }
.brand img { width: 28px; height: 28px; filter: drop-shadow(0 2px 6px rgba(37, 99, 196, .35)); }
header.top .wrap { max-width: 1320px; }
nav.links { display: flex; gap: 2px; flex: 1; min-width: 0; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
nav.links::-webkit-scrollbar { display: none; }
/* the links in the middle of the bar (logo and name stay left, language right); auto margins, unlike justify-content:
   center, never cut off the first links when a narrow screen scrolls the row */
nav.links > a:first-child { margin-left: auto; }
nav.links > a:last-child { margin-right: auto; }
nav.links a { color: var(--text); font-size: 14px; font-weight: 500; padding: 6px 9px; border-radius: 8px; }
nav.links a:hover { color: var(--blue); background: #eef4fd; text-decoration: none; }
@media (max-width: 1360px) { nav.links a { padding: 6px 7px; font-size: 13.5px; } }
@media (max-width: 1140px) { nav.links a { padding: 5px 5px; font-size: 12.5px; } }
/* a narrower bar: the less used links go first (the page still has the sections) */
@media (max-width: 1280px) { nav.links a.opt { display: none; } }
.gh-btn { display: inline-flex; align-items: center; gap: 6px; flex: none; border: 1px solid var(--border); background: #fff; color: var(--text); border-radius: 10px; padding: 6px 10px; font-size: 13.5px; font-weight: 600; line-height: 1.3; white-space: nowrap; }
.gh-btn:hover { border-color: var(--blue); color: var(--blue); text-decoration: none; }
.gh-btn svg { width: 16px; height: 16px; }
.home-top { display: inline-flex; align-items: center; gap: 4px; flex: none; color: var(--blue); font-size: 13.5px; font-weight: 600; padding: 5px 10px; border: 1px solid #cfe0f7; background: #eef4fd; border-radius: 10px; white-space: nowrap; }
.home-top:hover { text-decoration: none; border-color: var(--blue); }
@media (max-width: 760px) { .gh-btn span { display: none; } }
.lang { position: relative; flex: none; }
.lang-btn { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--border); background: #fff; color: var(--text); border-radius: 10px; padding: 6px 10px; cursor: pointer; font: inherit; font-size: 13.5px; font-weight: 600; line-height: 1.3; white-space: nowrap; }
.lang-btn:hover, .lang-btn[aria-expanded="true"] { border-color: var(--blue); color: var(--blue); }
.lang-btn svg { width: 16px; height: 16px; flex: none; }
.lang-menu { position: absolute; right: 0; top: calc(100% + 6px); min-width: 150px; margin: 0; padding: 6px; background: #fff; border: 1px solid var(--border); border-radius: 10px; box-shadow: 0 10px 30px rgba(15, 23, 42, .12); z-index: 20; }
.lang-menu[hidden] { display: none; }
.lang-menu button { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 14px; border: 0; background: none; padding: 7px 10px; border-radius: 7px; font: inherit; font-size: 14px; color: var(--text); cursor: pointer; text-align: left; }
.lang-menu button:hover, .lang-menu button:focus-visible { background: #eef4fd; color: var(--blue); outline: none; }
.lang-menu button[aria-checked="true"] { color: var(--blue); font-weight: 600; }
.lang-menu button[aria-checked="true"]::after { content: "\2713"; }
.hero { padding: 72px 0 56px; border-bottom: 1px solid var(--border);
  background: radial-gradient(1000px 520px at 85% -10%, rgba(58, 134, 230, .16), transparent 60%),
              radial-gradient(760px 480px at 0% 10%, rgba(99, 102, 241, .09), transparent 55%),
              radial-gradient(640px 420px at 70% 110%, rgba(255, 138, 92, .10), transparent 55%), var(--bg); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 44px; align-items: center; }
.hero h1 { font: 700 44px/1.15 ui-monospace, Menlo, Consolas, monospace; margin: 0 0 6px; letter-spacing: -.5px; }
.hero .ver { font: 700 13.5px system-ui; color: #fff; background: linear-gradient(135deg, var(--blue-h), var(--blue-d)); border-radius: 999px; padding: 3px 10px; vertical-align: middle; margin-left: 8px; letter-spacing: 0; }
.hero p.lead { font-size: 18.5px; color: var(--muted); margin: 14px 0 26px; line-height: 1.8; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 10px; border: 1px solid var(--border); background: #fff; color: var(--ink); font-weight: 600; font-size: 15px; line-height: 1.3; transition: .15s; }
.btn:hover { text-decoration: none; border-color: var(--blue); }
.btn.primary { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 4px 14px rgba(37, 99, 196, .32); }
.btn.primary:hover { background: var(--blue-h); border-color: var(--blue-h); }
/* screenshots are full pages (several thousand px tall): show the top part, click for the whole page */
a.shotlink { display: block; }
img.shot { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: top; border-radius: 12px; border: 1px solid var(--border); background: #fff; box-shadow: 0 10px 30px rgba(15, 23, 42, .10); }
img.shot.whole { aspect-ratio: auto; object-fit: contain; }   /* a shot much wider than 4:3 (IP intelligence): never crop its sides */
.hero img.shot { box-shadow: 0 18px 50px rgba(26, 76, 156, .20); }
.car { min-width: 0; }
.car-track { position: relative; display: grid; }
.car-slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility 0s linear .6s; }
.car-slide.on { opacity: 1; visibility: visible; transition: opacity .6s ease; }
.car-btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border);
  background: rgba(255, 255, 255, .92); color: var(--ink); font: 600 26px/1 system-ui; cursor: pointer; box-shadow: 0 4px 14px rgba(15, 23, 42, .18); display: flex; align-items: center; justify-content: center; padding: 0 0 3px; }
.car-btn:hover, .car-btn:focus-visible { border-color: var(--blue); color: var(--blue); }
.car-btn.prev { left: -16px; } .car-btn.next { right: -16px; }
.car-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; }
.car-cap { color: var(--muted); font-size: 15px; }
.car-dots { display: flex; gap: 8px; }
.car-dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0; background: #c3cfe2; cursor: pointer; }
.car-dots button[aria-current="true"] { background: var(--blue); width: 26px; border-radius: 6px; }
@media (max-width: 860px) { .car-btn.prev { left: 6px; } .car-btn.next { right: 6px; } }
@media (prefers-reduced-motion: reduce) { .car-slide, .car-slide.on { transition: none; } }
section { padding: 60px 0; } section.alt { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
h2 { font-size: 30px; margin: 0 0 10px; } h2 + p.sub { color: var(--muted); margin: 0 0 28px; font-size: 17px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.fit-grid ul { margin: 8px 0 0; padding-left: 20px; }
.iprep-row { margin-top: 56px; }
.fit-grid li { margin: 6px 0; line-height: 1.6; }
.card.fit-yes h3 .ic { background: #e3f4ea; color: #1a7f45; box-shadow: none; }
.card.fit-no h3 .ic { background: #fde8e8; color: #b42318; box-shadow: none; }
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 20px 16px; box-shadow: var(--shadow); transition: .15s; }
.card:hover { border-color: rgba(37, 99, 196, .35); box-shadow: 0 6px 22px rgba(37, 99, 196, .10); }
section.alt .card { background: var(--panel-2); }
.modes-fig { margin: 0 0 22px; } .modes-fig img { display: block; width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--border); }
.card h3 { margin: 0 0 8px; font-size: 17px; display: flex; gap: 10px; align-items: center; }
.card h3 .ic { width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(135deg, var(--blue-h), var(--blue-d)); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; flex: none; box-shadow: 0 2px 8px rgba(37, 99, 196, .30); }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.grid.specs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1000px) { .grid.specs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid.specs { grid-template-columns: minmax(0, 1fr); } }
.specs .card p.by { font-size: 13px; font-weight: 600; color: var(--blue-d); margin-bottom: 6px; }
.card ul.src { margin: 6px 0 0; padding-left: 18px; color: var(--ink); font-size: 14.5px; }
.card ul.src li { margin: 4px 0; }
ol.flow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; counter-reset: s; }
ol.flow li { counter-increment: s; background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 16px; position: relative; box-shadow: var(--shadow); }
section.alt ol.flow li { background: var(--panel-2); }
ol.flow li::before { content: counter(s); display: inline-flex; width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, var(--blue-h), var(--blue-d)); color: #fff; font-weight: 700; font-size: 14px; align-items: center; justify-content: center; margin-bottom: 8px; box-shadow: 0 2px 6px rgba(37, 99, 196, .30); }
ol.flow li b { display: block; color: var(--ink); } ol.flow li span { color: var(--muted); font-size: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 9px; margin: 18px 0 0; }
.chip { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--border); background: #fff; border-radius: 999px; padding: 5px 14px; font-size: 13px; font-weight: 600; color: var(--text); box-shadow: 0 1px 2px rgba(15, 23, 42, .04); }
.chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blue-h); flex: none; }
.chip:nth-child(3n+2)::before { background: var(--orange); } .chip:nth-child(3n)::before { background: var(--blue-d); }
.shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.shots > figure:last-child:nth-child(odd) { grid-column: 1 / -1; width: calc(50% - 11px); justify-self: center; }
.shots figure { margin: 0; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: .15s; }
.shots figure:hover { box-shadow: 0 8px 26px rgba(15, 23, 42, .10); transform: translateY(-2px); }
.shots img { width: 100%; display: block; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-bottom: 1px solid var(--border); }
.shots figcaption { padding: 10px 14px; font-size: 14px; color: var(--text); font-weight: 500; }
pre { background: #0f172a; color: #dce6f2; border-radius: 12px; padding: 16px 18px; overflow-x: auto; font-size: 14px; line-height: 1.55; }
pre .c { color: #8193ab; }
ul.ticks { padding-left: 0; list-style: none; } ul.ticks li { padding-left: 32px; position: relative; margin: 9px 0; color: var(--ink); }
ul.ticks li::before { content: "✓"; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg, var(--blue-h), var(--blue-d)); color: #fff; font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 2px 6px rgba(37, 99, 196, .30); }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; align-items: center; }
.two.top { align-items: start; }
.flowshot { margin-top: 34px; }
.flowshot h3 { margin: 0 0 6px; font-size: 19px; } .two.top .shot { margin-top: 8px; }
.reccard { margin-top: 30px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 24px 16px; box-shadow: var(--shadow); }
.reccard h3 { margin: 0 0 4px; font-size: 18px; }
ul.ticks.recgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin: 0; }
@media (max-width: 860px) { ul.ticks.recgrid { grid-template-columns: minmax(0, 1fr); } }
footer { padding: 30px 0 40px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--border); background: #fff; }
footer p.disc { margin: 14px 0 0; font-size: 12.5px; line-height: 1.7; color: var(--muted); max-width: 980px; }
@media (max-width: 860px) { .hero .wrap, .two { grid-template-columns: minmax(0, 1fr); } .hero h1 { font-size: 34px; } nav.links { display: none; } }
/* a palette around the logo blue: every card, step and block gets its own colour (--c, --c2) */
.grid > .card:nth-child(8n+1), ol.flow li:nth-child(6n+1) { --c: #2563c4; --c2: #3a86e6; }
.grid > .card:nth-child(8n+2), ol.flow li:nth-child(6n+2) { --c: #4f46e5; --c2: #818cf8; }
.grid > .card:nth-child(8n+3), ol.flow li:nth-child(6n+3) { --c: #0d9488; --c2: #2dd4bf; }
.grid > .card:nth-child(8n+4), ol.flow li:nth-child(6n+4) { --c: #e8590c; --c2: #ff8a5c; }
.grid > .card:nth-child(8n+5), ol.flow li:nth-child(6n+5) { --c: #db2777; --c2: #f472b6; }
.grid > .card:nth-child(8n+6), ol.flow li:nth-child(6n+6) { --c: #0284c7; --c2: #38bdf8; }
.grid > .card:nth-child(8n+7) { --c: #7c3aed; --c2: #a78bfa; }
.grid > .card:nth-child(8n+8) { --c: #059669; --c2: #34d399; }
.card, ol.flow li { border-top: 3px solid var(--c, var(--blue)); background: linear-gradient(180deg, color-mix(in srgb, var(--c, var(--blue)) 5%, #fff), #fff 70%); }
section.alt .card, section.alt ol.flow li { background: linear-gradient(180deg, color-mix(in srgb, var(--c, var(--blue)) 6%, #fff), var(--panel-2) 70%); }
.card h3 .ic, ol.flow li::before { background: linear-gradient(135deg, var(--c2, var(--blue-h)), var(--c, var(--blue-d))); box-shadow: 0 2px 8px color-mix(in srgb, var(--c, var(--blue)) 35%, transparent); }
.card:hover { border-color: color-mix(in srgb, var(--c, var(--blue)) 40%, var(--border)); border-top-color: var(--c, var(--blue)); }
.shots figure:nth-child(4n+1) { border-top: 3px solid #3a86e6; } .shots figure:nth-child(4n+2) { border-top: 3px solid #818cf8; }
.shots figure:nth-child(4n+3) { border-top: 3px solid #2dd4bf; } .shots figure:nth-child(4n+4) { border-top: 3px solid #ff8a5c; }
a.shotlink { position: relative; cursor: zoom-in; }
a.shotlink::after { content: "⤢"; position: absolute; right: 10px; bottom: 10px; width: 30px; height: 30px; border-radius: 8px; display: flex; align-items: center; justify-content: center;
  background: rgba(15, 23, 42, .62); color: #fff; font-size: 16px; opacity: 0; transition: .15s; }
a.shotlink:hover::after, a.shotlink:focus-visible::after { opacity: 1; }
/* install / upgrade / uninstall */
.inst { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.inst > .iblock.wide { grid-column: 1 / -1; }
.iblock { background: #fff; border: 1px solid var(--border); border-top: 3px solid var(--c); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); min-width: 0;
  background: linear-gradient(180deg, color-mix(in srgb, var(--c) 6%, #fff), #fff 45%); }
.iblock.c-install { grid-column: 1 / -1; --c: #2563c4; --c2: #3a86e6; }
.iblock.c-upgrade { --c: #059669; --c2: #34d399; }
.iblock.c-remove { --c: #e11d48; --c2: #fb7185; }
.ihead { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.ihead .ic { width: 34px; height: 34px; border-radius: 10px; flex: none; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-weight: 700;
  background: linear-gradient(135deg, var(--c2), var(--c)); box-shadow: 0 2px 8px color-mix(in srgb, var(--c) 35%, transparent); }
.ihead h3 { margin: 2px 0 4px; font-size: 19px; } .ihead p { margin: 0; color: var(--muted); font-size: 15px; }
.code { position: relative; } .code pre { margin: 0; padding-right: 86px; }
button.copy { position: absolute; top: 10px; right: 10px; border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .08); color: #dce6f2; border-radius: 8px;
  padding: 4px 11px; font: 600 12.5px system-ui; cursor: pointer; }
button.copy:hover { background: rgba(255, 255, 255, .16); } button.copy.done { background: #059669; border-color: #059669; color: #fff; }
/* the large view of a screenshot */
dialog#lb { width: min(1400px, 96vw); height: 94vh; max-height: 94vh; padding: 0; border: 0; border-radius: 14px; background: #fff; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
dialog#lb[open] { display: flex; flex-direction: column; }
dialog#lb::backdrop { background: rgba(15, 23, 42, .72); backdrop-filter: blur(3px); }
.lb-bar { display: flex; align-items: center; gap: 14px; padding: 10px 12px 10px 18px; border-bottom: 1px solid var(--border); flex: none; }
#lb-title { font-weight: 600; color: var(--ink); flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#lb-open { font-size: 14px; white-space: nowrap; }
.lb-x { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--border); background: #fff; color: var(--ink); font-size: 17px; cursor: pointer; flex: none; }
.lb-x:hover { background: #fee2e2; border-color: #fca5a5; color: #b91c1c; }
.lb-body { flex: 1; overflow: auto; background: var(--bg); padding: 14px; overscroll-behavior: contain; }
.lb-body img { display: block; width: 100%; height: auto; margin: 0 auto; border-radius: 8px; box-shadow: var(--shadow); }
body.lb-on { overflow: hidden; }
@media (max-width: 860px) { .shots, .inst { grid-template-columns: minmax(0, 1fr); } .shots > figure:last-child:nth-child(odd) { width: auto; } dialog#lb { width: 100vw; height: 100vh; max-height: 100vh; max-width: 100vw; border-radius: 0; } }
.guide-note { margin: -10px 0 22px; padding: 10px 14px; border-radius: 10px; background: color-mix(in srgb, #ff8a5c 10%, #fff); border: 1px solid color-mix(in srgb, #ff8a5c 35%, #fff); }
.guide-note a { font-weight: 600; }
p.disclaimer { margin: 16px 0 0; padding: 10px 14px; border-left: 3px solid #f59e0b; background: #fffbeb; border-radius: 6px; color: #78350f; font-size: 14.5px; }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1000px) { .grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid.three { grid-template-columns: minmax(0, 1fr); } }
/* ---- additions for jt-zimbra-plugins ---- */
.tbl-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
table.tbl { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 640px; }
table.tbl th, table.tbl td { text-align: left; vertical-align: top; padding: 10px 14px; border-bottom: 1px solid var(--border); }
table.tbl th { background: var(--panel-2); color: var(--ink); font-weight: 700; font-size: 13.5px; white-space: nowrap; }
table.tbl tr:last-child td { border-bottom: 0; }
table.tbl td.ok { color: var(--ok); font-weight: 600; }
table.tbl td.no { color: var(--muted); }
table.tbl td.warn { color: #9a3412; }
table.tbl code, p code, li code, .card code { font-size: .9em; background: #eef2f8; border: 1px solid var(--border); border-radius: 5px; padding: 0 4px; color: var(--ink); }
.note { margin: 14px 0 0; color: var(--muted); font-size: 14.5px; }
.grid.two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 860px) { .grid.two-col { grid-template-columns: minmax(0, 1fr); } }
pre.diag { font-size: 13px; line-height: 1.6; white-space: pre; }
/* plugin cards on the start page */
.plugins { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 22px; }
.pcard { display: flex; flex-direction: column; gap: 12px; background: #fff; border: 1px solid var(--border); border-top: 3px solid var(--c, var(--blue)); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow);
  background: linear-gradient(180deg, color-mix(in srgb, var(--c, var(--blue)) 6%, #fff), #fff 55%); transition: .15s; }
.pcard:hover { box-shadow: 0 8px 26px rgba(37, 99, 196, .12); border-color: color-mix(in srgb, var(--c, var(--blue)) 40%, var(--border)); }
.pcard .phead { display: flex; align-items: center; gap: 12px; }
.pcard .phead img { width: 44px; height: 44px; border-radius: 12px; background: #fff; border: 1px solid var(--border); padding: 6px; flex: none; }
.pcard h3 { margin: 0; font: 700 20px ui-monospace, Menlo, Consolas, monospace; color: var(--ink); }
.pcard .pver { font: 700 12.5px system-ui; color: #fff; background: linear-gradient(135deg, var(--blue-h), var(--blue-d)); border-radius: 999px; padding: 2px 9px; margin-left: 6px; vertical-align: middle; }
.pcard p { margin: 0; color: var(--muted); font-size: 15px; }
.pcard .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.pcard .tag { font-size: 12.5px; font-weight: 600; padding: 2px 10px; border-radius: 999px; background: #eef4fd; color: var(--blue-d); border: 1px solid #cfe0f7; }
.pcard .tag.plan { background: #fff7ed; color: #9a3412; border-color: #fed7aa; }
.pcard .plinks { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 6px; }
.pcard .plinks .btn { padding: 8px 14px; font-size: 14px; }
.pcard.soon { border-style: dashed; border-top-style: solid; background: var(--panel-2); justify-content: center; align-items: flex-start; --c: #94a3b8; }
.pcard img.pshot { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: top left; border-radius: 10px; border: 1px solid var(--border); }
/* narrow screens: keep logo, GitHub and language in the bar (the footer still links to all plugins) */
@media (max-width: 560px) { header.top .wrap { gap: 10px; } .home-top { display: none; } .brand { font-size: 17px; } }
/* plain-language scenario cards (which setup fits me), things to avoid, technical details folded away */
.scen .card { position: relative; display: flex; flex-direction: column; }
.scen .card h3 .ic { font-size: 12.5px; font-weight: 800; }
.scen .rec { position: absolute; top: -11px; right: 16px; font-size: 12px; font-weight: 700; color: #fff; background: var(--ok); border-radius: 999px; padding: 2px 10px; }
.scen p.do { color: var(--text); margin-bottom: 4px; }
.scen ul.ticks { margin: 6px 0 0; font-size: 14.5px; }
ul.ticks li.minus { color: var(--muted); }
ul.ticks li.minus::before { content: "–"; background: #cbd5e1; box-shadow: none; }
.terms { margin: 22px 0 0; padding: 14px 18px; background: #fff; border: 1px solid var(--border); border-radius: 12px; font-size: 14.5px; color: var(--text); }
section.alt .terms { background: var(--panel-2); }
.terms p { margin: 4px 0; }
.avoid { margin: 18px 0 0; padding: 14px 18px 8px; border-left: 4px solid #f59e0b; background: #fffbeb; border-radius: 8px; color: #78350f; font-size: 14.5px; }
.avoid h3 { margin: 0 0 6px; font-size: 16px; color: #92400e; }
.avoid ul { margin: 0; padding-left: 20px; } .avoid li { margin: 6px 0; }
details.tech { margin-top: 22px; background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 12px 18px; }
details.tech summary { cursor: pointer; font-weight: 600; color: var(--blue-d); }
details.tech[open] summary { margin-bottom: 10px; }
/* requirements: the list and the network table one above the other, full width (short lines) */
.req-stack { display: grid; gap: 18px; }
.req-stack .card ul.ticks { margin: 8px 0 0; }
.req-stack .card ul.ticks li { margin: 7px 0; }
.req-stack .card .tbl-wrap { margin-top: 8px; }
/* architecture diagram */
.arch-wrap { margin-top: 22px; overflow-x: auto; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 10px; }
svg.arch { display: block; width: 100%; min-width: 760px; height: auto; font-family: inherit; }
svg.arch .lane { fill: #f6f8fc; stroke: #e1e7f0; }
svg.arch .lane-pmg { fill: #fff7f0; stroke: #f6dcc6; }
svg.arch .lt { font-size: 17px; font-weight: 700; fill: #0f172a; text-anchor: middle; }
svg.arch .ls { font-size: 12.5px; fill: #64748b; text-anchor: middle; }
svg.arch .box { fill: #fff; stroke: #9db8e4; stroke-width: 1.5; }
svg.arch .box-pmg { stroke: #f0a46b; }
svg.arch .box-mail { stroke: #cbd5e1; stroke-dasharray: 4 3; }
svg.arch .bt { font-size: 14px; font-weight: 700; fill: #0f172a; text-anchor: middle; }
svg.arch .bs { font-size: 11.5px; fill: #64748b; text-anchor: middle; }
svg.arch .bs.mono { font-family: ui-monospace, Menlo, Consolas, monospace; }
svg.arch .ar { fill: none; stroke: #475569; stroke-width: 1.6; }
svg.arch .arb { stroke: #2563c4; stroke-width: 2; }
svg.arch .aro { stroke: #d9620b; stroke-width: 2; }
svg.arch .num { fill: #2563c4; } svg.arch .num-o { fill: #d9620b; }
svg.arch .nt { font-size: 12px; font-weight: 700; fill: #fff; text-anchor: middle; }
svg.arch .al { font-size: 11.5px; fill: #334155; text-anchor: middle; paint-order: stroke; stroke: #fff; stroke-width: 4px; }
svg.arch .al-l { text-anchor: start; }

/* screenshot groups (Classic / Modern) */
.shots-h { margin: 26px 0 12px; font-size: 18px; color: var(--ink); }
.shots-h:first-of-type { margin-top: 0; }
