/* The Teacher Educator Exchange — community styles
   Matches the site: Source Serif 4 headings, #1355c7 blue, #c25510 orange,
   #11265c navy, #f7f5f1 ground, #e6e2db hairlines. */

.tex-c,
.tex-m-back,
.tex-dir,
.tex-sp,
.tex-th,
.tex-sh,
.texc-btn,
.texc-btn-2 {
  --blue: #1355c7;
  --blue-dark: #0d3f96;
  --blue-pale: #f4f8ff;
  --blue-line: #dbe6f7;
  --orange: #c25510;
  --orange-dark: #9e4009;
  --orange-pale: #fdf6f1;
  --navy: #11265c;
  --ink: #16233a;
  --ink-2: #26334a;
  --grey: #5b6879;
  --grey-2: #8a94a6;
  --line: #e6e2db;
  --line-2: #f0ece5;
  --paper: #fbfaf8;
}

.tex-c {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  display: block;
  margin: 40px 0;
}

.tex-c *, .tex-c *::before, .tex-c *::after { box-sizing: border-box; }
.tex-c button { font-family: inherit; }

.tex-c-head {
  padding: 22px 26px;
  border-bottom: 1px solid var(--line-2);
  background: var(--paper);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.tex-c-kicker {
  font-size: 11.5px; font-weight: 800; letter-spacing: .09em; color: var(--blue);
}
.tex-c-prompt {
  margin: 8px 0 0;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 24px; line-height: 1.15; font-weight: 700; color: var(--navy);
}
.tex-c-count { font-size: 14px; color: #7c8798; white-space: nowrap; }

/* ---------------------------------------------------------------- thread */

.tex-c-list { padding: 8px 26px 4px; }
.tex-c-item { padding: 18px 0; border-bottom: 1px solid #f3f0ea; }
.tex-c-item:last-child { border-bottom: 0; }
.tex-c-item.is-reply { margin-left: 44px; }

.tex-c-row { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.tex-c-av {
  width: 44px; height: 44px; border-radius: 50%; overflow: hidden;
  background: #e2e8f1; flex: none;
}
.tex-c-av img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; display: block; }

.tex-c-byline { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.tex-c-name { font-size: 15.5px; font-weight: 700; color: var(--navy); }
.tex-c-role { font-size: 13.5px; color: var(--grey-2); }
.tex-c-when { font-size: 13px; color: #a6aebb; }
.tex-c-body {
  margin-top: 7px; font-size: 15.5px; line-height: 1.6; color: var(--ink-2);
  white-space: pre-wrap; overflow-wrap: break-word;
}
.tex-c-acts { display: flex; gap: 16px; margin-top: 10px; }
.tex-c-act {
  border: 0; background: none; padding: 0; cursor: pointer;
  font-size: 13.5px; font-weight: 700; color: var(--blue);
}
.tex-c-act:hover { color: var(--blue-dark); }
.tex-c-act.is-quiet { font-weight: 400; color: var(--grey-2); }
.tex-c-act.is-quiet:hover { color: var(--orange); }
.tex-c-act:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 2px; }

/* ------------------------------------------------------------ empty state */

.tex-c-empty { padding: 30px 26px 26px; text-align: center; }
.tex-c-empty-ic {
  margin: 0 auto; width: 46px; height: 46px; border-radius: 50%;
  background: var(--blue-pale); display: grid; place-items: center;
}
.tex-c-empty-t {
  margin-top: 12px; font-family: "Source Serif 4", Georgia, serif;
  font-size: 21px; line-height: 1.2; font-weight: 700; color: var(--navy);
}
.tex-c-empty-b {
  margin: 8px auto 0; font-size: 15px; line-height: 1.6;
  color: var(--grey); max-width: 520px;
}

/* -------------------------------------------------------------- the wall */

.tex-c-tease { position: relative; padding: 0 26px; }
.tex-c-tease-in { position: relative; height: 96px; overflow: hidden; opacity: .4; }
.tex-c-tease-fade {
  position: absolute; left: 0; right: 0; bottom: 0; height: 96px;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, #fff 72%);
}
.tex-c-skel-row { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding-top: 14px; }
.tex-c-skel-av { width: 44px; height: 44px; border-radius: 50%; background: #dde4ee; }
.tex-c-skel-l { height: 13px; width: 190px; border-radius: 3px; background: #dde4ee; }
.tex-c-skel-p { height: 11px; border-radius: 3px; background: #e9edf3; margin-top: 10px; }

.tex-c-wall {
  margin: 0 26px 26px; border: 1px solid var(--blue-line); border-radius: 6px;
  background: var(--blue-pale); padding: 22px 24px; text-align: center;
}
.tex-c-wall-t {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 20px; line-height: 1.2; font-weight: 700; color: var(--navy);
}
.tex-c-wall-b {
  margin: 8px auto 0; font-size: 15px; line-height: 1.55; color: #4a5771; max-width: 460px;
}

/* ------------------------------------------------------------- composer */

.tex-c-composer { border-top: 1px solid var(--line-2); background: var(--paper); padding: 22px 26px; }
.tex-c-hint { font-size: 13.5px; color: #7c8798; }
.tex-c-ta {
  width: 100%; margin-top: 8px; border: 1px solid #d9d4cb; border-radius: 4px;
  padding: 12px 13px; font-size: 15.5px; line-height: 1.55; font-family: inherit;
  color: var(--ink); background: #fff; resize: vertical; min-height: 84px;
}
.tex-c-ta:focus { outline: none; border-color: var(--blue); }
.tex-c-foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; margin-top: 10px; flex-wrap: wrap;
}
.tex-c-as { font-size: 13px; color: var(--grey-2); }
.tex-c-as strong { color: var(--navy); }
.tex-c-rule { font-size: 12.5px; color: var(--grey-2); margin-top: 2px; }

/* -------------------------------------------------------------- buttons */

.texc-btn {
  padding: 12px 24px; border: 0; border-radius: 4px; background: #1355c7;
  color: #fff; font-size: 15px; font-weight: 700; cursor: pointer;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  line-height: 1.2; text-decoration: none; display: inline-block; text-align: center;
}
.texc-btn:hover { background: #0d3f96; color: #fff; }
.texc-btn:disabled { opacity: .45; cursor: default; }
.texc-btn-2 {
  padding: 12px 24px; border: 1px solid #c8d6ea; border-radius: 4px; background: #fff;
  color: #11265c; font-size: 15px; font-weight: 700; cursor: pointer;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  line-height: 1.2; text-decoration: none; display: inline-block; text-align: center;
}
.texc-btn-2:hover { background: #eef4fd; color: #11265c; }
.texc-btn-sm { padding: 9px 16px; font-size: 13.5px; }
.texc-btn-warn { background: #c25510; }
.texc-btn-warn:hover { background: #9e4009; }
.texc-btn:focus-visible, .texc-btn-2:focus-visible { outline: 2px solid #11265c; outline-offset: 2px; }

/* ---------------------------------------------------------------- modal */

.tex-m-back {
  position: fixed; inset: 0; background: rgba(17,38,92,.42);
  display: grid; place-items: center; padding: 24px; z-index: 9999;
  overflow-y: auto;
}
.tex-m {
  background: #fff; border-radius: 8px; width: 100%; max-width: 480px;
  box-shadow: 0 24px 60px rgba(16,40,80,.22); overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: #16233a;
}
.tex-m.is-wide { max-width: 560px; }
.tex-m *, .tex-m *::before, .tex-m *::after { box-sizing: border-box; }
.tex-m-head { padding: 24px 28px 0; }
.tex-m-kicker { font-size: 11.5px; font-weight: 800; letter-spacing: .09em; color: #1355c7; }
.tex-m-t {
  margin: 8px 0 0; font-family: "Source Serif 4", Georgia, serif;
  font-size: 25px; line-height: 1.15; font-weight: 700; color: #11265c;
}
.tex-m-b { margin-top: 8px; font-size: 15px; line-height: 1.55; color: #5b6879; }
.tex-m-body { padding: 20px 28px 26px; }
.tex-m-x {
  position: absolute; top: 14px; right: 16px; border: 0; background: none;
  font-size: 22px; line-height: 1; color: #8a94a6; cursor: pointer; padding: 6px;
}
.tex-m-x:hover { color: #11265c; }
.tex-m-wrap { position: relative; }

.tex-f { margin-bottom: 14px; }
.tex-f label { display: block; font-size: 13px; font-weight: 700; color: #26334a; }
.tex-f .tex-f-help { font-weight: 400; color: #8a94a6; }
.tex-in {
  width: 100%; margin-top: 6px; border: 1px solid #d9d4cb; border-radius: 4px;
  padding: 11px 12px; font-size: 15px; font-family: inherit; background: #fff; color: #16233a;
}
.tex-in:focus { outline: none; border-color: #1355c7; }
.tex-check { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0 4px; }
.tex-check input { margin: 3px 0 0; width: 16px; height: 16px; flex: none; accent-color: #1355c7; }
.tex-check label { font-size: 14px; line-height: 1.5; color: #26334a; font-weight: 400; }

.tex-err {
  margin: 12px 0 0; border-left: 3px solid #c25510; background: #fdf6f1;
  padding: 10px 14px; font-size: 14.5px; line-height: 1.45; color: #8a3c0c;
}
.tex-ok {
  margin: 12px 0 0; border-left: 3px solid #1355c7; background: #f4f8ff;
  padding: 10px 14px; font-size: 14.5px; line-height: 1.45; color: #11265c;
}
.tex-m-alt { margin-top: 16px; font-size: 14px; color: #5b6879; text-align: center; }
.tex-m-alt button {
  border: 0; background: none; padding: 0; cursor: pointer;
  font-size: 14px; font-weight: 700; color: #1355c7; font-family: inherit;
}
.tex-m-alt button:hover { color: #0d3f96; }
.tex-m-div {
  margin: 22px 0 16px; border-top: 1px solid #f0ece5; padding-top: 14px;
  font-size: 11px; font-weight: 800; letter-spacing: .09em; color: #8a94a6;
}
.tex-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.tex-chip {
  display: inline-flex; align-items: center; gap: 7px; cursor: pointer;
  border: 1px solid #d9d4cb; border-radius: 4px; padding: 8px 11px; background: #fff;
  font-size: 13.5px; line-height: 1.3; color: #26334a; font-weight: 400;
}
.tex-chip:hover { border-color: #c8d6ea; background: #fbfcfe; }
.tex-chip input { margin: 0; width: 15px; height: 15px; accent-color: #1355c7; flex: none; }
.tex-chip:has(input:checked) { border-color: #1355c7; background: #f4f8ff; color: #11265c; }
.tex-m textarea.tex-in { resize: vertical; line-height: 1.55; font-family: inherit; }

/* ----------------------------------------------------------- moderation */

.tex-c-mod { border-top: 1px solid var(--line-2); padding: 22px 26px; }
.tex-c-mod-k { font-size: 11.5px; font-weight: 800; letter-spacing: .09em; color: var(--grey-2); }
.tex-c-flag {
  margin-top: 14px; border: 1px solid #f0dfd2; border-left: 3px solid var(--orange);
  border-radius: 5px; background: var(--orange-pale); padding: 16px 18px;
}
.tex-c-flag-acts { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }

/* ----------------------------------------------------- member directory */

.tex-dir { display: block; }
.tex-dir-bar {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  margin-bottom: 22px;
}
.tex-dir-search {
  flex: 1 1 280px; min-width: 0;
  border: 1px solid #d9d4cb; border-radius: 4px; padding: 13px 15px;
  font-size: 16px; font-family: inherit; color: #16233a; background: #fff;
}
.tex-dir-search:focus { outline: none; border-color: #1355c7; }
.tex-dir-country {
  flex: 0 0 auto; min-width: 180px;
  border: 1px solid #d9d4cb; border-radius: 4px; padding: 12px 14px; line-height: 1.4;
  font-size: 15px; font-family: inherit; color: #16233a; background: #fff;
}
.tex-dir-country:focus { outline: none; border-color: #1355c7; }
.tex-dir-count { font-size: 14px; color: #8a94a6; white-space: nowrap; }

.tex-dir-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 18px;
  align-items: start;
}
.tex-dir-card {
  border: 1px solid #e6e2db; border-radius: 6px; background: #fff; padding: 22px 20px;
}
.tex-dir-top { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: start; }
.tex-dir-av {
  width: 64px; height: 64px; border-radius: 50%; overflow: hidden;
  background: #e2e8f1; flex: none;
}
.tex-dir-av img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; display: block; }
.tex-dir-name {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 18px; line-height: 1.2; font-weight: 700; color: #11265c;
}
.tex-dir-you {
  font-family: inherit; font-size: 11px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: #1355c7; background: #f4f8ff;
  border: 1px solid #dbe6f7; border-radius: 3px; padding: 1px 6px; vertical-align: 2px;
}
.tex-dir-role { margin-top: 5px; font-size: 14px; line-height: 1.4; color: #5b6879; }
.tex-dir-inst { margin-top: 2px; font-size: 14px; line-height: 1.4; color: #8a94a6; }
.tex-dir-about {
  margin: 14px 0 0; font-size: 14.5px; line-height: 1.6; color: #26334a;
  white-space: pre-wrap; overflow-wrap: break-word;
}
.tex-dir-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.tex-dir-tag {
  font-size: 12px; line-height: 1.3; padding: 4px 9px; border-radius: 3px;
  background: #f4f8ff; color: #1355c7; border: 1px solid #dbe6f7;
}
.tex-dir-want { margin-top: 14px; border-top: 1px solid #f0ece5; padding-top: 12px; }
.tex-dir-want-k { font-size: 10.5px; font-weight: 800; letter-spacing: .09em; color: #8a94a6; }
.tex-dir-want-v { margin-top: 4px; font-size: 13.5px; line-height: 1.5; color: #5b6879; }
.tex-dir-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.tex-dir-links a { font-size: 13.5px; color: #1355c7; text-decoration: none; }
.tex-dir-links a:hover { color: #0d3f96; text-decoration: underline; }
.tex-dir-note {
  border: 1px solid #e6e2db; border-radius: 6px; background: #fff;
  padding: 26px; text-align: center; font-size: 15px; color: #5b6879;
}
.tex-dir-gate {
  border: 1px solid #dbe6f7; border-radius: 6px; background: #f4f8ff;
  padding: 34px 28px; text-align: center;
}
.tex-dir-gate-t {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 22px; line-height: 1.2; font-weight: 700; color: #11265c;
}
.tex-dir-gate-b {
  margin: 8px auto 0; font-size: 15px; line-height: 1.55; color: #4a5771; max-width: 460px;
}

/* --------------------------------------------------------------- mobile */

@media (max-width: 600px) {
  .tex-c-head, .tex-c-list, .tex-c-composer, .tex-c-mod { padding-left: 18px; padding-right: 18px; }
  .tex-c-wall, .tex-c-tease { margin-left: 18px; margin-right: 18px; padding-left: 0; padding-right: 0; }
  .tex-c-item.is-reply { margin-left: 20px; }
  .tex-c-prompt { font-size: 21px; }
}


/* ---------------------------------------------------------------- cropper */
.tex-crop {
  display: flex; gap: 18px; align-items: flex-start;
  margin-top: 12px; padding: 14px; border: 1px solid #d6dde7; background: #f7f9fc;
}
.tex-crop-c {
  width: 220px; height: 220px; flex: none;
  border-radius: 50%; background: #e2e8f1;
  cursor: grab; touch-action: none;
  box-shadow: 0 0 0 1px #c9d3e0;
}
.tex-crop-c:active { cursor: grabbing; }
.tex-crop-side { padding-top: 4px; }
.tex-crop-hint { margin: 0 0 14px; font-size: 14px; line-height: 1.45; color: #4a5568; }
.tex-crop-zl {
  display: block; font-size: 12px; letter-spacing: .08em;
  text-transform: uppercase; color: #6b7688;
}
.tex-crop-z { display: block; width: 200px; max-width: 100%; margin-top: 8px; }
.tex-crop-adj {
  display: inline-block; margin-top: 8px; padding: 0;
  background: none; border: 0; border-bottom: 1px solid currentColor;
  font: inherit; font-size: 14px; color: #3d6288; cursor: pointer;
}
.tex-crop-adj:hover { color: #1d1f20; }
.tex-crop-adj:disabled { opacity: .45; cursor: default; }
@media (max-width: 560px) {
  .tex-crop { flex-direction: column; align-items: center; }
  .tex-crop-side { text-align: center; }
}


/* ------------------------------------------------------ member-to-member */
.tex-chip-wide { align-items: flex-start; width: 100%; line-height: 1.45; }
.tex-chip-wide em { font-style: italic; }

.tex-dir-write {
  display: inline-block; margin-top: 16px;
  padding: 8px 16px; border: 1px solid #3d6288;
  font-size: 13px; letter-spacing: .06em; text-transform: uppercase;
  color: #3d6288; text-decoration: none; background: none;
}
.tex-dir-write:hover { background: #3d6288; color: #fff; }
.tex-dir-write:focus-visible { outline: 2px solid #3d6288; outline-offset: 2px; }


/* ------------------------------------------------------- spaces & threads */

.tex-sp, .tex-th {
  display: block;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--ink);
}
.tex-sp *, .tex-sp *::before, .tex-sp *::after,
.tex-th *, .tex-th *::before, .tex-th *::after { box-sizing: border-box; }
.tex-sp button, .tex-th button { font-family: inherit; }
.tex-sp a, .tex-th a { text-decoration: none; }

/* the strip of conversation happening on published pieces */
.tex-sp-latest { margin-bottom: 30px; }
.tex-sp-latest-h {
  font-size: 11.5px; font-weight: 800; letter-spacing: .09em;
  color: var(--blue); margin-bottom: 12px;
}
.tex-sp-latest-g {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px;
}
.tex-sp-latest-i {
  display: block; border: 1px solid var(--line); border-radius: 6px;
  background: #fff; padding: 15px 16px; color: inherit;
}
.tex-sp-latest-i:hover { border-color: var(--blue-line); box-shadow: 0 6px 18px rgba(16,40,80,.07); }
.tex-sp-latest-on {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 15.5px; font-weight: 700; color: var(--navy); line-height: 1.25;
}
.tex-sp-latest-b {
  margin-top: 8px; font-size: 14px; line-height: 1.5; color: var(--grey);
  text-wrap: pretty;
}
.tex-sp-latest-m { margin-top: 10px; font-size: 12.5px; color: var(--grey-2); }

/* space cards */
.tex-sp-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px;
}
.tex-sp-card {
  display: flex; flex-direction: column; gap: 10px;
  border: 1px solid var(--line); border-radius: 8px; background: #fff;
  padding: 22px 24px; color: inherit;
}
.tex-sp-card:hover { border-color: var(--blue-line); box-shadow: 0 8px 24px rgba(16,40,80,.08); }
.tex-sp-card-n {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 21px; line-height: 1.15; font-weight: 700; color: var(--navy);
}
.tex-sp-card-b { font-size: 15px; line-height: 1.5; color: var(--grey); text-wrap: pretty; }
.tex-sp-card-f {
  margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line-2);
  display: flex; flex-direction: column; gap: 4px;
}
.tex-sp-card-c { font-size: 12.5px; font-weight: 700; letter-spacing: .04em; color: var(--blue); }
.tex-sp-card-l { font-size: 13.5px; color: var(--grey-2); }

/* thread list within a space */
.tex-sp-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; margin-bottom: 18px;
}
.tex-sp-back { font-size: 14.5px; font-weight: 600; color: var(--blue); }
.tex-sp-back:hover { color: var(--blue-dark); }
.tex-sp-head { margin-bottom: 18px; }
.tex-sp-h {
  margin: 0; font-family: "Source Serif 4", Georgia, serif;
  font-size: 30px; line-height: 1.12; font-weight: 700; color: var(--navy);
}
.tex-sp-p { margin: 8px 0 0; font-size: 16px; line-height: 1.5; color: var(--grey); max-width: 620px; }

.tex-sp-threads { border-top: 1px solid var(--line); }
.tex-sp-thread {
  display: grid; grid-template-columns: 44px 1fr auto; gap: 16px;
  align-items: start; padding: 20px 4px;
  border-bottom: 1px solid var(--line); color: inherit;
}
.tex-sp-thread:hover { background: var(--paper); }
.tex-sp-thread-av {
  width: 44px; height: 44px; border-radius: 50%; overflow: hidden;
  background: #e2e8f1; flex: none;
}
.tex-sp-thread-av img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; display: block; }
.tex-sp-thread-t {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 18.5px; line-height: 1.25; font-weight: 700; color: var(--navy);
}
.tex-sp-pin {
  display: inline-block; margin-right: 9px; padding: 2px 7px; border-radius: 3px;
  background: var(--orange-pale); color: var(--orange-dark);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 10.5px; font-weight: 800; letter-spacing: .08em; vertical-align: 2px;
}
.tex-sp-thread-b {
  margin-top: 6px; font-size: 14.5px; line-height: 1.5; color: var(--grey);
  text-wrap: pretty;
}
.tex-sp-thread-by { margin-top: 8px; font-size: 12.5px; color: var(--grey-2); }
.tex-sp-thread-n {
  text-align: center; font-size: 19px; font-weight: 700; color: var(--navy);
  min-width: 58px; line-height: 1.1;
}
.tex-sp-thread-n span { display: block; font-size: 11.5px; font-weight: 600; color: var(--grey-2); }

/* one conversation */
.tex-th { max-width: 780px; }
.tex-th-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; margin-bottom: 16px;
}
.tex-th-t {
  margin: 0; font-family: "Source Serif 4", Georgia, serif;
  font-size: 34px; line-height: 1.14; font-weight: 700; color: var(--navy);
  text-wrap: pretty;
}
.tex-th-by {
  display: grid; grid-template-columns: 44px 1fr; gap: 14px;
  align-items: center; margin-top: 18px;
  padding-bottom: 18px; border-bottom: 1px solid var(--line);
}
.tex-th-b {
  margin-top: 20px; font-size: 17.5px; line-height: 1.62; color: var(--ink-2);
  white-space: pre-wrap; text-wrap: pretty;
}
.tex-th .tex-c { margin-top: 34px; }

@media (max-width: 560px) {
  .tex-sp-thread { grid-template-columns: 36px 1fr; }
  .tex-sp-thread-n {
    grid-column: 2; text-align: left; display: flex; gap: 5px; align-items: baseline;
    font-size: 14px;
  }
  .tex-sp-thread-n span { font-size: 12.5px; }
  .tex-th-t { font-size: 27px; }
}


/* --------------------------------------------------------------- share */

.tex-sh {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  /* sits high on the page now — under a story byline, under the toolkit buttons — so it
     wears one hairline above it rather than closing a box with rules top and bottom. */
  margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line);
}
.tex-sh * , .tex-sh *::before, .tex-sh *::after { box-sizing: border-box; }
.tex-sh-label {
  font-size: 11.5px; font-weight: 800; letter-spacing: .09em;
  text-transform: uppercase; color: var(--grey-2);
}
.tex-sh-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tex-sh-btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 36px; padding: 0 10px; border: 1px solid var(--line);
  border-radius: 4px; background: #fff; cursor: pointer;
  color: var(--navy); font: inherit; font-size: 13.5px; font-weight: 600;
  text-decoration: none; transition: border-color .15s, color .15s, background .15s;
}
.tex-sh-btn:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-pale); }
.tex-sh-btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.tex-sh-copy { padding: 0 13px; }
.tex-sh-btn.is-done { border-color: #bcd9c4; color: #1f7a43; background: #f2faf5; }
