:root {
  --bg: #f5f5f7;
  --surface: #ffffff;
  --surface-2: #f5f5f7;
  --surface-3: #ececef;
  --ink: #1d1d1f;
  --ink-2: #424245;
  --muted: #86868b;
  --line: #e8e8ed;
  --accent: #0071e3;
  --accent-dark: #0066cc;
  --danger: #d70015;
  --radius-card: 32px;
  --radius-control: 16px;
  --radius-pill: 999px;
  --shadow-card: 0 24px 70px rgba(0, 0, 0, .10);
  --shadow-float: 0 18px 50px rgba(0, 0, 0, .16);
  --ease: cubic-bezier(.22, 1, .36, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
.hidden { display: none !important; }
button, input, textarea, select { font: inherit; }
button { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, h4, p { margin: 0; }
button { cursor: pointer; }

.login-screen {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(245, 245, 247, .86);
  backdrop-filter: blur(14px);
  animation: fadeIn .25s ease;
}
.login-card {
  width: 400px;
  max-width: 100%;
  padding: 40px;
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  animation: cardIn .5s var(--ease);
}
.login-logo {
  display: block;
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 16px;
  object-fit: contain;
}
.login-card h1 {
  margin-bottom: 4px;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -.03em;
  text-align: center;
  white-space: nowrap;
}
.login-product {
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}
.login-card input {
  width: 100%;
  height: 56px;
  padding: 0 18px;
  border: 0;
  border-radius: var(--radius-control);
  background: var(--surface-2);
  color: var(--ink);
  font-size: 17px;
  outline: none;
  transition: box-shadow .2s var(--ease), background .2s;
}
.login-card input::placeholder { color: var(--muted); }
.login-card input:focus { background: var(--surface); box-shadow: 0 0 0 2px var(--accent); }
.code-row { display: flex; gap: 10px; margin-top: 12px; }
.code-row input { flex: 1; }
.code-row button {
  flex-shrink: 0;
  min-width: 116px;
  height: 56px;
  padding: 0 16px;
  border: 0;
  border-radius: var(--radius-control);
  background: var(--surface-2);
  color: var(--accent);
  font-size: 15px;
  font-weight: 500;
  transition: background .2s, color .2s, transform .15s;
}
.code-row button:hover { background: var(--surface-3); }
.code-row button:disabled { color: var(--muted); cursor: default; }
.login-card > button.primary { width: 100%; margin-top: 16px; }
.login-actions { display: flex; gap: 10px; margin-top: 12px; }
.login-actions button {
  flex: 1;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: var(--surface-2);
  color: var(--ink-2);
  font-size: 15px;
  transition: background .2s var(--ease), color .2s var(--ease), transform .18s var(--ease);
}
.login-actions button:hover { background: var(--surface-3); }
.login-actions button:active { transform: scale(.985); }

.app { min-height: 100vh; animation: fadeIn .3s ease; }
.app-header {
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.app-brand { display: flex; align-items: center; gap: 10px; }
.app-logo { width: 36px; height: 36px; border-radius: 8px; object-fit: contain; }
.app-brand-text { display: flex; flex-direction: column; gap: 0; }
.app-name { font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.app-product { color: var(--muted); font-size: 13px; }
.app-user { display: flex; align-items: center; gap: 14px; font-size: 14px; color: var(--muted); }
.app-main { max-width: 1120px; margin: 0 auto; padding: 32px 24px 64px; }

.flow-card, .empty-card {
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  animation: cardIn .45s var(--ease);
}
.flow-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  overflow: hidden;
  min-height: 640px;
}
.empty-card { padding: 64px 40px; text-align: center; }
.empty-card h2 { margin-bottom: 24px; font-size: 26px; font-weight: 600; letter-spacing: -.02em; }

.flow-rail {
  display: flex;
  flex-direction: column;
  padding: 32px 22px;
  background: var(--surface-2);
  border-right: 1px solid var(--line);
}
.project-line { display: flex; align-items: center; gap: 8px; }
.project-no { font-size: 13px; color: var(--muted); }
.project-status { padding: 3px 9px; border-radius: var(--radius-pill); background: var(--surface); color: var(--ink-2); font-size: 13px; }
.project-info h2 { margin-top: 8px; font-size: 24px; font-weight: 600; letter-spacing: -.03em; }
.rail-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.status-menu { position: relative; flex: 1 0 100%; }
.status-trigger {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border: 0;
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 15px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
  transition: box-shadow .25s var(--ease), transform .18s var(--ease);
}
.status-trigger:hover { box-shadow: 0 4px 14px rgba(0, 0, 0, .07); }
.status-trigger:active { transform: scale(.985); }
.status-trigger:disabled, .rail-actions .secondary:disabled { opacity: .4; cursor: default; transform: none; box-shadow: none; }
.chevron {
  width: 8px;
  height: 8px;
  margin-right: 5px;
  border-right: 1.5px solid var(--muted);
  border-bottom: 1.5px solid var(--muted);
  transform: rotate(45deg);
  transition: transform .25s var(--ease);
}
.status-trigger[aria-expanded="true"] .chevron { transform: rotate(-135deg) translateY(-2px); }
.status-options {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 30;
  padding: 6px;
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 22px 55px rgba(0, 0, 0, .16), 0 2px 8px rgba(0, 0, 0, .06);
  animation: menuIn .2s var(--ease);
}
.status-option {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 15px;
  text-align: left;
  transition: background .18s var(--ease), color .18s var(--ease);
}
.status-option:hover { background: var(--surface-2); }
.status-option.active { color: var(--accent); font-weight: 500; }
.status-option.active::after { content: "✓"; font-size: 15px; }
.rail-actions .secondary { height: 40px; padding: 0 12px; font-size: 14px; background: var(--surface); }
.rail-actions .secondary:hover { background: var(--surface-3); }
.rail-actions .text-btn { height: 40px; padding: 0 8px; font-size: 14px; }
.flow-main { display: flex; flex-direction: column; min-width: 0; padding: 40px; }

.primary, .secondary, .text-btn {
  height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: var(--radius-control);
  font-size: 16px;
  font-weight: 500;
  transition: background .2s var(--ease), color .2s, transform .15s var(--ease), opacity .2s;
}
.primary { background: var(--accent); color: #fff; }
.primary:hover { background: var(--accent-dark); }
.primary:active, .secondary:active, .text-btn:active, .option:active, .choice-btn:active, .seg:active { transform: scale(.97); }
.secondary { background: var(--surface-2); color: var(--ink); }
.secondary:hover { background: var(--surface-3); }
.text-btn { height: 38px; padding: 0 10px; background: transparent; color: var(--muted); }
.text-btn:hover { color: var(--ink); }
.primary:disabled, .secondary:disabled, .seg:disabled { opacity: .4; cursor: default; transform: none; }
.full { width: 100%; }

.segmented {
  display: flex;
  gap: 4px;
  margin-top: 28px;
  padding: 4px;
  border-radius: var(--radius-control);
  background: var(--surface-2);
}
.seg {
  flex: 1;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  transition: background .2s, color .2s, box-shadow .2s;
}
.seg.active { background: var(--surface); color: var(--ink); box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.seg:disabled { opacity: .35; }
.rail-steps { flex-direction: column; gap: 4px; margin-top: 28px; padding: 0; background: transparent; }
.rail-steps .seg { flex: none; width: 100%; height: 44px; padding: 0 14px; text-align: left; }
.rail-steps .seg.active { background: var(--surface); box-shadow: 0 1px 3px rgba(0,0,0,.06); }

.flow-body { flex: 1; padding-top: 0; animation: bodyIn .28s var(--ease); }
.flow-body h3 { margin-bottom: 20px; font-size: 24px; font-weight: 600; letter-spacing: -.03em; }
.flow-body h4 { margin: 28px 0 12px; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.entry-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: stretch;
}
.entry-left { display: flex; flex-direction: column; min-width: 0; }
.entry-left h3 { flex-shrink: 0; margin: 0 0 16px; font-size: 22px; }
.entry-left .field-section { flex: 1; display: flex; flex-direction: column; margin-top: 0; }
.entry-left textarea { flex: 1; min-height: 190px; }
.entry-right { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.entry-right .field-section { margin-top: 0; }
.field-section {
  margin-top: 14px;
  padding: 18px;
  border-radius: 22px;
  background: var(--surface-2);
}
.flow-body > .field-section:first-of-type { margin-top: 0; }
.field-section h4 { margin: 0 0 14px; font-size: 16px; color: var(--ink); }
.field-section textarea { background: var(--surface); }
.field-section .notice { background: var(--surface); }
.field-section .option { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.field-section .option:hover { background: var(--surface); box-shadow: inset 0 0 0 1px var(--surface-3); }
.field-section .option.selected { background: var(--accent); box-shadow: none; }
.field-section .secondary { background: var(--surface); }
.field-section .secondary:hover { background: var(--surface-3); }
.field-section .question {
  margin-bottom: 8px;
  padding: 12px 14px;
  border-bottom: 0;
  border-radius: 12px;
  background: var(--surface);
}
.field-section .question:last-child { margin-bottom: 0; }
.field-section .choice-btn { background: var(--surface-2); }
.field-section .cost-list { margin-top: 0; }
.field-section .cost-row {
  margin-bottom: 8px;
  padding: 10px 14px;
  border-bottom: 0;
  border-radius: 12px;
  background: var(--surface);
}
.field-section .cost-row:last-child { margin-bottom: 0; }
.field-section .cost-row input { background: var(--surface-2); }
textarea {
  width: 100%;
  padding: 18px;
  border: 0;
  border-radius: var(--radius-control);
  background: var(--surface-2);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  resize: vertical;
  outline: none;
  transition: box-shadow .2s, background .2s;
}
textarea::placeholder { color: var(--muted); }
textarea:focus { background: var(--surface); box-shadow: 0 0 0 2px var(--accent); }
.button-row { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.button-row.end { justify-content: flex-end; }
.notice {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--radius-control);
  background: var(--surface-2);
  color: var(--ink-2);
  font-size: 14px;
  animation: bodyIn .22s var(--ease);
}
.notice.warn { background: #fff7e8; color: #8a5300; }
.notice.warn .secondary { height: 38px; padding: 0 12px; font-size: 13px; }
.section-title { margin-top: 4px; font-size: 15px; color: var(--muted); }
.cost-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 4px; }

.button-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.option {
  min-height: 56px;
  padding: 12px 14px;
  border: 0;
  border-radius: var(--radius-control);
  background: var(--surface-2);
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  transition: background .2s, color .2s, transform .15s;
}
.option:hover { background: var(--surface-3); }
.option.selected { background: var(--accent); color: #fff; }

.question-list { display: flex; flex-direction: column; }
.question { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.question:last-child { border-bottom: 0; }
.question-label { font-size: 16px; color: var(--ink); }
.choices { display: flex; gap: 6px; flex-shrink: 0; }
.choice-btn {
  height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 10px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  transition: background .2s, color .2s, transform .15s;
}
.choice-btn:hover { background: var(--surface-3); }
.choice-btn.on { background: var(--accent); color: #fff; }
.result {
  margin-top: 20px;
  padding: 14px 16px;
  border-radius: var(--radius-control);
  background: #fff2f2;
  color: var(--danger);
  font-size: 15px;
  animation: bodyIn .22s var(--ease);
}

.cost-list { margin-top: 20px; }
.cost-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cost-row span { font-size: 16px; color: var(--ink); }
.cost-row input {
  width: 130px;
  height: 42px;
  padding: 0 12px;
  border: 0;
  border-radius: 10px;
  background: var(--surface-2);
  color: var(--ink);
  font-size: 16px;
  text-align: right;
  outline: none;
}
.cost-row input:focus { background: var(--surface); box-shadow: 0 0 0 2px var(--accent); }
.total-row { display: flex; align-items: baseline; justify-content: flex-end; gap: 8px; margin-top: 24px; color: var(--muted); font-size: 15px; }
.total-row strong { color: var(--ink); font-size: 32px; font-weight: 600; letter-spacing: -.03em; }

.report-total { padding: 24px; border-radius: 22px; background: var(--surface-2); }
.report-total > span { font-size: 15px; color: var(--muted); }
.report-total > div { display: flex; align-items: baseline; gap: 6px; margin-top: 8px; }
.report-total > div span { font-size: 20px; color: var(--muted); }
.report-total strong { font-size: 44px; font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.report-info { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; margin-top: 16px; }
.report-info div { padding: 16px; border-radius: var(--radius-control); background: var(--surface-2); }
.report-info span { display: block; color: var(--muted); font-size: 13px; }
.report-info strong { display: block; margin-top: 4px; font-size: 15px; font-weight: 500; }
#r-conclusion { margin-top: 20px; font-size: 16px; line-height: 1.7; color: var(--ink-2); }
.disclaimer { margin-top: 14px; padding: 14px 16px; border-radius: var(--radius-control); background: var(--surface-2); color: var(--muted); font-size: 14px; line-height: 1.6; }

.card-footer { display: flex; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 32px; }

.sheet {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, .28);
  animation: fadeIn .2s ease;
}
.sheet-card {
  width: 420px;
  max-width: 100%;
  padding: 24px;
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow-float);
  animation: sheetIn .35s var(--ease);
}
.sheet-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.sheet-head h3 { font-size: 20px; font-weight: 600; }
.project-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.project-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  padding: 0 16px;
  border: 0;
  border-radius: var(--radius-control);
  background: var(--surface-2);
  color: var(--ink);
  font-size: 15px;
  text-align: left;
  transition: background .2s;
}
.project-item:hover { background: var(--surface-3); }
.project-item span:last-child { color: var(--muted); font-size: 14px; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  z-index: 99;
  transform: translateX(-50%);
  padding: 12px 18px;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: #fff;
  font-size: 15px;
  box-shadow: var(--shadow-float);
  animation: toastIn .22s var(--ease);
}

.flow-card {
  border: 1px solid rgba(0, 0, 0, .04);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .10), 0 2px 8px rgba(0, 0, 0, .03);
  transition: box-shadow .5s var(--ease);
}
.flow-card:hover { box-shadow: 0 36px 94px rgba(0, 0, 0, .12), 0 2px 8px rgba(0, 0, 0, .03); }
.field-section {
  border: 1px solid rgba(0, 0, 0, .03);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 1px 2px rgba(0, 0, 0, .02);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.field-section:focus-within {
  border-color: rgba(0, 113, 227, .18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 0 0 4px rgba(0, 113, 227, .06);
}
.primary {
  box-shadow: 0 1px 2px rgba(0, 0, 0, .12), 0 8px 20px rgba(0, 113, 227, .18);
  transition: background .2s var(--ease), box-shadow .25s var(--ease), transform .18s var(--ease);
}
.primary:hover { box-shadow: 0 2px 4px rgba(0, 0, 0, .12), 0 12px 28px rgba(0, 113, 227, .24); }
.primary:active { box-shadow: inset 0 1px 2px rgba(0, 0, 0, .18), 0 2px 6px rgba(0, 113, 227, .16); }
.secondary {
  border: 1px solid rgba(0, 0, 0, .04);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .03);
  transition: background .2s var(--ease), box-shadow .25s var(--ease), transform .18s var(--ease);
}
.secondary:hover { box-shadow: 0 4px 12px rgba(0, 0, 0, .06); }
.text-btn { transition: background .2s var(--ease), color .2s var(--ease), transform .18s var(--ease); }
.text-btn:hover { background: rgba(0, 0, 0, .04); border-radius: 10px; }
.segmented { box-shadow: inset 0 1px 2px rgba(0, 0, 0, .04); }
.seg { transition: background .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease), transform .18s var(--ease); }
.seg.active { box-shadow: 0 2px 6px rgba(0, 0, 0, .07), 0 1px 2px rgba(0, 0, 0, .04); }
.rail-steps .seg.active { box-shadow: 0 4px 12px rgba(0, 0, 0, .06), 0 1px 2px rgba(0, 0, 0, .04); }
.option {
  box-shadow: 0 1px 2px rgba(0, 0, 0, .03);
  transition: background .22s var(--ease), color .22s var(--ease), box-shadow .25s var(--ease), transform .18s var(--ease);
}
.option.selected { box-shadow: 0 6px 16px rgba(0, 113, 227, .22); }
.choice-btn {
  box-shadow: 0 1px 2px rgba(0, 0, 0, .03);
  transition: background .22s var(--ease), color .22s var(--ease), box-shadow .25s var(--ease), transform .18s var(--ease);
}
.choice-btn.on { box-shadow: 0 4px 12px rgba(0, 113, 227, .22); }
.flow-body > * { animation: itemIn .48s var(--ease) both; }
.flow-body > *:nth-child(2) { animation-delay: .05s; }
.flow-body > *:nth-child(3) { animation-delay: .1s; }
.flow-body > *:nth-child(4) { animation-delay: .14s; }
.entry-left .field-section, .entry-right .field-section { animation: itemIn .48s var(--ease) both; }
.entry-right .field-section:nth-child(2) { animation-delay: .06s; }
.login-logo { animation: logoIn .55s var(--ease); }
.login-card { transition: box-shadow .4s var(--ease); }
.sheet { backdrop-filter: blur(12px); }
.toast { box-shadow: 0 16px 40px rgba(0, 0, 0, .22); }
@media (hover: hover) {
  .primary:hover, .secondary:hover, .text-btn:hover, .option:hover, .choice-btn:hover { transform: translateY(-1px); }
  .option:hover, .choice-btn:hover { box-shadow: 0 6px 16px rgba(0, 0, 0, .08); }
}
@keyframes logoIn { from { opacity: 0; transform: scale(.88); } to { opacity: 1; transform: scale(1); } }
@keyframes menuIn { from { opacity: 0; transform: translateY(-6px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes itemIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes cardIn { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes bodyIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
@keyframes sheetIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes toastIn { from { opacity: 0; transform: translateX(-50%) translateY(8px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media (max-width: 680px) {
  .app-header { padding: 20px 18px 0; }
  .app-main { padding: 20px 18px 48px; }
  .flow-card { grid-template-columns: 1fr; min-height: 0; border-radius: 26px; }
  .empty-card { padding: 40px 24px; border-radius: 26px; }
  .flow-rail { padding: 22px; border-right: 0; border-bottom: 1px solid var(--line); }
  .flow-main { padding: 24px; }
  .project-info h2 { font-size: 22px; }
  .rail-steps { flex-direction: row; margin-top: 16px; overflow-x: auto; }
  .rail-steps .seg { width: auto; min-width: 70px; flex: 1; text-align: center; }
  .seg { min-width: 70px; }
  .entry-layout { grid-template-columns: 1fr; }
  .entry-left textarea { min-height: 150px; }
  .button-grid { grid-template-columns: 1fr; }
  .question { align-items: flex-start; flex-direction: column; }
  .choices { width: 100%; }
  .choice-btn { flex: 1; }
  .report-info { grid-template-columns: 1fr; }
  .login-card { padding: 30px 24px; }
  .login-card h1 { font-size: 21px; white-space: normal; }
  .card-footer .primary, .card-footer .secondary { flex: 1; }
}
