/* =========================================================
   ShortBamboo client portal
   Design system copied from shortbamboo.com so the portal
   looks exactly like the main site (nav, footer, colours, type).
   ========================================================= */

:root {
  --bg: #f5f5f0;
  --dark: #10120f;
  --text: #171914;
  --muted: #6e7369;
  --line: #dedfd7;
  --green: #526b36;
  --green-light: #dfe8d3;
  --lime: #d9f08c;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; letter-spacing: -0.03em; line-height: 1.15; }
p { margin: 0; }
button { font: inherit; }

.container { width: min(var(--container), calc(100% - 40px)); margin: 0 auto; }

/* =========================================================
   NAVBAR (same as main site)
   ========================================================= */
header {
  position: fixed;
  top: 18px; left: 0; right: 0;
  z-index: 1000;
  pointer-events: none;
}
.nav {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(16, 18, 15, 0.09);
  border-radius: 18px;
  padding: 0 14px 0 20px;
  box-shadow: 0 12px 35px rgba(16, 18, 15, 0.08);
  pointer-events: auto;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
header.scrolled .nav {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 40px rgba(16, 18, 15, 0.12);
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.05em;
  white-space: nowrap;
}
.logo-image { width: 31px; height: 31px; object-fit: contain; display: block; flex-shrink: 0; border-radius: 8px; }
/* portal has no nav CTA, so centre the links like the main site does */
.nav-links { display: flex; align-items: center; gap: 34px; font-size: 14px; font-weight: 650; margin-left: auto; margin-right: auto; }
.nav-links a { transition: color 0.2s ease, opacity 0.2s ease; }
.nav-links a:hover { color: var(--green); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  background: var(--dark);
  color: white;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  transition: transform 0.25s ease, background 0.25s ease;
}
.nav-cta:hover { transform: translateY(-2px); background: var(--green); }
.menu-btn {
  display: none;
  width: 42px; height: 42px;
  border: 0; background: transparent;
  font-size: 25px; cursor: pointer; line-height: 1; padding: 5px; color: var(--dark);
}

/* portal's right-hand nav slot: CTA when signed out, name + Sign out when signed in */
.nav-action { display: flex; align-items: center; gap: 12px; }
.nav-action:empty { display: none; }

/* =========================================================
   MOBILE MENU (same as main site)
   ========================================================= */
.mobile-menu-container { position: relative; pointer-events: auto; }
.mobile-menu {
  display: none;
  position: absolute; top: 10px; left: 0; right: 0; width: 100%;
  padding: 10px;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(16, 18, 15, 0.08);
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
  z-index: 9999;
  pointer-events: auto;
}
.mobile-menu.open { display: grid; gap: 3px; }
.mobile-menu a { display: block; padding: 14px 13px; border-radius: 11px; font-size: 15px; font-weight: 750; transition: background 0.2s ease, color 0.2s ease; }
.mobile-menu a:hover, .mobile-menu a:active { background: var(--green-light); color: var(--green); }
/* Sign out lives at the top of the content, beside the brand name */
/* one Sign out, same place on tablet / laptop / phone */
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.page-head .head-row { margin-bottom: 8px; }
.head-row .back { margin-bottom: 0; }
.head-row .eyebrow { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.head-row .btn { flex-shrink: 0; }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 13px; }

/* =========================================================
   BUTTONS (same as main site)
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid var(--dark);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.btn-dark { background: var(--dark); color: white; }
.btn-dark:hover:not(:disabled) { background: var(--green); border-color: var(--green); transform: translateY(-2px); }
.btn-light { background: transparent; color: var(--dark); }
.btn-light:hover { background: white; transform: translateY(-2px); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none !important; }

/* =========================================================
   PORTAL LAYOUT
   ========================================================= */
.portal-main { padding: 118px 0 80px; min-height: 60vh; }
.center-note { text-align: center; color: var(--muted); padding: 60px 0; }

.eyebrow { font-size: 11px; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; color: var(--green); }
.page-head { margin-bottom: 26px; }
.page-head h1 { font-size: clamp(30px, 5vw, 42px); margin-top: 8px; }
.page-head p { color: var(--muted); margin-top: 10px; font-size: 15px; }

/* login */
.login { max-width: 430px; margin: 0 auto; background: white; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; }
.login h1 { font-size: 28px; margin-bottom: 8px; }
.login p.sub { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 11px; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted); margin-bottom: 7px; }
.field input { width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fbfbf8; font-size: 15px; color: var(--text); font-family: inherit; }
.field input:focus { outline: 2px solid var(--green); outline-offset: 1px; border-color: var(--green); }
.login .btn { width: 100%; }
.msg { margin-top: 14px; font-size: 14px; border-radius: var(--radius-sm); padding: 11px 13px; }
.msg.err { background: #fdecec; color: #8a1c1c; }
.msg.ok { background: var(--green-light); color: #33501f; }
.link-btn { background: none; border: 0; color: var(--green); text-decoration: underline; cursor: pointer; font-size: 13px; padding: 0; margin-top: 12px; }

/* campaign cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 18px; }
.card { background: white; border: 1px solid var(--line); border-radius: var(--radius-md); padding: 22px; display: flex; flex-direction: column; gap: 12px; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(16, 18, 15, 0.08); }
.card h3 { font-size: 19px; }
.card p { color: var(--muted); font-size: 14px; }
.card .meta { font-size: 12px; color: var(--muted); margin-top: auto; }
.card a.open { color: var(--green); font-weight: 800; font-size: 14px; }

.status, .pill { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; background: var(--green-light); color: #33501f; }
.pill { background: #eef0ea; color: #4a4f45; }
.pill.approved { background: var(--green-light); color: #33501f; }
.pill.pending { background: #fdf3dc; color: #7a5a12; }

.empty { background: white; border: 1px dashed var(--line); border-radius: var(--radius-md); padding: 48px 24px; text-align: center; color: var(--muted); }
.empty a { color: var(--green); font-weight: 700; }

/* campaign detail */
.back { display: inline-block; margin-bottom: 18px; color: var(--green); font-weight: 800; font-size: 14px; }
.detail { background: white; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; }
.detail h1 { font-size: clamp(24px, 4vw, 32px); margin: 10px 0 6px; }
.detail .brief { color: var(--muted); font-size: 15px; }
.section { margin-top: 30px; }
.section h2 { font-size: 17px; margin-bottom: 14px; }

.row { display: flex; align-items: center; gap: 14px; justify-content: space-between; border-top: 1px solid var(--line); padding: 13px 0; }
.row:first-of-type { border-top: 0; }
.row .who { font-weight: 650; }
.row .sub { font-size: 13px; color: var(--muted); }
.row .sub a { color: var(--green); font-weight: 700; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 14px; }
.stat { background: #fbfbf8; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 18px; }
.stat strong { display: block; font-size: 24px; letter-spacing: -0.03em; }
.stat span { display: block; margin-top: 6px; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; }

/* =========================================================
   FOOTER (same as main site)
   ========================================================= */
footer { background: var(--bg); color: white; padding: 0 0 25px; }
.footer-inner { background: var(--dark); border-radius: 32px; padding: 65px 45px 25px; overflow: hidden; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; padding-bottom: 55px; }
.footer-brand p { margin-top: 15px; max-width: 340px; color: rgba(255, 255, 255, 0.5); font-size: 13px; }
.footer-brand .logo { color: white; }
.footer-links { display: grid; grid-template-columns: repeat(4, minmax(100px, 1fr)); gap: 45px; flex: 1; max-width: 700px; }
.footer-col h4 { font-size: 11px; color: rgba(255, 255, 255, 0.4); text-transform: uppercase; letter-spacing: 0.1em; margin: 0 0 15px; }
.footer-col a { display: block; margin-bottom: 9px; font-size: 13px; color: rgba(255, 255, 255, 0.75); transition: color 0.2s ease; }
.footer-col a:hover { color: var(--lime); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 20px; display: flex; justify-content: space-between; gap: 20px; color: rgba(255, 255, 255, 0.35); font-size: 11px; }

/* =========================================================
   RESPONSIVE (mirrors the main site breakpoints)
   ========================================================= */
@media (max-width: 1100px) {
  .nav-links { gap: 22px; }
  .footer-links { gap: 28px; }
}
@media (max-width: 950px) {
  header { top: 12px; }
  .nav-links { display: none; }
  .menu-btn { display: block; }
  .footer-inner { border-radius: 28px; }
  .footer-top { flex-direction: column; }
  .footer-links { width: 100%; max-width: none; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 35px 45px; }
  .portal-main { padding-top: 104px; }
}
@media (max-width: 650px) {
  .container { width: min(var(--container), calc(100% - 28px)); }
  header { top: 10px; }
  .nav { height: 62px; padding: 0 10px 0 15px; border-radius: 16px; }
  .logo { font-size: 18px; }
  .logo-image { width: 30px; height: 30px; }
  .mobile-menu-container { width: min(var(--container), calc(100% - 28px)); }
  .mobile-menu { top: 8px; padding: 9px; border-radius: 16px; }
  .portal-main { padding-top: 96px; }
  .login { padding: 26px 20px; }
  .detail { padding: 22px 18px; }
  .footer-inner { padding: 45px 25px 25px; border-radius: 24px; }
  .footer-links { width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 35px 25px; }
  .footer-col a { font-size: 12px; }
  .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; gap: 10px; }
  .footer-bottom span:last-child { text-align: right; }
}
@media (max-width: 380px) {
  .footer-links { gap: 30px 18px; }
}

/* =========================================================
   V2 COMPONENTS
   ========================================================= */

/* toasts */
.toasts { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 9999;
  display: grid; gap: 8px; width: min(420px, calc(100% - 32px)); }
.toast { background: var(--dark); color: #fff; border-radius: 12px; padding: 12px 16px; font-size: 14px;
  font-weight: 650; box-shadow: 0 12px 30px rgba(16, 18, 15, .2);
  transition: opacity .3s ease, transform .3s ease; }
.toast.err { background: #8a1c1c; }
.toast.gone { opacity: 0; transform: translateY(8px); }

/* skeleton loaders */
.sk { display: grid; gap: 10px; padding: 6px 0; }
.sk-bar { height: 14px; border-radius: 8px;
  background: linear-gradient(90deg, #e9eae3 25%, #f3f4ee 37%, #e9eae3 63%);
  background-size: 400% 100%; animation: shimmer 1.3s ease infinite; }
.sk-bar.w40 { width: 40%; height: 22px; }
.sk-bar.w30 { width: 30%; height: 22px; }
@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: 0 0; } }

/* list head + search */
.list-head { display: flex; align-items: center; justify-content: space-between; gap: 14px;
  margin-bottom: 12px; flex-wrap: wrap; }
.list-head h2, .list-head h3 { margin: 0; }
.search { border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px; font: inherit;
  font-size: 14px; background: #fff; min-width: 210px; color: var(--text); }
.search:focus { outline: 2px solid var(--green); outline-offset: 1px; }

/* filter chips */
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.chip { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 7px 14px;
  font-size: 13px; font-weight: 750; cursor: pointer; color: var(--muted); }
.chip:hover { border-color: var(--green); color: var(--green); }
.chip.on { background: var(--dark); border-color: var(--dark); color: #fff; }

/* badges */
.badge { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .04em;
  padding: 4px 10px; border-radius: 999px; background: #eef0ea; color: #4a4f45; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }

/* content calendar */
.cal { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); padding: 6px 18px; }
.cal-row { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.cal-row:first-child { border-top: 0; }
.cal-date { width: 62px; font-weight: 800; font-size: 13px; color: var(--green); flex-shrink: 0; }
.cal-body { flex: 1; min-width: 0; }
.cal-body .who { font-weight: 650; }
.cal-body .sub { font-size: 13px; color: var(--muted); }

/* tabs */
.tabs { display: flex; gap: 6px; overflow-x: auto; margin: 20px 0 4px; padding-bottom: 4px;
  border-bottom: 1px solid var(--line); }
.tab { border: 0; background: transparent; padding: 10px 14px; font-size: 14px; font-weight: 750;
  color: var(--muted); cursor: pointer; border-radius: 10px 10px 0 0; white-space: nowrap; }
.tab:hover { color: var(--green); background: #f7f8f3; }
.tab.on { color: var(--dark); box-shadow: inset 0 -2px 0 var(--green); }
.tabpane { padding-top: 20px; }

/* panels / prose */
.panel { display: grid; gap: 18px; }
.prose p { color: var(--muted); font-size: 15px; }
.prose h3, .panel h3, .rblock h3 { font-size: 15px; margin: 10px 0 6px; }
.steps { display: flex; gap: 6px; flex-wrap: wrap; }
.step { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 750;
  color: var(--muted); background: #fbfbf8; border: 1px solid var(--line);
  border-radius: 999px; padding: 7px 13px; }
.step .dot { width: 8px; height: 8px; border-radius: 50%; background: #d8dad0; }
.step.on { color: #33501f; background: var(--green-light); border-color: #cddcbb; }
.step.on .dot { background: var(--green); }

/* creator cards */
.cgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.ccard { display: flex; align-items: center; gap: 14px; background: #fbfbf8;
  border: 1px solid var(--line); border-radius: var(--radius-md); padding: 16px; }
.avatar { width: 46px; height: 46px; border-radius: 14px; background: var(--green); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 15px; flex-shrink: 0; }
.cbody { flex: 1; min-width: 0; }
.cbody .who { font-weight: 750; }
.cbody .sub { font-size: 13px; color: var(--muted); }
.badges { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }

/* deliverable rows */
.rows { display: grid; }
.row.wrap { flex-wrap: wrap; }
.row-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.feedback { margin-top: 8px; font-size: 13px; color: #7a5a12; background: #fdf3dc;
  border-radius: 10px; padding: 8px 11px; }
.feedback-box { flex-basis: 100%; display: grid; gap: 8px; margin-top: 10px; }
.feedback-box textarea { width: 100%; border: 1px solid var(--line); border-radius: 12px;
  padding: 11px 13px; font: inherit; font-size: 14px; background: #fbfbf8; resize: vertical; }
.feedback-box textarea:focus { outline: 2px solid var(--green); outline-offset: 1px; }
.feedback-box .btn { justify-self: start; }

/* reports */
.chart-wrap { background: #fbfbf8; border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 18px; margin-bottom: 20px; }
.chart { width: 100%; height: auto; display: block; }
.rblock { border-top: 1px solid var(--line); padding-top: 18px; margin-top: 18px; }
.rblock:first-of-type { border-top: 0; margin-top: 0; }

/* messages */
.chat { display: grid; gap: 10px; max-height: 420px; overflow-y: auto; padding: 16px;
  background: #fbfbf8; border: 1px solid var(--line); border-radius: var(--radius-md); min-height: 180px; }
.bubble { max-width: 78%; padding: 10px 14px; border-radius: 16px; font-size: 14px; }
.btext { white-space: pre-wrap; word-break: break-word; }
.bubble.them { background: #fff; border: 1px solid var(--line); justify-self: start; border-bottom-left-radius: 5px; }
.bubble.me { background: var(--green); color: #fff; justify-self: end; border-bottom-right-radius: 5px; }
.bmeta { font-size: 11px; opacity: .7; margin-top: 5px; }
.chat-form { display: flex; gap: 10px; margin-top: 12px; }
.chat-form input { flex: 1; border: 1px solid var(--line); border-radius: 999px; padding: 12px 16px;
  font: inherit; font-size: 14px; background: #fff; color: var(--text); }
.chat-form input:focus { outline: 2px solid var(--green); outline-offset: 1px; }

@media (max-width: 650px) {
  .cal-date { width: 52px; }
  .row-actions { justify-content: flex-start; }
  .bubble { max-width: 88%; }
  .tab { padding: 9px 11px; font-size: 13px; }
  .search { width: 100%; min-width: 0; }
}

/* =========================================================
   V3 COMPONENTS
   ========================================================= */

/* sub nav */
.subnav { display: flex; gap: 6px; flex-wrap: wrap; margin: -6px 0 26px; }
.subnav-item { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
  font-size: 13.5px; font-weight: 750; color: var(--muted); }
.subnav-item:hover { border-color: var(--green); color: var(--green); }
.subnav-item.on { background: var(--dark); border-color: var(--dark); color: #fff; }

/* needs your attention */
.att { display: grid; gap: 8px; }
.att-row { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-md); padding: 14px 16px; transition: transform .2s ease, box-shadow .2s ease; }
.att-row:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(16, 18, 15, .07); }
.att-body { flex: 1; min-width: 0; }
.att-body .who { font-weight: 700; }
.att-body .sub { font-size: 13px; color: var(--muted); }
.att-go { color: var(--green); font-weight: 800; }
.muted-note { color: var(--muted); font-size: 13px; margin-top: 10px; }

/* requests */
.cardish { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); padding: 20px; }
.req-form { display: grid; gap: 10px; margin-top: 12px; }
.req-form input, .req-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 12px;
  padding: 12px 14px; font: inherit; font-size: 14px; background: #fbfbf8; color: var(--text); resize: vertical; }
.req-form input:focus, .req-form textarea:focus { outline: 2px solid var(--green); outline-offset: 1px; }
.req-form .btn { justify-self: start; }
.ref { font-size: 11px; font-weight: 800; letter-spacing: .06em; color: var(--green); background: var(--green-light);
  border-radius: 999px; padding: 3px 9px; margin-left: 6px; }

/* tasks checklist */
.tasks { display: grid; padding: 8px 20px; }
.task { display: flex; align-items: flex-start; gap: 12px; padding: 13px 0; border-top: 1px solid var(--line); }
.task:first-child { border-top: 0; }
.task .who { font-weight: 650; }
.task .sub { font-size: 13px; color: var(--muted); }
.tick { width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid var(--line); flex-shrink: 0;
  display: grid; place-items: center; font-size: 13px; font-weight: 800; color: var(--green); }
.task.done .tick { background: var(--green-light); border-color: var(--green); }
.task.done .who { text-decoration: line-through; color: var(--muted); }

/* assets */
.assets { display: grid; gap: 8px; }
.asset { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border: 1px solid var(--line);
  border-radius: var(--radius-sm); background: #fbfbf8; transition: border-color .2s ease; }
.asset:hover { border-color: var(--green); }
.asset-type { font-size: 10px; font-weight: 800; letter-spacing: .06em; background: var(--dark); color: #fff;
  border-radius: 8px; padding: 7px 9px; flex-shrink: 0; }

/* stage breakdown */
.stages { display: grid; gap: 10px; }
.stage { display: flex; align-items: center; gap: 12px; font-size: 13px; }
.stage-l { width: 96px; color: var(--muted); font-weight: 700; flex-shrink: 0; }
.stage-bar { flex: 1; height: 10px; border-radius: 999px; background: #eef0ea; overflow: hidden; }
.stage-bar i { display: block; height: 100%; background: var(--green); border-radius: 999px; transition: width .4s ease; }
.stage-n { width: 28px; text-align: right; font-weight: 800; }

/* activity feed */
.feed { display: grid; }
.feed-row { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.feed-row:first-child { border-top: 0; }
.feed-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); margin-top: 6px; flex-shrink: 0; }
.feed-row .who { font-weight: 600; font-size: 14px; }
.feed-row .sub { font-size: 12px; color: var(--muted); }

/* login alternate actions */
.login-alt { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* =========================================================
   ADMIN
   ========================================================= */
.hr-right { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.adminbar { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 6px; }
.adminbar .af { min-width: 220px; flex: 1; }
.af { display: grid; gap: 6px; }
.af > span { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.af input, .af textarea, .af select { width: 100%; border: 1px solid var(--line); border-radius: 12px;
  padding: 11px 13px; font: inherit; font-size: 14px; background: #fbfbf8; color: var(--text); }
.af input:focus, .af textarea:focus, .af select:focus { outline: 2px solid var(--green); outline-offset: 1px; }
.af textarea { resize: vertical; }
.amain { margin-top: 18px; }
.alist { display: grid; gap: 8px; }
.arow { display: flex; align-items: center; gap: 14px; background: #fbfbf8; border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 12px 14px; }
.ah3 { font-size: 15px; margin: 24px 0 12px; }
.aform { display: grid; gap: 12px; max-width: 640px; }
.aform .btn { justify-self: start; }

@media (max-width: 650px) {
  .arow { flex-wrap: wrap; }
  .adminbar .af { min-width: 100%; }
}

