/* Styles: the shape and feel of the app. «Кристалл» is crystal.css itself; any other sets <html data-style> and undoes
   the facets here. Colours keep coming from the palette (themes.css), so every style works with every palette.
   Loaded after themes.css: at equal specificity the style's surfaces win over the palette's glass.
   The defaults below are the crystal palette, for when no data-theme is set. */
html {
  --t-page: #141327;
  --t-a: 198 168 255;
  --t-b: 150 162 255;
  --t-c: 234 168 220;
  --t-hi: 241 230 255;
  --t-s1: 40 34 90;
  --t-s2: 26 19 54;
  --t-s3: 36 18 48;
  --t-btn1: #8a6ef0;
  --t-btn2: #7055d6;
  --t-text: #f3eefc;
  --t-muted: #d0c6e8;
  --t-bg: linear-gradient(160deg, #2a3466 0%, #19162f 40%, #141327 66%, #52294f 100%);
  --t-rot: 0deg;
  --t-sat: 1;
}

/* ---------- shared: no facets, no painted crystals ---------- */
html[data-style] .glass.glass,
html[data-style] .hero-card.glass,
html[data-style] .sheet__card.glass,
html[data-style] .gate__card.glass {
  -webkit-clip-path: none;
  clip-path: none;
  border-radius: var(--s-r);
  border: 1px solid var(--line);
}
html[data-style] .glass.glass::before { background: none; }

html[data-style] .top__bot,
html[data-style] .chip,
html[data-style] .chip-btn,
html[data-style] .room-copy,
html[data-style] .mark-btn,
html[data-style] .pick,
html[data-style] .sheet-chip,
html[data-style] .hw-clip,
html[data-style] .attach-file,
html[data-style] .now-tag,
html[data-style] .btn,
html[data-style] .att-sum button,
html[data-style] .switch,
html[data-style] .idea-up,
html[data-style] .poll__btn {
  -webkit-clip-path: none;
  clip-path: none;
  border-radius: var(--s-r-btn);
}

html[data-style] .day,
html[data-style] .seg,
html[data-style] .seg button,
html[data-style] .toast,
html[data-style] .week-nav,
html[data-style] .top__gear,
html[data-style] .hero-act,
html[data-style] .wx,
html[data-style] .cd-stats,
html[data-style] .poll__badge,
html[data-style] .idea-promo__icon,
html[data-style] .idea-card__reply,
html[data-style] .bell__mini,
html[data-style] .voice__ideas,
html[data-style] .idea-warn,
html[data-style] .look-style,
html[data-style] .look-preset,
html[data-style] .look-move button,
html[data-style] .top__actions.is-fold .top__menu,
html[data-style] .logo,
html[data-style] .gate-logo,
html[data-style] .loader-logo,
html[data-style] .logo-view img,
html[data-style] .legal-foot .legal-foot__logo {
  -webkit-clip-path: none;
  clip-path: none;
  border-radius: var(--s-r-sm);
}

html[data-style] .tabbar button { border-radius: var(--s-r-sm); }
html[data-style] .tabbar button.is-on::before,
html[data-style] .shard,
html[data-style] .empty::before,
html[data-style] .gate__card::after,
html[data-style] .loader::before,
html[data-style] .loader::after,
html[data-style] .page-bg::after { display: none; }

/* the base styles keep the soft glows but hold them still: a drifting 500px orb is a repaint every frame */
html[data-style] :is(.orb, .page-bg__aurora) { animation: none; }

html[data-style] .hero-card::after { display: none; }
html[data-style] .hero-card > :first-child,
html[data-style] .hero-card h1 { padding-right: 0; }

html[data-style] .now { -webkit-clip-path: none; clip-path: none; border-radius: var(--s-r-sm); background: rgb(var(--t-a) / 0.1); }
html[data-style] .now--live { background: linear-gradient(135deg, rgb(var(--t-b) / 0.4), rgb(var(--t-c) / 0.28)); }
html[data-style] .now--next { background: rgb(var(--t-a) / 0.18); }
html[data-style="terminal"] .now { background: none; border: 1px solid rgb(var(--t-a) / 0.45); }
html[data-style="terminal"] .now--live { background: rgb(var(--t-a) / 0.12); }
html[data-style] .subj-bar { clip-path: none; border-radius: 3px; width: 4px; }
html[data-style] .switch::after { border-radius: 50%; transform: none; top: 4px; left: 5px; width: 18px; height: 18px; }
html[data-style] .switch.is-on::after { transform: translateX(16px); }
html[data-style] .now-tag i { border-radius: 50%; transform: none; }
html[data-style] .progress { height: 4px; border-radius: 4px; overflow: hidden; }
html[data-style] .progress i { border-radius: 4px; box-shadow: none; }
html[data-style] .progress i::after { display: none; }
html[data-style] .top::after { display: none; }
html[data-style] .idea-card__bar { clip-path: none; border-radius: 2px; }
html[data-style] .idea-card__cat::before { clip-path: none; border-radius: 50%; }

html[data-style] .wordmark {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  text-transform: none;
  font-size: 22px;
  font-weight: 700;
}

/* =========================================================================
   Мягкий: round, airy, pastel glass, soft blobs
   ========================================================================= */
html[data-style="soft"] {
  --s-r: 26px;
  --s-r-sm: 16px;
  --s-r-btn: 999px;
}
html[data-style="soft"] .glass.glass {
  background: linear-gradient(160deg, rgb(var(--t-s1) / 0.86), rgb(var(--t-s2) / 0.9));
  border-color: rgb(var(--t-hi) / 0.12);
  box-shadow: 0 18px 40px rgb(0 0 0 / 0.22), inset 0 1px 0 rgb(255 255 255 / 0.1);
}
html[data-style="soft"] .hero-card.glass {
  background:
    radial-gradient(260px 200px at 100% 0%, rgb(var(--t-c) / 0.3), transparent 70%),
    radial-gradient(240px 200px at 0% 100%, rgb(var(--t-b) / 0.22), transparent 70%),
    linear-gradient(160deg, rgb(var(--t-s1) / 0.92), rgb(var(--t-s2) / 0.94));
}
html[data-style="soft"] .hero-card { padding: 26px 24px 24px; }
html[data-style="soft"] .hero-card h1 { font-size: 30px; font-weight: 700; letter-spacing: -0.03em; }
html[data-style="soft"] .enter { gap: 32px; }
html[data-style="soft"] .wordmark {
  text-transform: lowercase;
  font-weight: 800;
  background: linear-gradient(120deg, rgb(var(--t-hi)), rgb(var(--t-c)));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
html[data-style="soft"] .btn--primary {
  background: linear-gradient(120deg, rgb(var(--t-b)), rgb(var(--t-c)));
  color: #1a1424;
  border: 0;
}
html[data-style="soft"] .tabbar button.is-on,
html[data-style="soft"] .seg button.is-on {
  background: rgb(var(--t-hi) / 0.16);
  box-shadow: none;
}
html[data-style="soft"] .day.is-on {
  background: linear-gradient(140deg, rgb(var(--t-b) / 0.7), rgb(var(--t-c) / 0.65));
  box-shadow: 0 10px 22px rgb(var(--t-c) / 0.25);
}
html[data-style="soft"] .switch.is-on { background: linear-gradient(120deg, rgb(var(--t-b)), rgb(var(--t-c))); border-color: transparent; }

/* =========================================================================
   Минимал: flat, strict, no background glow, tighter
   ========================================================================= */
html[data-style="minimal"] {
  --s-r: 12px;
  --s-r-sm: 8px;
  --s-r-btn: 8px;
}
html[data-style="minimal"] .page-bg,
html[data-style="minimal"] body .device.device { background: var(--t-page); }
html[data-style="minimal"] .orb,
html[data-style="minimal"] .page-bg__aurora { display: none; }
html[data-style="minimal"] .glass.glass,
html[data-style="minimal"] .hero-card.glass,
html[data-style="minimal"] .sheet__card.glass {
  background: rgb(var(--t-s2));
  border: 1px solid rgb(255 255 255 / 0.08);
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
html[data-style="minimal"] .hero-card { padding: 18px 16px 16px; }
html[data-style="minimal"] .hero-card h1 { font-size: 22px; }
html[data-style="minimal"] .enter { gap: 20px; }
html[data-style="minimal"] .view { padding: 14px 14px 36px; }
html[data-style="minimal"] .eyebrow,
html[data-style="minimal"] .kicker { color: var(--text-muted); }
html[data-style="minimal"] .top__bot,
html[data-style="minimal"] .chip-btn,
html[data-style="minimal"] .pick,
html[data-style="minimal"] .sheet-chip,
html[data-style="minimal"] .hero-act,
html[data-style="minimal"] .idea-up,
html[data-style="minimal"] .btn:not(.btn--primary):not(.btn--ghost) {
  background: rgb(255 255 255 / 0.06);
  box-shadow: none;
}
html[data-style="minimal"] .btn--primary { background: rgb(var(--t-a)); color: #0e0e12; box-shadow: none; }
html[data-style="minimal"] .tabbar { background: rgb(var(--t-s2)); box-shadow: none; border-top: 1px solid rgb(255 255 255 / 0.08); }
html[data-style="minimal"] .tabbar button.is-on,
html[data-style="minimal"] .seg button.is-on { background: rgb(255 255 255 / 0.1); box-shadow: none; border-color: transparent; }
html[data-style="minimal"] .day { background: transparent; border-color: rgb(255 255 255 / 0.08); }
html[data-style="minimal"] .day.is-on { background: rgb(var(--t-a)); color: #0e0e12; box-shadow: none; border-color: transparent; }
html[data-style="minimal"] .day.is-on small { color: #0e0e12; }
html[data-style="minimal"] .wordmark { background: none; color: var(--text); font-size: 19px; }
html[data-style="minimal"] .switch.is-on { background: rgb(var(--t-a)); }
html[data-style="minimal"] .progress i { background: rgb(var(--t-a)); }

/* =========================================================================
   Терминал: monospace, black screen, the palette accent as phosphor
   ========================================================================= */
html[data-style="terminal"] {
  --s-r: 0px;
  --s-r-sm: 0px;
  --s-r-btn: 0px;
  --font-display: "Cascadia Mono", "JetBrains Mono", Consolas, Menlo, ui-monospace, monospace;
  --font-body: "Cascadia Mono", "JetBrains Mono", Consolas, Menlo, ui-monospace, monospace;
  --font-brand: var(--font-body);
  --text: rgb(var(--t-hi));
  --text-muted: rgb(var(--t-a) / 0.72);
}
html[data-style="terminal"] body { font-family: var(--font-body); }
html[data-style="terminal"] .page-bg,
html[data-style="terminal"] body .device.device {
  background:
    repeating-linear-gradient(180deg, rgb(255 255 255 / 0.025) 0 1px, transparent 1px 3px),
    radial-gradient(600px 400px at 50% 0%, rgb(var(--t-a) / 0.1), transparent 70%),
    #050607;
}
html[data-style="terminal"] .orb,
html[data-style="terminal"] .page-bg__aurora { display: none; }
html[data-style="terminal"] .glass.glass,
html[data-style="terminal"] .hero-card.glass,
html[data-style="terminal"] .sheet__card.glass {
  background: rgb(0 0 0 / 0.72);
  border: 1px solid rgb(var(--t-a) / 0.45);
  box-shadow: 0 0 0 1px rgb(0 0 0 / 0.6), 0 0 18px rgb(var(--t-a) / 0.08);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
html[data-style="terminal"] h1,
html[data-style="terminal"] h2,
html[data-style="terminal"] h3 { letter-spacing: 0; font-weight: 600; }
html[data-style="terminal"] .section__head h2::before { content: "> "; color: rgb(var(--t-a)); }
html[data-style="terminal"] .hero-card h1 { font-size: 22px; }
html[data-style="terminal"] .eyebrow,
html[data-style="terminal"] .kicker { color: rgb(var(--t-a)); }
html[data-style="terminal"] .wordmark {
  background: none;
  color: rgb(var(--t-a));
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
html[data-style="terminal"] .wordmark::after { content: "_"; animation: term-cursor 1.2s steps(1) infinite; }
@keyframes term-cursor { 50% { opacity: 0; } }
html[data-style="terminal"] .top__bot,
html[data-style="terminal"] .chip-btn,
html[data-style="terminal"] .pick,
html[data-style="terminal"] .sheet-chip,
html[data-style="terminal"] .hero-act,
html[data-style="terminal"] .idea-up,
html[data-style="terminal"] .poll__btn,
html[data-style="terminal"] .btn:not(.btn--primary) {
  background: transparent;
  border: 1px solid rgb(var(--t-a) / 0.5);
  box-shadow: none;
  color: rgb(var(--t-hi));
}
html[data-style="terminal"] .btn--primary,
html[data-style="terminal"] .day.is-on,
html[data-style="terminal"] .tabbar button.is-on,
html[data-style="terminal"] .seg button.is-on,
html[data-style="terminal"] .idea-up.is-on {
  background: rgb(var(--t-a));
  color: #050607;
  border-color: transparent;
  box-shadow: none;
}
html[data-style="terminal"] .day.is-on small { color: #050607; }
html[data-style="terminal"] .day,
html[data-style="terminal"] .seg { background: transparent; border: 1px solid rgb(var(--t-a) / 0.3); }
html[data-style="terminal"] .tabbar { background: #050607; border-top: 1px solid rgb(var(--t-a) / 0.4); box-shadow: none; }
html[data-style="terminal"] .switch { background: transparent; border: 1px solid rgb(var(--t-a) / 0.5); border-radius: 0; }
html[data-style="terminal"] .switch::after { border-radius: 0; background: rgb(var(--t-a) / 0.6); }
html[data-style="terminal"] .switch.is-on::after { background: rgb(var(--t-a)); }
html[data-style="terminal"] .progress { background: rgb(var(--t-a) / 0.15); }
html[data-style="terminal"] .progress i { background: rgb(var(--t-a)); }
html[data-style="terminal"] .subj-bar { border-radius: 0; }
html[data-style="terminal"] .hero-card h1 .kao { font-family: var(--font-body); }

/* =========================================================================
   Y2K: sticker album — chunky outlines, hard offset shadows, glossy plates, a slight tilt
   ========================================================================= */
html[data-style="y2k"] {
  --s-r: 22px;
  --s-r-sm: 14px;
  --s-r-btn: 999px;
}
html[data-style="y2k"] .page-bg,
html[data-style="y2k"] body .device.device {
  background:
    radial-gradient(rgb(var(--t-hi) / 0.12) 1.2px, transparent 1.6px) 0 0 / 18px 18px,
    radial-gradient(420px 320px at 0% 0%, rgb(var(--t-c) / 0.4), transparent 70%),
    radial-gradient(420px 320px at 100% 100%, rgb(var(--t-b) / 0.4), transparent 70%),
    rgb(var(--t-s2));
}
html[data-style="y2k"] .orb { opacity: 0.6; }
html[data-style="y2k"] .glass.glass,
html[data-style="y2k"] .hero-card.glass {
  background: linear-gradient(170deg, rgb(var(--t-s1)), rgb(var(--t-s3)));
  border: 2px solid rgb(var(--t-hi) / 0.9);
  box-shadow: 5px 5px 0 rgb(var(--t-c));
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
html[data-style="y2k"] .sheet__card.glass {
  background: linear-gradient(170deg, rgb(var(--t-s1)), rgb(var(--t-s3)));
  border: 2px solid rgb(var(--t-hi) / 0.9);
  box-shadow: 0 -4px 0 rgb(var(--t-c));
}
html[data-style="y2k"] .hero-card.glass { transform: rotate(-0.6deg); }
html[data-style="y2k"] .voice.glass { transform: rotate(0.4deg); }
html[data-style="y2k"] .hero-card::after {
  display: block;
  content: "✦";
  right: 14px;
  top: 10px;
  width: auto;
  height: auto;
  background: none;
  border-radius: 0;
  font-size: 30px;
  line-height: 1;
  color: rgb(var(--t-c));
  transform: rotate(12deg);
}
html[data-style="y2k"] .hero-card h1 { font-size: 28px; font-weight: 800; font-style: italic; letter-spacing: -0.03em; }
html[data-style="y2k"] .wordmark {
  font-weight: 800;
  font-style: italic;
  background: linear-gradient(180deg, #fff 0%, rgb(var(--t-hi)) 45%, rgb(var(--t-a)) 55%, #fff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
html[data-style="y2k"] .btn,
html[data-style="y2k"] .chip-btn,
html[data-style="y2k"] .top__bot,
html[data-style="y2k"] .poll__btn,
html[data-style="y2k"] .idea-up,
html[data-style="y2k"] .hero-act {
  border: 2px solid rgb(var(--t-hi) / 0.9);
  box-shadow: 3px 3px 0 rgb(0 0 0 / 0.55);
}
html[data-style="y2k"] .btn--primary {
  background: linear-gradient(180deg, rgb(var(--t-hi)) 0%, rgb(var(--t-a)) 55%, rgb(var(--t-b)) 100%);
  color: #1a1030;
}
html[data-style="y2k"] .day.is-on,
html[data-style="y2k"] .tabbar button.is-on,
html[data-style="y2k"] .seg button.is-on {
  background: linear-gradient(180deg, rgb(var(--t-hi)) 0%, rgb(var(--t-c)) 100%);
  color: #1a1030;
  border: 2px solid #fff;
  box-shadow: 3px 3px 0 rgb(0 0 0 / 0.5);
}
html[data-style="y2k"] .day.is-on small { color: #1a1030; }
html[data-style="y2k"] .tabbar { border-top: 2px solid rgb(var(--t-hi) / 0.9); }
html[data-style="y2k"] .switch.is-on { background: linear-gradient(180deg, rgb(var(--t-hi)), rgb(var(--t-c))); border: 2px solid #fff; }
html[data-style="y2k"] .progress { height: 8px; border: 2px solid rgb(var(--t-hi) / 0.9); background: rgb(0 0 0 / 0.3); }
html[data-style="y2k"] .progress i { background: repeating-linear-gradient(45deg, rgb(var(--t-c)) 0 6px, rgb(var(--t-hi)) 6px 12px); }

@media (prefers-reduced-motion: reduce) {
  html[data-style="terminal"] .wordmark::after { animation: none; }
}

/* ---------- the style picker: a tiny mock of each style ---------- */
.look-styles { display: grid; grid-template-columns: repeat(auto-fill, minmax(98px, 1fr)); gap: 8px; margin-bottom: 12px; }
.look-style {
  display: grid;
  gap: 6px;
  padding: 6px 6px 8px;
  border-radius: 12px;
  background: rgb(255 255 255 / 0.05);
  color: var(--text-muted);
  font-size: 12.5px;
  line-height: 1.2;
  text-align: left;
}
.look-style.is-on { background: rgb(255 255 255 / 0.14); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-strong); }
.look-style small { display: block; font-size: 11px; color: var(--text-muted); line-height: 1.3; }
.pv {
  position: relative;
  display: grid;
  align-content: start;
  gap: 5px;
  height: 62px;
  padding: 8px;
  overflow: hidden;
  border-radius: 8px;
}
.pv i { display: block; height: 14px; }
.pv i + i { height: 8px; width: 70%; }
.pv b { display: block; width: 46%; height: 11px; margin-top: 2px; }
.pv--crystal { background: linear-gradient(150deg, rgb(var(--t-s1)), rgb(var(--t-s2)) 55%, rgb(var(--t-s3))); }
.pv--crystal i { background: linear-gradient(158deg, rgb(var(--t-a) / 0.35), rgb(var(--t-a) / 0.12)); clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px); }
.pv--crystal b { background: var(--t-btn1); clip-path: polygon(5px 0, calc(100% - 5px) 0, 100% 50%, calc(100% - 5px) 100%, 5px 100%, 0 50%); }
.pv--soft { background: radial-gradient(80px 60px at 100% 0%, rgb(var(--t-c) / 0.5), transparent 70%), rgb(var(--t-s2)); }
.pv--soft i { background: rgb(var(--t-s1)); border-radius: 9px; }
.pv--soft b { background: linear-gradient(120deg, rgb(var(--t-b)), rgb(var(--t-c))); border-radius: 99px; }
.pv--minimal { background: var(--t-page); }
.pv--minimal i { background: rgb(var(--t-s2)); border: 1px solid rgb(255 255 255 / 0.1); border-radius: 4px; }
.pv--minimal b { background: rgb(var(--t-a)); border-radius: 3px; }
.pv--terminal { background: #050607; font: 600 10px/1 Consolas, Menlo, monospace; color: rgb(var(--t-a)); }
.pv--terminal::before { content: "> pulse_"; }
.pv--terminal i { border: 1px solid rgb(var(--t-a) / 0.55); }
.pv--terminal b { background: rgb(var(--t-a)); }
.pv--y2k { background: radial-gradient(rgb(255 255 255 / 0.18) 1px, transparent 1.4px) 0 0 / 8px 8px, rgb(var(--t-s2)); }
.pv--y2k i { background: rgb(var(--t-s1)); border: 2px solid #fff; border-radius: 8px; box-shadow: 3px 3px 0 rgb(var(--t-c)); transform: rotate(-2deg); }
.pv--y2k b { background: linear-gradient(180deg, #fff, rgb(var(--t-a))); border: 2px solid #fff; border-radius: 99px; }
.look-palettes { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.look-pal { display: grid; justify-items: center; gap: 4px; font-size: 11.5px; color: var(--text-muted); }
.look-pal i { display: block; width: 40px; height: 40px; border-radius: 50%; box-shadow: inset 0 0 0 2px rgb(255 255 255 / 0.12); }
.look-pal.is-on { color: var(--text); }
.look-pal.is-on i { box-shadow: 0 0 0 2px var(--t-page), 0 0 0 4px rgb(var(--t-hi)); }

/* ---------- «Что нового» and «Мой дневник» ---------- */
.whats-new { position: relative; padding: 16px 18px; margin-bottom: 14px; }
.whats-new h2 { margin: 4px 0 8px; font-size: 19px; }
.whats-new__x { position: absolute; top: 10px; right: 12px; width: 32px; height: 32px; border-radius: 50%; font-size: 20px; line-height: 1; color: var(--text-muted); background: rgb(255 255 255 / 0.06); }
.whats-new__list { margin: 0 0 12px; padding-left: 18px; display: grid; gap: 6px; font-size: 13.5px; line-height: 1.4; }
.diary-form { display: grid; gap: 0; }
.diary-pair { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; align-items: end; }
.diary-pair .field, .diary-pair input { min-width: 0; }
.sheet__card [data-dy-tab] ~ * input, .diary-form input { box-sizing: border-box; max-width: 100%; }
.seg.diary-values { grid-template-columns: repeat(4, 38px); }
.seg.diary-values button { padding: 0; }
.diary-total { margin: 12px 0 6px; font-size: 13.5px; color: var(--text-muted); }
.diary-total b { color: var(--text); }
.diary-list { display: grid; gap: 8px; margin-top: 8px; }
.diary-subj { padding: 10px 12px; border-radius: 12px; background: rgb(255 255 255 / 0.05); }
.diary-subj__head { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; }
.diary-subj__head em { font-style: normal; font-weight: 800; color: rgb(var(--t-a)); }
.diary-grades { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.diary-grade { width: 34px; height: 34px; border-radius: 10px; font-weight: 800; background: rgb(255 255 255 / 0.08); color: var(--text); }
.diary-grade--5 { background: rgb(80 200 140 / 0.28); }
.diary-grade--4 { background: rgb(120 170 255 / 0.28); }
.diary-grade--3 { background: rgb(240 190 90 / 0.28); }
.diary-grade--2 { background: rgb(240 100 100 / 0.3); }
.diary-lesson { display: grid; gap: 6px; padding: 10px 12px; border-radius: 12px; background: rgb(255 255 255 / 0.05); }
.diary-lesson > div:first-child { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; }
.seg.seg--sm button { padding: 6px 10px; font-size: 12.5px; }
.diary-hw { align-items: flex-start; font-size: 13.5px; }
.diary-hw.is-done > span { opacity: 0.55; text-decoration: line-through; }
.diary-hw .chip-btn { margin-left: auto; }
.diary-files { margin-top: 16px; flex-wrap: wrap; gap: 8px; }
.diary-files label.btn { cursor: pointer; }
.ios-steps { margin: 0 0 10px; padding-left: 20px; display: grid; gap: 8px; font-size: 13.5px; line-height: 1.4; }
.ios-steps a { color: rgb(var(--t-a)); }
.ios-code { margin-top: 12px; font-size: 13px; }
.ios-code summary { cursor: pointer; color: var(--text-muted); }
.ios-code textarea { width: 100%; box-sizing: border-box; margin-top: 8px; font: 11px/1.4 ui-monospace, Menlo, Consolas, monospace; color: var(--text); background: rgb(0 0 0 / 0.25); border: 1px solid var(--line); border-radius: 10px; padding: 10px; resize: vertical; }
