/* The original landing page's quiet black / green palette, shared by web tools.
   Presentation only: form IDs, message state and cryptography remain untouched. */
:root {
  --bg: #050505;
  --surface: #0b0d10;
  --paper: #101318;
  --ink: #edeff2;
  --text: #edeff2;
  --muted: #929aa6;
  --faint: #78818e;
  --green: #3ba55d;
  --green-text: #69c88a;
  --line: rgba(235, 240, 248, .09);
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color-scheme: dark;
}
.site-header {
  position: relative;
  margin: 16px auto 0;
  padding: 9px 16px;
  width: min(1000px, calc(100% - 36px));
  min-height: 58px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(10, 11, 13, .76);
  backdrop-filter: blur(20px) saturate(160%);
  box-shadow: 0 12px 40px -12px #000b;
}
.brand { font-size: 14px; letter-spacing: -.2px; }
.brand .tile { width: 30px; height: 30px; font-size: 22px; }
.site-nav { gap: 20px; font-size: 13px; }
.tool-main { padding-top: 85px; }
.tool-intro h1 { font-weight: 650; letter-spacing: -.035em; }
.tool-tabs { gap: 4px; }
.tool-tabs a { border-radius: 999px; }
.tool-tabs a[aria-current=page] { background: #3ba55d1c; color: var(--green-text); }
.tool-panel, .reader-workspace .card {
  background: linear-gradient(150deg, #14181e, #0b0d10);
  border: 1px solid #ebf0f81a;
  border-radius: 18px;
  color-scheme: dark;
  box-shadow: 0 20px 65px -25px #000b;
}
.tool-panel input, .tool-panel textarea, .reader-workspace .card input, .reader-workspace .card textarea {
  color: var(--text); background: #07090c; border-color: #ebf0f822;
  transition: border-color 160ms ease-out, box-shadow 160ms ease-out;
}
.tool-panel input:focus, .tool-panel textarea:focus, .reader-workspace .card input:focus, .reader-workspace .card textarea:focus {
  border-color: #3ba55d; box-shadow: 0 0 0 3px #3ba55d18;
}
.field-help, .field-meta, .tool-panel .fine, .tool-panel .status, .reader-workspace .message-details, .reader-workspace .input-help { color: var(--muted); }
.text-link { color: var(--green-text); }
.generated { border-color: var(--line); }
.reader-workspace .privacy-note, .reader-workspace .status, .reader-workspace .keyid, .reader-workspace .file-meta, .reader-workspace #empty>p { color: var(--muted)!important; }
.reader-workspace .status.err, .tool-panel .status.err, .field-meta .over, .reader-workspace #paste-status { color: #ff9295!important; }
.reader-workspace .privacy-note { border-color: var(--line); }
.reader-workspace .result { color: #9cdcb0; background: #3ba55d0d; border-color: #3ba55d44; }
.reader-workspace .card #forget-message { color: var(--green-text); background: transparent; }
.reader-workspace .drop { color: var(--muted); background: #07090c; border-color: #ebf0f833; }
.reader-workspace .keyid b { color: var(--text); }
.site-footer { margin-top: 25px; }
/* Reader arrivals: phrase first, optional link tools second, plugin discovery
   after the task. No modal, tracking, or installation gate. */
#wrap > .shell { display: flex; flex-direction: column; gap: 16px; }
#box { order: -1; }
.reader-links > summary { cursor: pointer; font-size: 14px; font-weight: 600; }
.reader-links > summary:focus-visible { outline: 2px solid #8ed4a6; outline-offset: 6px; }
.reader-explainer { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); }
.reader-explainer strong { font-size: 14px; }
.reader-explainer p { margin-top: 10px; font-size: 14px; }
.reader-plugin { margin: 32px 0; padding: 28px 0; border-block: 1px solid var(--line); }
.reader-plugin-brand { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 14px; font-weight: 650; }
.reader-plugin-brand > span:last-child { color: var(--muted); font-weight: 400; }
.reader-plugin h2 { margin: 16px 0 12px; font-size: clamp(24px, 3vw, 30px); line-height: 1.15; letter-spacing: -.025em; }
.reader-plugin > p { color: var(--muted); font-size: 15px; line-height: 1.65; max-width: 55ch; }
.reader-plugin .actions { margin-top: 20px; }
.reader-plugin .reader-plugin-note { font-size: 12px; margin: 16px 0 0; }
@media (max-width: 720px) {
  .reader-explainer { margin: 18px 0 24px; padding-top: 14px; }
  .site-header { border-radius: 20px; padding: 12px 14px; }
  .site-nav { gap: 12px; }
  .tool-main { padding-top: 38px; }
}
@media (prefers-reduced-transparency: reduce) { .site-header { background: #0b0d10; backdrop-filter: none; } }
@media (prefers-contrast: more) { .site-header, .tool-panel, .reader-workspace .card { border-color: #8d949f; background: #050505; } }
