/* ZEN Log
   白地に半透明のガラス面を重ねる。色は意味（ステータス）にだけ使い、アクセントのオレンジは最小限 */

:root {
  --ink: #1d2433;
  --navy: #1f2a44;
  --navy-2: #3a5687;
  --accent: #e8702a;
  --muted: #5b6578;
  --faint: #8a93a3;
  --paper: #f5f7fa;
  --line: rgba(31, 42, 68, 0.1);
  --line-2: rgba(31, 42, 68, 0.16);
  --wash: rgba(31, 42, 68, 0.045);
  --focus: #2f5fa8;
  --red: #b4443a;
  --amber: #b0701a;
  --green: #2f7d5b;
  --font: 'Zen Kaku Gothic New', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Noto Sans JP', 'Noto Sans CJK JP', 'Yu Gothic', 'Meiryo', system-ui, sans-serif;
  --font-num: 'Archivo', 'Helvetica Neue', Arial, var(--font);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --r-lg: 26px;
  --r-md: 18px;
  --r-sm: 12px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'palt' 1;
  letter-spacing: 0.01em;
}
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
.num { font-family: var(--font-num); font-variant-numeric: tabular-nums; letter-spacing: 0; }
.muted { color: var(--muted); }
.small { font-size: 12.5px; }
.spacer { flex: 1; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 8px; }
::selection { background: rgba(47, 95, 168, 0.18); }

.ico { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---- 背景の色面（ガラス越しにわずかに見える） ---- */
.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(42vw 34vw at 6% -6%, rgba(196, 214, 240, 0.95), rgba(196, 214, 240, 0) 70%),
    radial-gradient(26vw 24vw at 100% 16%, rgba(244, 216, 196, 0.6), rgba(244, 216, 196, 0) 70%),
    radial-gradient(48vw 32vw at 78% 108%, rgba(204, 230, 218, 0.85), rgba(204, 230, 218, 0) 70%),
    linear-gradient(180deg, #f8fafc 0%, #f3f6f9 100%);
}
.bg i { display: none; }

/* ---- ガラス ---- */
.glass {
  position: relative;
  background: rgba(255, 255, 255, 0.6);
  -webkit-backdrop-filter: blur(22px) saturate(1.7);
  backdrop-filter: blur(22px) saturate(1.7);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: var(--r-md);
  box-shadow: 0 0 0 0.5px rgba(31, 42, 68, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 12px 32px -22px rgba(31, 42, 68, 0.35);
}
.glass-strong {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
  -webkit-backdrop-filter: blur(28px) saturate(1.9);
  backdrop-filter: blur(28px) saturate(1.9);
  border-radius: var(--r-lg);
  box-shadow: 0 0 0 0.5px rgba(31, 42, 68, 0.09), 0 1px 2px rgba(31, 42, 68, 0.05), 0 24px 48px -28px rgba(31, 42, 68, 0.4);
}
/* 縁の光（左上と右下が明るい） */
.glass-strong::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.2px;
  background: linear-gradient(140deg, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.2) 35%, rgba(180, 196, 222, 0.35) 70%, rgba(255, 255, 255, 0.9));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  pointer-events: none;
}

/* ---- 枠組み ---- */
.app { display: grid; grid-template-columns: 116px minmax(0, 1fr); min-height: 100vh; min-height: 100dvh; }
.main { padding: 30px 40px 72px 28px; max-width: 1400px; width: 100%; outline: none; }
.topbar, .tabbar { display: none; }

.rail {
  position: sticky;
  top: 14px;
  margin: 14px 0 14px 14px;
  height: calc(100vh - 28px);
  height: calc(100dvh - 28px);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 8px 14px;
  border-radius: 24px;
  z-index: 10;
}
.brand { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-bottom: 22px; }
.brand-mark { width: 36px; height: 36px; border-radius: 11px; background: url(/icons/icon.svg) center / cover; box-shadow: 0 0 0 0.5px rgba(31, 42, 68, 0.12), 0 4px 10px -4px rgba(31, 42, 68, 0.3); flex: none; }
.brand-mark.big { width: 60px; height: 60px; border-radius: 18px; }
.brand-name { font-family: var(--font-num); font-weight: 700; font-size: 11px; letter-spacing: 0.04em; color: var(--navy); }
.rail-links { display: flex; flex-direction: column; gap: 4px; width: 100%; }
.rail-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 9px 2px 8px;
  border-radius: 15px;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.3;
  text-align: center;
  white-space: nowrap;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.rail-link:hover { color: var(--navy); background: rgba(255, 255, 255, 0.5); }
.rail-link[aria-current='page'] { color: var(--navy); font-weight: 700; background: rgba(255, 255, 255, 0.92); box-shadow: 0 0 0 0.5px rgba(31, 42, 68, 0.08), 0 4px 12px -6px rgba(31, 42, 68, 0.3); }
.rail-foot { margin-top: auto; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.app.pre .rail-sk { display: block; width: 64px; height: 50px; border-radius: 15px; margin: 2px auto; }

/* 同期状態 */
.sync { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; padding: 4px 6px; font-size: 11.5px; color: var(--muted); border-radius: 8px; line-height: 1.3; text-align: left; }
.rail .sync { flex-direction: column; text-align: center; gap: 4px; max-width: 88px; }
.sync-count { font-size: 11px; color: var(--muted); }
.sync-count:empty { display: none; }
.sync-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--faint); flex: none; transition: background 0.3s; }
.sync[data-state='synced'] .sync-dot { background: var(--green); }
.sync[data-state='syncing'] .sync-dot, .sync[data-state='idle'] .sync-dot { background: var(--focus); animation: pulse 1.1s ease-in-out infinite; }
.sync[data-state='error'] .sync-dot { background: var(--red); }
.sync[data-state='error'] { color: var(--red); }
.sync[data-state='demo'] .sync-dot { background: var(--accent); }
@keyframes pulse { 50% { opacity: 0.35; transform: scale(0.8); } }

/* ---- 共通部品 ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 36px;
  padding: 0 14px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s, transform 0.12s var(--ease), box-shadow 0.15s;
}
.btn:hover { background: #fff; border-color: var(--line-2); }
.btn:active { transform: scale(0.97); }
.btn:disabled { opacity: 0.5; cursor: default; }
.btn.primary { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 6px 14px -8px rgba(31, 42, 68, 0.7); }
.btn.primary:hover { background: #26345a; }
.btn.danger { background: var(--red); border-color: var(--red); color: #fff; }
.btn.ghost { background: transparent; border-color: transparent; }
.btn.ghost:hover { background: var(--wash); }
.danger-text { color: var(--red); }
.btn.text { background: none; border: 0; color: var(--navy); padding: 0 6px; height: 30px; font-size: 13px; }
.btn.text:hover { text-decoration: underline; text-underline-offset: 3px; }
.btn.icon { width: 36px; padding: 0; }
.btn.subtle { border-color: transparent; background: transparent; color: var(--muted); }
.btn.subtle:hover { background: var(--wash); color: var(--ink); }
.btn.small { height: 30px; padding: 0 10px; font-size: 13px; border-radius: 10px; }
.btn.small.icon-l { width: 30px; padding: 0; }

.seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: rgba(31, 42, 68, 0.055); }
.seg-btn { border: 0; background: none; padding: 4px 12px; border-radius: 999px; font-size: 13px; color: var(--muted); transition: background 0.2s var(--ease), color 0.2s, box-shadow 0.2s; }
.seg-btn:hover { color: var(--ink); }
.seg-btn[aria-checked='true'] { background: #fff; color: var(--navy); font-weight: 700; box-shadow: 0 1px 3px rgba(31, 42, 68, 0.14); }

.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.5); font-size: 13px; color: var(--muted); transition: all 0.18s var(--ease); }
.chip:hover { color: var(--ink); background: #fff; }
.chip[aria-checked='true'] { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip-n { font-size: 11.5px; opacity: 0.75; }

.pill { --c: #6b7488; display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 12.5px; font-weight: 500; white-space: nowrap; background: color-mix(in srgb, var(--c) 11%, white); color: color-mix(in srgb, var(--c) 82%, black); border: 1px solid color-mix(in srgb, var(--c) 18%, transparent); }
.btn-pill { cursor: pointer; transition: background 0.2s, transform 0.12s; }
.btn-pill:hover { background: color-mix(in srgb, var(--c) 18%, white); }
.btn-pill:active { transform: scale(0.95); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--c, var(--faint)); flex: none; }

.tag { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 7px; background: rgba(31, 42, 68, 0.06); color: var(--muted); font-size: 12px; white-space: nowrap; }
.tag-minute { background: rgba(47, 95, 168, 0.1); color: #2a5596; }
.btn-tag { border: 0; cursor: pointer; }
.btn-tag:hover { background: rgba(31, 42, 68, 0.1); color: var(--ink); }

input[type='date'], input[type='url'], input[type='text'], input[type='search'], input:not([type]), select, textarea { border-radius: 10px; }
select, input[type='date'] { height: 34px; padding: 0 10px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.7); font-size: 13.5px; }

.inline { border: 0; background: transparent; padding: 2px 6px; margin: -2px -6px; border-radius: 8px; width: 100%; resize: none; transition: background 0.15s, box-shadow 0.15s; line-height: inherit; }
.inline:hover { background: rgba(31, 42, 68, 0.04); }
.inline:focus { outline: none; background: #fff; box-shadow: 0 0 0 1.5px var(--focus); }
.inline::placeholder { color: var(--faint); }

.empty { color: var(--muted); font-size: 13.5px; padding: 6px 0; }

/* スケルトン */
.sk { display: block; height: 12px; border-radius: 6px; background: linear-gradient(90deg, rgba(31, 42, 68, 0.055) 25%, rgba(31, 42, 68, 0.11) 40%, rgba(31, 42, 68, 0.055) 60%); background-size: 400% 100%; animation: shimmer 1.5s ease-in-out infinite; }
.sk-group { display: flex; flex-direction: column; gap: 12px; padding: 4px 0; }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }

.spinner { width: 14px; height: 14px; border-radius: 50%; border: 2px solid rgba(31, 42, 68, 0.15); border-top-color: var(--navy); animation: spin 0.8s linear infinite; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---- 見出し ---- */
.page-head { display: flex; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.page-head h1 { font-size: 24px; font-weight: 700; color: var(--navy); letter-spacing: 0.04em; line-height: 1.3; }
.page-tools { margin-left: auto; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.page-note { margin-left: auto; }

/* ---- メモ入力 ---- */
.composer { padding: 10px 14px 12px 20px; transition: box-shadow 0.3s var(--ease); }
.composer-tabs { display: flex; gap: 2px; margin: 0 0 2px -6px; }
.ctab { border: 0; background: none; font-size: 12.5px; color: var(--muted); padding: 4px 8px; border-radius: 8px; position: relative; }
.ctab[aria-selected='true'] { color: var(--navy); font-weight: 700; }
.ctab[aria-selected='true']::after { content: ''; position: absolute; left: 8px; right: 8px; bottom: 0; height: 2px; border-radius: 2px; background: var(--navy); }
.composer-input { display: block; width: 100%; min-height: 76px; max-height: 50vh; border: 0; background: transparent; resize: none; font-size: 17px; line-height: 1.75; padding: 6px 0; outline: none; }
.composer-input::placeholder { color: #9aa2b1; }
.news-row { display: grid; grid-template-columns: 1.3fr 1fr; gap: 8px; margin: 6px 0 2px; }
.news-row input { height: 38px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.75); padding: 0 12px; font-size: 14.5px; }
.news-row input:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px rgba(47, 95, 168, 0.12); background: #fff; }
.composer[data-mode='news'] .composer-input { min-height: 52px; }
.composer-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.composer-hint { font-size: 12px; color: var(--faint); margin-right: 4px; transition: color 0.2s; }
.composer.saved { animation: saved 0.9s var(--ease); }
.composer.saved .composer-hint { color: var(--green); }
@keyframes saved { 0% { box-shadow: 0 0 0 0 rgba(47, 125, 91, 0.35), 0 24px 48px -28px rgba(31, 42, 68, 0.4); } 100% { box-shadow: 0 0 0 14px rgba(47, 125, 91, 0), 0 24px 48px -28px rgba(31, 42, 68, 0.4); } }
.drop-hint { display: none; position: absolute; inset: 6px; border-radius: 22px; border: 2px dashed var(--focus); background: rgba(240, 245, 252, 0.88); color: var(--focus); font-weight: 700; place-items: center; z-index: 2; pointer-events: none; }
.composer.dragging .drop-hint { display: grid; }
.att-row { display: flex; flex-wrap: wrap; gap: 8px; padding: 6px 0 10px; }
.att { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 6px 0 4px; border-radius: 10px; background: rgba(255, 255, 255, 0.85); border: 1px solid var(--line); font-size: 13px; max-width: 260px; }
.att img { width: 32px; height: 32px; object-fit: cover; border-radius: 7px; }
.att > .ico { margin-left: 6px; color: var(--muted); }
.att a, .att > span:not(.spinner) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.att a:hover { text-decoration: underline; }
.att-x { border: 0; background: none; color: var(--muted); width: 24px; height: 24px; border-radius: 6px; display: grid; place-items: center; padding: 0; }
.att-x:hover { background: var(--wash); color: var(--ink); }
.att.uploading { opacity: 0.75; }

/* ---- ダッシュボード ---- */
.dash-head { display: flex; align-items: flex-end; justify-content: space-between; margin: 4px 0 16px; min-height: 34px; }
.dash-date { font-size: 26px; font-weight: 700; color: var(--navy); letter-spacing: 0.06em; line-height: 1.3; }
.dash-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; margin-top: 22px; align-items: stretch; }
.p-tasks, .p-posts, .p-learn, .p-notes, .p-news, .p-biz { grid-column: span 4; }
.p-ideal { grid-column: 1 / -1; }
.panel { padding: 16px 18px 16px; min-height: 120px; min-width: 0; }
.panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.panel-head h2 { font-size: 15px; font-weight: 700; color: var(--navy); display: flex; align-items: baseline; gap: 8px; letter-spacing: 0.04em; }
.count { font-size: 13px; color: var(--muted); font-weight: 500; }
.panel-link { display: inline-flex; align-items: center; gap: 2px; font-size: 12.5px; color: var(--muted); padding: 2px 4px 2px 8px; border-radius: 8px; }
.panel-link:hover { color: var(--navy); background: var(--wash); }
.sub { font-size: 12.5px; font-weight: 500; color: var(--muted); margin: 14px 0 4px; }

.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.stat { display: flex; flex-direction: column; padding: 8px 10px 8px; border-radius: 12px; background: rgba(255, 255, 255, 0.55); border: 1px solid rgba(255, 255, 255, 0.8); transition: background 0.15s; }
.stat:hover { background: #fff; }
.stat-n { font-size: 26px; font-weight: 600; line-height: 1.15; color: var(--ink); }
.stat-l { display: flex; align-items: center; gap: 5px; font-size: 12px; color: var(--muted); }

.rows { display: flex; flex-direction: column; }
.row { display: flex; align-items: center; gap: 10px; padding: 7px 8px; margin: 0 -8px; border-radius: 10px; min-height: 38px; transition: background 0.15s; }
a.row:hover { background: rgba(255, 255, 255, 0.7); }
.row-main { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.date-col { font-size: 12.5px; color: var(--muted); width: 38px; flex: none; }
.due { font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.due.over { color: var(--red); font-weight: 600; }
.due.near { color: var(--amber); font-weight: 600; }

.media-row { justify-content: space-between; }
.media-name { font-family: var(--font-num); font-weight: 600; font-size: 14px; color: var(--navy); min-width: 76px; }
.tally { display: flex; gap: 12px; }
.tal { display: inline-flex; align-items: baseline; gap: 4px; font-size: 12px; color: var(--muted); }
.tal b { font-size: 15px; color: color-mix(in srgb, var(--c) 85%, black); font-weight: 600; }
.tal.zero { opacity: 0.4; }

.avg { display: flex; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.avg-n { font-size: 40px; font-weight: 600; color: var(--navy); line-height: 1.1; }
.avg-n small, .learn-avg-n small, .pct-out small { font-size: 0.5em; margin-left: 2px; font-weight: 500; color: var(--muted); }
.bars { display: flex; flex-direction: column; gap: 2px; }
.bar-row { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 6px 8px; margin: 0 -8px; border-radius: 10px; }
.bar-row:hover { background: rgba(255, 255, 255, 0.7); }
.bar-label { font-size: 13.5px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.bar-pct { font-size: 12.5px; color: var(--muted); }
.bar { grid-column: 1 / -1; display: block; height: 6px; border-radius: 3px; background: rgba(31, 42, 68, 0.08); overflow: hidden; }
.bar > span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--navy), var(--navy-2)); transition: width 0.6s var(--ease); }

.news { display: flex; flex-direction: column; }
.news-item { padding: 9px 0; border-top: 1px solid var(--line); }
.news-item:first-child { border-top: 0; padding-top: 2px; }
.news-meta { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.news-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; font-weight: 500; line-height: 1.55; margin: 2px 0; }
.news-title:hover { text-decoration: underline; text-underline-offset: 3px; }
.points { display: flex; flex-direction: column; gap: 1px; }
.points li { position: relative; padding-left: 12px; font-size: 12.5px; color: var(--muted); line-height: 1.6; }
.points li::before { content: ''; position: absolute; left: 2px; top: 0.72em; width: 4px; height: 4px; border-radius: 50%; background: var(--faint); }
.news-item.dim { opacity: 0.72; }
.comment { font-size: 13px; margin-top: 4px; padding-left: 10px; border-left: 2px solid rgba(232, 112, 42, 0.45); }
.cite { margin-top: 2px; overflow-wrap: anywhere; }

.biz-list { display: flex; flex-direction: column; gap: 8px; }
.biz { --c: #6b7488; padding: 10px 12px 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.55); border: 1px solid rgba(255, 255, 255, 0.85); }
.biz-top { display: flex; align-items: center; gap: 8px; }
.biz-top h3 { font-size: 14px; font-weight: 700; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.biz-kpi { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin: 4px 0 6px; }
.kpi-val { display: inline-flex; align-items: baseline; gap: 4px; }
.kpi-input { width: 4.2ch; text-align: right; font-size: 20px; font-weight: 600; margin: 0; padding: 0 4px; }
.biz .bar > span { background: color-mix(in srgb, var(--c) 80%, white); }
.biz-note { margin-top: 6px; }

.horizons { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px 28px; }
.horizon-h { font-size: 13px; font-weight: 700; color: var(--navy); display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.horizon-h::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.ideal-list { display: flex; flex-direction: column; gap: 4px; }
.ideal-item { display: flex; gap: 8px; align-items: flex-start; padding: 4px 0; }
.ideal-item > .tag { margin-top: 3px; }
.ideal-text { font-size: 14.5px; line-height: 1.65; }

/* ---- メモ ---- */
.memo-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 24px; align-items: start; }
.memo-col { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.memo-detail { position: sticky; top: 24px; padding: 22px 26px 24px; max-height: calc(100vh - 48px); overflow: auto; border-radius: 22px; min-height: 200px; }
.detail-empty { display: grid; place-items: center; gap: 12px; min-height: 150px; text-align: center; }
.list-tools { display: flex; flex-direction: column; gap: 10px; margin-bottom: 4px; }
.search-wrap { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.6); border: 1px solid rgba(255, 255, 255, 0.85); box-shadow: 0 0 0 0.5px var(--line); color: var(--muted); }
.search-wrap:focus-within { background: #fff; box-shadow: 0 0 0 1.5px var(--focus); }
.search { flex: 1; border: 0; background: none; outline: none; font-size: 14.5px; color: var(--ink); min-width: 0; }
.timeline { display: flex; flex-direction: column; gap: 2px; }
.tl-date { font-size: 12.5px; font-weight: 700; color: var(--muted); padding: 14px 4px 4px; letter-spacing: 0.04em; }
.tl-date:first-child { padding-top: 2px; }
.tl-link { display: flex; flex-direction: column; gap: 2px; padding: 10px 14px; border-radius: 14px; transition: background 0.18s, box-shadow 0.18s; }
.tl-link:hover { background: rgba(255, 255, 255, 0.6); }
.tl-item.selected .tl-link { background: rgba(255, 255, 255, 0.95); box-shadow: 0 0 0 0.5px var(--line), 0 6px 16px -10px rgba(31, 42, 68, 0.4); }
.tl-meta { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.tl-meta .small { display: inline-flex; align-items: center; gap: 2px; }
.tl-title { font-size: 15px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tl-snip { font-size: 13px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.6; }
.tl-snip:empty { display: none; }

.editor { display: flex; flex-direction: column; gap: 10px; }
.ed-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 4px; }
.ed-title { border: 0; background: none; font-size: 22px; font-weight: 700; color: var(--navy); width: 100%; outline: none; padding: 2px 0; line-height: 1.45; }
.ed-title::placeholder { color: #b0b7c3; font-weight: 500; }
.ed-body { border: 0; background: none; font-size: 16px; line-height: 1.85; min-height: 240px; width: 100%; resize: none; outline: none; padding: 0; }
.ed-foot { margin-top: 6px; }
.minute .summary { white-space: pre-wrap; font-size: 15px; line-height: 1.85; }
.actions { display: flex; flex-direction: column; gap: 4px; }
.actions li { display: flex; align-items: center; gap: 12px; justify-content: space-between; padding: 8px 12px; border-radius: 12px; background: rgba(31, 42, 68, 0.035); font-size: 14px; }
.actions li > .small { display: inline-flex; gap: 4px; align-items: center; white-space: nowrap; }
.links { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.back { margin-left: -8px; }

/* ---- タスク ---- */
.add-task { display: flex; align-items: center; gap: 8px; padding: 7px 7px 7px 14px; border-radius: 16px; color: var(--muted); }
.add-title { flex: 1; min-width: 0; border: 0; background: none; outline: none; font-size: 15px; height: 36px; color: var(--ink); }
.add-project { width: 150px; height: 34px; padding: 0 10px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.7); font-size: 13.5px; }
.board { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 18px; align-items: start; }
.col { --c: #6b7488; border-radius: 20px; padding: 10px 10px 12px; background: rgba(255, 255, 255, 0.32); border: 1px solid rgba(255, 255, 255, 0.65); min-height: max(220px, calc(100vh - 230px)); transition: background 0.2s, box-shadow 0.2s; }
.col.over { background: color-mix(in srgb, var(--c) 7%, rgba(255, 255, 255, 0.5)); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--c) 45%, transparent); }
.col-head { display: flex; align-items: center; gap: 8px; padding: 4px 8px 10px; }
.col-head h2 { font-size: 14px; font-weight: 700; }
.col-count { font-size: 13px; color: var(--muted); }
.col-list { display: flex; flex-direction: column; gap: 8px; min-height: 48px; }
.col-empty { font-size: 12.5px; color: var(--faint); text-align: center; padding: 14px 8px; border: 1.5px dashed rgba(31, 42, 68, 0.1); border-radius: 14px; }
.more { margin: 8px auto 0; display: flex; }
.task { position: relative; border-radius: 14px; touch-action: pan-y; }
.task .face {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 11px 12px 10px 13px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 0 0.5px rgba(31, 42, 68, 0.08), 0 4px 12px -8px rgba(31, 42, 68, 0.35);
  cursor: grab;
  transition: box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
  user-select: none;
  -webkit-user-select: none;
}
.task .face:hover { box-shadow: 0 0 0 0.5px rgba(31, 42, 68, 0.12), 0 10px 20px -12px rgba(31, 42, 68, 0.45); }
.task .face:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.task-title { font-size: 14.5px; font-weight: 500; line-height: 1.55; }
.task.done .task-title { color: var(--muted); }
.task-meta { display: flex; align-items: center; gap: 6px 8px; flex-wrap: wrap; }
.task-meta .pill { height: 22px; font-size: 12px; padding: 0 8px; }
.proj { font-size: 12px; color: var(--muted); }
.src { font-size: 11.5px; color: #2a5596; background: rgba(47, 95, 168, 0.09); padding: 0 6px; border-radius: 6px; line-height: 20px; }
.task.dragging { opacity: 0.35; }
.task.dragging .face { box-shadow: none; }
.drop-line { height: 3px; border-radius: 2px; background: var(--focus); margin: -2px 6px; box-shadow: 0 0 0 3px rgba(47, 95, 168, 0.15); }
.sk-card { padding: 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.5); }
.reveal { position: absolute; inset: 0; border-radius: 14px; overflow: hidden; }
.reveal span { position: absolute; inset: 0; display: flex; align-items: center; padding: 0 18px; font-size: 13px; font-weight: 700; opacity: 0; background: color-mix(in srgb, var(--c) 14%, white); color: color-mix(in srgb, var(--c) 85%, black); transition: background 0.15s, opacity 0.12s; }
.reveal .rv-prev { justify-content: flex-end; }
.task[data-dir='next'] .rv-next, .task[data-dir='prev'] .rv-prev { opacity: 1; }
.task.armed .reveal span { background: color-mix(in srgb, var(--c) 30%, white); }
.task.swiping .face { cursor: grabbing; transition: none; box-shadow: 0 10px 24px -12px rgba(31, 42, 68, 0.5); }

/* ---- 学び ---- */
.learn-avg { margin-left: auto; display: flex; align-items: baseline; gap: 8px; }
.learn-avg-n { font-size: 30px; font-weight: 600; color: var(--navy); line-height: 1; }
.learn-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 14px; margin-top: 18px; }
.learn { padding: 14px 16px 12px; display: flex; flex-direction: column; gap: 8px; }
.learn-top { display: flex; align-items: center; gap: 8px; }
.learn-title { font-size: 15.5px; font-weight: 700; flex: 1; min-width: 0; }
.learn-progress { display: flex; align-items: center; gap: 16px; }
.pct-out { font-size: 28px; font-weight: 600; min-width: 74px; text-align: right; color: var(--navy); line-height: 1; transition: color 0.3s; }
.learn.complete .pct-out { color: var(--green); }
.learn-note { font-size: 13.5px; color: var(--muted); }
.learn-note:focus { color: var(--ink); }
.l-empty { grid-column: 1 / -1; }

.range { --v: 0%; flex: 1; -webkit-appearance: none; appearance: none; height: 30px; background: transparent; margin: 0; cursor: pointer; }
.range::-webkit-slider-runnable-track { height: 8px; border-radius: 4px; background: linear-gradient(90deg, var(--navy), var(--navy-2)) 0 0 / var(--v) 100% no-repeat, rgba(31, 42, 68, 0.1); }
.range::-moz-range-track { height: 8px; border-radius: 4px; background: rgba(31, 42, 68, 0.1); }
.range::-moz-range-progress { height: 8px; border-radius: 4px; background: var(--navy); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -8px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 0.5px rgba(31, 42, 68, 0.25), 0 3px 8px rgba(31, 42, 68, 0.28); transition: transform 0.15s var(--ease); }
.range::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 0.5px rgba(31, 42, 68, 0.25), 0 3px 8px rgba(31, 42, 68, 0.28); }
.range:active::-webkit-slider-thumb { transform: scale(1.15); }
.range:focus-visible { outline: none; }
.range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 3px rgba(47, 95, 168, 0.45), 0 3px 8px rgba(31, 42, 68, 0.28); }
.learn.complete .range::-webkit-slider-runnable-track { background: linear-gradient(90deg, var(--green), #4d9b78) 0 0 / var(--v) 100% no-repeat, rgba(31, 42, 68, 0.1); }

/* ---- 投稿 ---- */
.date-pick { width: 150px; }
.tabs { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.tabs::-webkit-scrollbar { display: none; }
.tab { position: relative; border: 0; background: none; padding: 10px 14px 11px; font-size: 14px; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; font-family: var(--font-num), var(--font); }
.tab:hover { color: var(--ink); }
.tab[aria-selected='true'] { color: var(--navy); font-weight: 700; }
.tab[aria-selected='true']::after { content: ''; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 2px; border-radius: 2px; background: var(--navy); }
.tab-n { font-size: 11.5px; min-width: 20px; height: 18px; padding: 0 5px; border-radius: 9px; background: rgba(31, 42, 68, 0.07); display: inline-grid; place-items: center; font-weight: 600; }
.tab-n.zero { opacity: 0.45; }
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; align-items: start; margin-top: 16px; }
.post-list { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.post-date { font-size: 13px; font-weight: 700; color: var(--muted); margin: 8px 2px -2px; letter-spacing: 0.04em; }
.post-date:first-child { margin-top: 0; }
.post { padding: 14px 18px 12px; display: flex; flex-direction: column; gap: 8px; }
.post-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.post-head .media-name { min-width: 0; margin-right: 4px; }
.post-title { font-size: 16.5px; font-weight: 700; line-height: 1.5; }
.post-body { white-space: pre-wrap; font-size: 15px; line-height: 1.85; overflow-wrap: anywhere; }
.post-edit { width: 100%; min-height: 140px; border: 1px solid var(--line-2); background: #fff; padding: 12px; font-size: 15px; line-height: 1.8; resize: none; outline: none; }
.post-edit:focus { box-shadow: 0 0 0 3px rgba(47, 95, 168, 0.14); border-color: var(--focus); }
.post-extra summary { cursor: pointer; font-size: 12.5px; color: var(--muted); width: fit-content; padding: 2px 6px; margin-left: -6px; border-radius: 6px; list-style-position: inside; }
.post-extra summary:hover { background: var(--wash); color: var(--ink); }
.extra-body { margin-top: 6px; white-space: pre-wrap; font-size: 13px; color: var(--muted); background: rgba(31, 42, 68, 0.04); border-radius: 10px; padding: 10px 12px; overflow-wrap: anywhere; }
.post-foot { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 10px; margin-top: 2px; }
.len { font-size: 13px; color: var(--muted); }
.len.over { color: var(--red); font-weight: 600; }
.posted-link { display: inline-flex; gap: 4px; align-items: center; margin-left: 8px; }
.posted-link:hover { color: var(--navy); text-decoration: underline; }
.btn.current { background: color-mix(in srgb, var(--c) 14%, white); border-color: color-mix(in srgb, var(--c) 40%, transparent); color: color-mix(in srgb, var(--c) 85%, black); font-weight: 700; }
.post.skipped .post-body, .post.skipped .post-title { color: var(--muted); }
.post-side { position: sticky; top: 24px; padding: 16px 18px; max-height: calc(100vh - 48px); overflow: auto; display: flex; flex-direction: column; gap: 6px; }
.side-h { font-size: 13.5px; font-weight: 700; color: var(--navy); margin: 4px 0 4px; }
.side-h:not(:first-child) { margin-top: 16px; }

/* ---- 理想・事業 ---- */
.block { margin-top: 10px; margin-bottom: 30px; }
.block-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.block-head h2 { font-size: 18px; font-weight: 700; color: var(--navy); margin-right: auto; }
.inline-form { display: flex; gap: 8px; align-items: center; }
.small-input { height: 30px; width: 150px; padding: 0 10px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.7); font-size: 13px; }
.horizons.edit { gap: 14px; }
.horizons.edit .horizon { padding: 14px 16px 10px; }
.ideal-item.editing { flex-direction: column; gap: 2px; padding: 8px 0; border-top: 1px solid var(--line); }
.ideal-item.editing:first-child { border-top: 0; }
.ideal-row { display: flex; align-items: center; width: 100%; }
.tag-input { width: 9em; font-size: 12px; color: var(--muted); }
.add-ideal { margin-top: 4px; }
.biz-list.edit { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.biz.editing { padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; background: rgba(255, 255, 255, 0.6); }
.biz-name { font-weight: 700; font-size: 15px; flex: 1; min-width: 0; }
.biz-fields { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 10px; }
.mini-field { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mini-field .inline { margin: 0; padding: 4px 6px; background: rgba(31, 42, 68, 0.035); }

/* ---- ログイン ---- */
.login { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 16px; background: rgba(245, 247, 250, 0.55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); animation: fade 0.3s var(--ease); }
.login.out { opacity: 0; transition: opacity 0.24s; }
.login-card { background: rgba(255, 255, 255, 0.94); width: min(390px, 100%); padding: 40px 32px 28px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.login-card h1 { font-family: var(--font-num); font-size: 26px; color: var(--navy); letter-spacing: 0.02em; margin-top: 4px; }
.gsi-host { min-height: 44px; margin: 10px 0 2px; display: grid; place-items: center; }
.login-msg { color: var(--red); font-size: 13px; min-height: 1.2em; }

/* ---- 重ねて出すもの ---- */
.toasts { position: fixed; left: 16px; right: 16px; bottom: 24px; z-index: 80; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.toast { pointer-events: auto; display: flex; align-items: center; gap: 12px; padding: 9px 10px 9px 16px; border-radius: 14px; font-size: 14px; background: rgba(31, 42, 68, 0.88); color: #fff; border-color: rgba(255, 255, 255, 0.12); animation: toastIn 0.32s var(--ease); width: max-content; max-width: min(560px, 100%); }
.toast .btn.text { color: #fff; font-weight: 700; }
.toast.out { opacity: 0; transform: translateY(6px); transition: all 0.22s var(--ease); }
@keyframes toastIn { from { opacity: 0; transform: translateY(10px) scale(0.98); } }
@keyframes fade { from { opacity: 0; } }

.dlg { border: 0; padding: 0; width: min(460px, calc(100vw - 32px)); border-radius: 22px; color: var(--ink); background: rgba(255, 255, 255, 0.9); animation: dlgIn 0.28s var(--ease); }
.dlg::backdrop { background: rgba(29, 36, 51, 0.22); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); animation: fade 0.2s; }
.dlg.out { opacity: 0; transform: scale(0.98); transition: all 0.18s; }
@keyframes dlgIn { from { opacity: 0; transform: translateY(8px) scale(0.98); } }
.dlg-body { padding: 22px 22px 18px; display: flex; flex-direction: column; gap: 12px; }
.dlg-title { font-size: 17px; font-weight: 700; color: var(--navy); }
.field { display: flex; flex-direction: column; gap: 5px; font-size: 13px; color: var(--muted); }
.field input, .field select, .field textarea { height: 38px; border: 1px solid var(--line-2); background: #fff; padding: 0 12px; font-size: 15px; color: var(--ink); }
.field textarea { height: auto; padding: 10px 12px; resize: vertical; line-height: 1.7; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px rgba(47, 95, 168, 0.14); }
.dlg-actions { display: flex; gap: 8px; margin-top: 6px; }

.menu { position: fixed; z-index: 90; min-width: 168px; padding: 6px; border-radius: 14px; display: flex; flex-direction: column; background: rgba(255, 255, 255, 0.86); animation: menuIn 0.18s var(--ease); transform-origin: top left; }
.menu.out { opacity: 0; transform: scale(0.97); transition: all 0.15s; }
@keyframes menuIn { from { opacity: 0; transform: scale(0.96) translateY(-4px); } }
.menu-item { display: flex; align-items: center; gap: 10px; border: 0; background: none; padding: 8px 10px; border-radius: 9px; text-align: left; font-size: 14px; }
.menu-item .ico { margin-left: auto; color: var(--navy); }
.menu-item:hover, .menu-item:focus-visible { background: rgba(31, 42, 68, 0.07); outline: none; }
.menu-item.on { font-weight: 700; }

.share-done { position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; pointer-events: none; transition: opacity 0.3s; }
.share-done.out { opacity: 0; }
.share-card { padding: 26px 34px; display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--green); animation: dlgIn 0.3s var(--ease); }
.share-card p { color: var(--ink); font-weight: 700; }

/* ---- 画面切り替え ---- */
::view-transition-old(root) { animation: vtOut 0.16s ease-in both; }
::view-transition-new(root) { animation: vtIn 0.28s var(--ease) both; }
@keyframes vtOut { to { opacity: 0; } }
@keyframes vtIn { from { opacity: 0; transform: translateY(6px); } }
.rail, .tabbar, .topbar { view-transition-name: none; }

/* ---- 幅に応じて ---- */
@media (max-width: 1180px) {
  .p-tasks, .p-posts, .p-learn, .p-notes, .p-news, .p-biz { grid-column: span 6; }
  .post-layout { grid-template-columns: minmax(0, 1fr) 290px; }
  .board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .post-layout { grid-template-columns: 1fr; }
  .post-side { position: static; max-height: none; }
  .memo-layout { grid-template-columns: 1fr; }
  .memo-layout .memo-detail { position: static; max-height: none; }
  .memo-layout:not(.has-detail) .memo-detail { display: none; }
  .memo-layout.has-detail .memo-col { display: none; }
}
@media (max-width: 760px) {
  body { font-size: 15px; }
  .app { display: block; padding-bottom: calc(92px + env(safe-area-inset-bottom)); }
  .rail { display: none; }
  .main { padding: 14px 16px 24px; }
  .topbar {
    display: flex;
    position: sticky;
    top: 0;
    z-index: 20;
    align-items: center;
    justify-content: space-between;
    padding: calc(8px + env(safe-area-inset-top)) 16px 8px;
    border-radius: 0 0 20px 20px;
    border-top: 0;
  }
  .topbar .brand { flex-direction: row; margin: 0; gap: 10px; }
  .topbar .brand-mark { width: 30px; height: 30px; border-radius: 9px; }
  .topbar .brand-name { font-size: 15px; }
  .tabbar {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    height: 64px;
    padding: 6px;
    border-radius: 24px;
    z-index: 30;
    background: rgba(255, 255, 255, 0.72);
  }
  .tabbar-link { display: flex; align-items: center; justify-content: center; }
  .tabbar-link { flex-direction: column; gap: 2px; padding: 0; font-size: 10.5px; border-radius: 17px; color: var(--muted); font-family: var(--font); transition: background 0.2s, color 0.2s; }
  .tabbar-link[aria-current='page'] { color: var(--navy); font-weight: 700; background: rgba(255, 255, 255, 0.95); box-shadow: 0 2px 8px -4px rgba(31, 42, 68, 0.35); }
  .tabbar-link span { line-height: 1.2; }
  .page-head { margin-bottom: 12px; }
  .page-head h1 { font-size: 21px; }
  .page-note { width: 100%; margin-left: 0; }
  .dash-head { margin: 2px 0 10px; }
  .dash-date { font-size: 21px; }
  .dash-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 14px; }
  .dash-grid > * { grid-column: auto !important; }
  .composer { padding: 8px 12px 10px 16px; border-radius: 22px; }
  .composer-input { font-size: 16.5px; min-height: 96px; }
  .composer-bar .seg { order: 3; width: 100%; justify-content: space-between; }
  .composer-bar .seg-btn { flex: 1; padding: 6px 4px; }
  .composer-hint { display: none; }
  .news-row { grid-template-columns: 1fr; }
  .board { grid-template-columns: 1fr; gap: 12px; margin-top: 12px; }
  .col { min-height: 0; padding: 8px 8px 10px; overflow: clip; }
  .task .face { cursor: default; }
  .add-task { display: grid; grid-template-columns: 1fr 1fr auto; grid-template-areas: 't t b' 'd p p'; gap: 6px 8px; padding: 6px 6px 8px 12px; }
  .add-task > .ico { display: none; }
  .add-task .add-title { grid-area: t; }
  .add-task > .btn { grid-area: b; }
  .add-task input[type='date'], .add-task select { grid-area: d; width: 100%; min-width: 0; }
  .add-project { grid-area: p; width: 100%; min-width: 0; }
  .view-memo .page-head { display: none; }
  .learn-list { grid-template-columns: 1fr; gap: 10px; margin-top: 12px; }
  .post-head .tag:nth-of-type(2) { display: none; }
  .memo-detail { padding: 16px 18px; border-radius: 20px; }
  .toasts { bottom: calc(88px + env(safe-area-inset-bottom)); }
  .biz-list.edit { grid-template-columns: 1fr; }
  .page-tools { margin-left: 0; width: 100%; }
  .post-foot .len { width: 100%; }
  .post-foot .spacer { display: none; }
  .post { padding: 14px 16px 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}
@media (prefers-reduced-transparency: reduce) {
  .glass, .glass-strong { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
}
