/* お店・広告主さま用の画面：本部の画面と同じ部品を使い、色とスマホでの並びだけ変える */
.portal { --brand: #2fb3a6; --brand-dark: #1f8279; --brand-soft: #e3f6f3; --side: #24414a; }
.portal.is-adv { --brand: #2e4a8c; --brand-dark: #22386b; --brand-soft: #e7ecf7; --side: #1f2a44; }
.portal .login { background: radial-gradient(circle at 20% 10%, #d5f1ed, transparent 40%), var(--bg); }
.portal .kpi.accent { background: linear-gradient(135deg, var(--brand), var(--brand-dark)); }
.portal .bar i { background: linear-gradient(180deg, #8fd8cf, var(--brand)); }
.portal .side nav a.on { background: var(--brand); }

.notice { background: #fff7d6; border-radius: 10px; padding: 8px 12px; color: #854d0e; font-weight: 700; margin: 0 0 12px; font-size: 13px; }
.form-card { display: grid; gap: 14px; max-width: 680px; }
.form-card.narrow { max-width: 420px; }
.field { display: grid; gap: 4px; }
.field .label { font-weight: 700; font-size: 13px; }
.field em { font-style: normal; font-size: 11px; color: #fff; background: var(--brand); border-radius: 4px; padding: 0 5px; margin-left: 4px; }
.form-actions { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }
.qr-card { display: grid; grid-template-columns: 220px 1fr; gap: 20px; align-items: center; }
.qr-big { width: 220px; height: 220px; border: 1px solid var(--line); border-radius: 12px; padding: 8px; background: #fff; }
.filters { display: flex; gap: 8px; }
.filters input { width: auto; }

@media (max-width: 900px) {
  .portal .layout { display: block; }
  .portal .side { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px 14px; }
  .portal .side nav { order: 3; width: 100%; display: flex; gap: 6px; overflow-x: auto; grid-template-columns: none; }
  .portal .side nav a { white-space: nowrap; background: rgba(255,255,255,.08); padding: 7px 12px; }
  .portal .side-foot { margin: 0 0 0 auto; display: flex; gap: 10px; align-items: center; }
  .portal .side-foot a { display: none; }
  .qr-card { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .portal .page-head { flex-wrap: wrap; }
}
