/* ============================================================
   公版業績日報系統 — style.css
   視覺風格基準:東站靜態報表 + 既有 PWA / 手機體驗
   ============================================================ */

/* ============================================================
   墨凡 2024 官方品牌色系
   來源:墨凡品牌Logo＿2024版.ai (page 11 色盤,逐像素取色)
   #393C3D = 深墨炭     #677070 = 墨灰主色
   #FCFAF9 = 暖白底色   #FFFDFE = 純白(略粉)
   參考調性:沉穩、低彩度、極簡留白
   ============================================================ */
:root {
  /* — 4 個官方色 — */
  --brand-charcoal: #393C3D;   /* 官方深墨 */
  --brand-slate:    #677070;   /* 官方墨灰 */
  --brand-cream:    #FCFAF9;   /* 官方暖白 */
  --brand-snow:     #FFFDFE;   /* 官方純白 */

  /* — 應用色 — */
  --bg:           var(--brand-cream);
  --panel:        var(--brand-snow);
  --ink:          var(--brand-charcoal);
  --ink-soft:     #4a4d4e;
  --muted:        #767a7c;
  --muted-soft:   #a5a8aa;
  --line:         #e8e4df;
  --line-strong:  #c8c4be;

  /* 主色:墨灰 */
  --accent:       var(--brand-slate);
  --accent-soft:  #e8ebeb;
  --accent-deep:  #4d5556;
  --accent-faint: #f1f0ee;

  /* 第二色:暖駝(取自 mofan.co.com,搭配 subtitle/hover) */
  --warm:         #c0a39c;
  --warm-soft:    #f1eae6;
  --warm-deep:    #a08278;

  /* 功能色(非品牌色但 UI 必要) */
  --warn:         #C85A56;     /* 取自 mofan.co.com 警示色 */
  --warn-soft:    #fbeae9;
  --neg:          #b91c1c;
  --neg-soft:     #fee2e2;
  --pos:          #5a7a5e;
  --pos-soft:     #e8efe9;

  /* Topbar:深墨炭 */
  --header-bg:    var(--brand-charcoal);
  --header-fg:    #ffffff;
  --header-muted: #b0b3b4;

  --radius-sm: 4px;
  --radius:    8px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 2px rgba(57,60,61,.04);
  --shadow:    0 4px 14px rgba(57,60,61,.08);
  --shadow-lg: 0 24px 60px rgba(57,60,61,.18);
}

* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  background: var(--bg); color: var(--ink);
  font-family: "Noto Sans TC", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang TC", "Microsoft JhengHei", Arial, sans-serif;
  font-size: 15px; line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "tnum";
}
input, select, textarea, button { font: inherit; color: inherit; }
button { cursor: pointer; }
.hidden { display: none !important; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }

/* iOS notch / Android safe area */
body {
  padding: env(safe-area-inset-top) env(safe-area-inset-right)
           env(safe-area-inset-bottom) env(safe-area-inset-left);
}
* { -webkit-tap-highlight-color: transparent; }
a, button, .btn, .ctab, .landing-stall {
  -webkit-tap-highlight-color: rgba(15, 118, 110, .15);
}

/* Splash */
.splash {
  position: fixed; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 14px; background: var(--bg); z-index: 99;
}

/* ============================================================
   Topbar
   ============================================================ */
.topbar {
  background: var(--header-bg); color: var(--header-fg);
  padding: 12px 18px;
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  position: sticky; top: 0; z-index: 30;
  box-shadow: 0 1px 3px rgba(0,0,0,.15);
  padding-top: max(12px, env(safe-area-inset-top));
}
.brand { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 16px; }
.brand-icon { font-size: 20px; }
.brand-sub { color: var(--header-muted); font-size: 12px; margin-left: 8px; }
.navbar { display: flex; gap: 4px; flex-wrap: wrap; flex: 1; }
.navbar a {
  color: #cbd5e1; text-decoration: none;
  padding: 7px 14px; border-radius: 6px;
  font-size: 14px; transition: background .12s;
}
.navbar a:hover { background: rgba(255,255,255,.08); color: #fff; }
.navbar a.active { background: rgba(255,255,255,.18); color: #fff; font-weight: 600; }
.user-area { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--header-muted); }
.user-label { max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

@media (max-width: 640px) {
  .topbar { padding: 10px 12px; gap: 10px; padding-top: max(10px, env(safe-area-inset-top)); }
  .brand-text { font-size: 14px; }
  .brand-sub { display: none; }
  .navbar { order: 3; width: 100%; border-top: 1px solid rgba(255,255,255,.08); padding-top: 8px; }
  .navbar a { padding: 6px 10px; font-size: 13px; }
}

/* ============================================================
   View container
   ============================================================ */
.view {
  max-width: 1400px; margin: 0 auto;
  padding: 18px; padding-bottom: 80px;
}
@media (max-width: 640px) { .view { padding: 12px; padding-bottom: 80px; } }

/* ============================================================
   Panels (card)
   ============================================================ */
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
}
.panel-title {
  margin: 0 0 12px;
  font-size: 15px; font-weight: 600;
  display: flex; align-items: center; gap: 8px;
}
.panel-title .hint { font-weight: 400; font-size: 12px; color: var(--muted); }
.panel-title .actions { margin-left: auto; display: flex; gap: 6px; align-items: center; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  appearance: none;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  padding: 8px 14px; border-radius: 8px;
  font-size: 14px; font-weight: 500;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  transition: all .12s; text-decoration: none;
  min-height: 38px; white-space: nowrap;
}
.btn:hover { border-color: var(--line-strong); background: #f8fafc; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
.btn-danger { background: #fff; color: var(--neg); border-color: var(--neg-soft); }
.btn-danger:hover { background: var(--neg-soft); }
.btn-ghost { background: transparent; border-color: transparent; color: inherit; }
.btn-ghost:hover { background: rgba(0,0,0,.05); }
.topbar .btn-ghost { color: #cbd5e1; }
.topbar .btn-ghost:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn-block { width: 100%; }
.btn-sm { padding: 5px 10px; font-size: 13px; min-height: 32px; }

/* ============================================================
   Forms
   ============================================================ */
.field { margin-bottom: 14px; }
.field-label {
  display: block; font-size: 13px;
  color: var(--muted); margin-bottom: 5px; font-weight: 500;
}
.field-label .required { color: var(--neg); margin-left: 2px; }
.input, .select {
  width: 100%; padding: 9px 12px;
  border: 1px solid var(--line); border-radius: 8px;
  background: #fff; font-size: 15px;
  font-variant-numeric: tabular-nums; min-height: 42px;
}
.input:focus, .select:focus {
  outline: 0;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.input[type=number] { text-align: right; }
.input.large { font-size: 18px; font-weight: 600; text-align: right; }
.field-hint { font-size: 11px; color: var(--muted); margin-top: 4px; }

.grid { display: grid; gap: 12px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 640px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
}

/* ============================================================
   KPI cards
   ============================================================ */
.kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}
.kpi {
  background: #fafbfc; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 12px 14px;
}
.kpi .lbl { font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.kpi .val {
  font-size: 20px; font-weight: 600;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}
.kpi .sub { font-size: 11px; color: var(--muted); margin-top: 2px; }
.kpi.accent  { background: var(--accent-faint); border-color: var(--accent-soft); }
.kpi.accent .val { color: var(--accent-deep); }
.kpi.warn    { background: var(--warn-soft); border-color: #fde68a; }
.kpi.warn .val { color: var(--warn); }
.kpi.pos     { background: var(--pos-soft); border-color: #bbf7d0; }
.kpi.pos .val { color: var(--pos); }
.kpi.neg     { background: var(--neg-soft); border-color: #fecaca; }
.kpi.neg .val { color: var(--neg); }

/* ============================================================
   Tables
   ============================================================ */
.table-wrap {
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line); border-radius: var(--radius);
}
table.data {
  width: 100%; border-collapse: collapse;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  background: #fff;
}
table.data th, table.data td {
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
  text-align: right; white-space: nowrap;
}
table.data th {
  background: #f8fafc; color: var(--muted);
  font-weight: 600;
  position: sticky; top: 0; z-index: 1;
}
table.data th:first-child, table.data td:first-child { text-align: left; }
table.data tr.zero td { color: #9ca3af; }
table.data tr.sum { background: var(--accent-faint); font-weight: 600; }
table.data tr.sum td {
  border-top: 2px solid var(--accent);
  color: var(--ink);
}
table.data tr.section td {
  background: #f1f5f9; font-weight: 600;
  color: var(--ink); text-align: left;
}
table.data tr:hover td { background: #f8fafc; }
table.data tr.editable { cursor: pointer; }
table.data tr.sum:hover td { background: var(--accent-faint); }
table.data td.neg { color: var(--neg); }
table.data td.pos { color: var(--pos); }

/* ============================================================
   Status pill
   ============================================================ */
.pill {
  display: inline-block;
  padding: 2px 9px; border-radius: 999px;
  font-size: 11px; font-weight: 500;
}
.pill-ok    { background: var(--accent-soft); color: var(--accent-deep); }
.pill-warn  { background: var(--warn-soft);   color: var(--warn); }
.pill-muted { background: #f1f5f9;            color: var(--muted); }
.pill-neg   { background: var(--neg-soft);    color: var(--neg); }

/* ============================================================
   Calc summary box
   ============================================================ */
.calc-box {
  background: #f8fafc; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 14px; margin-bottom: 14px;
}
.calc-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 4px 0; font-size: 14px;
}
.calc-row .label { color: var(--muted); }
.calc-row .value { font-variant-numeric: tabular-nums; font-weight: 500; }
.calc-row.total {
  font-size: 18px; font-weight: 600;
  border-top: 2px solid var(--line);
  margin-top: 6px; padding-top: 8px;
}
.calc-row.total .value { color: var(--accent); }

/* ============================================================
   Stall list cards (grid)
   ============================================================ */
.stall-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 10px;
}
.stall-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px;
  cursor: pointer; transition: all .12s;
  text-decoration: none; color: inherit;
  display: block;
}
.stall-card:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}
.stall-card .name { font-weight: 600; font-size: 14px; margin-bottom: 6px; color: var(--ink); }
.stall-card .total {
  font-size: 22px; color: var(--accent); font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.stall-card .meta-row {
  display: flex; justify-content: space-between;
  font-size: 11px; color: var(--muted); margin-top: 8px;
}
.stall-card .progress {
  height: 4px; background: #e5e7eb;
  border-radius: 2px; margin-top: 8px; overflow: hidden;
}
.stall-card .progress-bar {
  height: 100%; background: var(--accent); transition: width .3s;
}
.stall-card .progress-bar.warn { background: var(--warn); }
.stall-card .progress-bar.pos  { background: var(--pos); }

/* ============================================================
   Chart
   ============================================================ */
.chart { width: 100%; height: 240px; display: block; }
.chart-wrap { position: relative; }

/* ============================================================
   Modal
   ============================================================ */
.modal {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center; padding: 16px;
}
.modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(15,23,42,.5);
  backdrop-filter: blur(2px);
}
.modal-body {
  position: relative; background: #fff; border-radius: var(--radius-lg);
  max-width: 600px; width: 100%; max-height: 85vh; overflow: auto;
  box-shadow: 0 25px 60px rgba(0,0,0,.3);
}
.modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px; border-bottom: 1px solid var(--line);
  position: sticky; top: 0; background: #fff; z-index: 1;
}
.modal-header h3 { margin: 0; font-size: 16px; }
.modal-body > div:last-child { padding: 18px; }

/* ============================================================
   Toast
   ============================================================ */
.toast {
  position: fixed; bottom: 20px; left: 50%;
  transform: translateX(-50%);
  background: #393C3D; color: #fff;
  padding: 10px 18px; border-radius: 24px; font-size: 14px;
  box-shadow: 0 8px 20px rgba(0,0,0,.2);
  z-index: 200; animation: toast-in .25s;
}
.toast.success { background: var(--accent); }
.toast.error   { background: var(--neg); }
@keyframes toast-in {
  from { opacity: 0; transform: translate(-50%, 10px); }
  to   { opacity: 1; transform: translate(-50%, 0); }
}

/* ============================================================
   Empty / Loading
   ============================================================ */
.empty {
  text-align: center; padding: 40px 20px;
  color: var(--muted); font-size: 14px;
}
.empty .empty-icon { font-size: 36px; opacity: .4; margin-bottom: 12px; }

/* ============================================================
   Login
   ============================================================ */
.login-wrap, .landing-wrap {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  background: linear-gradient(160deg, #393C3D 0%, #677070 100%);
  max-width: none; margin: 0;
}
.login-card, .landing-card {
  background: #fff; border-radius: var(--radius-lg);
  padding: 30px; width: 100%; max-width: 420px;
  box-shadow: var(--shadow-lg);
}
.landing-card { max-width: 680px; padding: 28px; }
.login-card h1, .landing-card h1 { margin: 0 0 6px; font-size: 22px; }
.login-card .login-sub, .landing-card .landing-sub {
  color: var(--muted); font-size: 13px; margin-bottom: 22px;
}
.login-card .login-err, .login-err {
  background: var(--neg-soft); color: var(--neg);
  padding: 10px; border-radius: 8px; font-size: 13px; margin-bottom: 14px;
}

.landing-h2 { margin: 0 0 12px; font-size: 14px; color: var(--muted); font-weight: 600; }
.landing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px; margin-bottom: 24px;
}
.landing-stall {
  background: #fafbfc; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px; text-decoration: none; color: inherit;
  transition: all .12s; display: block;
  font: inherit; cursor: pointer; width: 100%; text-align: left;
}
.landing-stall:hover {
  background: #fff; border-color: var(--accent);
  transform: translateY(-1px); box-shadow: var(--shadow);
}
.ls-name { font-weight: 600; font-size: 14px; color: var(--ink); margin-bottom: 4px; }
.ls-sub { font-size: 11px; color: var(--muted); }
.landing-admin { text-align: center; padding-top: 18px; border-top: 1px solid var(--line); }
.landing-admin .btn { font-size: 13px; color: var(--muted); }

/* ============================================================
   Clerk Direct (?stall=... 免登入)
   ============================================================ */
.clerk-header {
  background: var(--header-bg); color: #fff;
  padding: 14px 18px;
  display: flex; align-items: center; gap: 12px;
  border-radius: 0; margin: -18px -18px 0;
  position: sticky; top: 0; z-index: 20;
  padding-top: max(14px, env(safe-area-inset-top));
}
@media (max-width: 640px) { .clerk-header { margin: -12px -12px 0; padding: 12px 14px; } }
.clerk-stall-info { flex: 1; min-width: 0; }
.clerk-stall-name {
  font-size: 17px; font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.clerk-stall-sub { font-size: 11px; color: var(--header-muted); margin-top: 2px; }
.clerk-header .btn {
  background: rgba(255,255,255,.1); color: #fff; border-color: transparent;
}
.clerk-header .btn:hover { background: rgba(255,255,255,.2); }

.clerk-tabs {
  display: flex; background: #fff;
  border-bottom: 1px solid var(--line);
  margin: 0 -18px 18px; padding: 0 12px; gap: 2px;
  position: sticky; top: 62px; z-index: 10;
  overflow-x: auto;
}
@media (max-width: 640px) {
  .clerk-tabs { margin: 0 -12px 12px; top: 56px; }
}
.ctab {
  appearance: none; background: transparent; border: 0; font: inherit;
  padding: 12px 18px; color: var(--muted); cursor: pointer;
  border-bottom: 2px solid transparent; font-weight: 500;
  flex: 1; max-width: 180px; font-size: 15px;
  white-space: nowrap;
}
.ctab:hover { color: var(--ink); }
.ctab.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
  font-weight: 600;
}

/* ============================================================
   Invoice block
   ============================================================ */
.invoice-seg {
  background: #fafbfc;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px; margin-bottom: 8px;
}
.invoice-block .seg-hint { font-size: 11px; color: var(--muted); margin-top: 4px; }
.invoice-block .add-segment { margin-bottom: 8px; }
.invoice-block .calc-box { margin-top: 6px; padding: 10px 14px; }

/* ============================================================
   Mobile-friendly large tap targets
   ============================================================ */
@media (pointer: coarse) {
  .btn { min-height: 44px; }
  .input, .select { min-height: 46px; font-size: 16px; }
}

/* 手機:Sticky 儲存按鈕 */
@media (max-width: 640px) {
  #entry-form > .form-footer, #clerk-form > .form-footer {
    position: sticky;
    bottom: env(safe-area-inset-bottom, 0);
    background: linear-gradient(to top, #fff 70%, rgba(255,255,255,0));
    margin: 18px -12px -12px;
    padding: 14px 12px max(14px, calc(env(safe-area-inset-bottom) + 8px));
    z-index: 5;
  }
  .btn-primary.btn-block { min-height: 52px; font-size: 16px; font-weight: 600; }
}

/* 手機:landing 卡片 */
@media (max-width: 640px) {
  .landing-wrap {
    padding: 16px max(16px, env(safe-area-inset-right))
             max(16px, env(safe-area-inset-bottom))
             max(16px, env(safe-area-inset-left));
  }
  .landing-card { padding: 22px 18px; max-width: 100%; }
  .landing-card h1 { font-size: 20px; }
  .landing-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .landing-stall {
    padding: 16px 12px; min-height: 64px;
    display: flex; flex-direction: column; justify-content: center;
  }
  .ls-name { font-size: 15px; }
}

/* PWA standalone */
@media (display-mode: standalone) {
  html, body { overscroll-behavior-y: contain; }
  body {
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
  }
  input, textarea { user-select: text; -webkit-user-select: text; }
  html { overscroll-behavior: none; }
}

/* Focus scroll */
input, textarea, select {
  scroll-margin-top: 80px;
  scroll-margin-bottom: 80px;
}

/* 手機表格捲動橫向 */
@media (max-width: 640px) {
  .panel > .scroll-x {
    overflow-x: auto; -webkit-overflow-scrolling: touch;
    margin: 0 -12px; padding: 0 12px;
  }
  .input[type=number] { font-size: 17px; font-weight: 500; }
  .calc-box { font-size: 14px; }
}

/* ============================================================
   墨凡品牌元素
   ============================================================ */

/* Topbar logo:Mofan M-mark + 品牌字
   M-mark 用「白色 plate + 灰色 M」 = 官方正色,跟 .ai 一致
   官方比例 100:71(寬:高 = 1.417) */
.topbar .brand { gap: 12px; }
.topbar .mofan-mark {
  width: 44px; height: 31px;
  flex-shrink: 0;
  background: var(--brand-snow);
  color: var(--brand-slate);
  padding: 4px 7px;
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
}
.topbar .mofan-mark svg { width: 100%; height: 100%; display: block; }
.topbar .brand-text {
  font-weight: 600; font-size: 16px;
  letter-spacing: 0.5px;
}
.topbar .brand-tag {
  font-size: 11px; color: var(--header-muted);
  margin-left: 8px;
  letter-spacing: 1px;
  font-weight: 400;
  border-left: 1px solid rgba(255,255,255,.2);
  padding-left: 10px;
}
@media (max-width: 640px) {
  .topbar .brand-tag { display: none; }
}

/* Landing / Login card 品牌頭 */
.landing-card .brand-header,
.login-card .brand-header {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; margin-bottom: 18px;
}
.landing-card .brand-header .mofan-mark,
.login-card .brand-header .mofan-mark {
  width: 48px; height: 34px; color: var(--accent);
}
.landing-card .brand-header .brand-text-block,
.login-card .brand-header .brand-text-block {
  text-align: left;
}
.landing-card .brand-header .brand-zh,
.login-card .brand-header .brand-zh {
  font-size: 22px; font-weight: 700; color: var(--ink);
  letter-spacing: 1px;
}
.landing-card .brand-header .brand-en,
.login-card .brand-header .brand-en {
  font-size: 11px; color: var(--muted); letter-spacing: 2px;
}

/* Footer 品牌行 */
.brand-footer {
  text-align: center;
  padding: 32px 16px 24px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}
.brand-footer .mofan-mark {
  width: 28px; height: 20px; color: var(--accent);
  display: inline-block; vertical-align: middle;
  margin-right: 6px;
}
.brand-footer .brand-name {
  color: var(--ink-soft); font-weight: 600;
  letter-spacing: 1px;
}
.brand-footer .brand-tag {
  color: var(--accent); font-weight: 500;
  margin: 0 4px;
  letter-spacing: 1.5px;
}
.brand-footer .brand-slogan {
  margin-top: 6px;
  font-size: 11px; color: var(--muted-soft);
}

/* 在 landing 的 footer 顯示為白色 */
.landing-wrap .brand-footer,
.login-wrap .brand-footer {
  color: rgba(255,255,255,.5);
  position: absolute;
  bottom: 0; left: 0; right: 0;
}
.landing-wrap .brand-footer .brand-name,
.login-wrap .brand-footer .brand-name { color: rgba(255,255,255,.8); }
.landing-wrap .brand-footer .brand-tag,
.login-wrap .brand-footer .brand-tag { color: var(--warm); }
.landing-wrap .brand-footer .mofan-mark,
.login-wrap .brand-footer .mofan-mark { color: rgba(255,255,255,.6); }

/* 列印 */
@media print {
  .topbar, .clerk-header, .clerk-tabs, .navbar { display: none !important; }
  .view { max-width: 100%; padding: 0; }
  .panel { box-shadow: none; border-color: #ddd; page-break-inside: avoid; }
}
