/*
Theme Name: Thinkfolio Theme
Author: Thinkfolio
Description: A bilingual, editorial-first journal with WordPress native archives, articles and discussions.
Version: 0.12.0
Requires at least: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: thinkfolio-theme
*/
body {
  margin: 0;
}
.tf .skip-link {
  position: absolute;
  top: -100px;
}
.tf .skip-link:focus {
  top: 0;
  background: white;
  z-index: 55;
}
.tf .tf-thumb {
  width: 100%;
  height: auto;
  max-height: 350px;
  object-fit: cover;
  border-radius: 14px;
}
.tf .navigation a {
  padding: 8px;
}
.tf .comment-respond input,
.tf .comment-respond textarea {
  max-width: 100%;
}
.tf .articlebody img,
.tf .articlebody iframe {
  max-width: 100%;
}
/* Shared reading and editorial interface. All component styles are scoped to .tf. */
.tf {
  --paper: #fafaf8;
  --card: #fff;
  --ink: #20231f;
  --muted: #64695f;
  --line: #dce0d6;
  --soft: #f0f2eb;
  --accent: #285b48;
  --tint: #e7efe8;
  --blue: #245d92;
  --danger: #963d37;
  --serif: "Noto Serif Hebrew", Georgia, "Times New Roman", serif;
  background: var(--paper);
  color: var(--ink);
  font:
    16px/1.55 system-ui,
    "Arial Hebrew",
    Arial,
    sans-serif;
  text-align: start;
  min-height: 100vh;
  overflow-wrap: anywhere;
  color-scheme: light;
}
.tf[data-mode="dark"] {
  --paper: #171b18;
  --card: #202521;
  --ink: #f1f2ea;
  --muted: #b1b8ae;
  --line: #3d453e;
  --soft: #2a302a;
  --accent: #a8d3b7;
  --tint: #293c31;
  --blue: #a5c9ee;
  --danger: #ffb7ad;
  color-scheme: dark;
}
.tf * {
  box-sizing: border-box;
}
.tf button,
.tf input,
.tf textarea,
.tf select {
  font: inherit;
  color: inherit;
}
.tf button,
.tf .btn {
  border: 1px solid var(--line);
  border-radius: 10px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 7px 13px;
  cursor: pointer;
  background: var(--card);
  line-height: 1.35;
  text-decoration: none;
  transition:
    background 0.14s,
    transform 0.14s;
}
.tf button:hover,
.tf .btn:hover {
  background: var(--soft);
}
.tf button:active {
  transform: translateY(1px);
}
.tf button:disabled {
  opacity: 0.43;
  cursor: default;
}
.tf :focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}
.tf .primary {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
  font-weight: 620;
}
.tf .primary:hover {
  background: var(--accent);
  color: var(--paper);
}
.tf .plain,
.tf .iconbtn,
.tf .linkbtn {
  border-color: transparent;
  background: transparent;
}
.tf .iconbtn {
  height: 42px;
  width: 42px;
  padding: 8px;
}
.tf .linkbtn {
  color: var(--accent);
  font-weight: 650;
  padding-inline: 0;
}
.tf a {
  color: var(--blue);
}
.tf .ico {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
  vertical-align: middle;
}
.tf .mast {
  background: var(--card);
  border-bottom: 1px solid var(--line);
}
.tf .bar,
.tf .nav,
.tf .main,
.tf .footin {
  max-width: 1100px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 52px);
}
.tf .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 76px;
}
.tf .brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  direction: ltr;
  color: var(--ink);
  text-decoration: none;
  padding: 0;
  border: 0;
  background: transparent;
  white-space: nowrap;
}
.tf .brand:hover {
  background: transparent;
}
.tf .brand svg {
  width: 41px;
  height: 41px;
  display: block;
}
.tf .word {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
  font-weight: 750;
  font-size: 24px;
  letter-spacing: -1.3px;
}
.tf .word small {
  font-size: 10px;
  font-weight: 520;
  letter-spacing: 0.085em;
  color: var(--muted);
  margin-top: 5px;
}
.tf .nav {
  display: flex;
  gap: clamp(14px, 3vw, 30px);
  overflow-x: auto;
  scrollbar-width: none;
}
.tf .nav button,
.tf .nav a {
  flex: none;
  white-space: nowrap;
  min-height: 43px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--muted);
  border-radius: 0;
  padding: 5px 0;
  font-size: 14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.tf .nav [aria-current="page"] {
  color: var(--ink);
  border-color: var(--ink);
  font-weight: 700;
}
.tf .main {
  padding-block: 30px 65px;
  min-height: 63vh;
}
.tf .readwidth {
  max-width: 760px;
  margin-inline: auto;
}
.tf .row,
.tf .chips,
.tf .actions {
  display: flex;
  gap: 9px;
  align-items: center;
  flex-wrap: wrap;
}
.tf .between {
  justify-content: space-between;
}
.tf .wrap {
  min-width: 0;
}
.tf .kicker,
.tf .meta,
.tf .hint,
.tf small {
  font-size: 13px;
  color: var(--muted);
}
.tf .kicker {
  display: flex;
  gap: 8px;
  align-items: center;
  font-weight: 620;
  letter-spacing: 0.015em;
}
.tf .dot {
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
}
.tf h1,
.tf h2,
.tf h3,
.tf h4,
.tf p,
.tf figure {
  margin: 0;
}
.tf h1,
.tf h2,
.tf h3 {
  line-height: 1.22;
  letter-spacing: -0.035em;
}
.tf h1 {
  font-size: clamp(31px, 4vw, 49px);
}
.tf h2 {
  font-size: clamp(23px, 2.8vw, 31px);
}
.tf h3 {
  font-size: 20px;
}
.tf .display {
  font-family: var(--serif);
  font-weight: 620;
  letter-spacing: -0.035em;
}
.tf .masttitle {
  margin: 8px 0 5px;
}
.tf .tagline {
  font:
    italic 16px Georgia,
    serif;
  color: var(--muted);
  display: inline-block;
  direction: ltr;
}
.tf .sectionhead {
  margin: 28px 0 14px;
}
.tf .card,
.tf .panel,
.tf .feature {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
}
.tf .panel {
  padding: clamp(15px, 2.5vw, 25px);
  margin: 15px 0;
}
.tf .panel > * + * {
  margin-top: 12px;
}
.tf .feature {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  overflow: hidden;
  margin: 21px 0;
}
.tf .featurecopy {
  padding: clamp(22px, 3.5vw, 43px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
}
.tf .featurecopy h2 {
  font-size: clamp(27px, 3.7vw, 43px);
  line-height: 1.13;
}
.tf .featurecopy p {
  max-width: 43ch;
  color: var(--muted);
}
.tf .art {
  margin: 0;
  background: #eaeadd;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tf .art svg,
.tf .art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.tf .pill {
  display: inline-flex;
  border-radius: 99px;
  padding: 3px 10px;
  background: var(--tint);
  color: var(--accent);
  font-size: 12px;
  font-weight: 620;
}
.tf .chip {
  border-radius: 50px;
  min-height: 36px;
  font-size: 13px;
}
.tf .chip[aria-pressed="true"],
.tf button[aria-pressed="true"].toggle {
  background: var(--tint);
  color: var(--accent);
  border-color: var(--accent);
}
.tf .rule {
  height: 1px;
  background: var(--line);
  margin: 18px 0;
}
.tf .feedentry {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.tf .feedentry h3 {
  margin: 5px 0;
}
.tf .titlebutton {
  background: none;
  border: 0;
  display: inline;
  text-align: start;
  min-height: 0;
  padding: 0;
  font-weight: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  text-decoration: none;
}
.tf .titlebutton:hover {
  text-decoration: underline;
  background: transparent;
}
.tf .actions {
  gap: 4px;
}
.tf .actions button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  min-height: 36px;
  padding: 5px 9px;
}
.tf .actions button[aria-pressed="true"] {
  color: var(--accent);
  background: var(--tint);
}
.tf .split {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(220px, 0.85fr);
  gap: 24px;
  align-items: start;
}
.tf .aside {
  background: var(--soft);
  border-radius: 16px;
  padding: 20px;
}
.tf .aside h3 {
  font-size: 17px;
}
.tf .aside > * + * {
  margin-top: 12px;
}
.tf .sideitem + .sideitem {
  border-top: 1px solid var(--line);
  padding-top: 13px;
}
.tf .muted {
  color: var(--muted);
}
.tf .compact .feedentry {
  padding: 10px 0;
}
.tf label.field {
  display: grid;
  gap: 5px;
  font-size: 13px;
  font-weight: 650;
  margin: 10px 0;
}
.tf .field input,
.tf .field textarea,
.tf .field select,
.tf input.search,
.tf .control,
.tf .wp-block-search__input {
  min-width: 0;
  max-width: 100%;
  width: 100%;
  padding: 10px 12px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 9px;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
}
.tf textarea {
  min-height: 72px;
  resize: vertical;
}
.tf input[type="file"] {
  max-width: 100%;
  font-size: 14px;
}
.tf input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
  vertical-align: middle;
}
.tf .check {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
}
.tf .stack {
  display: grid;
  gap: 10px;
}
.tf .twocol {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}
.tf .empty {
  border: 1px dashed var(--line);
  padding: 19px;
  border-radius: 12px;
  color: var(--muted);
}
.tf .msg {
  background: var(--soft);
  border-inline-start: 3px solid var(--accent);
  border-radius: 6px;
  padding: 11px 14px;
  font-size: 14px;
}
.tf .error {
  color: var(--danger);
  border-color: var(--danger);
}
.tf .tagrow {
  display: flex;
  gap: 7px;
  align-items: center;
  flex-wrap: wrap;
}
.tf details {
  margin: 10px 0;
  padding: 8px 0;
}
.tf summary {
  cursor: pointer;
  font-weight: 640;
  min-height: 33px;
}
.tf .editorblock,
.tf .annotation {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  margin: 12px 0;
}
.tf .annotation {
  background: var(--soft);
  border-inline-start: 3px solid var(--accent);
}
.tf .annotation .meta {
  color: var(--accent);
  font-weight: 650;
}
.tf .articlebody {
  line-height: 1.85;
  font-size: 17px;
}
.tf .articlebody > *,
.tf .articlehead > * {
  margin: 15px 0;
}
.tf .articlebody h3 {
  margin-block: 25px 8px;
}
.tf .preserve {
  white-space: pre-wrap;
}
.tf .code {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  direction: ltr;
  text-align: left;
  background: var(--card);
  padding: 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  font:
    14px/1.65 ui-monospace,
    monospace;
}
.tf blockquote {
  border-inline-start: 3px solid var(--accent);
  padding-inline: 15px;
  margin-inline: 0;
}
.tf .flowline {
  border-inline-start: 2px solid var(--accent);
  padding-inline-start: 24px;
}
.tf .flowline li + li {
  margin-top: 9px;
}
.tf .chartline {
  display: grid;
  grid-template-columns: minmax(72px, 0.4fr) 1fr auto;
  align-items: center;
  gap: 7px;
}
.tf .chartline meter {
  width: 100%;
  accent-color: var(--accent);
}
.tf table {
  border-collapse: collapse;
  max-width: 100%;
  width: 100%;
  font-size: 14px;
}
.tf td,
.tf th {
  text-align: start;
  padding: 8px;
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
}
.tf .insight {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 15px;
  margin: 20px 0;
}
.tf .scale {
  display: flex;
  gap: 5px;
  direction: ltr;
  margin-top: 10px;
}
.tf .scale button {
  flex: 1;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 0;
  padding: 4px;
  font-size: 12px;
  min-height: 42px;
}
.tf .scale i {
  display: block;
  width: 100%;
  height: 7px;
  border-radius: 5px;
  background: var(--line);
}
.tf .scale .on i {
  background: var(--accent);
}
.tf .scale [aria-pressed="true"] {
  font-weight: bold;
  color: var(--accent);
}
.tf .comments {
  list-style: none;
  padding: 0;
}
.tf .comments li {
  border-inline-start: 2px solid var(--line);
  margin-block: 8px;
  padding-inline: 12px;
}
.tf .comments .replyline {
  margin-inline-start: 18px;
}
.tf .toast {
  position: fixed;
  z-index: 99999;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: 92%;
  background: var(--ink);
  color: var(--paper);
  padding: 11px 18px;
  border-radius: 12px;
  box-shadow: 0 6px 26px #0002;
}
.tf .toast:empty {
  display: none;
}
.tf .footin {
  padding-block: 17px;
  font-size: 12px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}
.tf .sr {
  position: absolute;
  width: 1px;
  height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
}
.tf .btnrow {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.tf .searchbar {
  display: flex;
  align-items: center;
  gap: 8px;
}
.tf .searchbar input {
  max-width: 260px;
}
.tf .source-row {
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.tf .versions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.tf .versions > div {
  background: var(--soft);
  padding: 10px;
  border-radius: 9px;
}
.tf .count {
  font:
    500 12px ui-monospace,
    monospace;
  direction: ltr;
}
.tf .kstat {
  font-weight: 680;
  color: var(--accent);
  font-size: 20px;
}
.tf :disabled {
  cursor: not-allowed;
}
.tf [hidden] {
  display: none !important;
}
@media (max-width: 760px) {
  .tf .split {
    grid-template-columns: 1fr;
  }
  .tf .feature {
    grid-template-columns: 1fr;
  }
  .tf .art {
    grid-row: 1;
    min-height: 0;
    max-height: 207px;
    overflow: hidden;
  }
  .tf .art svg {
    height: 191px;
  }
  .tf .featurecopy {
    padding: 19px;
    gap: 9px;
  }
  .tf .main {
    padding-top: 21px;
  }
  .tf .bar {
    min-height: 66px;
  }
  .tf .aside {
    margin-top: 4px;
  }
  .tf .nav {
    gap: 22px;
  }
  .tf .smallhide {
    display: none;
  }
  .tf .sectionhead {
    margin-top: 23px;
  }
}
@media (max-width: 480px) {
  .tf .bar,
  .tf .nav,
  .tf .main,
  .tf .footin {
    padding-inline: 15px;
  }
  .tf .brand svg {
    width: 35px;
    height: 35px;
  }
  .tf .word {
    font-size: 21px;
  }
  .tf .twocol,
  .tf .versions {
    grid-template-columns: 1fr;
  }
  .tf .nav {
    gap: 19px;
  }
  .tf .nav button {
    font-size: 13px;
  }
  .tf .headeractions {
    gap: 2px;
  }
  .tf .headeractions .primary {
    padding: 7px 10px;
  }
  .tf .main {
    padding-bottom: 46px;
  }
  .tf .tagline {
    font-size: 14px;
  }
  .tf .scale button,
  .tf .actions button {
    min-height: 43px;
  }
  .tf .art svg {
    height: 164px;
  }
  .tf .articlebody {
    font-size: 16px;
  }
  .tf .kicker,
  .tf .hint,
  .tf .meta {
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .tf * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.tf.tf-public {
  min-height: 0;
  background: transparent;
}
.tf .tf-graph {
  display: block;
  width: 100%;
  max-height: 440px;
  color: var(--accent);
  font-family: inherit;
}
.tf .tf-timeline .flowline li::marker {
  color: var(--accent);
  font-weight: 700;
}
@media (max-width: 480px) {
  .tf .nav {
    gap: 13px;
  }
  .tf .featurecopy .linkbtn {
    min-height: 36px;
  }
}

@media (min-width: 850px) {
  .tf.magazine #feedlist {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 17px;
  }
  .tf.magazine .feedentry {
    min-width: 0;
  }
}
.tf .tf-text-feature {
  display: block;
}
.tf .tf-text-feature .featurecopy {
  max-width: 76ch;
}

.tf .assist{margin-block:1.4rem}.tf .packet{white-space:pre-wrap;overflow-wrap:anywhere;direction:ltr;text-align:start;max-inline-size:100%}.tf .assist .versions{gap:.8rem}.tf .assist .versions>div{min-inline-size:0;overflow-wrap:anywhere}.tf .main>.panel{max-width:760px;margin:1.25rem auto}.tf .annotation>div>p:first-child{margin-block-start:.3rem}.tf .annotation>div>p:last-child{margin-block-end:.3rem}@media(max-width:540px){.tf .assist .versions{grid-template-columns:1fr}}

/* V0.9 original identity: monochrome surface, restrained Google blue. */
.tf{--paper:#fff;--card:#fff;--ink:#202124;--muted:#5f6368;--line:#e2e5e9;--soft:#f5f6f8;--accent:#1967d2;--tint:#e8f0fe;--blue:#1967d2;--serif:system-ui,Arial,sans-serif}
.tf[data-mode=dark]{--paper:#171717;--card:#202124;--ink:#f1f3f4;--muted:#bdc1c6;--line:#3c4043;--soft:#292a2d;--accent:#8ab4f8;--tint:#273952;--blue:#8ab4f8}
.tf .display,.tf .tagline{font-family:inherit}.tf .tagline{font-style:normal}.tf .mast{position:sticky;top:0;z-index:10}.tf .nav [aria-current=page]{color:var(--accent);border-color:var(--accent)}.tf .feedentry{border:1px solid var(--line);border-radius:18px;padding:18px;margin:12px 0}.tf .feedentry h2{font-size:23px}.tf .feedentry h3{font-size:20px}.tf .feedentry .actions{margin-top:12px}.tf .feature{display:none}.tf .composer{background:var(--soft);border:1px solid var(--line);border-radius:20px;padding:14px;margin:16px 0}.tf .profiletabs{display:flex;gap:6px;border-bottom:1px solid var(--line);margin:18px 0;overflow:auto}.tf .profiletabs a,.tf .profiletabs button{flex:1;white-space:nowrap;border:0;background:transparent;border-radius:0;text-align:center;padding:10px;color:var(--muted);text-decoration:none}.tf .profiletabs [aria-current=page]{color:var(--accent);border-bottom:2px solid var(--accent);font-weight:700}.tf .scale{align-items:end}.tf .scale button{justify-content:end;min-height:55px}.tf .scale button:nth-child(1) i{height:8px}.tf .scale button:nth-child(2) i{height:14px}.tf .scale button:nth-child(3) i{height:20px}.tf .scale button:nth-child(4) i{height:26px}.tf .scale button:nth-child(5) i{height:32px}.tf .translation{border:1px solid var(--line);padding:14px;border-radius:16px;margin:16px 0}.tf .translation button,.tf .translation select{min-height:42px}.tf .tf9-avatar{border-radius:50%;width:54px;height:54px}.tf .code{overflow:auto;white-space:pre}.tf .masttitle{letter-spacing:-.025em}.tf .profilehead{margin:12px 0}.tf .profilehead h1{font-size:clamp(26px,4vw,36px)}.tf .tf9-note{font-size:13px;color:var(--muted)}@media(max-width:480px){.tf .main{padding-top:18px}.tf .mast .nav{gap:16px}.tf .mast .bar{min-height:62px}.tf .feedentry{padding:14px}.tf .feedentry h2{font-size:20px}}

/* V0.11: shared responsive shell, native reader and private studio. */
body.tf11-workspace{margin:0!important;background:#fff} body.tf11-workspace #thinkfolio-app{min-height:100dvh}
.tf{font-size:15px;line-height:1.55}.tf .bar,.tf .nav,.tf .main,.tf .footin{max-width:1000px}.tf .bar{min-height:62px;gap:8px}.tf .brand{gap:8px}.tf .brand .brand{padding:0}.tf .brand svg,.tf .brand img{width:36px;height:36px;flex:none}.tf .word{font-size:21px;letter-spacing:-.8px}.tf .word small{font-size:10px;letter-spacing:.05em;margin-top:4px}.tf .headeractions{justify-content:flex-end;gap:3px}.tf .headeractions .btn,.tf .headeractions button{min-height:36px;padding:6px 9px;font-size:13px}.tf .headeractions .iconbtn{width:36px;padding:7px}.tf .main{padding-block:22px 40px}.tf h1{font-size:clamp(26px,3vw,38px)}.tf h2{font-size:clamp(20px,2.4vw,26px)}.tf h3{font-size:18px}.tf .articlehead h1{font-size:clamp(25px,3.5vw,38px);line-height:1.25}.tf .panel{padding:16px;margin:12px 0;border-radius:14px}.tf .sectionhead{margin:18px 0 10px}.tf .feedentry{padding:14px;border-radius:14px;margin:10px 0;min-width:0}.tf .feedentry h2,.tf .feedentry h3{font-size:20px;line-height:1.35;margin:4px 0}.tf .feedentry .actions{margin-top:8px}.tf .feedentry .muted{font-size:14px;line-height:1.55}.tf .feedentry .tf-public{width:100%;min-width:0}.tf .feedentry .insight{padding:0;margin:0;border:0;background:transparent}.tf .feedentry .scale{max-width:190px;margin-top:2px;gap:3px}.tf .feedentry .scale button{min-height:40px;padding:3px;gap:2px;max-width:38px}.tf .feedentry .scale i{max-width:20px}.tf .feedentry .scale button:nth-child(1) i{height:5px}.tf .feedentry .scale button:nth-child(2) i{height:9px}.tf .feedentry .scale button:nth-child(3) i{height:13px}.tf .feedentry .scale button:nth-child(4) i{height:17px}.tf .feedentry .scale button:nth-child(5) i{height:21px}.tf .feedentry .btnrow{gap:5px;margin-top:3px}.tf .feedentry .btnrow button{min-height:36px;font-size:13px;padding:6px 9px}.tf .feedentry .insight .meta{font-size:12px}.tf .feedentry .insight>.row{justify-content:flex-start;gap:12px}.tf .profilehead{margin:8px 0}.tf .profiletabs{margin:10px 0}.tf .profiletabs a,.tf .profiletabs button{font-size:14px;padding:10px 4px;min-width:0}.tf .split>*{min-width:0}.tf .articlebody{min-width:0}.tf .articlebody table{display:block;overflow-x:auto;max-width:100%}.tf .annotation{overflow-wrap:anywhere}.tf .annotation pre{max-width:100%;overflow:auto}.tf .articlebody [dir=auto]{text-align:start}.tf .tf11-loading{padding:20px}.tf .nav .ico{width:17px;height:17px}.tf .nav a,.tf .nav button{font-size:13px}.tf .nav{gap:18px}.tf .tf11-search{margin:12px 0}.tf .tf11-search input{min-width:0;flex:1}.tf .tf11-search button{flex:none}.tf .tf11-exit{font-size:13px}.tf .tf11-home-intro{margin-bottom:12px}.tf .tf11-home-intro .tagline{font-size:14px}.tf .tf11-home-intro h1{margin:5px 0}.tf .tf11-tools{margin-top:10px}.tf .tf11-tools a{font-size:13px}.tf .tf11-error{max-width:640px;margin:24px auto;padding:20px;border:1px solid var(--line);border-radius:14px}.tf .tf11-error p{margin:12px 0}.tf .articlehead{margin-bottom:18px}.tf .tf11-status .titlebutton{font-size:16px;font-weight:600}.tf .tf11-status .muted{white-space:pre-wrap}.tf .tf11-status .actions{border-top:1px solid var(--line);padding-top:8px}.tf .nav a,.tf .nav button{justify-content:center}
@media(max-width:760px){.tf .bar,.tf .main,.tf .footin{padding-inline:14px}.tf .nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;padding-inline:8px;overflow:visible}.tf .nav a,.tf .nav button{min-width:0;white-space:normal;line-height:1.15;padding:7px 3px;font-size:12px;min-height:42px;text-align:center}.tf .nav .ico{display:none}.tf .main{padding-block:16px 32px}.tf .split{gap:12px}.tf .aside{margin-top:6px;padding:14px}.tf .articlebody{font-size:15px}.tf .panel{padding:14px}.tf .profiletabs{overflow:visible}.tf .mast{position:relative}.tf .feedentry .actions>.btn{min-height:36px;font-size:13px}.tf .masttitle{margin-top:6px}.tf .tagline{font-size:13px}}
@media(max-width:390px){.tf .bar{gap:5px;padding-inline:10px;flex-wrap:wrap}.tf .brand svg,.tf .brand img{width:31px;height:31px}.tf .word{font-size:18px}.tf .word small{font-size:9px}.tf .headeractions .btn,.tf .headeractions button{font-size:12px;padding:5px 6px}.tf .headeractions .iconbtn{width:30px;padding:5px}.tf .headeractions .primary .ico{display:none}.tf .headeractions{gap:1px}.tf .nav{grid-template-columns:repeat(4,minmax(0,1fr))}}

/* V0.12 — one calm, article-first experience */
.tf{--soft:#f5f5f5;--line:#e6e6e6;--accent:#1a73e8;--tint:#e8f0fe;font-size:15px}.tf[data-mode=dark]{--soft:#292a2d;--line:#3c4043;--accent:#8ab4f8;--tint:#26364b}.tf .bar,.tf .nav,.tf .main,.tf .footin{max-width:780px}.tf .main{max-width:740px}.tf .brand svg,.tf .brand img{width:37px;height:37px}.tf .word{font-size:22px;font-weight:760}.tf .word small{font-size:10px;letter-spacing:.02em}.tf .mast .nav{display:flex;gap:4px;justify-content:space-between;overflow:visible}.tf .nav a,.tf .nav button{flex:1;white-space:nowrap;min-width:0;font-size:13px;gap:5px}.tf .nav .ico{display:inline-block;width:18px;height:18px}.tf .nav [aria-current=page]{color:var(--accent);border-color:var(--accent)}.tf .main{padding-top:20px}.tf .split{grid-template-columns:minmax(0,1fr)}.tf .aside{background:transparent;padding:8px 0}.tf .aside:empty{display:none}.tf .feedentry{border-radius:19px;padding:16px;margin:12px 0}.tf .feedentry h2,.tf .feedentry h3{font-size:19px}.tf .feedentry .muted{font-size:15px}.tf .composer{background:var(--card);border-radius:19px;padding:15px}.tf .composer textarea{border:0;background:var(--soft);border-radius:16px;min-height:75px}.tf .composer .primary,.tf .tf12-publishbar .primary{background:#1a73e8;color:white;border-color:#1a73e8;border-radius:24px}.tf .profilehead,.tf .tf11-home-intro,.tf .tf12-start{background:var(--soft);border-radius:20px;padding:18px;margin:8px 0 16px}.tf .tf12-start h2{font-size:22px}.tf .tf12-start .hint{margin-top:6px}.tf .tf12-start-actions{margin:16px 0 10px;display:grid;grid-template-columns:1fr 1fr;gap:8px}.tf .tf12-start-actions .primary{grid-column:1/-1;border-radius:15px;min-height:46px}.tf .tf12-start-actions button{border-radius:14px}.tf .tf12-step{display:flex;gap:12px;font-size:12px;color:var(--muted);padding:8px 0 14px}.tf .tf12-step span:first-child{color:var(--accent);font-weight:650}.tf .tf12-writing{margin-top:5px}.tf .tf12-writing #draft-title{border:0;border-bottom:1px solid var(--line);border-radius:0;padding:12px 0;font-size:24px;line-height:1.3;font-weight:700}.tf .tf12-advanced{border:0;margin:4px 0;padding:4px 0;color:var(--muted);font-size:13px}.tf .tf12-advanced>summary{min-height:26px;font-size:13px;font-weight:500}.tf .tf12-advanced[open]{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:10px 0}.tf .tf12-ai{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:12px 0 16px}.tf .tf12-ai-button{color:var(--accent);background:var(--tint);border:0;border-radius:24px;padding:9px 13px}.tf .tf12-document{border-block:1px solid var(--line)}.tf .tf12-passage{border:0;border-radius:0;padding:11px 0;margin:0}.tf .tf12-passage+.tf12-passage{border-top:1px solid var(--line)}.tf .tf12-blockhead{gap:4px}.tf .tf12-blocktools{position:relative;margin:0;padding:0}.tf .tf12-blocktools summary{list-style:none;font-size:17px;min-height:28px;min-width:34px;text-align:center;letter-spacing:2px}.tf .tf12-blocktools summary::-webkit-details-marker{display:none}.tf .tf12-blocktools .actions{background:var(--card);border:1px solid var(--line);border-radius:10px;padding:4px;position:absolute;inset-inline-end:0;z-index:3;width:max-content}.tf .tf12-passage .field{margin:0}.tf .tf12-passage .field>span:empty{display:none}.tf .tf12-passage textarea[data-block=text]{border:0;padding:4px 0;font-size:16px;line-height:1.7;min-height:64px;resize:vertical;background:transparent;border-radius:0}.tf .tf12-passage textarea[data-block=text]:focus{outline:2px solid var(--accent);outline-offset:2px}.tf .tf12-add{margin:8px 0 12px}.tf .tf12-add button{border:0;color:var(--accent)}.tf .tf12-publishbar{position:sticky;bottom:0;z-index:5;display:flex;align-items:center;gap:6px;background:var(--card);border-top:1px solid var(--line);padding:10px 0 max(10px,env(safe-area-inset-bottom));margin-top:20px}.tf .tf12-publishbar button{font-size:13px;padding:7px 10px;min-height:42px}.tf .tf12-publishbar .primary{margin-inline-start:auto}.tf .tf12-publishbar .ico{width:16px;height:16px}.tf .tf12-more{margin:0;padding:0;position:relative}.tf .tf12-more summary{list-style:none;padding:5px 8px;min-height:34px;cursor:pointer}.tf .tf12-more summary::-webkit-details-marker{display:none}.tf .tf12-menu{position:absolute;inset-inline-end:0;top:100%;min-width:150px;display:grid;background:var(--card);border:1px solid var(--line);border-radius:12px;padding:6px;z-index:12}.tf .tf12-menu a{padding:8px;text-decoration:none;color:var(--ink);font-size:14px}.tf .tf12-menu a:hover{background:var(--soft)}.tf .tf12-home-link{color:var(--accent)}.tf .articlehead h1{font-size:clamp(25px,4vw,34px)}.tf .articlebody{font-size:16px;line-height:1.8}.tf .annotation{border-inline-start:0;border:0;background:var(--soft);border-radius:15px}.tf .feedentry .tf-public .insight{margin-top:7px}.tf .feedentry .tf-public .btnrow{border-top:1px solid var(--line);padding-top:5px}.tf .source-row{overflow-wrap:anywhere}.tf .tf12-review-text{font-size:14px}
@media(max-width:760px){.tf .bar,.tf .main,.tf .footin{padding-inline:14px}.tf .mast .nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0;padding-inline:5px}.tf .nav a,.tf .nav button{display:flex;flex-direction:column;gap:4px;white-space:normal;min-height:55px;font-size:11px;padding:5px 2px}.tf .nav .ico{width:20px;height:20px}.tf .word{font-size:20px}.tf .brand svg,.tf .brand img{width:34px;height:34px}.tf .main{padding-top:15px}.tf .tf12-writing #draft-title{font-size:22px}.tf .tf12-publishbar button{font-size:12px;padding:7px}.tf .tf12-publishbar .ico{display:none}.tf .tf12-start{padding:16px}.tf .tf11-home-intro{padding:17px}.tf .profilehead{padding:14px}}

.tf:has(.tf12-publishbar) .toast{bottom:76px}.tf .tf12-writing .field span{font-size:12px;color:var(--muted)}
