:root {
  --accent: #3d3d4a;
  --accent2: #a8edcf;
  --on-accent: #fff;
  --font: Manrope, "Helvetica Neue", Arial, sans-serif;
  --ui-font: Manrope, "Helvetica Neue", Arial, sans-serif;
  --bg: #f8f8f5;
  --surface: #fff;
  --surface-soft: #f2f2f5;
  --ink: #111119;
  --ink-soft: #2d2d38;
  --muted: #72727e;
  --line: rgba(17, 17, 25, .11);
  --line-strong: rgba(17, 17, 25, .18);
  --success: #247457;
  --danger: #b64248;
  --radius-sm: 11px;
  --radius: 18px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(19, 19, 31, .03), 0 10px 30px rgba(19, 19, 31, .045);
  --shadow: 0 28px 80px rgba(19, 19, 31, .11);
  --ease: cubic-bezier(.2, .75, .25, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { min-height: 100%; background: var(--bg); -webkit-text-size-adjust: 100%; }
body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
button, input, textarea, select { font: inherit; }
a { color: var(--accent); text-underline-offset: 3px; }
::selection { color: var(--ink); background: color-mix(in srgb, var(--accent2) 72%, white); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h1, h2, h3, p { text-wrap: pretty; }

header.site {
  width: min(calc(100% - 24px), 1320px);
  min-height: 68px;
  margin: 12px auto 0;
  padding: 11px clamp(16px, 3vw, 26px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: sticky;
  top: 12px;
  z-index: 10;
  border: 1px solid rgba(17,17,25,.09);
  border-radius: 18px;
  background: color-mix(in srgb, white 90%, transparent);
  box-shadow: 0 12px 34px rgba(19, 19, 31, .055);
  backdrop-filter: blur(18px) saturate(1.3);
}
header.site.on-accent { background: var(--accent); border-color: transparent; }
header.site.on-accent .brand, header.site.on-accent .topnav a, header.site.on-accent .topnav .linklike { color: var(--on-accent); }
.topnav a.login-btn { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border: 1px solid currentColor; border-radius: 999px; color: var(--ink); }
.topnav a.login-btn::after { display: none; }
header.site.on-accent .topnav a.login-btn { color: var(--on-accent); }
.brand {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  font-family: var(--ui-font);
  font-size: 17px;
  font-weight: 750;
  letter-spacing: -.035em;
  text-decoration: none;
}
.brand::before {
  width: 27px;
  height: 27px;
  margin-right: 10px;
  content: "";
  border: 1px solid color-mix(in srgb, var(--accent) 44%, white);
  border-radius: 50%;
  background:
    radial-gradient(circle at 73% 27%, var(--accent2) 0 2px, transparent 2.5px),
    conic-gradient(from 40deg, transparent 0 13%, var(--accent) 13% 70%, transparent 70% 100%);
  box-shadow: inset 0 0 0 6px white;
}
.brand:has(img)::before { display: none; }
.brand img { width: auto; max-width: 190px; max-height: 40px; display: block; object-fit: contain; }
.topnav { display: flex; align-items: center; gap: clamp(13px, 2vw, 25px); font-family: var(--ui-font); }
.topnav a { position: relative; color: var(--ink-soft); font-size: 13px; font-weight: 600; text-decoration: none; }
.topnav a::after { height: 1.5px; position: absolute; right: 0; bottom: -5px; left: 0; content: ""; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .24s var(--ease); }
.topnav a:hover::after { transform: scaleX(1); transform-origin: left; }
.topnav form { margin: 0; }

main { width: min(100% - 36px, 1080px); min-height: calc(100vh - 150px); margin: 0 auto; padding: clamp(46px, 6vw, 76px) 0 84px; }
main.wide { width: min(100% - 36px, 1240px); max-width: none; }
main > * { animation: enter .55s var(--ease) both; }
main > *:nth-child(2) { animation-delay: .045s; }
main > *:nth-child(3) { animation-delay: .09s; }
main > *:nth-child(4) { animation-delay: .125s; }
@keyframes enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
footer.site { width: min(calc(100% - 36px), 1240px); margin: 0 auto; padding: 28px 25px; border-top: 1px solid rgba(23,23,31,.07); color: var(--muted); font-family: var(--ui-font); font-size: 12px; text-align: center; }

h1 { max-width: 25ch; margin: 0 0 14px; font-family: var(--ui-font); font-size: clamp(32px, 4.2vw, 48px); font-weight: 650; line-height: 1.04; letter-spacing: -.06em; }
h2 { margin: 44px 0 16px; font-family: var(--ui-font); font-size: clamp(21px, 2.4vw, 28px); line-height: 1.15; letter-spacing: -.045em; }
h3 { font-family: var(--ui-font); line-height: 1.35; letter-spacing: -.025em; }
.lead { max-width: 64ch; color: var(--muted); font-size: clamp(17px, 2vw, 19px); line-height: 1.6; }
.muted { color: var(--muted); }
.small { font-family: var(--ui-font); font-size: 12px; }
.center { text-align: center; }
.center h1 { margin-right: auto; margin-left: auto; }
.big { margin-bottom: 12px; display: block; color: var(--accent); font-size: 42px; }

.card {
  margin-bottom: 18px;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.97);
  box-shadow: var(--shadow-sm);
}
.card.narrow { max-width: 490px; margin: 34px auto; }
.card.row, .row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.card.row > div { flex: 1; }
.btn {
  min-height: 44px;
  padding: 10px 21px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: var(--on-accent);
  background: var(--accent);
  box-shadow: 0 7px 18px color-mix(in srgb, var(--accent) 20%, transparent);
  font-family: var(--ui-font);
  font-size: 14px;
  font-weight: 680;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), filter .2s;
}
.btn:hover { filter: brightness(1.04); box-shadow: 0 10px 25px color-mix(in srgb, var(--accent) 28%, transparent); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn.small { min-height: 34px; padding: 7px 13px; font-size: 12px; }
.btn.big { min-height: 50px; padding: 14px 27px; font-size: 16px; }
.btn.ghost { border-color: var(--line-strong); color: var(--ink); background: rgba(255,255,255,.55); box-shadow: none; }
.btn.ghost:hover { border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); color: var(--accent); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.linklike { padding: 0; border: 0; color: var(--muted); background: none; font-family: var(--ui-font); font-size: 13px; cursor: pointer; }

label { margin-bottom: 16px; display: block; font-family: var(--ui-font); font-size: 13px; font-weight: 650; }
label.check { display: flex; gap: 10px; font-size: 13px; font-weight: 450; }
label.check input { width: auto; margin-top: 5px; }
input, textarea, select { width: 100%; margin-top: 6px; padding: 12px 13px; border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--ink); background: #fff; box-shadow: 0 1px 2px rgba(20,20,30,.02); transition: border .2s, box-shadow .2s; }
input:focus, textarea:focus, select:focus { outline: 0; border-color: color-mix(in srgb, var(--accent) 65%, white); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 11%, transparent); }
input[type="radio"], input[type="checkbox"] { width: auto; accent-color: var(--accent); }
fieldset { margin: 0 0 18px; padding: 0; border: 0; }
legend { margin-bottom: 9px; font-family: var(--ui-font); font-weight: 680; }
.notice { margin-bottom: 14px; padding: 13px 16px; border: 1px solid color-mix(in srgb, var(--accent) 16%, transparent); border-radius: var(--radius-sm); background: color-mix(in srgb, var(--accent) 7%, white); }
.notice.warn { border-color: rgba(182,66,72,.14); background: #fff0f0; }
.tag { margin-left: 6px; padding: 3px 8px; border-radius: 6px; color: var(--ink); background: color-mix(in srgb, var(--accent2) 58%, white); font-family: var(--ui-font); font-size: 10px; font-weight: 750; letter-spacing: .03em; text-transform: uppercase; }

.course-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(285px, 1fr)); gap: 22px; }
.course-card { min-width: 0; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); color: var(--ink); background: #fff; box-shadow: var(--shadow-sm); text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.course-card:hover { border-color: color-mix(in srgb, var(--accent) 28%, var(--line)); box-shadow: var(--shadow); transform: translateY(-4px); }
.course-card img, .cover-ph { width: 100%; aspect-ratio: 16/9; object-fit: cover; transition: transform .55s var(--ease); }
.course-card:hover img { transform: scale(1.025); }
.cover-ph { display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; color: var(--accent); background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 14%, white), color-mix(in srgb, var(--accent2) 30%, white)); font-size: 40px; }
.cover-ph::after { width: 180px; height: 180px; position: absolute; right: -70px; bottom: -90px; content: ""; border-radius: 50%; background: color-mix(in srgb, var(--accent2) 34%, transparent); filter: blur(2px); }
.course-card .pad { padding: 22px 22px 25px; }
.course-card h3 { margin: 0 0 8px; font-size: 18px; letter-spacing: -.035em; }
.bar { height: 6px; margin: 12px 0 7px; overflow: hidden; border-radius: 99px; background: #e8e8e6; }
.bar.big { height: 9px; }
.bar span { height: 100%; display: block; border-radius: inherit; background: var(--accent); transition: width .7s var(--ease); }

.module h3 { margin: 30px 0 10px; font-size: 15px; }
.lessons { margin: 0; padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.97); box-shadow: var(--shadow-sm); list-style: none; }
.lessons li { min-height: 51px; padding: 13px 16px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--line); transition: background .2s; }
.lessons li:last-child { border-bottom: 0; }
.lessons li:hover { background: var(--surface-soft); }
.lessons a { color: var(--ink); text-decoration: none; }
.lessons a:hover { color: var(--accent); }
.lessons .fa-solid { width: 22px; color: var(--accent); }
.lessons li.locked, .lessons li.locked .fa-solid { color: var(--muted); }
.done { color: var(--success) !important; }

.lesson-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(30px, 5vw, 62px); align-items: start; }
.side { max-height: calc(100vh - 130px); padding: 16px; position: sticky; top: 100px; overflow-y: auto; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.76); box-shadow: var(--shadow-sm); font-family: var(--ui-font); font-size: 12px; scrollbar-width: thin; backdrop-filter: blur(14px); }
.side > a:first-child { margin-bottom: 16px; display: block; font-weight: 650; text-decoration: none; }
.side-mod { margin-bottom: 16px; }
.side-mod strong { margin: 0 7px 5px; display: block; color: var(--muted); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.side a { padding: 8px 9px; display: flex; gap: 8px; border-radius: 8px; color: var(--ink); text-decoration: none; transition: background .2s, color .2s; }
.side a:hover { background: #fff; }
.side a.current { color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, white); font-weight: 700; }
.side a.locked { color: var(--muted); pointer-events: none; }
.side .fa-solid { width: 17px; margin-top: 4px; color: var(--accent); }
.video { margin-bottom: 25px; padding-top: 56.25%; position: relative; overflow: hidden; border-radius: var(--radius); background: #09090d; box-shadow: 0 22px 55px rgba(10,10,18,.18); }
.video iframe { width: 100%; height: 100%; position: absolute; inset: 0; border: 0; }
.prose { max-width: 68ch; font-size: 16px; line-height: 1.78; }
.prose p { margin: 0 0 1.15em; }
.lesson-actions { margin: 34px 0; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.quiz fieldset { margin-bottom: 15px; padding: 21px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.quiz legend { width: 100%; margin-bottom: 9px; float: left; }
.quiz legend + * { clear: both; }
.opt { margin: 0; padding: 9px 10px; display: flex; gap: 10px; border-radius: 8px; font-weight: 450; cursor: pointer; transition: background .2s; }
.opt:hover { background: var(--surface-soft); }
.opt.right { background: #e9f6ef; }
.opt.wrong { background: #fff0f0; }
.explain { color: var(--muted); font-size: 13px; }
.result { margin-top: 13px; font-family: var(--ui-font); font-weight: 680; }
.reflect textarea { min-height: 100px; }
.entry { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.answer { margin-top: 7px; padding: 11px; border-radius: 8px; background: color-mix(in srgb, var(--accent) 6%, white); }
details.ask summary { font-family: var(--ui-font); font-weight: 680; cursor: pointer; }
details.ask form { margin-top: 13px; }

.community { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 34px; align-items: start; }
.new-post textarea { margin-bottom: 10px; }
.new-post input[type="file"] { width: auto; flex: 1; padding: 0; border: 0; }
.post { position: relative; }
.post-head { margin-bottom: 11px; display: flex; align-items: center; gap: 12px; }
.avatar { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 50%; color: var(--on-accent); background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 65%, #11111a)); font-family: var(--ui-font); font-weight: 750; text-transform: uppercase; }
.post-img { max-width: 100%; margin: 9px 0; border-radius: 12px; }
.post-actions { margin-top: 12px; padding-top: 11px; display: flex; align-items: center; gap: 16px; border-top: 1px solid var(--line); }
.like.on { color: #c23e4b; }
.pin { position: absolute; top: 18px; right: 20px; color: var(--muted); font-family: var(--ui-font); font-size: 11px; }
.comments { margin-top: 11px; }
.comment { margin-bottom: 7px; padding: 9px 12px; border: 1px solid rgba(23,23,31,.05); border-radius: 9px; background: var(--surface-soft); font-size: 14px; }
.comment-form { margin-top: 9px; display: flex; align-items: center; gap: 8px; }
.comment-form input[name="body"] { margin: 0; }
.comment-form label { margin: 0; white-space: nowrap; }

.stats { margin-bottom: 18px; display: grid; grid-template-columns: repeat(auto-fit, minmax(165px, 1fr)); gap: 14px; }
.stats .card { margin: 0; }
.stats strong { display: block; font-family: var(--ui-font); font-size: 28px; line-height: 1.2; letter-spacing: -.04em; }
.stats span { color: var(--muted); font-family: var(--ui-font); font-size: 12px; }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: 12px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.table th { color: var(--muted); font-family: var(--ui-font); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; }

.hero { padding: clamp(42px, 7vw, 92px) 0 36px; text-align: center; }
.hero h1 { max-width: 20ch; margin-right: auto; margin-left: auto; font-size: clamp(38px, 6vw, 68px); }
.hero .lead { margin-right: auto; margin-left: auto; }
.hero-img { width: 100%; max-height: 480px; margin-bottom: 30px; border-radius: var(--radius-lg); object-fit: cover; box-shadow: var(--shadow); }
.outcome { padding: 15px 20px; display: inline-block; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.88); box-shadow: var(--shadow-sm); font-size: 17px; backdrop-filter: blur(12px); }
.outcome .fa-solid { color: var(--accent); }
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(225px, 1fr)); gap: 17px; align-items: stretch; }
.price { height: 100%; display: flex; flex-direction: column; text-align: left; }
.price .btn { margin-top: auto; align-self: stretch; }
.amount { margin: 8px 0; font-family: var(--ui-font); font-size: 29px; font-weight: 730; letter-spacing: -.04em; }
ul.plain { margin: 0 0 20px; padding: 0; list-style: none; }
ul.plain li { padding: 8px 0; border-bottom: 1px solid var(--line); }
ul.plain li:last-child { border: 0; }
.slots { display: flex; flex-wrap: wrap; gap: 8px; }
.slots legend { width: 100%; text-transform: capitalize; }
.slot { margin: 0; padding: 7px 13px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font-family: var(--ui-font); font-weight: 520; cursor: pointer; }
.slot:has(input:checked) { border-color: var(--accent); color: var(--on-accent); background: var(--accent); }
.slot input { display: none; }
.choice { display: flex; gap: 16px; }
.choice label { display: flex; gap: 8px; font-weight: 450; }
.certificate { max-width: 780px; margin: 22px auto; padding: 65px 30px; border: 1px solid var(--accent); outline: 8px double color-mix(in srgb, var(--accent) 40%, white); outline-offset: -17px; border-radius: 4px; background: #fff; text-align: center; }
.certificate h1 { margin-right: auto; margin-left: auto; font-size: 40px; }
.toast { padding: 11px 18px; position: fixed; bottom: 22px; left: 50%; z-index: 30; border: 1px solid rgba(255,255,255,.12); border-radius: 10px; color: #fff; background: rgba(17,17,26,.94); box-shadow: 0 15px 45px rgba(0,0,0,.25); font-family: var(--ui-font); font-size: 13px; transform: translateX(-50%); backdrop-filter: blur(12px); }
.feature-grid { margin: 34px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }
.feature-grid .card { margin: 0; }
.brands { display: flex; align-items: center; gap: 14px; }
.partner { padding-left: 14px; display: flex; align-items: center; gap: 8px; border-left: 1px solid var(--line); }
.partner img { width: auto; max-width: 120px; max-height: 30px; }
.tutor-log { max-height: 380px; margin: 10px 0; display: flex; flex-direction: column; gap: 8px; overflow-y: auto; }
.tutor-msg { max-width: 90%; padding: 11px 14px; border-radius: 12px; }
.tutor-msg.me { align-self: flex-end; background: color-mix(in srgb, var(--accent) 11%, white); }
.tutor-msg.bot { align-self: flex-start; background: var(--surface-soft); }
.tutor-form { display: flex; align-items: flex-end; gap: 8px; }
.tutor-form textarea { margin: 0; }

@media (max-width: 800px) {
  header.site { width: calc(100% - 16px); min-height: 62px; margin-top: 8px; padding: 10px 14px; top: 8px; border-radius: 15px; }
  .brand { max-width: 48vw; font-size: 15px; }
  .brand img { max-width: 145px; max-height: 34px; }
  .topnav { gap: 15px; }
  .topnav a { font-size: 0; }
  .topnav a span { font-size: 17px; }
  main, main.wide { width: min(100% - 28px, 100%); padding-top: 42px; }
  .lesson-layout, .community { grid-template-columns: 1fr; }
  .side { max-height: none; position: static; }
  .lesson-layout .side { order: 2; }
  .feature-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 36px; }
  .hero h1 { font-size: clamp(34px, 11vw, 48px); }
  .table { display: block; overflow-x: auto; }
}

@media (max-width: 520px) {
  .card { padding: 18px; border-radius: var(--radius); }
  .course-grid, .price-grid { grid-template-columns: 1fr; }
  .lesson-actions .btn { flex: 1; }
  .choice { flex-direction: column; gap: 5px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .topnav { gap: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media print {
  header.site, footer.site, .noprint { display: none; }
  body { background: #fff; }
  main { width: 100%; padding: 0; }
  .card { box-shadow: none; }
}

/* Rullgardiner: egen pil 14 px fran kanten (designregel, kalla: design/select-pil.css i Duco-repot) */
select:not([multiple]):not([size]) {
  -webkit-appearance: none !important; appearance: none !important; padding-right: 38px !important; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23747480' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important; background-position: right 14px center !important; background-size: 12px 8px !important;
}

/* Felsidor */
.error-page { max-width: 460px; margin: 48px auto; padding: 36px 32px; }
.error-page > .fa-solid { font-size: 28px; color: var(--accent); }
.error-page h1 { margin: 12px 0 8px; font-size: clamp(28px, 4vw, 36px); }
.error-page p { color: var(--muted); }

/* Filväljare i samma stil som sekundära knappar */
input[type="file"] { font: inherit; font-size: 13px; color: var(--muted); }
input[type="file"]::file-selector-button { margin-right: 10px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); font: inherit; font-weight: 650; cursor: pointer; }
input[type="file"]::file-selector-button:hover { border-color: var(--accent); }

/* Sidbyggarens text- och bildblock */
.custom-page > section, .custom-page > figure { margin: 0 auto clamp(40px, 6vw, 72px); }
.text-block { max-width: 720px; margin-right: auto; margin-left: auto; }
.text-block.center { text-align: center; }
.text-block.center .prose { margin-right: auto; margin-left: auto; }
.text-block h2 { margin-bottom: 16px; font-size: clamp(26px, 3.4vw, 38px); }
.eyebrow { margin: 0 0 10px; color: var(--accent); font-family: var(--ui-font); font-size: 12px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.image-block { max-width: 960px; }
.image-block img { display: block; width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.image-block figcaption { margin-top: 10px; text-align: center; }

/* Deltagarprofil */
img.avatar { object-fit: cover; background: var(--surface-soft); }
.avatar.small { width: 28px; height: 28px; font-size: 12px; }
.avatar.large { width: 112px; height: 112px; font-size: 40px; }
.post-head a.author, .comment a.author { color: inherit; text-decoration: none; }
.post-head a.author:hover, .comment a.author:hover { text-decoration: underline; }
.comment { display: flex; align-items: flex-start; gap: 9px; }
.side a.me { margin-bottom: 12px; display: flex; align-items: center; gap: 9px; }
.profile-photo { margin-bottom: 18px; display: flex; align-items: center; gap: 20px; }
.profile-photo label.btn { cursor: pointer; }
.profile-view .avatar.large { margin: 0 auto 12px; }
.profile-view .bio { white-space: pre-line; }
.cert-actions { max-width: 780px; margin: 0 auto; }
.cert-actions form.card { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
.cert-actions form.card label { flex: 1; min-width: 220px; }
.cert-actions .btn { margin: 4px; }
