:root { --page-max-width:1320px; --page-gutter:32px; --thought-shadow:0 24px 70px #34276b12; }
html[data-theme=light] { --bg:#f8f8fc; --brand:#7154f8; --brand-hover:#5e43dc; --brand-soft:#eee9ff; }
.site-header { height:auto; }
.header-inner { height:80px; min-height:80px; gap:38px; max-width:var(--page-max-width); padding-inline:var(--page-gutter); }
.header-tools { margin-inline-start:auto; gap:10px; }
.service-nav { display:flex; flex:none; gap:4px; padding:4px; border:1px solid var(--line); border-radius:999px; background:var(--bg); }
.service-nav a { display:flex; align-items:center; justify-content:center; gap:8px; white-space:nowrap; padding:9px 19px; border-radius:999px; font-size:15px; font-weight:700; }
.service-nav a[aria-current=page] { color:var(--brand); background:var(--panel); box-shadow:0 2px 6px #2513550b; }
.header-inner .brand { font-size:25px; letter-spacing:-1.1px; }
.service-subnav { border-top:1px solid color-mix(in srgb,var(--line) 65%,transparent); }
.thought-categories,.challenge-subnav { display:flex; align-items:center; gap:6px; width:100%; max-width:var(--page-max-width); min-height:59px; margin:0 auto; padding:9px var(--page-gutter); overflow-x:auto; scrollbar-width:none; }
.thought-categories::-webkit-scrollbar,.challenge-subnav::-webkit-scrollbar { display:none; }
.thought-category,.challenge-subnav a { display:inline-flex; flex:none; align-items:center; gap:7px; padding:8px 14px; border:1px solid transparent; border-radius:999px; font-size:14px; font-weight:600; white-space:nowrap; color:var(--muted); transition:background .15s,color .15s; }
.thought-category:hover,.challenge-subnav a:hover { background:var(--soft); color:var(--ink); }
.thought-category.selected,.challenge-subnav a[aria-current=page] { background:var(--ink); color:var(--panel); }
.page-shell { width:100%; max-width:var(--page-max-width); padding:34px var(--page-gutter) 64px; }
.site-footer { width:calc(100% - 2 * var(--page-gutter)); max-width:calc(var(--page-max-width) - 2 * var(--page-gutter)); padding-inline:0; }
.thought-hero { display:grid; grid-template-columns:1fr .98fr; gap:30px; align-items:center; min-height:470px; padding:35px 40px 35px 46px; background:var(--panel); border:1px solid var(--line); border-radius:30px; box-shadow:var(--thought-shadow); overflow:hidden; }
.thought-hero-copy { position:relative; z-index:2; min-width:0; padding-block:16px; }
.thought-eyebrow { display:flex; align-items:center; gap:8px; color:var(--brand); font-size:14px; font-weight:700; line-height:1.5; }
.thought-spark { font-size:23px; line-height:1; }
.thought-hero h1 { margin:22px 0 20px; font-size:clamp(68px,7.6vw,104px); line-height:1.08; letter-spacing:-.055em; font-weight:800; white-space:nowrap; }
.thought-hero-description { max-width:410px; font-size:17px; line-height:1.85; color:var(--muted); white-space:pre-line; }
.thought-hero-actions { display:flex; flex-wrap:wrap; align-items:center; gap:19px; margin-top:29px; }
.thought-primary { min-height:52px; padding:14px 22px; border-radius:15px; box-shadow:0 8px 18px #7154f825; font-size:15px; }
.thought-example-link { min-height:44px; padding:5px 0; background:none; border:0; color:var(--muted); font-size:14px; text-decoration:underline; text-underline-offset:5px; }
.thought-hero-stage { position:relative; min-width:0; height:398px; }
.thought-hero-orbit { position:absolute; width:340px; height:340px; inset-inline-end:-36px; top:25px; border-radius:50%; background:var(--brand-soft); }
.editorial-style,.editorial-home,.editorial-food { background-image:url('/assets/thoughts-editorial.webp'); background-repeat:no-repeat; background-size:300% auto; background-position:0 50%; }
.editorial-home { background-position:50% 50%; }
.editorial-food { background-position:100% 50%; }
.thought-hero-photo { position:absolute; width:69%; height:338px; inset-inline-end:3%; top:5px; border:7px solid var(--panel); border-radius:26px; box-shadow:0 15px 40px #27233821; transform:rotate(4deg); }
.thought-hero-inset { position:absolute; width:37%; height:205px; inset-inline-start:1%; top:122px; border:6px solid var(--panel); border-radius:22px; box-shadow:0 15px 35px #27233820; transform:rotate(-9deg); }
.thought-hero-question { position:absolute; display:flex; align-items:center; gap:12px; width:min(83%,350px); inset-inline-end:0; bottom:5px; padding:18px 20px; border:1px solid var(--line); border-radius:19px; background:var(--panel); box-shadow:0 12px 35px #27233813; }
.thought-hero-question-icon { display:grid; place-items:center; width:42px; height:42px; flex:none; color:var(--brand); background:var(--brand-soft); border-radius:13px; }
.thought-hero-question div { min-width:0; }
.thought-hero-question span:not(.thought-hero-question-icon) { color:var(--muted); font-size:12px; }
.thought-hero-question strong { display:block; font-size:15px; line-height:1.5; margin-top:3px; overflow-wrap:anywhere; }
.thought-hero-label { position:absolute; display:flex; align-items:center; gap:7px; top:13px; inset-inline-start:-1%; padding:10px 13px; border:1px solid var(--line); border-radius:999px; background:var(--panel); font-size:13px; font-weight:650; color:var(--muted); box-shadow:0 8px 24px #2723380a; }
.thought-feed { margin-top:36px; }
.thought-feed.is-category { margin-top:0; }
.thought-feed.is-category .thought-section-head { align-items:center; flex-wrap:wrap; }
.thought-feed.is-category h1 { font-size:30px; }
.thought-section-actions { display:flex; align-items:center; flex-wrap:wrap; gap:14px; }
.thought-section-head { display:flex; align-items:end; justify-content:space-between; gap:18px; margin-bottom:19px; }
.thought-section-head h2 { font-size:22px; letter-spacing:-.035em; }
.thought-section-kicker { color:var(--brand); letter-spacing:.14em; font-size:11px; font-weight:750; margin-bottom:7px; }
.thought-feed-note,.thought-my-link { color:var(--muted); font-size:14px; }
.thought-my-link { color:var(--brand); font-weight:650; }
.thought-feed-grid,.thought-example-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); align-items:start; gap:22px; }
.thought-card { min-width:0; background:var(--panel); border:1px solid var(--line); border-radius:23px; overflow:hidden; transition:transform .18s,box-shadow .18s; }
.thought-card:hover { transform:translateY(-3px); box-shadow:var(--thought-shadow); }
.thought-card-photo { display:block; aspect-ratio:4/3; overflow:hidden; background:var(--soft); }
.thought-card-photo img { width:100%; height:100%; object-fit:cover; transition:transform .35s; }
.thought-card:hover .thought-card-photo img { transform:scale(1.025); }
.thought-card-body { padding:20px; }
.thought-card-topic { display:inline-flex; color:var(--brand); font-size:13px; font-weight:650; margin-bottom:10px; }
.thought-card-title h2 { display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; font-size:19px; line-height:1.55; letter-spacing:-.025em; overflow-wrap:anywhere; }
.thought-card-person { display:flex; gap:7px; align-items:center; min-width:0; color:var(--muted); font-size:13px; margin-top:16px; }
.thought-card-person .avatar { width:26px; height:26px; font-size:12px; flex:none; }
.thought-card-person a { overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.thought-card-person time { margin-inline-start:auto; white-space:nowrap; font-size:12px; }
.thought-card-footer { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-top:17px; padding-top:14px; border-top:1px solid var(--line); }
.thought-comment-action { display:inline-flex; align-items:center; gap:7px; min-height:36px; padding:0; background:transparent; border:0; color:var(--ink); font-size:14px; font-weight:650; }
.thought-comment-count { color:var(--muted); font-size:14px; }
.thought-empty { grid-column:1/-1; display:flex; align-items:center; gap:18px; width:100%; padding:23px 25px; border:1px solid var(--line); border-radius:21px; background:var(--panel); }
.thought-empty-symbol { display:grid; place-items:center; flex:none; width:58px; height:58px; color:var(--brand); background:var(--brand-soft); border-radius:18px; }
.thought-empty h3 { font-size:17px; line-height:1.5; }
.thought-empty p { color:var(--muted); font-size:14px; line-height:1.7; margin-top:3px; }
.thought-empty .button { margin-inline-start:auto; flex:none; }
.thought-examples { margin-top:36px; scroll-margin-top:170px; }
.thought-example { display:block; width:100%; min-width:0; padding:0; text-align:start; border:1px solid var(--line); border-radius:23px; background:var(--panel); overflow:hidden; transition:transform .18s,box-shadow .18s; }
.thought-example:hover { transform:translateY(-3px); box-shadow:var(--thought-shadow); }
.thought-example-inner { display:block; }
.thought-example-image { display:block; aspect-ratio:1.55; }
.thought-example-copy { display:block; padding:20px 21px; }
.thought-example-tag { color:var(--muted); font-size:12px; }
.thought-example-copy strong { display:block; font-size:18px; font-weight:700; line-height:1.55; margin-top:8px; overflow-wrap:anywhere; }
.thought-example-action { display:flex; align-items:center; justify-content:space-between; margin-top:18px; color:var(--brand); font-size:14px; font-weight:650; }
.thought-challenge-link { display:flex; align-items:center; gap:18px; padding:26px 29px; margin-top:34px; background:var(--brand-soft); border:1px solid color-mix(in srgb,var(--brand) 12%,transparent); border-radius:22px; }
.thought-challenge-symbol { display:grid; place-items:center; flex:none; width:58px; height:58px; background:var(--panel); color:var(--brand); border-radius:18px; }
.thought-challenge-link h2 { font-size:19px; line-height:1.5; }
.thought-challenge-link p { margin-top:4px; font-size:14px; color:var(--muted); }
.thought-challenge-link .button { margin-inline-start:auto; flex:none; }
.profile-section-title { font-size:21px; margin:30px 0 20px; }
.thought-back { display:inline-flex; align-items:center; gap:8px; color:var(--muted); font-size:14px; margin-bottom:22px; }
.thought-detail { max-width:940px; margin-inline:auto; padding:30px; border:1px solid var(--line); background:var(--panel); border-radius:25px; }
.thought-detail-meta,.thought-detail-actions,.thought-detail-author { display:flex; gap:10px; align-items:center; flex-wrap:wrap; }
.thought-detail-meta { justify-content:space-between; }
.thought-topic-label { color:var(--brand); font-size:14px; font-weight:650; }
.thought-detail h1 { margin:16px 0 18px; font-size:30px; line-height:1.5; letter-spacing:-.035em; white-space:pre-line; overflow-wrap:anywhere; }
.thought-detail-author { font-size:14px; color:var(--muted); margin-bottom:25px; }
.thought-detail-author time { margin-inline-start:auto; font-size:13px; }
.thought-detail-author .avatar { width:34px; height:34px; }
.thought-detail-image { width:100%; max-height:78vh; object-fit:contain; background:var(--bg); border-radius:15px; }
.thought-original { color:var(--muted); font-size:14px; margin:-8px 0 20px; white-space:pre-line; overflow-wrap:anywhere; }
.thought-detail-comments { margin-top:30px; }
.thought-detail-comments .comments-panel { border:0; padding:0; background:transparent; }
.thought-dialog { width:min(720px,calc(100vw - 32px)); }
.thought-dialog .dialog-content { padding-top:5px; }
.thought-compose { width:100%; }
.thought-photo-picker { display:grid; position:relative; place-items:center; overflow:hidden; min-height:215px; margin-bottom:24px; border:1.5px dashed color-mix(in srgb,var(--brand) 35%,var(--line)); background:var(--bg); border-radius:19px; cursor:pointer; }
.thought-photo-picker:focus-within { outline:3px solid var(--brand); outline-offset:3px; }
.thought-photo-picker img { width:100%; height:240px; object-fit:contain; }
.thought-upload-hint { display:grid; justify-items:center; gap:13px; color:var(--brand); font-size:15px; padding:35px; }
.thought-photo-change { position:absolute; display:flex; align-items:center; gap:6px; inset-inline-end:12px; bottom:12px; padding:8px 12px; border:1px solid var(--line); border-radius:999px; background:var(--panel); font-size:13px; }
.thought-question-input { min-height:105px; font-size:17px; line-height:1.7; }
.thought-compose-options { display:flex; align-items:center; gap:20px; margin-top:16px; }
.thought-compose-options .field { margin:0; flex:1; }
.thought-public { display:inline-flex; align-items:center; gap:6px; color:var(--muted); font-size:14px; flex:none; }
.thought-submit { min-width:140px; min-height:48px; }
.thought-dialog .draft-status { margin-top:6px; }
body[data-mode=thoughts] .page-shell>.empty-state { grid-column:1/-1; }
@media (min-width:761px) { .thought-hero-stage { animation:thought-reveal .7s ease-out both; } }
@keyframes thought-reveal { from { opacity:0; transform:translateY(12px); } to {opacity:1;transform:translateY(0);} }
@media (max-width:1100px) {
  .header-inner { gap:22px; }.service-nav a { padding-inline:15px; }.header-tools .new-goal-header { display:none; }
  .thought-hero { padding:26px 30px; gap:15px; }.thought-hero h1 { font-size:76px; }.thought-hero-stage { height:370px; }
  .thought-hero-photo { height:310px; }.thought-hero-inset { top:120px; height:184px; }.thought-hero-question { width:90%; }
}
@media (max-width:760px) {
  :root { --page-gutter:20px; }
  .header-inner { display:grid; grid-template-columns:1fr auto; height:auto; min-height:0; gap:11px 12px; padding-block:13px 10px; }
  .header-inner .brand { font-size:23px; gap:8px; }.header-inner .brand img { width:32px;height:32px; }
  .header-tools { grid-column:2; grid-row:1; gap:7px; }.header-tools>.language-select { display:block; width:76px; max-width:76px; padding-inline-start:5px; font-size:13px; }
  .header-tools .button { min-height:38px; padding:8px 13px; font-size:13px; border-radius:12px; }.header-tools .icon-button { width:36px; height:36px; }
  .header-tools .avatar { width:35px; height:35px; font-size:14px; }.service-nav { grid-column:1/-1; grid-row:2; width:100%; justify-content:stretch; }
  .service-nav a { flex:1; min-width:0; padding:8px 13px; font-size:14px; }.thought-categories,.challenge-subnav { min-height:51px; padding-block:8px; gap:4px; }
  .thought-category,.challenge-subnav a { font-size:13px; padding:7px 11px; gap:5px; }
  .page-shell { padding-top:20px; }.thought-hero { grid-template-columns:1fr; gap:6px; min-height:0; border-radius:24px; padding:27px 26px 20px; }
  .thought-hero-copy { padding:0; }.thought-eyebrow { font-size:13px; }.thought-hero h1 { font-size:68px; margin:16px 0; line-height:1.2; }
  .thought-hero-description { max-width:100%; font-size:15px; line-height:1.8; }.thought-hero-actions { margin-top:22px; gap:18px; }.thought-primary { min-height:48px; padding:12px 18px; font-size:14px; }
  .thought-hero-stage { height:295px; max-width:460px; width:100%; margin:16px auto 0; }.thought-hero-orbit { width:245px; height:245px; top:10px; inset-inline-end:-15px; }
  .thought-hero-photo { width:65%;height:243px;top:0;inset-inline-end:4%;border-width:5px;border-radius:20px; }
  .thought-hero-inset { width:34%;height:160px;top:75px;inset-inline-start:1%;border-width:5px;border-radius:18px; }
  .thought-hero-question { bottom:0; width:87%; padding:12px 15px; gap:9px; border-radius:16px; }.thought-hero-question strong { font-size:13px; }.thought-hero-question-icon { width:35px;height:35px;border-radius:10px; }
  .thought-hero-label { top:0;inset-inline-start:0;font-size:11px;padding:7px 10px; }.thought-hero-label svg {width:13px;height:13px;}
  .thought-feed,.thought-examples { margin-top:28px; }.thought-section-head { margin-bottom:15px; gap:10px; }.thought-section-head h2 { font-size:20px; }.thought-feed-note,.thought-my-link { font-size:12px; }
  .thought-feed-grid,.thought-example-grid { grid-template-columns:repeat(2,minmax(0,1fr));gap:15px; }
  .thought-empty { padding:18px; flex-wrap:wrap; gap:12px; border-radius:18px; }.thought-empty-symbol { width:44px;height:44px;border-radius:13px; }
  .thought-empty h3 { font-size:16px; }.thought-empty p { font-size:13px; }.thought-empty .button { margin-inline-start:56px; min-height:40px; padding:9px 14px; font-size:13px; }
  .thought-example-copy { padding:15px; }.thought-example-copy strong { font-size:16px; }.thought-example-action { font-size:13px;margin-top:14px; }.thought-card-body {padding:17px;}
  .thought-challenge-link { padding:21px;gap:13px;flex-wrap:wrap; }.thought-challenge-symbol { width:44px;height:44px;border-radius:14px; }.thought-challenge-link h2 { font-size:16px; }.thought-challenge-link p { font-size:13px; }.thought-challenge-link .button { margin-inline-start:57px; font-size:13px; }
  .mobile-nav { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:stretch;padding:8px 8px calc(8px + env(safe-area-inset-bottom)); }
  .mobile-nav>a,.mobile-nav>button { display:grid;grid-template-rows:36px auto;align-items:center;align-content:start;justify-items:center;gap:5px;min-width:0;padding:3px 2px;margin:0;font-size:11px;line-height:1.25;text-align:center;border:0;background:none; }
  .mobile-nav>a>svg { width:24px;height:24px;margin:0; }.mobile-nav .record-nav .record-plus { display:grid;place-items:center;width:42px;height:36px;margin:0;border-radius:11px;background:var(--brand);color:white; }
  .mobile-nav .record-nav .record-plus svg { width:22px;height:22px; }.mobile-nav>button>span:last-child,.mobile-nav>a>span { display:block;align-self:start;margin:0;min-height:28px;overflow-wrap:anywhere; }
  .thought-hero.is-member { padding:23px; }.thought-hero.is-member h1 { font-size:52px;white-space:nowrap;margin:0;line-height:1.4; }.thought-hero.is-member .thought-hero-stage,.thought-hero.is-member .thought-eyebrow,.thought-hero.is-member .thought-hero-description {display:none;}.thought-hero.is-member .thought-hero-actions {margin-top:16px;}
  .thought-detail { padding:21px;border-radius:21px; }.thought-detail h1 {font-size:25px;}.thought-detail-author time { width:100%;margin-inline-start:44px; }.thought-detail-author .button {margin-inline-start:44px;}
  .thought-photo-picker img {height:210px;}.thought-compose-options {gap:12px;}.thought-public {font-size:13px;}
}
@media(max-width:480px) {
  :root { --page-gutter:16px; }.header-inner .brand { font-size:22px; }.header-tools>.language-select { width:67px;max-width:67px; }
  .header-tools {gap:5px;}.thought-hero {padding:25px 22px 18px;}.thought-hero h1 {font-size:64px;}.thought-hero-description {font-size:14px;}.thought-hero-actions {gap:14px;}.thought-example-link {font-size:13px;}
  .thought-feed-grid,.thought-example-grid {grid-template-columns:1fr;gap:18px;}.thought-example-image {aspect-ratio:1.65;}.thought-example-copy {padding:19px 20px;}.thought-example-copy strong {font-size:18px;}.thought-example-action {font-size:14px;}
  .thought-card-title h2 {font-size:19px;}.thought-card-photo {aspect-ratio:1.2;}.thought-detail {padding:19px 16px;}.thought-detail h1 {font-size:23px;}
  .thought-empty {display:grid;grid-template-columns:44px 1fr;}.thought-empty .button {grid-column:2;margin:0;justify-self:start;}.thought-challenge-link {display:grid;grid-template-columns:44px 1fr;}.thought-challenge-link .button {grid-column:2;margin:0;justify-self:start;}
}
@media(max-width:360px) { .header-inner {column-gap:7px;}.header-inner .brand {font-size:19px;gap:6px;}.header-inner .brand img {width:28px;height:28px;}.header-tools>.language-select {width:64px;max-width:64px;font-size:12px;padding-inline-start:0;padding-inline-end:12px;}.header-tools {gap:4px;}.header-tools .icon-button {width:31px;height:31px;}.header-tools .avatar {width:30px;height:30px;}.thought-hero h1 {font-size:56px;} }
@media(prefers-reduced-motion:reduce) { .thought-hero-stage,.thought-card,.thought-card-photo img,.thought-example {animation:none;transition:none;transform:none!important;} }

/* Longer localized service names stay on one line at every viewport. */
html:is([lang=en],[lang=es],[lang=pt],[lang=vi]) .thought-hero h1 { font-size:clamp(44px,5.5vw,76px); }
@media(max-width:760px) { html:is([lang=en],[lang=es],[lang=pt],[lang=vi]) .thought-hero h1 {font-size:48px;} }
@media(max-width:480px) { html:is([lang=en],[lang=es],[lang=pt],[lang=vi]) .thought-hero h1 {font-size:40px;} }
@media(max-width:360px) { html:is([lang=en],[lang=es],[lang=pt],[lang=vi]) .thought-hero h1 {font-size:34px;} }

/* Explicit owner controls remain visible in light and dark themes. */
.goal-title-row { flex-wrap:wrap; align-items:center; }
.goal-title-row>h1 { flex:1 1 220px; min-width:0; }
.button.goal-manage-button { flex:0 1 auto; max-width:100%; min-height:44px; margin-inline-start:auto; padding:11px 16px; border:1px solid var(--ink); border-radius:13px; background:var(--ink); color:var(--panel); font-size:14px; font-weight:750; line-height:1.45; white-space:normal; text-align:start; }
.button.goal-manage-button:hover { background:color-mix(in srgb,var(--ink) 90%,var(--panel)); }
.goal-main-actions .button { flex:1 1 140px; min-height:44px; }
.goal-delete-section { margin-top:22px; padding-top:20px; border-top:1px solid var(--line); }
.button.goal-delete-action { min-height:48px; border:1.5px solid var(--danger); background:color-mix(in srgb,var(--danger) 12%,var(--panel)); color:var(--danger); font-weight:750; }
.button.goal-delete-action:hover { background:color-mix(in srgb,var(--danger) 20%,var(--panel)); }

/* Lists fill the shared content width; cards retain their identity across pages. */
.challenge-grid { width:100%; max-width:none; margin:0; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; align-items:stretch; }
.challenge-grid>.challenge-card { width:100%; margin:0; }
.day-cell { font-size:13px; }
.day-cell.recorded { color:var(--panel); font-weight:700; }
.day-cell.future { opacity:1; color:color-mix(in srgb,var(--muted) 78%,var(--ink)); background:var(--bg); }
.day-cell.rest-day:not(.recorded) { opacity:1; color:var(--muted); border-style:dashed; background:transparent; }
.settings-layout.account-layout { max-width:none; width:100%; margin:0; grid-template-columns:minmax(0,1.08fr) minmax(0,1fr); gap:24px; align-items:start; }
.account-layout .settings-section { margin:0; padding:26px; }
.account-preferences { display:grid; gap:22px; min-width:0; }
.account-actions { grid-column:1/-1; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; align-items:start; }
.account-session { display:flex; flex-direction:column; gap:12px; }
.account-layout .account-session>.button { margin:0; }
.account-layout .field-input { border-color:color-mix(in srgb,var(--ink) 13%,var(--line)); }
.account-layout h2,.account-layout .settings-row { overflow-wrap:anywhere; }
.account-layout .settings-row .button { min-height:40px; flex-shrink:0; }
@media(max-width:1023px) { .challenge-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;} }
@media(max-width:800px) { .settings-layout.account-layout {grid-template-columns:minmax(0,1fr);gap:20px;}.account-actions {grid-template-columns:minmax(0,1fr);gap:20px;}.account-layout .settings-section {padding:23px 21px;} }
@media(max-width:600px) { .challenge-grid {grid-template-columns:minmax(0,1fr);gap:18px;}.day-grid {grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;}.day-cell {font-size:13px;}.account-layout .field-hint {font-size:13px;} }

/* Photo questions stay compact as the public feed grows. */
.thought-list {min-width:0;width:100%;}
.thought-feed-grid {grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;align-items:stretch;}
.thought-card {display:flex;flex-direction:column;border-radius:18px;}
.thought-card-photo {aspect-ratio:1;flex:none;}
.thought-card-body {display:flex;flex-direction:column;flex:1;min-width:0;padding:15px 16px 11px;}
.thought-card-topic {font-size:12px;margin-bottom:7px;line-height:1.4;overflow-wrap:anywhere;}
.thought-card-title h2 {font-size:17px;line-height:1.5;-webkit-line-clamp:2;}
.thought-card-meta {display:flex;align-items:center;justify-content:space-between;gap:6px;min-width:0;margin-top:auto;padding-top:9px;}
.thought-card-person {flex:1;min-width:0;margin-top:0;font-size:12px;gap:6px;}
.thought-card-person .avatar {width:23px;height:23px;font-size:11px;}
.thought-comment-action {flex:none;min-width:40px;min-height:40px;justify-content:center;gap:5px;font-size:13px;}
.thought-comment-action svg {width:17px;height:17px;}
.thought-list .thought-empty {text-align:start;}
.goal-card-stats {display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;min-width:0;}
.goal-comment-link {display:inline-flex;align-items:center;gap:5px;min-height:38px;font-size:13px;font-weight:650;overflow-wrap:anywhere;}
.goal-comment-link:hover {color:var(--brand);}
.detail-feed:has(>.comments-panel) {width:100%;}
.detail-feed>.comments-panel {margin-top:0;}
@media(max-width:1100px) {.thought-feed-grid {grid-template-columns:repeat(3,minmax(0,1fr));}}
@media(max-width:700px) {
  .thought-feed-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 8px;width:calc(100% + var(--page-gutter) + var(--page-gutter));margin-inline:calc(0px - var(--page-gutter));}
  .thought-card {border:0;border-radius:0;background:transparent;}.thought-card:hover {transform:none;box-shadow:none;}
  .thought-card-photo {aspect-ratio:3/4;}.thought-card-body {padding:11px 10px 5px;}
  .thought-card-topic {font-size:12px;margin-bottom:5px;}.thought-card-title h2 {font-size:15px;line-height:1.5;}
  .thought-card-meta {padding-top:5px;gap:3px;}.thought-card-person {font-size:12px;gap:4px;}
  .thought-card-person .avatar {width:20px;height:20px;font-size:10px;}
  .thought-comment-action {min-width:36px;min-height:44px;font-size:12px;gap:4px;}
}
