/* AI美语私教 内容后台：照公司后台（MeishengAdmin）的样子做（UI设计 11-10《美语私教后台对照》，Design 仓库 b9723ac，M09–M85）。
   框里（maetutor-cms.meisheng.us 嵌在 meisheng.us 后台右边）和单开都用这一份；没有外部字体和框架；跟着系统深浅色。
   颜色、尺寸变量（:root，浅色一块、深色一块）在 tokens.css：那份从公司后台原样拷来（tests/test_cms_tokens_sync.py 比对 sha256），
   页面先引它再引这份。这里只用那些变量，不写色值；要加颜色先问 UI设计。
   手机：框里的页面量的是框宽（窗口宽减左边菜单 240），框宽 660 以下算手机（M74，900 − 240）。 */

* { box-sizing: border-box; }
/* 1rem 固定 16px（M11）：James 浏览器调大字号时，框里和框外一样大 */
html { -webkit-text-size-adjust: 100%; font-size: 16px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.5 -apple-system, BlinkMacSystemFont, "PingFang SC", "Noto Sans CJK SC", "Microsoft YaHei", system-ui, sans-serif;
}
/* 带 hidden 的一律藏住：下面不少规则写了 display，会盖过浏览器自带的 [hidden] */
[hidden] { display: none !important; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1 { font-size: 1.45rem; margin: 0.2rem 0 0.8rem; line-height: 1.3; }
h2 { font-size: 1.1rem; margin: 1.4rem 0 0.6rem; }
h3 { font-size: 1rem; margin: 1rem 0 0.4rem; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.9em; overflow-wrap: anywhere; }
pre { white-space: pre-wrap; overflow-wrap: anywhere; background: var(--panel); padding: 0.6rem; border-radius: var(--radius);
  border: 1px solid var(--line); }

/* ---- 顶栏：只在单开时画（嵌在框里时左边已经有菜单，base.html 不画） ---- */
.topbar { background: var(--panel); border-bottom: 1px solid var(--line); }
.topbar-inner { max-width: 1040px; margin: 0 auto; padding: 0 1.5rem; min-height: 52px; display: flex; flex-wrap: wrap;
  align-items: center; gap: 0 1.5rem; }
.brand { font-size: 1.1rem; font-weight: 600; color: var(--text); }
.brand:hover { text-decoration: none; }
.topnav { display: flex; flex-wrap: wrap; gap: 0 1.1rem; }
.topnav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); }
.topnav a:hover { color: var(--accent); text-decoration: none; }
/* 「反馈」待处理数（数字由 app.js 填，0 时 hidden）：照公司后台底部标签的红色数字（M56） */
.nav-badge { display: inline-block; min-width: 20px; height: 20px; margin-left: 4px; padding: 0 5px; border-radius: 999px;
  background: var(--danger); color: var(--on-danger); font-size: 13px; line-height: 20px; text-align: center;
  font-variant-numeric: tabular-nums; }
.topbar-user { margin-left: auto; display: flex; align-items: center; gap: 0.6rem; white-space: nowrap; }
.topbar-user button.link { min-height: 44px; padding: 0 0.3rem; }

/* ---- 内容区（M80）、面包屑（M77）、页头（M75） ---- */
.content { max-width: 1040px; margin: 0 auto; padding: 1.5rem 1.5rem 3rem; }
.crumbs { margin: 0 0 0.3rem; font-size: 0.9rem; color: var(--muted); }
.crumbs .sep { margin: 0 0.35rem; }
.page-head { display: flex; align-items: flex-start; gap: 0.8rem; flex-wrap: wrap; justify-content: space-between; }
.page-head > div:first-child { flex: 1 1 22rem; min-width: 0; }
.page-head h1 { margin-bottom: 0.6rem; }
/* h1 下面一行说明（照公司后台 .h1-sub） */
.page-head h1:has(+ p) { margin-bottom: 0.15rem; }
.page-head p { margin: 0 0 0.6rem; font-size: 0.9rem; color: var(--muted); line-height: 1.5; }
.page-head h1 .badge { vertical-align: 0.2em; }
/* 右上角的按钮：次要的在左，主要的（实心）在最右 */
.page-head .actions { display: flex; gap: 0.5rem; flex-wrap: wrap; align-items: center; margin: 0.2rem 0 0.8rem; }

/* ---- 卡片（M57、M58）：美语私教的一张卡是一整段（标题、表格、表单），内边距照公司后台 .side-panel ---- */
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 0.2rem 0.9rem 0.9rem;
  margin-bottom: 1.2rem; }
.card > :first-child:not(.card-head) { margin-top: 0.7rem; }
.card-head { margin: 0.7rem 0 0.6rem; }
.card-head h2 { margin: 0; }
.card-head p, .card-head > .muted { display: block; margin: 0.15rem 0 0; font-size: 0.9rem; color: var(--muted); }

.muted { color: var(--muted); }
.small { font-size: 13px; }
/* 列表空的时候（M34） */
.empty { margin: 0.4rem 0 0; padding: 1.3rem 1rem; text-align: center; color: var(--muted); background: var(--panel);
  border: 1px dashed var(--line); border-radius: var(--radius); }

/* ---- 表格（M27–M33）：只画行与行之间的线 ---- */
.table-wrap { overflow-x: auto; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
/* 放在卡片里时外框靠卡片，不画两层框；表格撑满卡片的宽 */
.card .table-wrap { background: transparent; border: 0; border-radius: 0; margin: 0 -0.9rem; }
.card .table-wrap:last-child { margin-bottom: -0.9rem; }
.card .table-wrap table.list tr:last-child td:first-child { border-bottom-left-radius: var(--radius); }
.card .table-wrap table.list tr:last-child td:last-child { border-bottom-right-radius: var(--radius); }
table.list { width: 100%; border-collapse: collapse; }
table.list th, table.list td { text-align: left; padding: 0.5rem 0.7rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.card .table-wrap table.list th:first-child, .card .table-wrap table.list td:first-child { padding-left: 0.9rem; }
.card .table-wrap table.list th:last-child, .card .table-wrap table.list td:last-child { padding-right: 0.9rem; }
table.list th { font-size: 0.85rem; color: var(--muted); font-weight: 600; background: var(--bg); white-space: nowrap; }
table.list tr:last-child td { border-bottom: 0; }

.row-title { font-weight: 600; }
.col-id { width: 3.5rem; text-align: center; white-space: nowrap; }
.col-num { width: 6rem; text-align: center; white-space: nowrap; }
.col-ops { width: 1%; white-space: nowrap; }
table.list .col-id, table.list .col-num { text-align: center; }
/* 短的一格（用户名、角色这类）不折行：中文每个字都能断，表一挤就竖成一个字一行 */
.nowrap { white-space: nowrap; }
/* 每行的「管理」「编辑」「删除」是文字键（M23），点按区高 44 */
td.col-ops { padding-top: 0; padding-bottom: 0; }
td.col-ops > a, td.col-ops > button.link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.3rem; }
td.col-ops > a:hover { text-decoration: underline; }

.sentence-table .cell-en { min-width: 220px; }
.sentence-table .cell-zh { min-width: 160px; }
/* /go/sentence 直达落点：命中的句子行用菜单当前项那种淡底（M32） */
.sentence-table tr:target > td { background: var(--accent-soft); }
.cell-audio audio { width: 220px; height: 36px; vertical-align: middle; }

/* ---- 状态胶囊（M46–M52） ---- */
.badge { display: inline-block; font-size: 13px; padding: 0.08rem 0.45rem; border-radius: 999px; background: var(--muted-tint);
  color: var(--muted); white-space: nowrap; vertical-align: middle; font-weight: 500; }
/* 无、已忽略、已过期、已停用的「默认」之外；私有课程也用灰（规范不用紫，M52） */
.badge-none, .badge-dismissed, .badge-private { background: var(--muted-tint); color: var(--muted); }
/* 待处理、待改密：橙 */
.badge-pending { background: var(--warn-soft); color: var(--warn); }
/* 生成中：主色 */
.badge-generating { background: var(--accent-tint); color: var(--accent); }
/* 已生成、已解决、已接受、正常：绿 */
.badge-ready, .badge-resolved { background: var(--ok-soft); color: var(--ok); }
/* 失败、已停用、已撤销：红 */
.badge-failed { background: var(--danger-tint); color: var(--danger); cursor: help; }

/* ---- 知识 chips：纯标签 + 原子引用（M53–M55） ---- */
.chip-row { display: flex; flex-wrap: wrap; gap: 0.3rem; margin-top: 0.3rem; }
.chip { display: inline-flex; align-items: center; gap: 0.2rem; font-size: 13px; line-height: 1.4; padding: 0.08rem 0.45rem;
  border-radius: 999px; font-weight: 500; white-space: nowrap; vertical-align: middle; }
/* 纯标签（只用来筛选的字）：照公司后台 .tag，方角，跟原子胶囊分开 */
.chip-tag { background: var(--accent-soft); color: var(--text); border-radius: 4px; font-weight: 400; }
/* 五类原子（UI设计 11-10 定）：词 主色，短语 绿，句型 橙，词素和音素 灰，靠胶囊上的字区分；不用紫、青，红只表示出错 */
.chip-word { background: var(--accent-tint); color: var(--accent); }
.chip-phrase { background: var(--ok-soft); color: var(--ok); }
.chip-pattern { background: var(--warn-soft); color: var(--warn); }
.chip-morpheme, .chip-phoneme { background: var(--muted-tint); color: var(--muted); }
/* chip 里的 ×（解除句子 → 原子引用）：画得小，点按区往外撑到 44 左右；悬停变红 */
button.chip-remove { position: relative; display: inline; min-height: 0; margin: 0; padding: 0 0 0 0.15rem; border: 0;
  background: none; color: inherit; font-size: 1.05rem; line-height: 1; cursor: pointer; }
button.chip-remove::after { content: ""; position: absolute; inset: -0.75rem -0.6rem; }
button.chip-remove:hover { color: var(--danger); }

/* ---- 按钮（M19–M25）：照公司后台 button / .button、.primary、.danger、.link ---- */
button, .button {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.35rem; cursor: pointer;
  font: inherit; line-height: 1.2; min-height: var(--control-h);
  padding: 0.45rem 0.95rem; border-radius: 6px;
  border: 1px solid var(--line); background: var(--panel); color: var(--text);
}
button:hover, .button:hover { border-color: var(--accent); text-decoration: none; }
button:disabled { opacity: 0.55; cursor: default; }
.primary { background: var(--accent-fill); border-color: var(--accent-fill); color: var(--on-accent); font-weight: 600; }
.primary:hover { filter: brightness(1.05); }
button.danger, .button.danger { color: var(--danger); border-color: var(--danger); background: transparent; }
button.link { border: 0; background: none; padding: 0; min-height: 0; color: var(--accent); display: inline; }
button.link.danger { color: var(--danger); }
button.link:hover:not(:disabled) { text-decoration: underline; }

/* ---- 表单（M35–M44） ---- */
input, select, textarea {
  font: inherit; color: var(--text); background: var(--panel);
  border: 1px solid var(--line); border-radius: 6px;
  padding: 0.45rem 0.55rem; width: 100%; max-width: 100%;
}
input:not([type="checkbox"]):not([type="radio"]):not([type="file"]), select { min-height: var(--control-h); }
input[type="checkbox"], input[type="radio"] { width: auto; }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus, button:focus-visible, a:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 1px;
}

/* 一行排开的表单：项名在框上面，次要字（照公司后台 label） */
.inline-form { display: flex; flex-wrap: wrap; gap: 0.8rem 1rem; align-items: flex-end; margin-top: 0.5rem; }
.inline-form > label, .field { display: flex; flex-direction: column; gap: 0.25rem; }
.inline-form > label { flex: 0 1 14rem; min-width: 10rem; }
.inline-form > label.grow { flex: 1 1 14rem; }
.inline-form > label:has(> input[type="number"]), .inline-form > label:has(> input[type="date"]) { flex: 0 1 10rem; }
.inline-form > input { flex: 1 1 12rem; width: auto; min-width: 10rem; }
.inline-form label > span, .field > span, .knowledge-label, .edit-label { font-size: 0.92rem; color: var(--muted); }
/* 必填的只在名字前面标红色 *，不另写「必填」（M43，UI设计 第十五节）；登录、改密码这类每格都要填的小表单不标 */
form:not(.auth-form) label:has(> :is(input, select, textarea):required) > span:first-child::before {
  content: "*"; color: var(--danger); margin-right: 0.2em;
}

/* 竖排的表单（照公司后台 .stack） */
.stack-form { display: grid; gap: 0.9rem; margin-top: 0.5rem; }
.stack-form > button, .stack-form > .button { justify-self: start; }
.field { min-width: 0; }

/* 勾选（照公司后台 label.check） */
.check-label { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--text); cursor: pointer; white-space: nowrap; }

/* ---- 登录、改密码、注册页 ---- */
.auth-card { max-width: 26rem; margin: 2rem auto 0; }
.auth-form > button[type="submit"] { justify-self: stretch; }

/* ---- 提示条（M62–M70） ---- */
.error { margin: 0; background: var(--danger-soft); color: var(--danger); padding: 0.6rem 0.8rem; border-radius: var(--radius); }
.notice { margin: 0; background: var(--ok-soft); color: var(--ok); padding: 0.6rem 0.8rem; border-radius: var(--radius); }
.warn { background: var(--warn-soft); color: var(--warn); padding: 0.5rem 0.8rem; border-radius: var(--radius); }
/* 表单上面的报错（app.js 放的）和表单之间空一点 */
.error + form, .error + .inline-form { margin-top: 0.5rem; }
td .error { display: inline-block; padding: 0.15rem 0.5rem; border-radius: 6px; }
/* 做完一件事的一句提示：浮在页面底部中间，几秒后自己消失（app.js，照公司后台 .flash）；出错的边是红的 */
.flash { position: fixed; z-index: 50; left: 50%; bottom: 1.25rem; transform: translateX(-50%);
  display: flex; align-items: center; gap: 0.8rem; max-width: min(92vw, 34rem); padding: 0.6rem 0.6rem 0.6rem 1rem;
  background: var(--panel); color: var(--text); border: 1px solid var(--ok); border-left: 4px solid var(--ok);
  border-radius: var(--radius); box-shadow: var(--shadow); transition: opacity 0.3s ease, transform 0.3s ease; }
.flash.gone, .flash-bar.gone { opacity: 0; transform: translate(-50%, 0.6rem); pointer-events: none; }
/* 表格行操作出错：就是上面那个 .error 提示条，浮在底部；外层只垫一层卡片底（.error 的淡红是半透明的） */
.flash-bar { position: fixed; z-index: 50; left: 50%; bottom: 1.25rem; transform: translateX(-50%); width: max-content;
  max-width: min(92vw, 34rem); background: var(--panel); border-radius: var(--radius); box-shadow: var(--shadow);
  transition: opacity 0.3s ease, transform 0.3s ease; }
.flash-bar .error { display: flex; align-items: center; gap: 0.8rem; padding-right: 0.4rem; }
.flash-bar .flash-close { color: inherit; }
.flash-text { white-space: pre-line; overflow-wrap: anywhere; }
.flash-close { min-height: 0; padding: 0.2rem 0.55rem; border: 0; background: transparent; color: var(--muted); font-size: 1.15rem; line-height: 1; }
/* 有后果的操作先问一句（M71）：页面正中间，照公司后台 dialog.confirm-dialog */
dialog.confirm-dialog { width: min(24rem, calc(100vw - 2rem)); padding: 1.1rem 1.2rem 0.9rem; color: var(--text);
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); margin: auto; }
dialog.confirm-dialog::backdrop { background: rgba(0, 0, 0, 0.35); }
dialog.confirm-dialog .confirm-text { margin: 0 0 1rem; line-height: 1.6; white-space: pre-line; overflow-wrap: anywhere; }
dialog.confirm-dialog .dialog-actions { display: flex; justify-content: flex-end; align-items: center; gap: 0.6rem; margin: 0; }
dialog.confirm-dialog .dialog-actions button.link { min-height: 44px; padding: 0 0.6rem; }

/* ---- 导入页（M44、M67–M69） ---- */
.file-picker { border: 1px solid var(--line); border-radius: var(--radius); padding: 0.5rem 0.9rem 0.6rem; margin: 0; min-width: 0; }
.file-picker legend { font-size: 0.92rem; color: var(--muted); padding: 0 0.3rem; }
.file-list { display: flex; flex-direction: column; color: var(--muted); }
.file-list label { display: flex; align-items: center; gap: 0.5rem; min-height: 44px; color: var(--text); cursor: pointer; }
.import-result .notice { margin-bottom: 0.5rem; }
.import-result pre { margin: 0; }
.import-warn-head { margin: 0.7rem 0 0.3rem; color: var(--warn); }
.import-warnings { margin: 0; padding-left: 1.25rem; }
.import-warnings li { margin: 0.2rem 0; }

/* ---- 音频队列状态条（M63–M66） ---- */
.queue-status { margin: 0 0 1.2rem; padding: 0.7rem 0.9rem; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--panel); color: var(--muted); }
.queue-status.busy { background: var(--warn-soft); color: var(--warn); border-color: transparent; }
.queue-status.dead { background: var(--danger-soft); color: var(--danger); border-color: transparent; }
/* 本机没有 Kokoro 合成器（Linux 服务器的常态）：陈述事实，不是报警 */
.queue-status.unsupported { background: var(--panel); color: var(--muted); }

/* ---- 表格行里展开的编辑区（句子「知识」区、四级「编辑」区；M33、M60） ---- */
.knowledge-row > td, .edit-row > td { background: var(--bg); }
.knowledge-panel, .edit-panel { display: flex; flex-direction: column; gap: 0.8rem; padding: 0.3rem 0; }
.knowledge-block { display: flex; flex-direction: column; gap: 0.3rem; }
.knowledge-line { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; align-items: center; }
.knowledge-line .grow { flex: 1 1 260px; min-width: 200px; width: auto; }
.knowledge-line select { width: auto; }

/* ---- 原子库、反馈：筛选页签（M83）和搜索（M45） ---- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 0.6rem 1rem; align-items: center; justify-content: space-between; }
.tabs { display: flex; gap: 0.3rem; flex-wrap: wrap; margin: 0.4rem 0 1rem; }
.filter-bar .tabs { margin: 0; }
.tabs a { position: relative; padding: 0.35rem 0.7rem; border-radius: 999px; border: 1px solid var(--line); background: var(--panel);
  color: var(--text); }
/* 胶囊画 38 高，点按区往上下撑到 44（M82） */
.tabs a::after { content: ""; position: absolute; inset: -0.2rem 0; }
.tabs a:hover { border-color: var(--accent); text-decoration: none; }
.tabs a[aria-current="page"] { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.search-form { display: flex; gap: 0.5rem; flex: 1 1 18rem; max-width: 30rem; }
.search-form input { flex: 1 1 auto; width: auto; min-width: 0; }

/* ---- 原子详情、标志卡：信息表（M59、M61） ---- */
dl.facts { display: grid; grid-template-columns: max-content 1fr; gap: 0.35rem 1rem; margin: 0.3rem 0 0; }
dl.facts dt { color: var(--muted); }
dl.facts dd { margin: 0; overflow-wrap: anywhere; }
.sign-card-body { display: flex; gap: 1.2rem; align-items: flex-start; flex-wrap: wrap; }
.sign-card-body .facts { flex: 1 1 280px; }
.sign-card-thumb { display: block; max-width: 180px; max-height: 180px; border: 1px solid var(--line); border-radius: 8px;
  background: var(--bg); }

/* 句子行的两条音轨：旧音频、付费各占一行 */
.track-status { display: flex; align-items: center; gap: 0.4rem; white-space: nowrap; }
.track-status + .track-status { margin-top: 0.25rem; }
.track-label { min-width: 3.2em; font-size: 13px; color: var(--muted); }

/* ---- 隐私政策公开页（给 App 用户在手机浏览器里看，不套后台的 base.html；M84） ---- */
.policy { max-width: 720px; margin: 0 auto; padding: 24px 16px 48px; line-height: 1.75; }
.policy h1 { font-size: 1.6rem; margin: 0 0 12px; }
.policy h2 { font-size: 1.15rem; margin: 28px 0 8px; }
.policy ul { padding-left: 1.3em; margin: 8px 0; }
.policy li { margin: 4px 0; }
.policy-note { color: var(--warn); background: var(--warn-soft); border-radius: 6px; padding: 6px 10px; }

/* ---- 手机：框宽 660 以下（M74） ---- */
@media (max-width: 659px) {
  /* iPhone 的 Safari 遇到小于 16px 的输入框，一点就把整页放大；16px 就不会（M39） */
  input, select, textarea { font-size: 16px; }
  .content { padding: 1rem 1rem 2.5rem; }
  .topbar-inner { padding: 0 1rem; }
  .card { padding: 0.2rem 0.75rem 0.75rem; }
  .card .table-wrap { margin: 0 -0.75rem; }
  .card .table-wrap:last-child { margin-bottom: -0.75rem; }
  .card .table-wrap table.list th:first-child, .card .table-wrap table.list td:first-child { padding-left: 0.75rem; }
  .card .table-wrap table.list th:last-child, .card .table-wrap table.list td:last-child { padding-right: 0.75rem; }
  /* 行内表单一格一行竖排（M37、M40，UI设计 第十五节） */
  .inline-form { flex-direction: column; align-items: stretch; }
  .inline-form > label, .inline-form > label.grow, .inline-form > input { flex: none; min-width: 0; }
  .inline-form > button { align-self: flex-start; }
  .search-form { max-width: none; }
  /* 用户表、句子表一条一张卡片（UI设计 第十五节，照公司后台规范第五节）：不左右滑。
     第一行用户名或英文句子（.card-title，序号在它前面），下面几行要紧字段（带 data-label 的写上名字），操作在卡片底 */
  .table-wrap:has(> table.cards) { overflow: visible; }
  .card .table-wrap:has(> table.cards) { margin: 0; }
  table.cards thead { display: none; }
  table.cards, table.cards tbody { display: block; width: 100%; }
  table.cards tr { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.2rem 0.6rem; margin-bottom: 0.6rem;
    padding: 0.55rem 0.75rem 0; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
  .card table.cards tr:last-child { margin-bottom: 0; }
  table.cards td, .card .table-wrap table.cards td:first-child, .card .table-wrap table.cards td:last-child {
    display: block; width: auto; padding: 0; border: 0; text-align: left; }
  table.cards td.col-id { order: 0; color: var(--muted); }
  table.cards td.card-title { order: 1; flex: 1 1 calc(100% - 3rem); min-width: 0; }
  table.cards td[data-label] { order: 2; flex: 1 1 100%; min-width: 0; }
  table.cards td[data-label]::before { content: attr(data-label) "："; color: var(--muted); font-size: 0.82rem; }
  table.cards td.col-ops { order: 3; flex: 1 1 100%; margin-top: 0.3rem; border-top: 1px solid var(--line); }
  table.cards td.col-ops > a:first-child, table.cards td.col-ops > button.link:first-child { padding-left: 0; }
  table.cards td .track-status { display: inline-flex; margin: 0 0.6rem 0 0; }
  table.cards .cell-audio audio { width: 100%; max-width: 20rem; }
  table.cards .cell-en, table.cards .cell-zh { min-width: 0; }
  /* 展开的编辑区、知识区也是一张卡，占满宽 */
  table.cards tr.edit-row, table.cards tr.knowledge-row { padding-bottom: 0.55rem; }
  table.cards tr.edit-row > td, table.cards tr.knowledge-row > td { flex: 1 1 100%; background: transparent; }
  .page-head > div:first-child { flex-basis: 100%; }
}
