/* ==========================================================
   軽貨物マッチングサイト 共通スタイル
   ========================================================== */

:root {
  --color-primary: #16406b;
  --color-primary-dark: #0f2c4a;
  --color-accent: #e8672c;
  --color-accent-dark: #c9531f;
  --color-bg: #f6f7f9;
  --color-surface: #ffffff;
  --color-border: #e2e5ea;
  --color-text: #1c2530;
  --color-text-muted: #667085;
  --color-success: #1a8a5f;
  --color-success-bg: #e6f6ee;
  --color-warning: #b8860b;
  --color-warning-bg: #fdf3d9;
  --color-danger: #c23b3b;
  --color-danger-bg: #fbe9e9;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 1px 3px rgba(16, 24, 40, 0.08), 0 1px 2px rgba(16, 24, 40, 0.06);
  --shadow-md: 0 4px 12px rgba(16, 24, 40, 0.10);
  --max-width: 1120px;
  font-size: 16px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Hiragino Sans", "Yu Gothic", "Noto Sans JP", system-ui, -apple-system, sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
}

a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; }

h1, h2, h3, h4 { line-height: 1.4; margin: 0 0 0.6em; font-weight: 700; }
p { margin: 0 0 1em; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Header / Nav ---------- */
.site-header {
  background: var(--color-primary);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: var(--shadow);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1.15rem;
  color: #fff;
}
.brand:hover { text-decoration: none; opacity: 0.9; }
.brand .brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--color-accent);
  font-size: 1rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.nav-links a {
  color: #dce6f0;
  font-size: 0.92rem;
  font-weight: 500;
}
.nav-links a:hover { color: #fff; }

.nav-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-mobile-toggle { display: none; }

@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-mobile-toggle {
    display: inline-flex;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.4rem;
    cursor: pointer;
  }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--color-primary-dark);
    padding: 16px 20px;
    gap: 14px;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.94rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  text-decoration: none;
  line-height: 1.2;
}
.btn:hover { text-decoration: none; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }

.btn-primary { background: var(--color-accent); color: #fff; }
.btn-primary:hover { background: var(--color-accent-dark); }

.btn-secondary { background: #fff; color: var(--color-primary); border-color: var(--color-border); }
.btn-secondary:hover { background: #f0f3f7; }

.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.btn-outline:hover { background: rgba(255,255,255,0.12); }

.btn-danger { background: var(--color-danger-bg); color: var(--color-danger); }
.btn-danger:hover { background: #f6d3d3; }

.btn-sm { padding: 6px 12px; font-size: 0.82rem; }
.btn-block { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #fff;
  padding: 72px 0 80px;
}
.hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  max-width: 720px;
}
.hero p.lead {
  font-size: 1.08rem;
  color: #dce6f0;
  max-width: 600px;
}
.hero .cta-row {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.stats-row {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.stats-row .stat-num { font-size: 1.8rem; font-weight: 800; }
.stats-row .stat-label { font-size: 0.85rem; color: #b9c8d8; }

/* ---------- Sections ---------- */
.section { padding: 56px 0; }
.section-title { font-size: 1.5rem; margin-bottom: 8px; }
.section-sub { color: var(--color-text-muted); margin-bottom: 32px; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.feature-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px;
}
.feature-card .icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--color-success-bg);
  color: var(--color-success);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 14px;
}

.role-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.role-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
}
.role-card h3 { font-size: 1.2rem; }
.role-card .role-icon { font-size: 2.4rem; margin-bottom: 10px; }

/* ---------- Cards / lists ---------- */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}

.job-card {
  display: block;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 14px;
  color: inherit;
}
.job-card:hover { text-decoration: none; border-color: var(--color-primary); box-shadow: var(--shadow-md); }
.job-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.job-card h3 { font-size: 1.08rem; margin-bottom: 4px; }
.job-card .route { color: var(--color-text-muted); font-size: 0.92rem; margin-bottom: 10px; }
.job-card .meta-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.job-card .price { font-size: 1.15rem; font-weight: 800; color: var(--color-primary); white-space: nowrap; }
.job-card-price { margin-left: auto; text-align: right; flex: 0 0 auto; }

.carrier-card {
  display: block;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 14px;
  color: inherit;
}
.carrier-card:hover { text-decoration: none; border-color: var(--color-primary); box-shadow: var(--shadow-md); }
.carrier-card-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }

/* ---------- Tags / badges ---------- */
.tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  background: #eef1f5;
  color: var(--color-text-muted);
}
.tag-primary { background: #e6eef7; color: var(--color-primary); }
.tag-accent { background: #fdece2; color: var(--color-accent-dark); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}
.badge-open { background: var(--color-success-bg); color: var(--color-success); }
.badge-matched { background: var(--color-warning-bg); color: var(--color-warning); }
.badge-completed { background: #eef1f5; color: var(--color-text-muted); }
.badge-cancelled { background: var(--color-danger-bg); color: var(--color-danger); }

.stars { color: #e8a52c; letter-spacing: 1px; }

/* ---------- Forms ---------- */
.form-group { margin-bottom: 18px; }
label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 6px; }
label .req { color: var(--color-danger); margin-left: 2px; }
.hint { color: var(--color-text-muted); font-size: 0.82rem; margin-top: 4px; }

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="number"],
input[type="date"],
select,
textarea {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  background: #fff;
  color: var(--color-text);
}
.form-grid > *, .two-col > * { min-width: 0; }
textarea { resize: vertical; min-height: 90px; }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(22, 64, 107, 0.12);
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 8px;
}
.checkbox-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 400;
  font-size: 0.9rem;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
}
.checkbox-item input { width: auto; }

.form-card {
  max-width: 560px;
  margin: 0 auto;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}
.form-card.wide { max-width: 720px; }

.role-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 22px;
}
.role-toggle label {
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 14px;
  text-align: center;
  cursor: pointer;
  font-weight: 700;
  margin: 0;
}
.role-toggle input { display: none; }
.role-toggle input:checked + span,
.role-toggle label:has(input:checked) {
  border-color: var(--color-primary);
}
.role-toggle label:has(input:checked) {
  background: #eef4fa;
  color: var(--color-primary);
}

/* ---------- Filters ---------- */
.filter-bar {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 22px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  align-items: end;
}
.filter-bar .form-group { margin-bottom: 0; }
.filter-bar .filter-actions { display: flex; gap: 8px; }

/* ---------- Layout helpers ---------- */
.page-header { padding: 40px 0 8px; }
.page-header h1 { font-size: 1.7rem; }
.two-col {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 28px;
  align-items: start;
}
.emergency-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}
@media (max-width: 800px) {
  .two-col { grid-template-columns: 1fr; }
  .vehicle-insurance-fields {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    min-width: 0;
  }
  .vehicle-insurance-fields .form-group {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
  }
  .vehicle-insurance-fields select,
  .vehicle-insurance-fields input[type="date"] {
    display: block;
    inline-size: 100% !important;
    min-inline-size: 0 !important;
    max-inline-size: 100% !important;
    -webkit-min-logical-width: 0;
    box-sizing: border-box;
  }
}
.stack { display: flex; flex-direction: column; gap: 14px; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.muted { color: var(--color-text-muted); }
.small { font-size: 0.85rem; }
.divider { border: none; border-top: 1px solid var(--color-border); margin: 20px 0; }

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--color-text-muted);
}
.empty-state .icon { font-size: 2.4rem; margin-bottom: 10px; }

.alert {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  margin-bottom: 16px;
}
.alert-error { background: var(--color-danger-bg); color: var(--color-danger); }
.alert-success { background: var(--color-success-bg); color: var(--color-success); }
.alert-info { background: #e6eef7; color: var(--color-primary); }

.spinner {
  display: inline-block;
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
.btn-secondary .spinner, .btn-outline .spinner { border-color: rgba(22,64,107,0.25); border-top-color: var(--color-primary); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Tabs ---------- */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--color-border); margin-bottom: 22px; }
.tab-btn {
  background: none; border: none; cursor: pointer;
  padding: 10px 16px; font-weight: 600; font-size: 0.92rem;
  color: var(--color-text-muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.tab-btn.active { color: var(--color-primary); border-bottom-color: var(--color-accent); }

/* ---------- Review ---------- */
.review-item { padding: 14px 0; border-bottom: 1px solid var(--color-border); }
.review-item:last-child { border-bottom: none; }
.review-item .review-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-primary-dark);
  color: #b9c8d8;
  padding: 36px 0;
  margin-top: 60px;
  font-size: 0.85rem;
}
.site-footer a { color: #dce6f0; }
.site-footer .footer-links { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 10px; }

@media (max-width: 600px) {
  .hero { padding: 48px 0 56px; }
  .section { padding: 40px 0; }
}

/* ==========================================================
   HakoConnect brand system
   ========================================================== */
:root {
  --color-primary: #d71920;
  --color-primary-dark: #a70f16;
  --color-accent: #e21d25;
  --color-accent-dark: #b81017;
  --color-bg: #f7f7f8;
  --color-surface: #ffffff;
  --color-border: #e6e3e4;
  --color-text: #242124;
  --color-text-muted: #6f696c;
  --color-success: #167a56;
  --color-success-bg: #e8f5ef;
  --color-warning: #9c6500;
  --color-warning-bg: #fff4dc;
  --color-danger: #c4141b;
  --color-danger-bg: #fdebec;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 2px 5px rgba(32, 23, 25, .05), 0 10px 30px rgba(32, 23, 25, .05);
  --shadow-md: 0 14px 36px rgba(96, 13, 18, .12);
  --max-width: 1180px;
}

html { scroll-behavior: smooth; }
body { letter-spacing: .01em; -webkit-font-smoothing: antialiased; }
a { color: var(--color-primary); }
h1, h2, h3, h4 { letter-spacing: -.025em; }

.site-header {
  background: rgba(202, 20, 28, .97);
  box-shadow: 0 1px 0 rgba(255,255,255,.16);
  backdrop-filter: blur(12px);
}
.site-header .container { height: 80px; gap: 24px; }
.brand { gap: 11px; flex: 0 0 auto; }
.brand-mark {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 28px;
  background: none;
  border-radius: 0;
  flex: 0 0 auto;
}
.brand-mark > span {
  position: absolute;
  top: 6px;
  width: 24px;
  height: 16px;
  border: 3px solid #fff;
  border-radius: 11px 4px 11px 4px;
  transform: rotate(-35deg);
}
.brand-mark > span:first-child { left: 1px; }
.brand-mark > span:last-child { right: 1px; transform: rotate(35deg); }
.brand-type { display: flex; align-items: baseline; color: #fff; font-size: 1.26rem; line-height: 1; letter-spacing: -.035em; }
.brand-type > span { font-weight: 500; }
.brand-type small { display: none; }
.nav-links { gap: 28px; margin-left: auto; }
.nav-links a { color: rgba(255,255,255,.82); font-weight: 700; font-size: .88rem; }
.nav-user .btn-secondary { color: var(--color-primary); border-color: #fff; }

.hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 84px;
  background: linear-gradient(135deg, #d71920 0%, #bd1017 70%, #9b0a10 100%);
}
.hero::before, .hero::after { content:""; position:absolute; border:1px solid rgba(255,255,255,.12); border-radius:50%; }
.hero::before { width:520px; height:520px; right:-190px; top:-270px; }
.hero::after { width:340px; height:340px; left:-220px; bottom:-260px; }
.hero-grid { display:grid; grid-template-columns:minmax(0,1.12fr) minmax(360px,.88fr); gap:70px; align-items:center; }
.eyebrow { display:inline-flex; padding:6px 11px; border:1px solid rgba(255,255,255,.32); border-radius:999px; color:#fff; font-size:.68rem; font-weight:800; letter-spacing:.15em; margin-bottom:24px; }
.hero h1 { font-size:clamp(2.65rem,5.5vw,4.4rem); line-height:1.14; margin-bottom:22px; max-width:760px; }
.hero p.lead { color:rgba(255,255,255,.82); font-size:1.05rem; line-height:1.9; }
.hero .btn-primary { background:#fff; color:var(--color-primary); box-shadow:0 9px 26px rgba(75,0,4,.2); }
.hero .btn-primary:hover { background:#fff5f5; transform:translateY(-1px); }
.hero .btn-outline { border-color:rgba(255,255,255,.55); }
.stats-row { gap:0; }
.stats-row > div { min-width:126px; padding-right:28px; margin-right:28px; border-right:1px solid rgba(255,255,255,.2); }
.stats-row > div:last-child { border-right:0; }
.stats-row .stat-num { font-size:1.52rem; }
.stats-row .stat-label { color:rgba(255,255,255,.65); }
.hero-visual { position:relative; min-height:390px; }
.connect-line { position:absolute; width:4px; height:210px; left:50%; top:90px; background:rgba(255,255,255,.22); transform:translateX(-50%) rotate(56deg); border-radius:3px; }
.connect-card { position:absolute; width:220px; padding:20px; background:#fff; color:var(--color-text); border-radius:18px; box-shadow:0 22px 50px rgba(73,0,5,.22); display:grid; grid-template-columns:48px 1fr; column-gap:13px; align-items:center; }
.connect-card strong { font-size:.95rem; }
.connect-card small { grid-column:2; color:var(--color-text-muted); font-size:.72rem; }
.connect-card.shipper { top:18px; left:0; }
.connect-card.carrier { right:0; bottom:22px; }
.match-core { position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); width:112px; height:112px; border:1px solid rgba(255,255,255,.38); background:rgba(143,5,11,.4); border-radius:50%; display:flex; flex-direction:column; justify-content:center; align-items:center; box-shadow:0 0 0 14px rgba(255,255,255,.08); }
.match-core .brand-mark { transform:scale(.85); }
.match-core strong { font-size:.65rem; letter-spacing:.17em; }
.status-chip { position:absolute; right:34px; top:86px; padding:8px 12px; border-radius:999px; background:#fff4f4; color:#b20e15; font-weight:800; font-size:.72rem; box-shadow:var(--shadow); }

.section { padding:78px 0; }
.section-title { font-size:clamp(1.65rem,3vw,2.1rem); }
.section-sub { margin-bottom:38px; }
.role-grid, .feature-grid { gap:24px; }
.role-card, .feature-card, .card, .job-card, .carrier-card, .filter-bar, .form-card { border-color:var(--color-border); box-shadow:var(--shadow); }
.role-card, .feature-card { padding:30px; transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.role-card:hover, .feature-card:hover { transform:translateY(-3px); border-color:#efc3c5; box-shadow:var(--shadow-md); }
.role-card { text-align:left; }
.ui-icon, .feature-card .ui-icon, .role-card .ui-icon {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:48px;
  height:48px;
  border-radius:13px;
  background:#fff0f1;
  color:var(--color-primary);
  border:1px solid #f5d1d3;
  font-weight:900;
  font-size:.92rem;
  letter-spacing:0;
  margin-bottom:17px;
}
.connect-card .ui-icon { grid-row:1 / span 2; margin:0; }
.choice-icon, .inline-icon { display:inline-flex; align-items:center; justify-content:center; width:26px; height:26px; margin-right:5px; border-radius:7px; background:#fff0f1; color:var(--color-primary); font-size:.7rem; font-weight:900; font-style:normal; }
.empty-state .ui-icon { margin-left:auto; margin-right:auto; }
.job-card:hover, .carrier-card:hover { border-color:#e7a7aa; }
.job-card .price { color:var(--color-primary); }
.tag-primary { background:#fff0f1; color:var(--color-primary); }
.tag-accent { background:#f1eff0; color:#4e484b; }

.btn { min-height:42px; padding:11px 19px; border-radius:10px; font-weight:800; transition:.18s ease; }
.btn-primary { background:var(--color-primary); }
.btn-primary:hover { background:var(--color-primary-dark); transform:translateY(-1px); box-shadow:0 8px 18px rgba(201,18,26,.18); }
.btn-secondary { color:var(--color-text); }
input[type="text"], input[type="email"], input[type="password"], input[type="tel"], input[type="number"], input[type="date"], select, textarea { min-height:46px; padding:11px 13px; border-radius:10px; transition:border-color .15s, box-shadow .15s; }
input:focus, select:focus, textarea:focus { box-shadow:0 0 0 4px rgba(215,25,32,.1); }
.role-toggle label:has(input:checked) { background:#fff0f1; }
.alert-info { background:#fff0f1; }
.tabs { gap:12px; }
.tab-btn.active { border-bottom-color:var(--color-primary); }

.page-header { padding:54px 0 12px; }
.page-header h1 { font-size:clamp(1.75rem,3vw,2.25rem); }
.site-footer { background:#242124; color:#aaa3a6; padding:46px 0; }
.site-footer .container { display:flex; justify-content:space-between; gap:24px; align-items:flex-start; }
.site-footer .footer-links { margin:0; }
.site-footer a { color:#dedadb; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns:1fr; gap:44px; }
  .hero-visual { min-height:340px; max-width:520px; width:100%; margin:0 auto; }
  .nav-links { gap:16px; }
}
@media (max-width: 760px) {
  .site-header .container { height:72px; }
  .nav-links.open { top:72px; background:#a80e15; padding:18px 20px 22px; box-shadow:0 16px 25px rgba(60,0,3,.18); }
  .nav-user { margin-left:auto; }
  .nav-user > span { display:none; }
  .hero { padding:62px 0 56px; }
  .hero-grid { gap:34px; }
  .hero h1 { font-size:clamp(2.3rem,11vw,3.25rem); }
  .hero-visual { min-height:300px; }
  .connect-card { width:190px; padding:15px; grid-template-columns:42px 1fr; }
  .connect-card.shipper { left:0; }
  .connect-card.carrier { right:0; }
  .match-core { width:92px; height:92px; }
  .status-chip { right:8px; top:80px; }
  .section { padding:54px 0; }
  .site-footer .container { flex-direction:column; }
}
@media (max-width: 520px) {
  .container { padding-left:18px; padding-right:18px; }
  .brand-type { font-size:1.1rem; }
  .brand-mark { width:36px; transform:scale(.88); transform-origin:left center; margin-right:-3px; }
  .hero p.lead { font-size:.95rem; }
  .hero .cta-row { display:grid; grid-template-columns:1fr; }
  .hero .btn { width:100%; }
  .stats-row { justify-content:space-between; gap:18px 0; }
  .stats-row > div { min-width:0; margin:0; padding:0 15px 0 0; }
  .stats-row .stat-num { font-size:1.35rem; }
  .stats-row .stat-label { font-size:.72rem; }
  .hero-visual { min-height:290px; }
  .connect-card { width:168px; padding:13px; grid-template-columns:38px 1fr; }
  .connect-card .ui-icon { width:38px; height:38px; }
  .connect-card small { display:none; }
  .match-core { width:78px; height:78px; }
  .status-chip { top:66px; font-size:.65rem; }
  .role-grid { grid-template-columns:1fr; }
  .form-card { padding:22px 18px; }
  .filter-bar { grid-template-columns:1fr; }
}

/* Approved logo, campaign photography and unified line icons */
.brand-logo {
  display:block;
  width:258px;
  height:60px;
  object-fit:contain;
  object-position:left center;
}

.brand { gap:9px; }
.brand-symbol { position:relative; display:block; width:60px; height:62px; overflow:hidden; flex:0 0 auto; }
.brand-symbol img { position:absolute; left:-5px; top:0; width:auto; max-width:none; height:62px; }
.brand-symbol::after { content:""; position:absolute; top:0; right:0; width:4px; height:100%; background:#ca141c; }
.brand-word { color:#fff; font-size:1.55rem; line-height:1; font-weight:850; letter-spacing:-.04em; white-space:nowrap; }

.nav-user a[href="login.html"],
.nav-user a[href="signup.html"],
.nav-user a[href="dashboard.html"],
.nav-user #nav-logout-btn {
  background:#f28a24;
  border-color:#f28a24;
  color:#fff;
  box-shadow:0 5px 14px rgba(105,42,0,.18);
}
.nav-user a[href="login.html"]:hover,
.nav-user a[href="signup.html"]:hover,
.nav-user a[href="dashboard.html"]:hover,
.nav-user #nav-logout-btn:hover {
  background:#d96f0f;
  border-color:#d96f0f;
  color:#fff;
}

/* Full-bleed hero photography */
.hero {
  min-height:640px;
  display:flex;
  align-items:center;
  background-image:linear-gradient(90deg,rgba(117,0,7,.95) 0%,rgba(160,4,12,.86) 37%,rgba(166,7,14,.35) 64%,rgba(80,0,4,.12) 100%),url("../assets/hero-kei-van.png");
  background-size:cover;
  background-position:center 53%;
}
.hero::before { width:620px; height:620px; right:-280px; top:-340px; background:rgba(215,25,32,.08); }
.hero::after { display:none; }
.hero-grid { display:block; }
.hero-copy { position:relative; z-index:2; width:min(610px,58vw); padding:18px 0; text-shadow:0 2px 18px rgba(60,0,2,.2); }
.hero .btn, .hero .stats-row { text-shadow:none; }

.hero-photo {
  position:relative;
  min-height:430px;
  border-radius:28px;
  overflow:hidden;
  box-shadow:0 28px 64px rgba(64,0,3,.3);
  border:1px solid rgba(255,255,255,.35);
}
.hero-photo::after {
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,rgba(150,4,11,.2),transparent 42%), linear-gradient(0deg,rgba(40,0,2,.24),transparent 40%);
  pointer-events:none;
}
.hero-photo img { width:100%; height:100%; min-height:430px; object-fit:cover; object-position:61% center; display:block; }
.hero-photo-badge {
  position:absolute;
  left:22px;
  bottom:22px;
  z-index:2;
  padding:10px 15px;
  border-radius:999px;
  color:#fff;
  background:rgba(32,24,26,.78);
  backdrop-filter:blur(8px);
  font-size:.75rem;
  font-weight:700;
}
.hero-photo-badge span { display:inline-block; width:7px; height:7px; margin-right:7px; border-radius:50%; background:#f22d34; box-shadow:0 0 0 4px rgba(242,45,52,.22); }

/* Branded role badges */
.role-card { position:relative; overflow:hidden; }
.role-card::after { content:""; position:absolute; width:150px; height:150px; right:-86px; top:-88px; border:20px solid #fff1f2; border-radius:50%; pointer-events:none; }
.role-card .role-icon {
  width:78px;
  height:78px;
  margin-bottom:24px;
  border-radius:24px;
  color:#fff;
  background:linear-gradient(145deg,#ed2931,#b70e15);
  border:0;
  box-shadow:0 12px 24px rgba(193,15,23,.22);
  overflow:visible;
}
.role-card .role-icon::before { content:""; position:absolute; inset:-7px; border:1px solid #f2b7ba; border-radius:29px; }
.role-card .role-icon span { position:absolute; left:91px; top:25px; color:#a80e15; font-size:.65rem; line-height:1; letter-spacing:.16em; font-weight:900; }
.role-card .icon-package i { width:31px; height:27px; top:24px; left:23px; border-color:#fff; }
.role-card .icon-package i::before, .role-card .icon-package i::after { border-color:#fff; }
.role-card .icon-package i::before { left:13px; height:24px; }
.role-card .icon-package i::after { top:8px; }
.role-card .icon-van i { width:39px; height:23px; top:26px; left:18px; border-color:#fff; border-width:3px; }
.role-card .icon-van i::before, .role-card .icon-van i::after { width:9px; height:9px; bottom:-7px; border-color:#c7141c; background:#fff; }
.role-card .icon-van::after { width:11px; height:11px; top:30px; right:20px; border-color:#fff; border-width:0 0 3px 3px; }

.ui-icon, .choice-icon, .inline-icon { position:relative; overflow:hidden; }
.ui-icon i, .choice-icon i, .inline-icon i,
.ui-icon::before, .ui-icon::after,
.choice-icon::before, .choice-icon::after,
.inline-icon::before, .inline-icon::after { content:""; position:absolute; display:block; box-sizing:border-box; }

.icon-package i { width:20px; height:18px; border:2px solid currentColor; border-radius:3px; top:14px; left:13px; }
.icon-package i::before { content:""; position:absolute; left:8px; top:0; height:16px; border-left:2px solid currentColor; transform:skewY(-28deg); }
.icon-package i::after { content:""; position:absolute; left:1px; right:1px; top:5px; border-top:2px solid currentColor; transform:skewY(-24deg); }

.icon-van i { width:24px; height:15px; border:2px solid currentColor; border-radius:3px 7px 3px 3px; top:16px; left:11px; }
.icon-van i::before, .icon-van i::after { content:""; position:absolute; width:6px; height:6px; bottom:-5px; border:2px solid #fff0f1; border-radius:50%; background:currentColor; }
.icon-van i::before { left:2px; } .icon-van i::after { right:2px; }
.icon-van::after { width:7px; height:7px; border-left:2px solid currentColor; border-bottom:2px solid currentColor; transform:skewX(18deg); top:18px; right:13px; }

.icon-clipboard i { width:19px; height:23px; border:2px solid currentColor; border-radius:3px; top:13px; left:14px; }
.icon-clipboard i::before { content:""; position:absolute; width:9px; height:5px; left:3px; top:-5px; border:2px solid currentColor; border-radius:3px; background:#fff0f1; }
.icon-clipboard i::after { content:""; position:absolute; width:10px; height:6px; left:3px; top:8px; border-top:2px solid currentColor; border-bottom:2px solid currentColor; }

.icon-search i { width:18px; height:18px; border:2px solid currentColor; border-radius:50%; top:12px; left:12px; }
.icon-search i::after { content:""; position:absolute; width:10px; border-top:2px solid currentColor; transform:rotate(45deg); right:-7px; bottom:-4px; }

.icon-star i { width:24px; height:24px; top:12px; left:12px; background:currentColor; clip-path:polygon(50% 4%,61% 35%,95% 36%,68% 56%,77% 90%,50% 70%,22% 90%,32% 56%,5% 36%,39% 35%); }

.icon-lock i { width:20px; height:16px; border:2px solid currentColor; border-radius:3px; top:20px; left:14px; }
.icon-lock i::before { content:""; position:absolute; width:12px; height:11px; border:2px solid currentColor; border-bottom:0; border-radius:8px 8px 0 0; left:2px; top:-10px; }

.icon-check i { width:20px; height:10px; border-left:3px solid currentColor; border-bottom:3px solid currentColor; transform:rotate(-45deg); top:15px; left:14px; }
.icon-clock i { width:23px; height:23px; border:2px solid currentColor; border-radius:50%; top:12px; left:12px; }
.icon-clock i::before { content:""; position:absolute; height:7px; border-left:2px solid currentColor; left:9px; top:4px; }
.icon-clock i::after { content:""; position:absolute; width:6px; border-top:2px solid currentColor; left:9px; top:10px; transform:rotate(25deg); transform-origin:left center; }
.icon-blocked i { width:23px; height:23px; border:2px solid currentColor; border-radius:50%; top:12px; left:12px; }
.icon-blocked i::after { content:""; position:absolute; width:17px; border-top:2px solid currentColor; left:1px; top:9px; transform:rotate(45deg); }

.choice-icon { vertical-align:middle; overflow:visible; }
.choice-icon.icon-package i { transform:scale(.62); transform-origin:top left; top:8px; left:7px; }
.choice-icon.icon-van i { transform:scale(.62); transform-origin:top left; top:9px; left:6px; }
.choice-icon.icon-van::after { transform:scale(.65) skewX(18deg); top:10px; right:6px; }
.inline-icon.icon-check i { transform:scale(.62) rotate(-45deg); transform-origin:top left; top:10px; left:8px; }

@media (max-width:900px) {
  .hero { min-height:700px; background-position:62% center; }
  .hero::after { display:block; content:""; position:absolute; inset:0; width:auto; height:auto; border:0; border-radius:0; background:linear-gradient(90deg,rgba(110,0,6,.93) 0%,rgba(136,0,8,.75) 52%,rgba(90,0,5,.18) 100%); }
  .hero-copy { width:min(570px,72vw); }
  .hero-photo { min-height:360px; }
  .hero-photo img { min-height:360px; }
}
@media (max-width:760px) {
  .brand-logo { width:212px; height:50px; }
  .brand-symbol { width:51px; height:54px; }
  .brand-symbol img { height:54px; left:-4px; }
  .brand-word { font-size:1.35rem; }
  .hero { min-height:680px; background-position:68% center; }
  .hero::after { background:linear-gradient(180deg,rgba(126,0,7,.93) 0%,rgba(153,2,10,.75) 58%,rgba(74,0,4,.35) 100%); }
  .hero-copy { width:100%; padding-top:0; }
  .hero-photo { min-height:310px; border-radius:20px; }
  .hero-photo img { min-height:310px; }
}
@media (max-width:520px) {
  .brand-logo { width:188px; height:45px; }
  .brand { gap:7px; }
  .brand-symbol { width:45px; height:47px; }
  .brand-symbol img { height:47px; left:-4px; }
  .brand-word { font-size:1.18rem; }
  .hero { min-height:720px; padding-top:70px; align-items:flex-start; background-position:64% center; }
  .hero h1 { font-size:2.75rem; }
  .hero p.lead { max-width:92%; }
  .hero .stats-row { margin-top:32px; }
  .hero-photo { min-height:250px; }
  .hero-photo img { min-height:250px; object-position:66% center; }
  .hero-photo-badge { left:14px; bottom:14px; font-size:.67rem; }
}

.smart-sheet-import { margin:28px 0; padding:24px; border:2px solid #e1262f; border-radius:18px; background:linear-gradient(135deg,#fff7f7,#fff); }
.delivery-input-mode { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin:0 0 22px; padding:0; border:0; }
.delivery-input-mode legend { grid-column:1/-1; margin-bottom:8px; font-weight:800; }
.delivery-input-mode .mode-choice { display:flex; flex-direction:column; gap:4px; position:relative; padding:14px 14px 14px 42px; border:1px solid #dce3ed; border-radius:12px; background:#fff; cursor:pointer; }
.delivery-input-mode .mode-choice.is-selected { border:2px solid #173963; background:#f2f6fb; }
.delivery-input-mode input { position:absolute; left:15px; top:18px; width:18px; height:18px; }
.delivery-input-mode span { color:#64748b; font-size:.78rem; }
.manual-stop-input { margin-top:16px; padding:16px; border-radius:12px; background:#fff; }
.manual-stop-input[hidden],.sheet-source-actions[hidden],#scan-privacy[hidden] { display:none!important; }
.manual-stop-input>label { display:block; margin-bottom:8px; font-weight:800; }
.manual-stop-input textarea { width:100%; }
.smart-sheet-head { display:flex; align-items:center; justify-content:space-between; gap:24px; }
.smart-sheet-head h2 { margin:8px 0 6px; font-size:1.28rem; }
.btn-sheet-camera { flex:0 0 auto; background:#e1262f; border-color:#e1262f; color:#fff; cursor:pointer; }
.sheet-source-actions { display:flex; flex:0 0 auto; gap:8px; }
.sheet-source-actions .btn { cursor:pointer; white-space:nowrap; }
.smart-sheet-privacy { margin-top:12px; padding-left:22px; position:relative; }
.smart-sheet-privacy::before { content:"🔒"; position:absolute; left:0; }
.sheet-scan-status { margin-top:14px; font-weight:700; color:#156f4d; }
.sheet-scan-status.is-error { color:#c01720; }
.sheet-result-toolbar { display:flex; justify-content:space-between; align-items:center; gap:16px; margin:18px 0 12px; }
.sheet-result-toolbar label { display:flex; align-items:center; gap:8px; font-size:.86rem; font-weight:700; }
.sheet-result-toolbar input { width:76px; }
.sheet-stop-list { display:grid; gap:10px; max-height:520px; overflow:auto; margin-bottom:16px; }
.sheet-stop-row { display:grid; grid-template-columns:48px 1fr 1.8fr 1fr 1fr; gap:8px; align-items:end; padding:12px; border:1px solid #dce3ed; border-radius:12px; background:#fff; }
.sheet-stop-row > strong { align-self:center; }
.sheet-stop-row label span { display:block; margin-bottom:4px; font-size:.7rem; color:#64748b; font-weight:700; }
.sheet-stop-row input { width:100%; min-width:0; }
.sheet-route-result { margin-top:18px; padding:16px; border-radius:14px; background:#eef8f3; }
.route-board-help { display:flex; justify-content:space-between; gap:16px; margin-bottom:12px; }
.route-board-help span { color:#526879; font-size:.78rem; }
.route-board { display:grid; grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); gap:12px; }
.route-column { min-width:0; padding:12px; border:1px solid #cfe5db; border-radius:12px; background:#fff; }
.route-column h3 { display:flex; justify-content:space-between; margin:0 0 10px; font-size:1rem; }
.route-column h3 span { color:#64748b; font-size:.78rem; }
.route-drop-zone { min-height:82px; display:grid; align-content:start; gap:8px; border-radius:9px; transition:.15s; }
.route-drop-zone.is-dragover { padding:8px; background:#dcefe6; outline:2px dashed #16805a; }
.route-stop-card { padding:10px; border:1px solid #dce3ed; border-radius:9px; background:#f8fafc; cursor:grab; }
.route-stop-card>strong,.route-stop-card>span { display:block; }
.route-stop-card>span { margin-top:3px; color:#526879; font-size:.72rem; line-height:1.45; }
.route-card-actions { display:flex; gap:5px; margin-top:8px; }
.route-card-actions button { width:30px; height:30px; padding:0; border:1px solid #cbd5e1; border-radius:6px; background:#fff; cursor:pointer; }
.route-card-actions select { min-width:0; flex:1; padding:5px; font-size:.7rem; }
.route-empty { margin:auto; padding:20px 8px; text-align:center; color:#748495; font-size:.75rem; }
.sheet-route-card { padding:12px 0; border-bottom:1px solid #cfe5db; }
.sheet-route-card:last-child { border-bottom:0; }
.sheet-route-card ol { margin:8px 0 0 22px; }
.job-route-plan { margin-top:18px; padding:18px; border:1px solid #dce3ed; border-radius:14px; background:#f8fafc; }
.job-route-plan-head { display:flex; justify-content:space-between; align-items:end; gap:16px; margin-bottom:14px; }
.job-route-plan-head span { color:#d9232e; font-size:.72rem; font-weight:800; letter-spacing:.12em; }
.job-route-plan-head h2 { margin:3px 0 0; font-size:1.08rem; }
.job-route-plan-head>b { color:#526879; font-size:.78rem; }
.job-route-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:12px; }
.job-route-card { overflow:hidden; border:1px solid #dce3ed; border-radius:12px; background:#fff; }
.job-route-card header { display:flex; justify-content:space-between; padding:11px 13px; color:#fff; background:#173963; }
.job-route-card header span { font-size:.78rem; opacity:.8; }
.job-route-card ol { display:grid; gap:0; margin:0; padding:8px 12px 12px; list-style:none; }
.job-route-card li { display:grid; grid-template-columns:27px 1fr; gap:8px; position:relative; padding:8px 0; border-bottom:1px solid #e7edf4; }
.job-route-card li:last-child { border-bottom:0; }
.job-route-card li i { display:grid; place-items:center; width:24px; height:24px; border-radius:50%; color:#173963; background:#eaf0f7; font-size:.7rem; font-style:normal; font-weight:800; }
.job-route-card li:not(:last-child)::after { content:""; position:absolute; left:11px; top:32px; bottom:-7px; width:2px; background:#d7e0ea; }
.job-route-card li strong,.job-route-card li span,.job-route-card li small { display:block; }
.job-route-card li strong { font-size:.8rem; }
.job-route-card li span { margin-top:2px; color:#526879; font-size:.7rem; line-height:1.45; }
.job-route-card li small { margin-top:3px; color:#d9232e; font-weight:700; }
.slot-bid-intro { display:flex; justify-content:space-between; gap:12px; margin:18px 0 10px; }
.slot-bid-intro span { color:#526879; font-size:.76rem; }
.slot-bid-list { display:grid; gap:12px; margin-bottom:18px; }
.slot-bid-card { padding:14px; border:1px solid #dce3ed; border-radius:12px; background:#f8fafc; }
.slot-bid-card[hidden] { display:none; }
.slot-bid-card header { display:flex; justify-content:space-between; margin-bottom:10px; }
.slot-bid-card header span { color:#526879; font-size:.76rem; }
.slot-reference-breakdown { display:flex; flex-wrap:wrap; align-items:center; gap:5px 12px; margin:0 0 12px; padding:9px 10px; border-radius:8px; background:#fff8db; color:#334b5f; font-size:.75rem; }
.slot-reference-breakdown small { width:100%; color:#7a5b00; font-weight:700; }
.slot-reference-breakdown strong { margin-left:auto; color:#12233a; }
.slot-reference-breakdown.is-legacy span { color:#9a6500; }
.scope-slots label>span { min-width:0; }
.scope-slots label>span>small { display:block; margin-top:2px; color:#526879; font-weight:500; }
.slot-bid-fields { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.slot-bid-fields label { font-size:.75rem; font-weight:700; }
.slot-bid-fields input { width:100%; margin-top:5px; }
.slot-bid-total { display:flex; align-items:center; justify-content:flex-end; gap:14px; margin-top:10px; padding-top:10px; border-top:1px solid #dce3ed; font-size:.76rem; }
.slot-bid-total>strong { font-size:.9rem; color:#d9232e; }
.application-slot-prices { display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:7px; margin:9px 0; }
.application-slot-prices>span { padding:9px 11px; border:1px solid #dce3ed; border-radius:9px; background:#f8fafc; }
.application-slot-prices strong,.application-slot-prices small { display:block; }
.application-slot-prices small { margin-top:3px; color:#526879; line-height:1.45; }
.shipper-price-breakdown { display:grid; gap:2px; margin:8px 0 4px; padding:8px; border-radius:8px; background:#fff; border:1px solid #dce3ed; text-align:left; }
.shipper-price-breakdown small { color:#526879; font-weight:700; }
.shipper-price-breakdown em { color:#334b5f; font-size:.72rem; font-style:normal; }
.shipper-price-breakdown strong { margin-top:2px; color:#12233a; font-size:.82rem; }
.shipper-price-breakdown.is-legacy em { color:#9a6500; }
.expense-request-list { display:grid; gap:12px; margin-top:16px; }
.expense-request-card { padding:16px; border:1px solid #dce3ed; border-left:4px solid #9aa8b7; border-radius:12px; background:#f8fafc; }
.expense-request-card.status-pending { border-left-color:#d59a00; }
.expense-request-card.status-approved,.expense-request-card.status-paid { border-left-color:#16805a; }
.expense-request-card.status-rejected,.expense-request-card.status-withdrawn { opacity:.72; }
.expense-request-card header { display:flex; justify-content:space-between; gap:12px; }
.expense-request-card header strong,.expense-request-card header span { display:block; }
.expense-request-card header span { margin-top:3px; color:#64748b; font-size:.72rem; }
.expense-request-card header b { color:#12233a; font-size:1.12rem; }
.expense-request-card p { margin:12px 0; }
.expense-request-meta { display:flex; align-items:center; gap:8px; margin-bottom:10px; font-size:.75rem; color:#526879; }
.receipt-link { display:inline-block; margin:2px 0 12px; font-weight:800; }
.expense-note { margin:8px 0 12px; padding:9px 11px; border-radius:8px; background:#fff; color:#526879; font-size:.8rem; }
.expense-review { display:grid; grid-template-columns:1fr auto auto; gap:8px; align-items:end; }
.expense-review textarea { min-height:70px; }
.expense-submit-box { margin-top:18px; padding:16px; border:1px solid #dce3ed; border-radius:12px; background:#fff; }
.expense-submit-box summary { cursor:pointer; color:#173963; font-weight:800; }
.expense-form-grid { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
@media (max-width:760px) {
  .smart-sheet-import { padding:18px; }
  .delivery-input-mode { grid-template-columns:1fr; }
  .smart-sheet-head { align-items:stretch; flex-direction:column; }
  .btn-sheet-camera { width:100%; text-align:center; }
  .sheet-source-actions { display:grid; grid-template-columns:1fr; }
  .sheet-source-actions .btn { width:100%; text-align:center; }
  .sheet-result-toolbar { align-items:flex-start; flex-direction:column; }
  .sheet-stop-row { grid-template-columns:38px 1fr; }
  .sheet-stop-row label { grid-column:2; }
  .route-board { grid-template-columns:1fr; }
  .route-board-help { display:block; }
  .route-board-help span { display:block; margin-top:4px; }
  .job-route-plan { padding:14px; }
  .job-route-plan-head { align-items:flex-start; flex-direction:column; gap:4px; }
  .job-route-grid { grid-template-columns:1fr; }
  .slot-bid-intro,.slot-bid-total { align-items:flex-start; flex-direction:column; gap:4px; }
  .slot-bid-fields { grid-template-columns:1fr; }
  .expense-review,.expense-form-grid { grid-template-columns:1fr; }
}
.form-wizard{margin:0 0 28px;padding:18px;border:1px solid #dbe5ee;border-radius:16px;background:#f8fbfd}.wizard-progress{height:7px;background:#e3eaf0;border-radius:99px;overflow:hidden}.wizard-progress span{display:block;height:100%;width:0;background:#df2732;border-radius:inherit;transition:width .25s ease}.wizard-steps{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;list-style:none;padding:0;margin:14px 0 8px}.wizard-steps li{font-size:12px;text-align:center;color:#7a8794;font-weight:700}.wizard-steps li.is-active{color:#13283c}.wizard-status{margin:10px 0 0;font-weight:800;color:#13283c}.wizard-panel[hidden],.wizard-step-hidden,.wizard-actions [hidden]{display:none!important}#signup-form .wizard-steps{grid-template-columns:repeat(3,1fr)}.input-guide{padding:12px 14px;border-radius:10px;background:#fff8da;color:#705600;font-size:13px;line-height:1.7}.wizard-actions{display:flex;justify-content:space-between;gap:12px;margin-top:24px}.wizard-actions .btn:last-child{margin-left:auto}.wizard-actions-sticky{position:sticky;bottom:10px;z-index:20;padding:12px;background:rgba(255,255,255,.94);border:1px solid #dbe5ee;border-radius:14px;box-shadow:0 8px 30px rgba(20,40,60,.12)}.wizard-review{display:grid;gap:8px;margin:16px 0;padding:16px;border:1px solid #dbe5ee;border-radius:12px;background:#f8fbfd}.wizard-review span{display:block;color:#526477;font-size:14px}.wizard-review-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.wizard-review-grid div{padding:12px;background:#fff;border-radius:9px}.field-error{outline:2px solid #df2732!important;outline-offset:2px}.field-error-message{color:#c51f2b;font-size:12px;margin-top:5px}.draft-notice{color:#13805b!important}
.has-form-wizard #support-launch{bottom:96px}
@media(max-width:700px){.wizard-steps{gap:3px}.wizard-steps li{font-size:10px}.wizard-review-grid{grid-template-columns:1fr}.wizard-actions-sticky{bottom:6px}.job-wizard{padding:14px 10px}}

/* マルホン通商の社内画面 */
.site-header:has(.maruhon-header-logo){background:#fff;border-bottom:1px solid #dce5ec}
.site-header:has(.maruhon-header-logo) .nav-links a{color:#17384f}
.site-header:has(.maruhon-header-logo) .btn-outline{color:#17384f;border-color:#cfd9e0}
#employee-form input:not([type]){width:100%;min-height:46px;padding:11px 13px;border:1px solid var(--color-border);border-radius:10px;font-size:.95rem;font-family:inherit;background:#fff;color:var(--color-text)}
.prelaunch-banner{border-bottom:1px solid #efd38a;background:#fff7d8;color:#443711}
.prelaunch-banner .container{display:flex;align-items:center;justify-content:center;gap:12px;padding-top:11px;padding-bottom:11px;text-align:center}
.prelaunch-banner strong{white-space:nowrap;color:#9b2a25}
.prelaunch-banner span{font-size:.84rem;line-height:1.55}
.prelaunch-banner.test-mode{border-color:#a8d8c7;background:#e8f7f1;color:#155f48}
.prelaunch-banner.test-mode strong{color:#087253}
@media(max-width:700px){.prelaunch-banner .container{align-items:flex-start;flex-direction:column;gap:3px;text-align:left}.prelaunch-banner strong{white-space:normal}.prelaunch-banner span{font-size:.78rem}}
