/* =====================================================================
   MetaTextiles — open source 3D printed fashion catalogue
   Layout mirrors the Fabricademy open source circular fashion catalogue,
   re-skinned with the Fabricademy 2025 brand manual palette + typography.
   Primary   #352F72 purple · #3EBCAC teal · #ACD7C1 mint · #E51F3D red · #EF6361 coral
   Secondary #B7D5C0 pale green · #D60237 deep red · #00024D navy · #96BADE light blue · #00459F blue
   Type      Montserrat (headlines, uppercase) · Comfortaa (content)
   ===================================================================== */
:root {
  --purple: #352F72;
  --teal: #3EBCAC;
  --mint: #ACD7C1;
  --red: #E51F3D;
  --coral: #EF6361;
  --pale-green: #B7D5C0;
  --deep-red: #D60237;
  --navy: #00024D;
  --light-blue: #96BADE;
  --blue: #00459F;

  --ink: #241f4a;
  --muted: #8b8ba0;
  --line: #e4e6f0;
  --bg-soft: #f4f7fd;
  --bg-mint: #f2faf7;
  --shadow: 0 2px 10px rgba(53, 47, 114, .08);
  --radius: 6px;
  --heading: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
  --body: 'Comfortaa', 'Segoe UI', system-ui, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 0;
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink);
  background: #fff;
}

h1, h2, h3, h4, .el-button, .el-menu-item, .brand-text strong, .el-tag {
  font-family: var(--heading);
}
h1 { font-weight: 300; font-size: 2.1rem; line-height: 1.25; text-transform: uppercase; letter-spacing: .5px; }
h1 strong, h1 b { font-weight: 700; }
h3 { font-weight: 600; font-size: 1.05rem; text-transform: uppercase; letter-spacing: 1px; color: var(--purple); }
h4 { font-weight: 600; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--red); }
img { max-width: 100%; }
code { font-family: ui-monospace, Consolas, monospace; font-size: .85em; background: var(--bg-soft); padding: 1px 5px; border-radius: 3px; }
.muted, .muted-text { color: var(--muted); }
.muted-text { font-size: .88rem; }
.lead { font-size: 1.1rem; color: var(--purple); }
.icon { width: 16px; height: 16px; flex: 0 0 auto; }
hr { border: 0; border-top: 1px solid var(--line); }

/* ------------------------------ header ------------------------------ */
.el-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
}
.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--purple); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 1.28rem; letter-spacing: 2.5px; text-transform: uppercase; }
.brand-text small { font-family: var(--body); font-size: .68rem; color: var(--muted); letter-spacing: .3px; }

.el-menu { display: flex; align-items: center; gap: 4px; }
.el-menu-item {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px; border: 0; background: none; cursor: pointer;
  font-size: .72rem; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--purple); border-bottom: 2px solid transparent;
}
.el-menu-item:hover { color: var(--red); }
.el-menu-item.is-active { border-bottom-color: var(--red); }
.el-submenu { position: relative; }
.el-submenu .icon-caret { width: 13px; height: 13px; }
.el-menu--inline {
  position: absolute; top: 100%; left: 0; min-width: 250px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 6px; display: none; z-index: 50;
}
.el-submenu:hover .el-menu--inline, .el-submenu:focus-within .el-menu--inline { display: block; }
.el-menu--inline .el-menu-item { display: block; text-transform: none; letter-spacing: .2px; font-size: .82rem;
  font-weight: 400; font-family: var(--body); padding: 8px 12px; border-radius: 4px; }
.el-menu--inline .el-menu-item:hover { background: var(--bg-soft); }

.header-search { display: flex; gap: 6px; margin-left: auto; }
.header-search .el-input { min-width: 180px; }
.header-search-btn span { display: none; }
.header-search-btn { padding: 8px 10px; }

.account-panel { display: flex; align-items: center; gap: 8px; }
.account-link { display: flex; align-items: center; gap: 8px; color: var(--purple); }
.account-name { font-family: var(--heading); font-size: .78rem; text-transform: uppercase; letter-spacing: .8px; }
.logout-form { display: inline; }
.avatar { border-radius: 50%; object-fit: cover; vertical-align: middle; }

/* ------------------------------ buttons ------------------------------ */
.el-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 9px 16px; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; color: var(--purple); cursor: pointer;
  font-size: .72rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
  transition: background .15s, color .15s, border-color .15s;
}
.el-button:hover { border-color: var(--purple); color: var(--red); }
.el-button[disabled], .el-button.is-hidden { opacity: .45; cursor: not-allowed; pointer-events: none; }
.el-button.full { width: 100%; }
.el-button.is-icon span { display: none; }
.el-button--primary { background: var(--purple); border-color: var(--purple); color: #fff; }
.el-button--primary:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.el-button--success { background: var(--teal); border-color: var(--teal); color: #fff; }
.el-button--success:hover { background: #2fa596; border-color: #2fa596; color: #fff; }
.el-button--danger { background: var(--red); border-color: var(--red); color: #fff; }
.el-button--danger:hover { background: var(--deep-red); border-color: var(--deep-red); color: #fff; }
.el-button--warning { background: var(--coral); border-color: var(--coral); color: #fff; }
.el-button--warning:hover { background: #e25150; border-color: #e25150; color: #fff; }
.el-button--info { background: var(--blue); border-color: var(--blue); color: #fff; }
.el-button--info:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.el-button--text { border: 0; background: none; padding: 4px 6px; text-transform: none; }

/* ------------------------------ inputs ------------------------------ */
.el-input {
  font-family: var(--body); font-size: .92rem; color: var(--ink);
  padding: 9px 12px; border: 1px solid #dcdfe6; border-radius: var(--radius);
  background: #fff; width: 100%; max-width: 100%;
}
.el-input:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 2px rgba(53, 47, 114, .12); }
textarea.el-input { resize: vertical; line-height: 1.6; }
.el-form-item { display: block; margin-bottom: 16px; font-size: .8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .6px; color: var(--purple); }
.el-form-item small { text-transform: none; letter-spacing: 0; color: var(--muted); font-weight: 400; }
.el-form-item .el-input { margin-top: 6px; font-weight: 400; text-transform: none; letter-spacing: 0; }

/* ------------------------------ layout ------------------------------ */
.el-main { display: block; min-height: 60vh; }
.content { width: 88%; max-width: 1180px; margin: 36px auto 72px; }
.content.wide { max-width: 1340px; }
.el-row { display: flex; flex-wrap: wrap; }
.el-col { padding: 0 10px; }
.md-6 { flex: 0 0 25%; max-width: 25%; }
.md-8 { flex: 0 0 33.333%; max-width: 33.333%; }
.md-12 { flex: 0 0 50%; max-width: 50%; }
.md-16 { flex: 0 0 66.666%; max-width: 66.666%; }
.md-24 { flex: 0 0 100%; max-width: 100%; }
.centered { text-align: center; }
@media (max-width: 980px) {
  .md-6, .md-8, .md-16 { flex: 0 0 50%; max-width: 50%; }
  .header-search { display: none; }
}
@media (max-width: 620px) {
  .md-6, .md-8, .md-12, .md-16 { flex: 0 0 100%; max-width: 100%; }
  .content { width: 94%; }
}

/* ------------------------------ hero ------------------------------ */
.hero { text-align: center; font-size: 1.15rem; padding: 18px 0 26px; }
.hero h1 { margin: 6px auto 8px; max-width: 900px; }
.hero h1 strong { color: var(--red); }
.hero p { margin: 0 0 18px; color: var(--purple); }
.hero-intro { max-width: 780px; margin: 0 auto 16px; color: var(--muted); font-size: .95rem; line-height: 1.7; }
.hero-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.hero-actions::after { content: ''; display: block; width: 70px; height: 3px; background: var(--teal); }

/* ------------------------------ cards / grid ------------------------------ */
.featured { padding: 8px 0 4px; margin-bottom: 40px; }
.project-grid { margin: 0 -10px; }
.pic-wrapper { position: relative; margin: 0; padding: 0; display: block; }
.pic { position: relative; text-align: left; overflow: hidden; background: var(--bg-soft); }
.pic img { width: 100%; display: block; aspect-ratio: 1 / 1; object-fit: cover; }
.pic-placeholder { display: flex; align-items: center; justify-content: center; aspect-ratio: 1/1; color: var(--mint); }
.pic-placeholder .icon { width: 48px; height: 48px; }
.caption {
  position: absolute; inset: 0; z-index: 3;
  background: rgba(53, 47, 114, .28);
  color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; padding: 16px; text-align: center; transition: background .18s;
}
.caption-title { font-family: var(--heading); font-weight: 600; font-size: 1rem; line-height: 1.3; }
.caption-more { font-family: var(--heading); font-size: .66rem; letter-spacing: 1.6px; text-transform: uppercase;
  border-bottom: 1px solid currentColor; opacity: .75; }
.pic-link:hover .caption { background: rgba(53, 47, 114, .62); }
.pic-link:hover .caption-more { opacity: 1; }

.el-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
}
.box-card { margin: 0 0 20px; display: flex; flex-direction: column; }
.card-body { padding: 10px 12px 12px; }
.card-title { display: block; font-family: var(--heading); font-weight: 600; font-size: .92rem; color: var(--purple); }
.card-title:hover { color: var(--red); }
.card-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; }
.card-meta .time { font-size: .74rem; color: var(--muted); }
.card-icons { display: flex; gap: 10px; }
.stat { display: inline-flex; align-items: center; gap: 4px; font-size: .74rem; color: var(--muted); }
.card-author { color: var(--muted); font-size: .74rem; }

.empty-state { padding: 40px 0; color: var(--muted); }
.empty-cta { margin-top: 14px; }
.listing-toolbar { display: flex; justify-content: space-between; align-items: center;
  border-bottom: 1px solid var(--line); padding-bottom: 8px; margin-bottom: 18px; color: var(--muted); font-size: .82rem; }
.category-blurb { max-width: 760px; color: var(--muted); }
.listing-foot { margin-top: 24px; }

/* ------------------------------ categories / howto ------------------------------ */
.category-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.category-card {
  display: block; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, #fff 0%, var(--bg-mint) 100%); color: var(--ink);
  box-shadow: var(--shadow);
}
.category-card:hover { border-color: var(--teal); color: var(--ink); transform: translateY(-2px); }
.category-card strong { display: block; font-family: var(--heading); color: var(--purple); font-size: 1rem; margin: 8px 0 4px; }
.category-card small { display: block; color: var(--muted); font-size: .82rem; }
.category-card__icon { color: var(--teal); }
.category-card__icon .icon { width: 26px; height: 26px; }
.category-card__count { display: inline-block; margin-top: 10px; font-size: .72rem; letter-spacing: .8px;
  text-transform: uppercase; color: var(--blue); font-family: var(--heading); }
.howto { margin-bottom: 40px; }
.steps { padding-left: 20px; }
.steps li { margin-bottom: 8px; }
.referral { text-align: center; font-size: 1.05rem; padding: 24px; background: var(--bg-soft); border-radius: var(--radius); }
.referral p { max-width: 760px; margin: 8px auto 16px; }

/* ------------------------------ project detail ------------------------------ */
.project-head h1 { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 1.6rem;
  text-transform: none; font-weight: 600; }
.project-sub { font-family: var(--body); font-size: .84rem; color: var(--muted); text-transform: none;
  letter-spacing: 0; font-weight: 400; }
.project-tags { display: flex; gap: 6px; flex-wrap: wrap; margin: 10px 0 18px; }
.el-tag { display: inline-block; padding: 3px 10px; border-radius: 12px; font-size: .7rem;
  letter-spacing: .6px; text-transform: uppercase; background: var(--bg-soft); color: var(--purple); border: 1px solid var(--line); }
.el-tag--info { background: var(--bg-soft); }
.el-tag--primary { background: var(--purple); color: #fff; border-color: var(--purple); }
.el-tag--warning { background: var(--coral); color: #fff; border-color: var(--coral); }
.project-layout { align-items: flex-start; }
.main-container .box-card { padding: 0; }
.main-img { width: 100%; display: block; }
.main-img--empty { display: flex; align-items: center; justify-content: center; height: 320px; background: var(--bg-soft); color: var(--mint); }
.main-img--empty .icon { width: 60px; height: 60px; }
.mini-previews { margin: 10px -10px 0; }
.mini-preview { width: 100%; aspect-ratio: 1/1; object-fit: cover; cursor: zoom-in; border-radius: 4px; display: block; }
.mini-preview:hover { opacity: .85; }
.sidebar .widget { text-align: center; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-soft); }
.sidebar .widget .label { font-family: var(--heading); font-size: .66rem; letter-spacing: 1.4px; color: var(--muted); }
.sidebar .widget .label .icon { width: 20px; height: 20px; color: var(--teal); }
.sidebar .widget .number { font-family: var(--heading); font-size: 1.9rem; font-weight: 700; color: var(--purple); line-height: 1.1; }
.sidebar .widget { margin-bottom: 12px; display: inline-block; width: calc(50% - 4px); vertical-align: top; }
.sidebar .widget + .widget { margin-left: 8px; }
.sidebar p { margin: 10px 0; }
.clear { clear: both; }
.about { margin: 28px 0; padding: 20px; background: var(--bg-mint); border-left: 4px solid var(--teal); border-radius: 0 var(--radius) var(--radius) 0;
  white-space: pre-wrap; }
.comment-item { padding: 12px 14px; margin-bottom: 12px; }
.comment-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; font-size: .86rem; }
.comment-body { white-space: pre-wrap; }
.comment-form textarea { margin-bottom: 10px; }

/* ------------------------------ dialogs ------------------------------ */
.el-dialog {
  border: 0; border-radius: var(--radius); padding: 0; max-width: 620px; width: 92%;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .25);
}
.el-dialog::backdrop { background: rgba(0, 2, 77, .55); }
.el-dialog__header { display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 18px; border-bottom: 1px solid var(--line); font-family: var(--heading); color: var(--purple); }
.el-dialog__body { padding: 18px; }
.dialog-close { background: none; border: 0; cursor: pointer; color: var(--muted); }
.dialog-close:hover { color: var(--red); }
.el-dialog--gallery { max-width: 720px; }
.el-dialog--gallery img { width: 100%; border-radius: 4px; }
.gallery-nav { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; gap: 10px; color: var(--muted); font-size: .82rem; }
.filelist { list-style: none; padding: 0; margin: 0; }
.filelist li { display: flex; align-items: center; gap: 8px; padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: .88rem; }
.filelist li .icon { color: var(--teal); }
.filelist small { color: var(--muted); }
.remove-file { margin-left: auto; background: none; border: 0; cursor: pointer; color: var(--muted); }
.remove-file:hover { color: var(--red); }
.hidden-form { display: none; }

/* ------------------------------ forms ------------------------------ */
.form-grid { display: grid; grid-template-columns: 1.25fr .85fr; gap: 28px; align-items: start; }
@media (max-width: 900px) { .form-grid { grid-template-columns: 1fr; } }
.el-card__header { display: flex; justify-content: space-between; align-items: baseline;
  padding: 12px 14px; border-bottom: 1px solid var(--line); font-family: var(--heading); color: var(--purple); font-size: .82rem; }
.el-card__body { padding: 14px; }
.hint { font-family: var(--body); font-size: .72rem; color: var(--muted); }
.form-side .el-card { margin-bottom: 18px; }
.form-actions { display: flex; align-items: center; gap: 12px; margin-top: 24px; }
.auth-form { max-width: 560px; }
.inline-form { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.inline-form .el-input { max-width: 260px; }

.image-picker { border: 1px dashed var(--line); border-radius: var(--radius); padding: 10px; text-align: center; background: var(--bg-soft); }
.image-picker .picker-preview { width: 100%; max-width: 200px; border-radius: 4px; display: block; margin: 0 auto 8px; }
.picker-drop, .file-drop {
  display: flex; flex-direction: column; align-items: center; gap: 6px; cursor: pointer;
  font-family: var(--heading); font-size: .68rem; letter-spacing: 1px; text-transform: uppercase; color: var(--blue);
}
.picker-drop input, .file-drop input { display: none; }
.picker-drop .icon, .file-drop .icon { width: 22px; height: 22px; color: var(--teal); }
.photo-slots { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.file-drop { border: 1px dashed var(--line); border-radius: var(--radius); padding: 14px; background: var(--bg-soft); }
.license-card { border-left: 4px solid var(--red); }
.progress { display: block; height: 8px; background: var(--bg-soft); border-radius: 4px; overflow: hidden; width: 260px; }
.progress-bar { display: block; height: 100%; width: 0; background: var(--teal); transition: width .2s; }

/* ------------------------------ profile / admin ------------------------------ */
.profile-head { display: flex; gap: 20px; align-items: center; margin-bottom: 26px; }
.profile-stats { display: flex; gap: 18px; flex-wrap: wrap; color: var(--muted); font-size: .84rem; }
.profile-stats strong { color: var(--purple); font-family: var(--heading); }
.download-list { list-style: none; padding: 0; }
.download-list li { display: flex; gap: 10px; align-items: baseline; padding: 6px 0; border-bottom: 1px dashed var(--line); font-size: .88rem; }
.stat-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin-bottom: 28px; }
.stat-card { text-align: center; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-soft); }
.stat-card strong { display: block; font-family: var(--heading); font-size: 1.7rem; color: var(--purple); }
.stat-card span { font-size: .72rem; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); }
.table-wrap { overflow-x: auto; margin-bottom: 28px; }
.el-table { width: 100%; border-collapse: collapse; font-size: .85rem; }
.el-table th, .el-table td { padding: 9px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.el-table thead th { font-family: var(--heading); font-size: .68rem; text-transform: uppercase; letter-spacing: 1px;
  color: var(--purple); background: var(--bg-soft); }
.el-table tbody tr:hover { background: #fbfcff; }
.row-actions { display: flex; gap: 6px; }
.row-actions form { display: inline; }

/* ------------------------------ notices / 404 ------------------------------ */
.notice { padding: 12px 16px; border-radius: var(--radius); margin: 14px 0; font-size: .9rem; }
.notice ul { margin: 0; padding-left: 18px; }
.notice--info { background: var(--bg-soft); border-left: 4px solid var(--blue); }
.notice--success { background: var(--bg-mint); border-left: 4px solid var(--teal); }
.notice--error { background: #fdeef0; border-left: 4px solid var(--red); }
.notice--warning { background: #fdf1ee; border-left: 4px solid var(--coral); }

/* ------------------------------ learn / guides ------------------------------ */
.guide { max-width: 820px; }
.guide h1 { text-transform: none; font-weight: 600; font-size: 1.9rem; }
.guide-meta { color: var(--muted); font-size: .82rem; margin-bottom: 18px; }
.guide-toc { background: var(--bg-soft); border-radius: var(--radius); padding: 14px 18px; margin: 0 0 26px; }
.guide-toc strong { font-family: var(--heading); font-size: .74rem; text-transform: uppercase; letter-spacing: 1px; color: var(--purple); }
.guide-toc ol { margin: 8px 0 0 18px; padding: 0; }
.guide-toc a { font-size: .92rem; }
.guide-body h2 { margin-top: 36px; font-size: 1.2rem; text-transform: none; letter-spacing: 0; }
.guide-body h3 { margin-top: 24px; font-size: 1rem; }
.guide-body p, .guide-body li { font-size: .98rem; line-height: 1.75; }
.guide-body ul, .guide-body ol { padding-left: 22px; }
.guide-body blockquote { margin: 20px 0; padding: 12px 18px; border-left: 4px solid var(--teal); background: var(--bg-mint); border-radius: 0 var(--radius) var(--radius) 0; }
.guide-body blockquote p { margin: 0; }
.guide-body img { border-radius: var(--radius); }
.guide-body figure { margin: 26px 0; }
.guide-body figure img { width: 100%; height: auto; display: block; }
.guide-body figcaption { margin-top: 9px; font-size: .8rem; line-height: 1.55; color: var(--muted); }
.guide-body .img-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 26px 0; }
.guide-body .img-row figure { margin: 0; }
@media (max-width: 700px) { .guide-body .img-row { grid-template-columns: 1fr; } }
.guide-body table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: .9rem; }
.guide-body th, .guide-body td { border-bottom: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.guide-body thead th { font-family: var(--heading); font-size: .72rem; text-transform: uppercase; letter-spacing: .8px; color: var(--purple); background: var(--bg-soft); }
.guide-faq { margin-top: 34px; }
.guide-faq details { border-bottom: 1px dashed var(--line); padding: 10px 0; }
.guide-faq summary { cursor: pointer; font-family: var(--heading); font-weight: 600; color: var(--purple); }
.guide-faq p { margin: 10px 0 0; }
.guide-cta { margin: 38px 0; padding: 22px 24px; background: var(--bg-mint); border-left: 4px solid var(--teal); border-radius: 0 var(--radius) var(--radius) 0; }
.guide-cta h2 { margin-top: 0; }
.guide-list { display: grid; gap: 16px; margin-bottom: 30px; }
.guide-card { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.guide-card:hover { border-color: var(--teal); transform: translateY(-2px); }
.guide-card:hover .guide-thumb { border-color: var(--teal); }
.guide-thumb { flex: 0 0 auto; display: block; width: 84px; height: 84px; border-radius: 50%; overflow: hidden; border: 2px solid var(--mint); background: var(--mint); transition: border-color .15s ease; }
.guide-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.guide-thumb--empty { background: var(--mint); }
.guide-card-title { font-family: var(--heading); color: var(--purple); font-size: 1.02rem; line-height: 1.32; }
@media (max-width: 520px) {
  .guide-thumb { width: 64px; height: 64px; }
  .guide-card-title { font-size: .95rem; }
}
.hero-lead { margin-bottom: 26px; }
.guide-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; }
.guide-tags .el-tag:hover { border-color: var(--teal); color: var(--purple); }
.guide-related { margin-top: 44px; }
.guide-related h2 { font-size: 1rem; }
.learn-section { margin-bottom: 40px; }
.learn-section-head p { color: var(--muted); max-width: 780px; }
.learn-more { font-family: var(--heading); font-size: .74rem; text-transform: uppercase; letter-spacing: 1px; }
.learn-tags { margin-top: 32px; }
.learn-tags p { display: flex; flex-wrap: wrap; gap: 8px; }
.learn-tags .el-tag { text-transform: none; letter-spacing: 0; font-family: var(--body); font-size: .8rem; }
.learn-tags .el-tag:hover { border-color: var(--teal); color: var(--purple); }
.tag-count { opacity: .55; margin-left: 3px; }

/* ------------------------- idle session notice ------------------------- */
.idle-notice {
  position: fixed; z-index: 60; right: 20px; bottom: 20px; left: 20px; max-width: 520px;
  margin-left: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  padding: 14px 16px; background: #fff; border: 1px solid var(--line);
  border-left: 4px solid var(--coral); border-radius: var(--radius); box-shadow: var(--shadow);
  font-size: .92rem;
}
.idle-notice[hidden] { display: none; }
.idle-notice-text { flex: 1 1 200px; color: var(--purple); }
.idle-notice .el-button { margin: 0; }

/* ------------------------------ footer ------------------------------ */
.el-footer { text-align: center; padding: 28px 20px 40px; color: var(--muted); font-size: .82rem; }
.el-footer hr { max-width: 1180px; margin: 0 auto 18px; }
.footer-line { margin: 4px 0; }
.footer-note { max-width: 760px; margin: 10px auto 0; font-size: .76rem; }
