@import "tailwindcss";

:root {
  --navy: #35596a;
  --navy-deep: #284551;
  --blue: #6098ad;
  --sky: #a4d0dc;
  --ice: #f0f8fa;
  --panel-blue: #dff0f4;
  --panel-blue-hover: #cee8ee;
  --panel-blue-line: #b9d8e0;
  --line: #d5e2e6;
  --ink: #2b424c;
  --muted: #576d76;
  --white: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Helvetica Neue", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
main { overflow: hidden; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: 80px;
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
}
.brand { flex: 0 0 445px; min-width: 445px; display: flex; align-items: center; gap: 12px; padding: 0 20px; background: transparent; }
.logo-mark { position: absolute; left: 50%; top: 50%; width: 180px; height: 64px; overflow: hidden; display: grid; place-items: center; transform: translate(-50%,-50%); background: transparent; }
.logo-mark::after { content: none; }
.main-logo { width: 100%; height: 100%; object-fit: contain; object-position: center; background: #ffffff; image-rendering: auto; }
.brand-japanese {
  white-space: nowrap;
  color: #111111;
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "Noto Serif JP", serif;
  font-size: clamp(15px,1.25vw,19px);
  font-weight: 500;
  letter-spacing: .24em;
}
.header-version {
  margin-left: 10px;
  align-self: center;
  color: #758995;
  font: 600 8px/1 Arial, sans-serif;
  letter-spacing: .09em;
  white-space: nowrap;
}
.desktop-nav { margin-left: auto; display: flex; align-items: stretch; }
.desktop-nav > a { position: relative; display: flex; align-items: center; padding: 0 18px; font-size: 12px; font-weight: 600; border-left: 1px solid transparent; }
.desktop-nav > a:not(.header-cta)::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: 17px; height: 1px; background: var(--blue); transform: scaleX(0); transform-origin: right; transition: transform .25s ease; }
.desktop-nav > a:not(.header-cta):hover::after { transform: scaleX(1); transform-origin: left; }
.desktop-nav > a:not(.header-cta):hover { color: var(--blue); background: var(--ice); }
.desktop-nav .header-cta { margin-left: 2px; min-width: 200px; justify-content: space-between; color: var(--ink); background: var(--panel-blue); font-size: 12px; }
.desktop-nav .header-cta:hover { background: var(--panel-blue-hover); }
.language-switch { align-self: center; height: 30px; margin: 0 10px 0 2px; padding: 3px; display: flex; align-items: center; gap: 2px; border: 1px solid #b7c6cd; background: rgba(255,255,255,.8); font-family: Arial,sans-serif; }
.language-switch a { min-width: 31px; height: 22px; display: grid; place-items: center; color: #6b7c85; font-size: 9px; font-weight: 800; letter-spacing: .08em; }
.language-switch a.is-active { color: #fff; background: var(--navy); }
.mobile-menu { display: none; }

/* The English company name is already part of the logo artwork. Keep the
   translated header copy from competing with the navigation for space. */
[data-english-root] .site-header .brand { flex: 0 0 250px; min-width: 250px; gap: 6px; padding: 0 12px; }
[data-english-root] .site-header .brand-japanese { display: none; }
[data-english-root] .site-header .header-version { margin-left: 0; }

.hero { position: relative; isolation: isolate; min-height: 760px; display: grid; grid-template-columns: 42% 58%; overflow: hidden; background: linear-gradient(118deg,#f5fbfc 0,#fff 46%,#eaf7fa 100%); }
.hero-editorial-word { position: absolute; z-index: -1; left: -1.4vw; bottom: -1.9vw; color: rgba(53,89,106,.045); font-size: clamp(110px,17vw,310px); font-weight: 800; letter-spacing: -.085em; line-height: .72; white-space: nowrap; pointer-events: none; }
.hero-tech-backdrop { position: absolute; z-index: -1; inset: 0; overflow: hidden; pointer-events: none; background-image: linear-gradient(rgba(96,152,173,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(96,152,173,.06) 1px,transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(90deg,#000,rgba(0,0,0,.45) 64%,transparent); }
.hero-tech-backdrop::before { content: ""; position: absolute; width: 520px; height: 520px; left: -240px; top: -300px; border: 1px solid rgba(96,152,173,.2); border-radius: 50%; box-shadow: 0 0 0 70px rgba(96,152,173,.028),0 0 0 140px rgba(96,152,173,.018); }
.hero-tech-backdrop span { position: absolute; height: 1px; background: linear-gradient(90deg,transparent,rgba(96,152,173,.36),transparent); transform: rotate(-25deg); }
.hero-tech-backdrop span:nth-child(1) { width: 620px; right: 34%; top: 16%; }
.hero-tech-backdrop span:nth-child(2) { width: 420px; left: 8%; bottom: 12%; }
.hero-tech-backdrop span:nth-child(3) { width: 280px; right: 5%; bottom: 18%; }
.hero-copy { position: relative; z-index: 2; padding: 64px clamp(38px,4.8vw,88px) 58px; display: flex; flex-direction: column; justify-content: center; }
.hero-system-line { margin-bottom: 35px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #5d899a; font-size: 8px; font-weight: 750; letter-spacing: .17em; }
.hero-system-line small { display: flex; align-items: center; gap: 7px; color: #6c808b; font-size: 8px; letter-spacing: .08em; }
.hero-system-line i,.hero-viewport-header i { width: 6px; height: 6px; display: inline-block; border-radius: 50%; background: #45a47b; box-shadow: 0 0 0 4px rgba(69,164,123,.1); animation: hero-status-pulse 2.4s ease-in-out infinite; }
@keyframes hero-status-pulse { 50% { box-shadow: 0 0 0 8px rgba(69,164,123,0); } }
.eyebrow, .visual-label { font-size: 11px; letter-spacing: .18em; font-weight: 700; color: var(--blue); }
.eyebrow span { display: inline-block; width: 39px; height: 2px; margin-right: 13px; vertical-align: middle; background: var(--sky); }
.hero h1 { max-width: 720px; margin: 24px 0 24px; font-size: clamp(42px,4.25vw,70px); line-height: 1.15; letter-spacing: -.055em; font-weight: 700; }
.hero h1 .hero-title-line { position: relative; display: block; width: fit-content; white-space: nowrap; }
.hero h1 .hero-title-accent::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--blue); }
.hero-lead { max-width: 680px; margin: 0; color: var(--muted); font-size: 16px; line-height: 2; }
.hero-lead strong { color: var(--ink); font-size: 1.16em; font-weight: 700; letter-spacing: .02em; }
.hero-actions { display: flex; gap: 12px; margin-top: 30px; }
.button { position: relative; min-width: 220px; height: 54px; overflow: hidden; display: flex; align-items: center; justify-content: space-between; padding: 0 23px; font-weight: 650; font-size: 13px; transition: transform .25s ease,background .25s ease,border-color .25s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: #d7e5ea; color: var(--ink); box-shadow: 0 12px 25px rgba(74,112,132,.15); }
.button-primary:hover { background: #c9dce3; }
.button-secondary { border: 1px solid #a4b4bc; background: rgba(255,255,255,.76); }
.button-secondary:hover { border-color: #6f8c9b; background: #fff; }
.hero-note { margin: 20px 0 0; font-size: 12px; color: #667585; }
.hero-note span { color: var(--blue); font-size: 8px; margin-right: 7px; }
.hero-capabilities { margin-top: 35px; padding-top: 16px; display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; border-top: 1px solid rgba(96,152,173,.28); }
.hero-capabilities span { display: grid; gap: 5px; color: #73909f; font-size: 8px; letter-spacing: .08em; }
.hero-capabilities b { color: #3f5967; font-size: 8px; letter-spacing: .09em; }

.hero-visual { position: relative; min-height: 760px; overflow: visible; display: grid; place-items: center; background: transparent; }
.hero-visual::before { content: ""; position: absolute; width: 78%; height: 70%; border-radius: 50%; background: radial-gradient(circle,rgba(188,220,230,.62),rgba(232,245,248,.26) 56%,transparent 72%); filter: blur(8px); }
.hero-process { position: relative; z-index: 2; width: min(92%,980px); margin: 0 0 0 -2%; overflow: hidden; background: rgba(255,255,255,.88); border: 1px solid rgba(153,179,191,.72); box-shadow: 0 34px 85px rgba(48,75,89,.17); backdrop-filter: blur(12px); }
.hero-process::before,.hero-process::after { content: ""; position: absolute; z-index: 5; width: 26px; height: 26px; pointer-events: none; }
.hero-process::before { left: 10px; top: 10px; border-left: 2px solid #7f9ead; border-top: 2px solid #7f9ead; }
.hero-process::after { right: 10px; bottom: 10px; border-right: 2px solid #7f9ead; border-bottom: 2px solid #7f9ead; }
.hero-viewport-header { height: 42px; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(153,179,191,.55); background: rgba(236,243,246,.72); color: #4b6a79; font-size: 8px; font-weight: 750; letter-spacing: .16em; }
.hero-viewport-header span { display: flex; align-items: center; gap: 9px; }
.hero-viewport-header small { color: #78909c; font-size: 7px; letter-spacing: .1em; }
.hero-slides { position: relative; width: 100%; aspect-ratio: 4/3; overflow: hidden; background: linear-gradient(135deg,rgba(255,255,255,.96),rgba(236,243,246,.78)); }
.hero-slides::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(89,123,141,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(89,123,141,.045) 1px,transparent 1px); background-size: 28px 28px; }
.hero-slides::after { content: ""; position: absolute; z-index: 4; left: 8%; right: 8%; height: 1px; top: 10%; opacity: .55; background: linear-gradient(90deg,transparent,#76a3b8,transparent); animation: hero-scan 5s ease-in-out infinite; }
@keyframes hero-scan { 50% { top: 88%; opacity: .15; } }
.hero-slides img { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; padding: 16px 28px; object-fit: contain; object-position: center; opacity: 0; filter: drop-shadow(0 18px 20px rgba(38,52,61,.13)); animation: hero-slide 30s infinite; }
.hero-slides img:nth-child(1) { animation-delay: 0s; }
.hero-slides img:nth-child(2) { object-position: center 47%; animation-delay: 5s; }
.hero-slides img:nth-child(3) { object-position: center 51%; animation-delay: 10s; }
.hero-slides img:nth-child(4) { object-position: center 36%; animation-delay: 15s; }
.hero-slides img:nth-child(5) { object-position: center 50%; animation-delay: 20s; }
.hero-slides img:nth-child(6) { object-position: center 48%; animation-delay: 25s; }
@keyframes hero-slide {
  0%,13.333% { opacity: 1; }
  16.667%,100% { opacity: 0; }
}
.hero-process figcaption { padding: 18px 22px 20px; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 18px; border-top: 1px solid rgba(153,179,191,.55); }
.hero-process figcaption > div { display: grid; gap: 5px; }
.hero-process figcaption small { color: var(--blue); font-size: 8px; letter-spacing: .18em; }
.hero-process figcaption strong { font-size: 14px; }
.hero-process figcaption span { max-width: 205px; color: var(--muted); font-size: 10px; line-height: 1.6; text-align: right; }
.hero-data-card { position: absolute; z-index: 4; padding: 11px 13px; display: grid; grid-template-columns: auto auto; align-items: baseline; column-gap: 7px; border: 1px solid rgba(143,169,181,.62); background: rgba(255,255,255,.82); box-shadow: 0 12px 30px rgba(48,75,89,.1); backdrop-filter: blur(10px); }
.hero-data-card small { grid-column: 1 / -1; margin-bottom: 6px; color: #6a8796; font-size: 6px; font-weight: 750; letter-spacing: .15em; }
.hero-data-card strong { color: #324b58; font-size: 15px; letter-spacing: -.02em; }
.hero-data-card span { color: #77909d; font-size: 7px; letter-spacing: .08em; }
.hero-data-card-a { left: 2.5%; top: 24%; }
.hero-data-card-b { right: 1.5%; bottom: 21%; }
.proof {
  display: grid;
  grid-template-columns: repeat(3,1fr) 1.2fr;
  color: var(--ink);
  background: #e8eff2;
}
.proof > div { min-height: 124px; padding: 25px clamp(28px,4vw,68px); display: flex; flex-direction: column; justify-content: center; border-right: 1px solid var(--panel-blue-line); }
.proof small { color: #64879a; font-size: 9px; letter-spacing: .18em; }
.proof p { margin: 9px 0 0; font-size: 14px; white-space: nowrap; }
.proof strong { font-size: clamp(24px,1.9vw,32px); letter-spacing: -.04em; }
.proof-configurator { min-height: 124px; padding: 20px clamp(24px,3vw,48px); display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #fff; background: linear-gradient(125deg,#64a0b6,#83bccd); transition: background .25s ease; }
.proof-configurator:hover { background: linear-gradient(125deg,#4f8ca3,#70acbe); }
.proof-configurator span { display: grid; gap: 7px; }
.proof-configurator small { color: rgba(255,255,255,.72); }
.proof-configurator strong { color: #fff; font-size: 14px; letter-spacing: .02em; }
.proof-configurator > b { font-size: 20px; font-weight: 400; transition: transform .25s ease; }
.proof-configurator:hover > b { transform: translate(3px,-3px); }

.section { padding: 96px clamp(34px,6.8vw,120px); }
.section-kicker { display: flex; align-items: center; gap: 16px; }
.section-kicker span { color: var(--blue); font-size: 11px; font-weight: 700; letter-spacing: .2em; }
.section-kicker small { color: var(--muted); font-size: 12px; font-weight: 500; }
.section-kicker.light span { color: var(--blue); }
.section-kicker.light small { color: #647985; }
.intro-heading { margin-top: 31px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 12%; align-items: end; }
.intro-heading h2,.difference h2,.cases h2,.consultation h2,.company h2,.contact h2 { margin: 0; font-size: clamp(34px,3vw,50px); line-height: 1.38; letter-spacing: -.04em; font-weight: 650; }
.intro-heading p,.difference-copy > p,.cases-heading > p,.consultation-heading > p,.company-copy > p,.contact-copy > p { margin: 0; color: var(--muted); font-size: 16px; font-weight: 500; line-height: 2; }
.services-grid { margin-top: 58px; display: grid; grid-template-columns: repeat(6,1fr); gap: 20px; }
.service-card { grid-column: span 2; min-height: 510px; padding: 26px; display: flex; flex-direction: column; color: inherit; border: 1px solid var(--line); transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.service-card:hover { border-color: var(--sky); box-shadow: 0 18px 42px rgba(60,105,128,.12); transform: translateY(-3px); }
.service-top { display: flex; justify-content: space-between; align-items: center; }
.service-top > div { display: flex; align-items: center; gap: 11px; }
.service-top > div > span { color: var(--blue); font-size: 12px; font-weight: 700; }
.service-top em { padding: 4px 8px 3px; color: white; background: #a4232d; font-size: 8px; font-style: normal; font-weight: 800; letter-spacing: .16em; line-height: 1; }
.service-top small { color: #7a8794; font-size: 9px; letter-spacing: .06em; }
.service-image { margin: 22px 0 0; aspect-ratio: 16/8.5; overflow: hidden; background: white; }
.service-image img { width: 100%; height: 100%; object-fit: contain; transition: transform .4s ease; }
.service-card:hover .service-image img { transform: none; }
.service-card h3 { margin: 22px 0 13px; font-size: 21px; }
.service-card p { margin: 0; color: #4d5b64; font-size: 15px; font-weight: 500; line-height: 1.85; letter-spacing: .01em; }
.service-card-cta { margin-top: auto; padding-top: 22px; display: flex; justify-content: space-between; border-top: 1px solid var(--line); font-size: 12px; font-weight: 700; color: var(--navy); }

.difference { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: 1.05fr .95fr; gap: 6%; align-items: start; color: var(--ink); background: var(--panel-blue); }
.difference::before { content: "ARAKI DIFFERENCE"; position: absolute; z-index: 0; right: -2vw; top: 22px; color: rgba(38,52,61,.035); font-size: clamp(68px,8vw,142px); font-weight: 800; letter-spacing: -.055em; line-height: .9; white-space: nowrap; pointer-events: none; }
.difference > * { position: relative; z-index: 1; }
.difference-visual { position: relative; min-height: 620px; padding: 34px 28px 112px; display: flex; flex-direction: column; justify-content: center; overflow: hidden; background: #fff; border-top: 4px solid var(--sky); box-shadow: 0 30px 70px rgba(7,17,23,.32); }
.difference-visual::before { content: none; }
.difference-visual > img { position: relative; z-index: 1; width: calc(100% + 16px); max-width: none; margin-left: -8px; filter: none; }
.flow-comparison-summary { position: relative; z-index: 1; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.flow-comparison-label { display: flex; align-items: baseline; gap: 11px; color: var(--blue); font-size: 8px; font-weight: 700; letter-spacing: .18em; }
.flow-comparison-label small { color: var(--muted); font-size: 9px; font-weight: 500; letter-spacing: .05em; }
.flow-comparison-grid { margin-top: 13px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.flow-state { min-width: 0; padding: 15px 16px 16px; background: #f5f8f9; border-left: 4px solid #9baab1; }
.flow-state-new { background: #edf5f8; border-left-color: #6c9db5; }
.flow-state > span { display: block; color: var(--muted); font-size: 10px; font-weight: 700; }
.flow-state-new > span { color: #47788f; }
.flow-state strong { display: block; margin-top: 7px; color: var(--ink); font-size: clamp(13px,1.08vw,17px); line-height: 1.45; }
.flow-state p { margin: 7px 0 0; color: var(--muted); font-size: 10px; line-height: 1.65; }
.difference-metric { position: relative; z-index: 1; margin-top: 22px; padding-top: 20px; display: grid; gap: 9px; border-top: 1px solid var(--line); }
.difference-metric strong { color: var(--navy); font-size: clamp(21px,2vw,31px); letter-spacing: -.03em; }
.difference-metric strong sup { margin-left: 2px; color: var(--blue); font-size: .52em; vertical-align: super; }
.difference-metric small { max-width: 670px; color: var(--muted); font-size: 10px; line-height: 1.7; }
.difference-caption { position: absolute; z-index: 2; left: 0; bottom: 0; padding: 18px 22px; display: flex; flex-direction: column; gap: 5px; color: var(--ink); background: rgba(220,230,234,.96); }
.difference-caption span { font-size: 8px; letter-spacing: .18em; color: var(--blue); }
.difference-caption strong { font-size: 14px; }
.difference-copy { padding-top: 0; }
.difference-copy h2 { margin-top: 25px; color: var(--ink); }
.difference-copy > p { margin-top: 24px; color: var(--muted); }
.difference-thesis { margin: 31px 0 0; padding: 13px 0 13px 18px; display: flex; flex-wrap: wrap; gap: .4em; border-left: 3px solid var(--sky); font-size: 15px; font-weight: 500; line-height: 1.7; }
.difference-thesis span { color: var(--muted); }
.difference-thesis strong { color: var(--ink); font-weight: 700; }
.difference-secondary { margin: 30px 0 0; padding: 15px; overflow: hidden; background: #fff; border: 1px solid var(--panel-blue-line); box-shadow: 0 22px 50px rgba(7,17,23,.14); }
.difference-secondary img { width: 100%; aspect-ratio: 16/9; object-fit: contain; }
.difference-secondary figcaption { margin: 8px 5px 2px; padding-top: 18px; display: grid; gap: 8px; border-top: 1px solid var(--line); }
.difference-secondary figcaption strong { color: var(--navy); font-size: clamp(20px,1.8vw,28px); letter-spacing: -.03em; }
.difference-secondary figcaption strong sup { margin-left: 2px; color: var(--blue); font-size: .52em; vertical-align: super; }
.difference-secondary figcaption small { color: var(--muted); font-size: 10px; line-height: 1.7; }
.difference-copy ul { margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 28px; list-style: none; border-top: 1px solid var(--panel-blue-line); }
.difference-copy li { display: flex; gap: 17px; padding: 17px 0; border-bottom: 1px solid var(--panel-blue-line); }
.difference-copy li strong { color: var(--blue); font-size: 11px; }
.difference-copy li span { color: var(--ink); font-size: 14px; font-weight: 700; }

.additive-comparison { color: var(--ink); background: #fff; }
.additive-heading { display: grid; grid-template-columns: .42fr 1.25fr .9fr; gap: 5%; align-items: end; }
.additive-heading .section-kicker { gap: 12px; }
.additive-heading .section-kicker small { font-size: 14px; line-height: 1.5; white-space: nowrap; }
.additive-heading h2 { margin: 0; font-size: clamp(34px,3vw,50px); line-height: 1.35; letter-spacing: -.045em; }
.additive-heading h2 span { display: block; white-space: nowrap; }
.additive-heading > p { margin: 0; color: var(--muted); font-size: 15px; font-weight: 500; line-height: 1.95; }
.additive-methods { margin-top: 58px; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); }
.additive-method { min-width: 0; padding: clamp(28px,3vw,48px); }
.additive-method-old { background: #f5f7f8; border-right: 1px solid var(--line); }
.additive-method-new { background: linear-gradient(145deg,#f3fafc 0%,#e4f3f7 100%); }
.additive-method-title { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 24px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.additive-method-title span { color: var(--blue); font-size: 9px; font-weight: 800; letter-spacing: .18em; }
.additive-method-old .additive-method-title span { color: #7d898f; }
.additive-method-title h3 { margin: 0; font-size: clamp(18px,1.7vw,25px); }
.additive-process-visual { margin: 28px 0 0; height: 250px; overflow: hidden; border: 1px solid #d7dfe2; background: #fff; }
.additive-process-visual img { width: 100%; height: 100%; object-fit: contain; }
.additive-process { margin: 31px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; list-style: none; }
.additive-process li { position: relative; min-height: 138px; padding: 18px 16px; display: flex; flex-direction: column; border: 1px solid #d7dfe2; background: #fff; }
.additive-process li:not(:last-child)::after { content: "›"; position: absolute; z-index: 1; right: -12px; top: 44px; color: #71828a; font-size: 25px; font-weight: 700; }
.additive-process strong { color: #9b3439; font-size: 10px; letter-spacing: .12em; }
.additive-process span { margin-top: 19px; color: var(--ink); font-size: 16px; font-weight: 750; }
.additive-process small { margin-top: 8px; color: var(--muted); font-size: 11px; line-height: 1.55; }
.additive-product { min-height: 260px; margin-top: 28px; display: grid; grid-template-columns: minmax(180px,.9fr) 1.1fr; align-items: center; gap: 24px; }
.additive-product img { width: 100%; height: 250px; object-fit: contain; mix-blend-mode: multiply; }
.additive-product strong { color: var(--navy); font-size: clamp(18px,1.7vw,25px); }
.additive-product p { margin: 13px 0 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.additive-points { margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2,1fr); gap: 0 22px; list-style: none; border-top: 1px solid var(--line); }
.additive-points li { position: relative; padding: 15px 0 15px 18px; color: var(--ink); border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 650; }
.additive-points li::before { content: ""; position: absolute; left: 0; top: 21px; width: 7px; height: 7px; border: 2px solid #a33b40; border-radius: 50%; }
.additive-method-new .additive-points li::before { border-color: var(--blue); background: var(--blue); }
.additive-results { display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid var(--line); border-top: 0; }
.additive-results > div { min-width: 0; padding: 24px 20px; display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: baseline; text-align: center; border-right: 1px solid var(--line); }
.additive-results > div:last-child { border-right: 0; }
.additive-results small { grid-column: 1 / -1; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .1em; }
.additive-results span { color: #8a3c42; font-size: 15px; font-weight: 750; }
.additive-results b { color: #7f929b; font-size: 16px; }
.additive-results strong { color: var(--navy); font-size: 20px; }
.additive-note { margin: 28px 0 0 auto; width: fit-content; color: var(--navy); font-size: clamp(20px,2vw,28px); font-weight: 750; text-align: right; }
.additive-note sup { color: var(--blue); font-size: .52em; vertical-align: super; }
.additive-note small { display: block; margin-top: 7px; color: var(--muted); font-size: 9px; font-weight: 500; line-height: 1.6; }

.cases-page-link { display: block; }
.cases { position: relative; background: #fff; transition: background .3s ease; }
.cases-page-link:hover .cases { background: #f7fbfc; }
.cases-page-link:focus-visible { outline: 3px solid var(--blue); outline-offset: -3px; }
.cases-heading { display: grid; grid-template-columns: .55fr 1.55fr .7fr; align-items: end; gap: 5%; }
.cases-heading h2 { font-size: clamp(34px,3vw,51px); }
.cases-heading h2 span,.consultation-heading h2 span,.showcase-copy h2 span { display: block; white-space: nowrap; }
.case-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; }
.case-image { aspect-ratio: 4/3; overflow: hidden; background: var(--white); }
.case-image img { width: 100%; height: 100%; object-fit: cover; filter: none; transition: none; }
.case-card:nth-child(2) .case-image img,.case-card:nth-child(3) .case-image img { object-fit: contain; }
.case-card:hover .case-image img { transform: none; }
.case-card small { display: block; margin-top: 22px; color: var(--blue); font-size: 9px; letter-spacing: .18em; }
.case-card h3 { margin: 10px 0 12px; font-size: 20px; }
.case-card p { margin: 0; color: var(--muted); font-size: 15px; font-weight: 500; line-height: 1.85; }
.cases-link-cue { width: fit-content; margin: 45px 0 0 auto; padding: 13px 0; display: flex; align-items: center; gap: 30px; color: var(--navy); border-bottom: 1px solid var(--navy); font-size: 13px; font-weight: 700; }
.cases-link-cue span { transition: transform .25s ease; }
.cases-page-link:hover .cases-link-cue span { transform: translateX(5px); }

/* Processing projects gallery */
.gallery-open { overflow: hidden; }
.projects-page { min-height: 100vh; overflow: visible; background: #fff; }
.projects-page .desktop-nav .is-current { color: var(--blue); }
.projects-page .desktop-nav .is-current::after { transform: scaleX(1); }
.projects-intro { position: relative; min-height: 470px; padding: 120px clamp(34px,6.8vw,120px) 78px; overflow: hidden; background: linear-gradient(132deg,#fff 0%,#f7fbfc 55%,#e9f4f7 100%); border-bottom: 1px solid var(--line); }
.projects-intro::before { content: "PROJECTS"; position: absolute; right: -1.5vw; bottom: -2.5vw; color: rgba(53,89,106,.045); font-size: clamp(120px,20vw,330px); font-weight: 800; line-height: .8; letter-spacing: -.08em; pointer-events: none; }
.projects-intro-copy { position: relative; z-index: 1; margin-top: 44px; display: grid; grid-template-columns: minmax(0,1.35fr) minmax(280px,.65fr); gap: 10%; align-items: end; }
.projects-intro h1 { margin: 0; font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Noto Serif JP", serif; font-size: clamp(48px,5.1vw,82px); font-weight: 500; line-height: 1.34; letter-spacing: -.045em; }
.projects-intro h1 span { display: block; }
.projects-intro-copy p { margin: 0; color: var(--muted); font-size: 15px; font-weight: 500; line-height: 2; }
.projects-intro-copy small { display: block; margin-top: 18px; color: var(--blue); font-size: 10px; font-weight: 700; letter-spacing: .06em; }
.projects-count { position: absolute; right: clamp(34px,6.8vw,120px); top: 40px; display: flex; align-items: baseline; gap: 12px; color: var(--blue); }
.projects-count strong { font-family: "Helvetica Neue", sans-serif; font-size: 30px; font-weight: 400; }
.projects-count span { font-size: 8px; font-weight: 800; letter-spacing: .18em; }
.projects-gallery-section { padding: 9px; background: #fff; }
.project-gallery { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; }
.project-gallery-item { position: relative; aspect-ratio: 1; overflow: hidden; padding: 0; border: 0; background: #edf3f5; cursor: zoom-in; }
.project-gallery-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg,transparent 55%,rgba(24,43,53,.72)); opacity: 0; transition: opacity .3s ease; }
.project-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.2,.7,.2,1); }
.project-gallery-item > span { position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 18px; display: flex; justify-content: space-between; align-items: baseline; color: #fff; opacity: 0; transform: translateY(8px); transition: opacity .3s ease, transform .3s ease; }
.project-gallery-item > span b { font-size: 8px; letter-spacing: .18em; }
.project-gallery-item > span small { font-size: 13px; }
.project-gallery-item:hover::after,.project-gallery-item:focus-visible::after { opacity: 1; }
.project-gallery-item:hover img,.project-gallery-item:focus-visible img { transform: scale(1.035); }
.project-gallery-item:hover > span,.project-gallery-item:focus-visible > span { opacity: 1; transform: translateY(0); }
.project-gallery-item:focus-visible { outline: 3px solid var(--sky); outline-offset: -3px; }
.project-lightbox { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; background: rgba(18,31,37,.94); backdrop-filter: blur(14px); }
.project-lightbox figure { width: min(84vw,1200px); height: min(82vh,860px); margin: 0; display: grid; grid-template-rows: minmax(0,1fr) auto; }
.project-lightbox figure > img { width: 100%; height: 100%; object-fit: contain; }
.project-lightbox figcaption { min-height: 54px; padding-top: 16px; display: flex; justify-content: space-between; color: rgba(255,255,255,.75); border-top: 1px solid rgba(255,255,255,.2); }
.project-lightbox figcaption span { font-size: 9px; letter-spacing: .18em; }
.project-lightbox figcaption strong { font-size: 11px; font-weight: 500; }
.project-lightbox-close,.project-lightbox-nav { position: absolute; z-index: 2; display: grid; place-items: center; color: #fff; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.04); cursor: pointer; transition: background .2s ease; }
.project-lightbox-close:hover,.project-lightbox-nav:hover { background: rgba(255,255,255,.14); }
.project-lightbox-close { top: 24px; right: 28px; width: 48px; height: 48px; font-size: 25px; font-weight: 300; }
.project-lightbox-nav { top: 50%; width: 48px; height: 48px; transform: translateY(-50%); }
.project-lightbox-prev { left: 28px; }
.project-lightbox-next { right: 28px; }
.projects-contact { padding: 110px clamp(34px,8vw,150px); display: grid; grid-template-columns: .4fr 1.1fr auto; gap: 6%; align-items: center; background: linear-gradient(130deg,#eaf5f7,#d8eaf0); }
.projects-contact > span { color: var(--blue); font-size: 10px; font-weight: 800; letter-spacing: .2em; }
.projects-contact h2 { margin: 0; font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Noto Serif JP", serif; font-size: clamp(32px,3.5vw,55px); font-weight: 500; line-height: 1.45; letter-spacing: -.035em; }
.projects-footer { min-height: 150px; padding: 45px clamp(34px,6.8vw,120px); display: flex; justify-content: space-between; align-items: end; color: #fff; background: #172126; }
.projects-footer > a { font-family: "Yu Mincho", "YuMincho", serif; font-size: 18px; letter-spacing: .15em; }
.projects-footer p { margin: 0; color: rgba(255,255,255,.46); font-size: 8px; letter-spacing: .12em; }
.text-link { width: fit-content; margin: 50px 0 0 auto; padding-bottom: 8px; display: flex; gap: 45px; border-bottom: 1px solid var(--navy); font-size: 13px; font-weight: 700; }

.consultation {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: 10%;
  color: var(--ink);
  background:
    radial-gradient(circle at 13% 16%, rgba(255,255,255,.78) 0, rgba(255,255,255,0) 34%),
    radial-gradient(circle at 86% 38%, rgba(104,180,201,.18) 0, rgba(104,180,201,0) 38%),
    linear-gradient(135deg, #f2fafc 0%, #deeff3 48%, #cde7ed 100%);
}
.consultation-heading h2 { margin-top: 28px; }
.consultation-heading > p { margin-top: 27px; color: var(--muted); }
.step-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--panel-blue-line); }
.step-list li { display: grid; grid-template-columns: 65px 1fr; gap: 18px; padding: 31px 0; border-bottom: 1px solid var(--panel-blue-line); }
.step-list > li > span { color: var(--blue); font-size: 12px; font-weight: 700; }
.step-list h3 { margin: 0 0 8px; font-size: 18px; }
.step-list p { margin: 0; color: var(--muted); font-size: 15px; font-weight: 500; line-height: 1.85; }

.material-showcase { display: grid; grid-template-columns: .84fr 1.08fr 1.08fr; min-height: 420px; background: #f4f6f7; }
.showcase-copy { padding: 72px 48px; display: flex; flex-direction: column; justify-content: center; }
.showcase-copy > span { color: var(--blue); font-size: 10px; font-weight: 700; letter-spacing: .2em; }
.showcase-copy h2 { margin: 22px 0 19px; font-size: clamp(31px,2.5vw,44px); line-height: 1.35; letter-spacing: -.04em; }
.showcase-copy p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.9; }
.showcase-image { min-height: 420px; overflow: hidden; border-left: 1px solid var(--line); background: white; }
.showcase-image img { width: 100%; height: 100%; object-fit: contain; padding: 18px; }
.showcase-red img { object-position: center; }
.showcase-gray img { padding: 24px; filter: none; }

.company { display: grid; grid-template-columns: .82fr 1.18fr; gap: 6%; align-items: stretch; background: #f5f7f8; }
.company-copy { align-self: center; padding: 12px 0; }
.company-copy h2 { margin-top: 29px; }
.company-copy > p { margin-top: 24px; }
.company dl { margin: 35px 0 0; font-size: 12px; }
.company dl div { display: grid; grid-template-columns: 90px 1fr; padding: 13px 0; border-top: 1px solid var(--line); }
.company dl div:last-child { border-bottom: 1px solid var(--line); }
.company dt { color: #758391; }
.company dd { margin: 0; }
.company-visual { position: relative; min-height: 560px; display: grid; place-items: stretch; overflow: hidden; background: var(--panel-blue); border-top: 4px solid var(--sky); box-shadow: 0 28px 64px rgba(23,42,53,.18); }
.company-visual::before { content: none; }
.company-visual::after { content: ""; position: absolute; z-index: 2; inset: 48% 0 0; pointer-events: none; background: linear-gradient(180deg,transparent,rgba(16,29,37,.86)); }
.company-visual img { position: relative; z-index: 1; width: 100%; height: 100%; max-height: none; object-fit: cover; object-position: center; mix-blend-mode: normal; }
.company-visual > div { position: absolute; z-index: 3; left: 0; bottom: 0; width: 100%; padding: 30px 32px; display: flex; flex-direction: column; gap: 7px; color: white; background: transparent; }
.company-visual span { font-size: 8px; letter-spacing: .16em; }
.company-visual strong { font-size: 15px; }

.contact { display: grid; grid-template-columns: .72fr 1.28fr; gap: 7%; align-items: start; color: var(--ink); background: #ffffff; }
.contact-copy h2 { margin-top: 28px; }
.contact-copy > p { margin-top: 24px; color: var(--muted); }
.contact-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 27px; }
.contact-tags span { padding: 8px 13px; border: 1px solid var(--panel-blue-line); font-size: 10px; }
.contact-direct { margin-top: 40px; border-top: 1px solid var(--panel-blue-line); }
.contact-direct a,.contact-direct > div { padding: 19px 0; display: grid; grid-template-columns: 65px 1fr; gap: 12px; align-items: center; border-bottom: 1px solid var(--panel-blue-line); }
.contact-direct small { color: var(--blue); font-size: 9px; letter-spacing: .15em; }
.contact-direct strong { font-size: 15px; }
.contact-direct span { grid-column: 2; margin-top: -8px; color: var(--muted); font-size: 10px; }

.consultation-form { position: relative; padding: clamp(28px,4vw,54px); color: var(--ink); background: #fff; border-top: 4px solid var(--sky); box-shadow: 0 28px 70px rgba(7,17,23,.28); }
.form-heading { position: relative; min-height: 166px; padding-right: 190px; display: flex; flex-direction: column; justify-content: center; }
.form-heading small { color: var(--blue); font-size: 9px; font-weight: 700; letter-spacing: .18em; }
.form-heading h3 { margin: 12px 0 8px; font-size: clamp(25px,2.2vw,34px); letter-spacing: -.03em; }
.form-heading p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.7; }
.form-heading p span { color: #a40000; }
.arakky-guide { position: absolute; right: -10px; top: -32px; width: 190px; margin: 0; display: grid; justify-items: center; pointer-events: none; transform-origin: center bottom; animation: arakky-wave 3.4s ease-in-out infinite; }
.arakky-guide-character { width: 190px; height: 190px; position: relative; }
.arakky-guide-character img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: contain; filter: drop-shadow(0 12px 13px rgba(38,52,61,.16)); }
.arakky-guide .character-eyes-open { animation: character-eyes-open 6s step-end infinite; }
.arakky-guide .character-eyes-closed { opacity: 0; animation: character-eyes-closed 6s step-end infinite; }
.arakky-guide figcaption { position: relative; z-index: 1; margin-top: -27px; padding: 8px 12px; display: grid; gap: 1px; color: var(--navy); background: var(--panel-blue); border: 1px solid var(--panel-blue-line); line-height: 1.45; text-align: center; }
.arakky-guide figcaption small { color: var(--blue); font-size: 8px; font-weight: 700; letter-spacing: .07em; }
.arakky-guide figcaption strong { font-size: 14px; }
.arakky-guide figcaption span { margin-top: 2px; font-size: 10px; font-weight: 650; }
@keyframes arakky-wave {
  0%,100% { transform: translateY(0) rotate(-1deg); }
  45% { transform: translateY(-8px) rotate(1.5deg); }
  58% { transform: translateY(-5px) rotate(-.4deg); }
}
.form-grid { margin-top: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.consultation-form label > span { display: block; margin-bottom: 8px; color: #42545f; font-size: 11px; font-weight: 700; }
.consultation-form input:not([type="checkbox"]),.consultation-form select,.consultation-form textarea { width: 100%; border: 1px solid #cbd5da; border-radius: 0; color: var(--ink); background: #fbfcfc; outline: none; }
.consultation-form input:not([type="checkbox"]),.consultation-form select { height: 48px; padding: 0 13px; }
.consultation-form textarea { padding: 13px; resize: vertical; line-height: 1.7; }
.consultation-form input:focus,.consultation-form select:focus,.consultation-form textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 2px rgba(89,123,141,.14); }
.form-message { display: block; margin-top: 22px; }
.file-drop { margin-top: 24px; min-height: 190px; padding: 28px; display: grid; place-items: center; align-content: center; gap: 8px; border: 1px dashed #9aabb4; background: #f4f7f8; text-align: center; transition: background .2s,border-color .2s; }
.file-drop.is-dragging { border-color: var(--blue); background: #e6eef1; }
.file-drop strong { font-size: 16px; }
.file-drop > span { color: var(--muted); font-size: 10px; }
.file-drop button { padding: 10px 20px; border: 1px solid var(--navy); color: var(--navy); background: white; cursor: pointer; }
.file-drop small { color: var(--muted); font-size: 9px; line-height: 1.6; }
.selected-files { margin: 13px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.selected-files li { padding: 11px 2px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); font-size: 11px; }
.selected-files li span { min-width: 0; overflow-wrap: anywhere; }
.selected-files li small { margin-left: 10px; color: var(--muted); }
.selected-files li button { border: 0; color: var(--muted); background: transparent; font-size: 20px; cursor: pointer; }
.consent-row { margin-top: 20px; display: flex; gap: 10px; align-items: flex-start; }
.consent-row input { margin-top: 2px; accent-color: var(--blue); }
.consent-row span { margin: 0 !important; font-size: 11px !important; font-weight: 500 !important; }
.consent-row a { border-bottom: 1px solid var(--navy); }
.form-honeypot { position: absolute; left: -10000px; width: 1px !important; height: 1px !important; opacity: 0; }
.form-submit { width: 100%; min-height: 58px; margin-top: 20px; padding: 0 21px; display: flex; align-items: center; justify-content: space-between; border: 0; color: var(--ink); background: var(--panel-blue); font-weight: 700; cursor: pointer; }
.form-submit:hover { background: var(--panel-blue-hover); }
.form-submit:disabled { cursor: wait; opacity: .65; }
.form-security { margin: 11px 0 0; color: var(--muted); font-size: 9px; line-height: 1.6; }
.form-success { margin-top: 18px; padding: 18px 16px 18px 20px; display: grid; grid-template-columns: minmax(0,1fr) minmax(190px,260px); align-items: center; gap: 18px; overflow: hidden; border-left: 4px solid #3d7b63; background: #edf6f2; }
.form-success-copy { display: grid; gap: 5px; }
.form-success strong { color: #285d49; }
.form-success span { font-size: 13px; font-weight: 700; }
.form-success small { color: var(--muted); }
.arakky-thanks-figure { width: 100%; margin: 0; display: grid; justify-items: center; align-self: end; }
.arakky-thanks { width: 100%; filter: drop-shadow(0 13px 14px rgba(38,52,61,.14)); transform-origin: center bottom; animation: arakky-arrive .9s cubic-bezier(.2,.75,.25,1.15) both, arakky-thanks-bob 3.2s 1s ease-in-out infinite; }
.arakky-thanks-figure figcaption { margin-top: -5px; color: var(--blue); font-size: 9px; font-weight: 600; letter-spacing: .06em; text-align: center; }
.arakky-thanks-figure figcaption strong { color: var(--navy); font-size: 12px; }
@keyframes arakky-arrive {
  0% { opacity: 0; transform: translate(120px,-280px) scale(.44) rotate(8deg); }
  68% { opacity: 1; transform: translate(-8px,5px) scale(1.04) rotate(-1deg); }
  100% { opacity: 1; transform: translate(0) scale(1) rotate(0); }
}
@keyframes arakky-thanks-bob {
  0%,100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-5px) rotate(.7deg); }
}
.form-error { margin: 12px 0 0; color: #9b2020; font-size: 11px; }

/* Burring model configurator */
.burring-page { min-height: 100vh; color: var(--ink); background: #eef3f5; }
.config-header { height: 84px; padding: 0 clamp(24px,5vw,80px); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: white; }
.config-header > a:last-child { display: flex; flex-direction: row-reverse; gap: 18px; align-items: center; color: var(--navy); font-size: 12px; font-weight: 700; }
.config-brand { display: flex; align-items: center; gap: 22px; }
.config-brand img { width: 170px; height: 54px; object-fit: contain; object-position: left center; }
.config-brand span { color: var(--ink); font-size: 13px; font-weight: 500; letter-spacing: .12em; }
.config-hero { padding: 78px clamp(24px,6vw,98px) 66px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 10%; align-items: end; color: white; background: #35596a; }
.config-hero > div > span { color: #bcd4df; font-size: 10px; font-weight: 700; letter-spacing: .22em; }
.config-hero h2 { margin: 17px 0 0; font-size: clamp(40px,5vw,76px); font-weight: 650; line-height: 1.25; letter-spacing: -.05em; }
.config-hero > p { max-width: 620px; margin: 0; color: #d9e4e9; font-size: 16px; font-weight: 500; line-height: 2; }
.burring-configurator { padding: 64px clamp(24px,6vw,98px) 92px; display: grid; grid-template-columns: minmax(0,1.08fr) minmax(380px,.92fr); gap: 38px; align-items: start; }
.config-form { padding: clamp(28px,4vw,56px); background: white; border-top: 4px solid #a4d0dc; }
.config-heading > span { color: var(--blue); font-size: 10px; font-weight: 700; letter-spacing: .19em; }
.config-heading h1 { margin: 17px 0 12px; font-size: clamp(35px,4vw,58px); line-height: 1.28; letter-spacing: -.045em; }
.config-heading > p { max-width: 680px; margin: 0; color: var(--muted); font-size: 15px; font-weight: 500; line-height: 1.9; }
.config-block { margin-top: 45px; padding-top: 28px; border-top: 1px solid var(--line); }
.config-block-title { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.config-block-title > strong { color: var(--blue); font-size: 12px; }
.config-block-title h2 { margin: 0; font-size: 22px; }
.config-block-title p { margin: 5px 0 0; color: var(--muted); font-size: 12px; }
.config-grid { margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.config-grid label > span,.conflict-select > span { display: block; margin-bottom: 8px; color: #42545f; font-size: 12px; font-weight: 700; }
.config-grid select,.config-grid input,.conflict-select select { width: 100%; height: 52px; padding: 0 14px; border: 1px solid #becbd1; border-radius: 0; color: var(--ink); background: #fbfcfc; font: inherit; outline: none; }
.config-grid select:focus,.config-grid input:focus,.conflict-select select:focus { border-color: var(--blue); box-shadow: 0 0 0 2px rgba(89,123,141,.14); }
.config-grid label > small { display: block; margin-top: 7px; color: var(--blue); font-size: 10px; font-weight: 600; }
.number-input { position: relative; }
.number-input input { padding-right: 54px; }
.number-input em { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 11px; font-style: normal; }
.output-options { margin-top: 24px; display: grid; grid-template-columns: repeat(5,1fr); gap: 9px; }
.output-options label { min-height: 82px; padding: 13px 10px; display: grid; place-items: center; align-content: center; gap: 5px; border: 1px solid var(--line); background: #fbfcfc; cursor: pointer; }
.output-options label.is-selected { border-color: #7699aa; background: var(--panel-blue); box-shadow: inset 0 -3px #7699aa; }
.output-options input { position: absolute; opacity: 0; pointer-events: none; }
.output-options strong { font-size: 14px; }
.output-options small { color: var(--muted); font-size: 8px; text-align: center; }
.conflict-select { display: block; margin-top: 20px; }
.config-errors { margin-top: 30px; padding: 17px 20px; border-left: 4px solid #a44747; background: #fbf1f1; }
.config-errors strong { color: #8a2b2b; font-size: 13px; }
.config-errors p { margin: 6px 0 0; color: #713f3f; font-size: 11px; }
.config-result { position: sticky; top: 24px; overflow: hidden; background: white; border-top: 4px solid var(--sky); box-shadow: 0 25px 60px rgba(31,55,67,.13); }
.config-preview { position: relative; min-height: 350px; padding: 28px; display: grid; place-items: center; background: #f7f9fa; }
.config-preview img { width: 100%; max-height: 300px; object-fit: contain; }
.config-preview > span { position: absolute; left: 20px; top: 18px; color: var(--blue); font-size: 9px; font-weight: 700; letter-spacing: .18em; }
.model-result { padding: 26px 30px 22px; border-top: 1px solid var(--line); }
.model-result small { color: var(--blue); font-size: 8px; font-weight: 700; letter-spacing: .18em; }
.model-result strong { margin-top: 9px; display: block; color: var(--navy); font-family: ui-monospace,SFMono-Regular,Menlo,monospace; font-size: clamp(17px,1.8vw,25px); line-height: 1.45; overflow-wrap: anywhere; }
.model-result p { margin: 10px 0 0; color: var(--muted); font-size: 11px; }
.config-summary { margin: 0; padding: 0 30px; }
.config-summary div { padding: 13px 0; display: grid; grid-template-columns: 75px 1fr; gap: 15px; border-top: 1px solid var(--line); }
.config-summary dt { color: var(--blue); font-size: 9px; font-weight: 700; letter-spacing: .08em; }
.config-summary dd { margin: 0; font-size: 12px; font-weight: 650; }
.config-actions { padding: 25px 30px 0; display: grid; gap: 10px; }
.config-actions button,.config-actions a { min-height: 53px; padding: 0 17px; display: flex; align-items: center; justify-content: space-between; border: 0; color: white; background: var(--navy); font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.config-actions button.secondary,.config-actions a { color: var(--navy); background: var(--panel-blue); }
.config-actions button.consult-link,.config-actions a.consult-link { color: white; background: #8f2530; }
.config-actions button:disabled { cursor: not-allowed; opacity: .42; }
.config-note { margin: 0; padding: 18px 30px 29px; color: var(--muted); font-size: 10px; line-height: 1.75; }
.config-flow { padding: 0 clamp(24px,6vw,98px) 92px; display: grid; grid-template-columns: repeat(4,1fr); }
.config-flow > div { min-height: 190px; padding: 27px; border-top: 1px solid #aebfc7; border-left: 1px solid #aebfc7; background: rgba(255,255,255,.45); }
.config-flow > div:last-child { border-right: 1px solid #aebfc7; }
.config-flow span { color: var(--blue); font-size: 10px; font-weight: 700; }
.config-flow strong { margin-top: 28px; display: block; font-size: 17px; }
.config-flow p { margin: 11px 0 0; color: var(--muted); font-size: 12px; line-height: 1.8; }
.config-footer { min-height: 230px; padding: 48px clamp(24px,6vw,98px); display: flex; flex-direction: column; justify-content: space-between; color: #78838b; background: #171b1e; }
.config-footer img { width: 250px; }
.config-footer p { margin: 45px 0 0; font-size: 9px; letter-spacing: .08em; }
.config-footer div { margin-top: 36px; }
.config-footer div p { margin: 10px 0 0; }
.config-footer .config-footer-notice { color: #aab2b8; font-size: 10px; letter-spacing: .04em; line-height: 1.8; }
.config-footer .config-footer-copyright { max-width: 980px; color: #919ca3; font-size: 9px; letter-spacing: .035em; line-height: 1.9; }

/* CAD configurator dashboard */
.cad-configurator { padding: 18px clamp(12px,2vw,30px) 70px; color: #263640; background: #f2f5f7; }
.cad-toolbar { min-height: 64px; padding: 0 16px 14px; display: grid; grid-template-columns: 270px 1fr 110px; align-items: center; gap: 24px; border-bottom: 1px solid #d4dfe4; }
.cad-toolbar > div { display: grid; gap: 2px; }
.cad-toolbar > div strong { color: #1f3f72; font-size: 16px; }
.cad-toolbar > div span { color: var(--muted); font-size: 10px; }
.cad-toolbar nav { height: 64px; display: flex; justify-content: center; gap: clamp(22px,4vw,70px); }
.cad-toolbar nav span { position: relative; display: flex; align-items: center; gap: 10px; color: #687780; font-size: 12px; white-space: nowrap; }
.cad-toolbar nav span.active { color: #174b9b; font-weight: 700; }
.cad-toolbar nav span.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: #2568cc; }
.cad-toolbar nav b { width: 25px; height: 25px; display: grid; place-items: center; border: 1px solid #9eabb2; border-radius: 50%; color: #42515a; font-size: 10px; }
.cad-toolbar nav .active b { border-color: #174b9b; color: white; background: #174b9b; }
.cad-toolbar nav.cad-toolbar-flow { justify-content: center; gap: 0; }
.cad-toolbar nav.cad-toolbar-flow span { min-height: 64px; padding: 0 36px; }
.cad-toolbar nav.cad-toolbar-flow span + span::before { content: "→"; position: absolute; left: -6px; color: #9aabb4; }
.cad-toolbar > button { height: 38px; border: 1px solid #ccd7dc; border-radius: 4px; color: #4f5d65; background: white; font: inherit; font-size: 11px; cursor: pointer; }
.config-beta-notice { margin: 14px 16px 0; padding: 14px 18px; display: grid; grid-template-columns: max-content 1fr; align-items: center; gap: 18px; border: 1px solid #b9d3df; border-left: 4px solid #28799d; background: linear-gradient(100deg,#f1f9fc 0%,#f8fbfc 100%); color: #354f5c; }
.config-beta-notice strong { color: #1d6382; font-size: 11px; letter-spacing: .13em; }
.config-beta-notice p { margin: 0; font-size: 11px; line-height: 1.75; }
.config-beta-notice a { color: #155c7e; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.cad-workspace { margin-top: 14px; display: grid; grid-template-columns: minmax(370px,.78fr) minmax(620px,1.42fr); gap: 14px; align-items: start; }
.cad-left-column,.cad-right-column { display: grid; gap: 14px; }
.cad-live-layout { margin-top: 14px; display: grid; grid-template-columns: minmax(0,1.05fr) minmax(420px,.95fr); gap: 14px; align-items: start; }
.cad-live-left { min-width: 0; display: grid; gap: 14px; }
.cad-live-left > .pipe-item-builder,.cad-live-left > .quote-settings { margin-top: 0; }
.cad-panel { padding: 16px; border: 1px solid #dce4e8; border-radius: 7px; background: white; box-shadow: 0 3px 13px rgba(43,68,82,.055); }
.cad-panel.guide-active { border-color: #8eb4ca; box-shadow: 0 8px 24px rgba(57,104,129,.13), inset 0 0 0 1px rgba(142,180,202,.22); }
.unified-config-panel { padding: 0; overflow: hidden; }
.unified-config-heading { min-height: 74px; padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; gap: 20px; background: linear-gradient(100deg,#f5f9fb,#fff); }
.unified-config-heading > div { display: grid; gap: 2px; }
.unified-config-heading small,.preview-heading > div:first-child small { color: #527b91; font-size: 8px; font-weight: 800; letter-spacing: .16em; }
.unified-config-heading h2 { margin: 0; color: #153f79; font-size: 21px; }
.unified-config-heading p { max-width: 300px; margin: 0; color: #62747e; font-size: 10px; line-height: 1.7; }
.config-section { padding: 19px 20px 21px; border-top: 1px solid #dfe7eb; transition: background .2s, box-shadow .2s; }
.config-section.guide-active { position: relative; z-index: 1; background: #f5fafc; box-shadow: inset 3px 0 #8eb4ca; }
.config-section-title { margin-bottom: 13px; display: flex; align-items: end; justify-content: space-between; gap: 16px; }
.config-section-title strong { color: #183f72; font-size: 15px; }
.config-section-title p { margin: 0; color: #71818a; font-size: 9px; line-height: 1.55; text-align: right; }
.compact-main-fields { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px 12px; }
.compact-main-fields > label { grid-template-columns: minmax(82px,max-content) minmax(92px,1fr); gap: 7px; }
.compact-main-fields > label > span { text-align: right; white-space: nowrap; }
.pipe-direction-guide { min-height: 35px; margin: 1px 0 10px; padding: 0 12px; display: flex; align-items: center; gap: 8px; border: 1px solid #d7e2e7; border-radius: 4px; color: #667983; background: #f4f8fa; font-size: 9px; }
.pipe-direction-guide strong { color: #174b83; font-size: 11px; }
.pipe-direction-guide i { flex: 1; position: relative; height: 1px; margin: 0 4px; background: #77a2ba; font-size: 0; }
.pipe-direction-guide i::after { content: ""; position: absolute; right: 0; top: -3px; border-left: 6px solid #77a2ba; border-top: 3px solid transparent; border-bottom: 3px solid transparent; }
.seamless-output-settings { margin-top: 14px; }
.configurator-guide { position: relative; min-height: 142px; margin: -2px 0 14px; padding: 12px 42px 12px 146px; display: grid; align-items: center; border: 1px solid #bfd2dc; border-radius: 7px; overflow: hidden; color: #263943; background: linear-gradient(105deg,#eef6fa 0,#f8fbfc 72%,#fff 100%); animation: configurator-guide-arrive .55s cubic-bezier(.2,.72,.24,1.1) both; }
.configurator-guide-character { position: absolute; left: 6px; bottom: 0; width: 132px; height: 140px; overflow: hidden; transform-origin: center bottom; animation: configurator-guide-bob 2.8s .6s ease-in-out infinite; }
.configurator-guide-character img { position: absolute; left: -8px; top: 0; width: 150px; height: 150px; object-fit: cover; object-position: 50% 18%; filter: drop-shadow(0 7px 7px rgba(35,66,82,.16)); }
.configurator-guide-character .character-eyes-open { animation: character-eyes-open 6s step-end infinite; }
.configurator-guide-character .character-eyes-closed { opacity: 0; animation: character-eyes-closed 6s step-end infinite; }
.configurator-guide-copy { display: grid; align-content: center; gap: 1px; }
.configurator-guide-copy > small { color: #587f94; font-size: 8px; font-weight: 700; letter-spacing: .06em; }
.configurator-guide-copy > strong { color: #174b83; font-size: 13px; }
.configurator-guide-copy p { margin: 5px 0 7px; color: #2d414c; font-size: 11px; font-weight: 700; line-height: 1.55; }
.configurator-guide-copy p span { margin-top: 1px; display: block; color: #60727c; font-size: 9px; font-weight: 500; }
.configurator-guide-copy > div { display: flex; align-items: center; gap: 9px; }
.configurator-guide-copy > div span { color: #78909c; font-size: 8px; font-weight: 700; }
.configurator-guide-copy > div button { min-width: 58px; height: 25px; padding: 0 10px; border: 0; border-radius: 3px; color: #fff; background: #2d6fbd; font: inherit; font-size: 9px; font-weight: 700; cursor: pointer; }
.configurator-guide-close { position: absolute; top: 7px; right: 8px; width: 25px; height: 25px; border: 0; color: #71848e; background: transparent; font: inherit; font-size: 17px; cursor: pointer; }
@keyframes configurator-guide-arrive { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes configurator-guide-bob { 0%,100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-4px) rotate(1deg); } }
@keyframes character-eyes-open { 0%,92%,96%,100% { opacity: 1; } 93%,95% { opacity: 0; } }
@keyframes character-eyes-closed { 0%,92%,96%,100% { opacity: 0; } 93%,95% { opacity: 1; } }
.burly-floating-guide { width: 250px; min-height: 132px; padding: 13px 13px 11px 62px; position: fixed; z-index: 80; right: 14px; bottom: 16px; display: grid; align-content: center; gap: 2px; border: 1px solid rgba(130,174,194,.72); border-radius: 8px; color: #263943; background: rgba(248,252,253,.78); box-shadow: 0 10px 26px rgba(25,57,73,.16); backdrop-filter: blur(2px); cursor: grab; touch-action: none; user-select: none; transition: left .7s cubic-bezier(.2,.76,.24,1),top .7s cubic-bezier(.2,.76,.24,1); animation: configurator-guide-arrive .45s cubic-bezier(.2,.72,.24,1.1) both; }
.burly-floating-guide.is-dragging { cursor: grabbing; transition: none; }
.burly-floating-guide:focus-visible { outline: 2px solid #2d6fbd; outline-offset: 3px; }
.burly-floating-character { width: 110px; height: 130px; position: absolute; left: -55px; bottom: 0; overflow: hidden; pointer-events: none; transform-origin: center bottom; animation: configurator-guide-bob 2.8s .6s ease-in-out infinite; }
.burly-floating-character img { width: 130px; height: 130px; position: absolute; left: -4px; bottom: -2px; object-fit: contain; filter: drop-shadow(0 6px 7px rgba(35,66,82,.16)); }
.burly-floating-character .character-eyes-open { animation: character-eyes-open 6s step-end infinite; }
.burly-floating-character .character-eyes-closed { opacity: 0; animation: character-eyes-closed 6s step-end infinite; }
.burly-floating-guide > small { color: #587f94; font-size: 8px; font-weight: 700; letter-spacing: .06em; }
.burly-floating-guide > strong { color: #174b83; font-size: 12px; }
.burly-floating-guide > p { margin: 5px 0 7px; font-size: 10px; line-height: 1.45; }
.burly-floating-guide > p b,.burly-floating-guide > p span { display: block; }
.burly-floating-guide > p b { margin-bottom: 2px; color: #263943; font-size: 10px; }
.burly-floating-guide > p span { color: #526b78; font-size: 9px; }
.burly-floating-close { width: 25px; height: 25px; position: absolute; top: 4px; right: 4px; border: 0; color: #71848e; background: transparent; font: inherit; font-size: 17px; cursor: pointer; }
.burly-floating-actions { display: flex; align-items: center; justify-content: flex-end; gap: 7px; }
.burly-floating-actions span { margin-right: auto; color: #78909c; font-size: 8px; font-weight: 700; }
.burly-floating-actions button { min-width: 46px; height: 25px; padding: 0 8px; border: 1px solid #8aaab9; border-radius: 3px; color: #31586d; background: rgba(255,255,255,.82); font: inherit; font-size: 8px; font-weight: 700; cursor: pointer; }
.burly-floating-actions button:last-child { border-color: #2d6fbd; color: #fff; background: #2d6fbd; }
.burly-floating-reopen { width: 82px; height: 92px; padding: 4px 6px 8px; position: fixed; z-index: 80; right: 14px; bottom: 16px; display: grid; justify-items: center; border: 1px solid #a9c7d5; border-radius: 10px; color: #174b83; background: rgba(248,252,253,.97); box-shadow: 0 12px 32px rgba(25,57,73,.2); font: inherit; font-size: 9px; font-weight: 800; cursor: pointer; }
.burly-floating-reopen img { width: 62px; height: 62px; object-fit: contain; object-position: center top; }
.burly-guide-target { position: relative; z-index: 3; border-color: #1874c8 !important; box-shadow: 0 0 0 4px rgba(24,116,200,.2),0 0 0 8px rgba(24,116,200,.08) !important; animation: burly-target-pulse 1.5s ease-in-out infinite; }
@keyframes burly-target-pulse { 0%,100% { box-shadow: 0 0 0 4px rgba(24,116,200,.2),0 0 0 8px rgba(24,116,200,.08); } 50% { box-shadow: 0 0 0 5px rgba(24,116,200,.32),0 0 0 12px rgba(24,116,200,.04); } }
.panel-title { margin-bottom: 14px; display: flex; justify-content: space-between; align-items: end; gap: 15px; }
.panel-title > div { display: flex; align-items: center; gap: 10px; }
.panel-title b,.cad-request-bar > div > span > b { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 3px; color: white; background: linear-gradient(145deg,#1d4d8f,#102f63); font-size: 13px; }
.panel-title strong { color: #153f79; font-size: 16px; }
.panel-title p { margin: 0; color: #75828a; font-size: 10px; }
.cad-split { display: grid; grid-template-columns: minmax(180px,.85fr) minmax(175px,1.15fr); gap: 18px; }
.cad-fields { display: grid; gap: 8px; align-content: start; }
.cad-fields > label { display: grid; grid-template-columns: 1fr minmax(96px,1.25fr); align-items: center; gap: 10px; }
.cad-fields label > span { color: #485860; font-size: 10px; font-weight: 650; }
.cad-fields select,.cad-fields input,.branch-table select,.branch-table input { width: 100%; height: 34px; padding: 0 10px; border: 1px solid #d2dce1; border-radius: 3px; color: #263640; background: #fff; font: inherit; font-size: 11px; outline: none; }
.cad-fields select:focus,.cad-fields input:focus,.branch-table select:focus,.branch-table input:focus { border-color: #3e7bd1; box-shadow: 0 0 0 2px rgba(50,113,204,.1); }
.cad-fields label > div { position: relative; }
.cad-fields label > div input { padding-right: 38px; }
.cad-fields em { position: absolute; top: 50%; right: 9px; transform: translateY(-50%); color: #829099; font-size: 9px; font-style: normal; }
.cad-fields .number-field-stack { display: grid; gap: 6px; }
.cad-fields .number-field-input { position: relative; }
.cad-fields .shortest-length-button { min-height: 36px; padding: 0 10px; border: 1px solid #2d73a0; border-radius: 3px; color: #fff; background: linear-gradient(100deg,#286f9f,#25826f); font: inherit; font-size: 11px; font-weight: 800; cursor: pointer; }
.cad-fields .shortest-length-button:hover { filter: brightness(1.08); }
.cad-fields .readonly { height: 34px; padding: 0 9px; display: flex; align-items: center; justify-content: space-between; border: 1px solid #e0e6e9; border-radius: 3px; background: #f2f5f6; }
.cad-fields .readonly strong { font-size: 11px; font-weight: 500; }
.mini-diagram { position: relative; min-height: 245px; margin: 0; overflow: hidden; border: 1px solid #e0e6e9; border-radius: 4px; background: #fff; }
.mini-diagram img,.burring-detail img { width: 100%; height: 100%; display: block; object-fit: contain; background: #fff; }
.mini-diagram img { min-height: 245px; padding: 10px 8px 30px; }
.mini-diagram figcaption,.burring-detail figcaption { position: absolute; left: 12px; right: 12px; bottom: 8px; color: #526873; font-size: 9px; font-weight: 650; text-align: center; }
.header-preview canvas { width: 100%; height: 100%; display: block; }
.mini-pipe { position: absolute; left: 18%; right: 8%; top: 40%; height: 72px; border: 2px solid #4f5c63; border-left-width: 4px; border-radius: 38px 14px 14px 38px; background: white; }
.mini-pipe::before { content: ""; position: absolute; left: 42%; top: -19px; width: 38px; height: 20px; border: 2px solid #4f5c63; border-bottom: 0; border-radius: 50% 50% 0 0; background: white; }
.mini-pipe i { position: absolute; left: -5px; top: 4px; width: 20px; height: 60px; border: 2px solid #4f5c63; border-radius: 50%; background: white; }
.length-label { position: absolute; left: 20%; right: 8%; top: 22%; padding-top: 8px; border-top: 1px solid #2770dd; color: #1760ca; font-size: 10px; text-align: center; }
.length-label::before,.length-label::after { content: ""; position: absolute; top: -5px; width: 1px; height: 10px; background: #2770dd; }
.length-label::before { left: 0; }.length-label::after { right: 0; }
.od-label { position: absolute; left: 5%; top: 45%; color: #1760ca; font-size: 9px; writing-mode: vertical-rl; }
.common-split { grid-template-columns: minmax(190px,.9fr) minmax(175px,1.1fr); }
.auto-specification { display: grid; align-content: start; gap: 10px; }
.auto-specification > p { margin: 0; color: #61717a; font-size: 9px; line-height: 1.7; }
.auto-spec-list { display: grid; gap: 5px; }
.auto-spec-list > div { min-height: 34px; padding: 6px 9px; display: grid; grid-template-columns: 44px 1fr 1fr; align-items: center; gap: 7px; border: 1px solid #dae4e8; border-radius: 3px; background: #f2f7fa; }
.auto-spec-list strong { color: #174b83; font-size: 10px; }
.auto-spec-list span { color: #63737c; font-size: 8px; white-space: nowrap; }
.auto-spec-list span b { color: #263943; font-size: 10px; }
.burring-detail { position: relative; min-height: 156px; margin: 0; overflow: hidden; border: 1px solid #e0e6e9; border-radius: 4px; background: #fff; }
.burring-detail img { min-height: 156px; padding: 8px 6px 28px; }
.burring-detail i { position: absolute; left: 14%; right: 8%; bottom: 32px; height: 54px; border: 2px solid #536169; border-radius: 28px 14px 14px 28px; background: white; }
.burring-detail b { position: absolute; left: 47%; bottom: 84px; width: 50px; height: 38px; border: 2px solid #536169; border-bottom: 0; border-radius: 18px 18px 0 0; background: white; }
.burring-detail .detail-h,.burring-detail .detail-r { position: absolute; z-index: 2; color: #1760ca; font-size: 9px; font-weight: 700; }
.burring-detail .detail-h { left: 31%; top: 31px; }.burring-detail .detail-r { right: 10%; top: 65px; }
.output-data-groups { display: grid; grid-template-columns: minmax(300px,.72fr) minmax(500px,1.28fr); gap: 12px; }
.output-data-group { padding: 14px; border: 1px solid #cfdce3; border-radius: 6px; background: #f8fbfd; }
.output-data-group-heading { margin-bottom: 12px; padding-bottom: 10px; display: grid; grid-template-columns: auto 1fr; column-gap: 9px; align-items: baseline; border-bottom: 1px solid #dbe5ea; }
.output-data-group-heading small { grid-row: 1 / span 2; align-self: center; color: #3472c8; font-size: 8px; font-weight: 800; letter-spacing: .14em; }
.output-data-group-heading strong { color: #183f72; font-size: 17px; }
.output-data-group-heading span { color: #74858f; font-size: 8px; }
.drawing-dimension-settings { margin: 12px 0 0; padding: 12px 14px; display: grid; grid-template-columns: minmax(145px,.65fr) minmax(280px,1.35fr); align-items: center; gap: 14px; border: 1px solid #dbe5ea; border-radius: 4px; background: #fff; }
.drawing-dimension-settings > div:first-child { display: grid; gap: 3px; }
.drawing-dimension-settings > div:first-child strong { color: #263f52; font-size: 11px; }
.drawing-dimension-settings > div:first-child small { color: #74858f; font-size: 8px; }
.dimension-method-options { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.dimension-method-options label { position: relative; min-height: 48px; padding: 8px 11px; display: grid; align-content: center; gap: 2px; border: 1px solid #d4dfe5; border-radius: 4px; cursor: pointer; background: #fff; }
.dimension-method-options label.selected { border-color: #3472c8; background: #edf5ff; box-shadow: inset 3px 0 #3472c8; }
.dimension-method-options input { position: absolute; opacity: 0; pointer-events: none; }
.dimension-method-options strong { color: #24496f; font-size: 11px; }
.dimension-method-options small { color: #74858f; font-size: 8px; }
.cad-output-options { display: grid; gap: 7px; }
.output-format-3d { grid-template-columns: repeat(2,1fr); }
.output-format-2d { grid-template-columns: repeat(3,1fr); }
.cad-output-options label { min-height: 54px; display: grid; place-items: center; align-content: center; border: 1px solid #d9e2e6; border-radius: 4px; cursor: pointer; background: #fbfcfd; }
.cad-output-options label.selected { border-color: #3472c8; background: #edf5ff; box-shadow: inset 0 -2px #3472c8; }
.cad-output-options input { position: absolute; opacity: 0; pointer-events: none; }
.cad-output-options strong { color: #24496f; font-size: 11px; }.cad-output-options small { color: #849098; font-size: 7px; }
.branch-table-wrap { overflow-x: auto; }
.branch-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.branch-table th { padding: 0 7px 10px; color: #43535c; font-size: 11px; font-weight: 700; line-height: 1.45; text-align: left; white-space: nowrap; }
.branch-table th small { color: #65757e; font-size: 9px; font-weight: 650; }
.branch-table th:first-child { width: 40px; }.branch-table th:nth-child(2) { width: 92px; }.branch-table th:nth-child(3) { width: 84px; }.branch-table th:nth-child(4) { width: 92px; }.branch-table th:nth-child(5) { width: 94px; }.branch-table th:nth-child(6) { width: 132px; }.branch-table th:nth-child(7) { width: 78px; }.branch-table th:last-child { width: 28px; }
.branch-table td { padding: 6px 7px; border-top: 1px solid #e2e8eb; color: #354750; font-size: 10px; }
.branch-table .position-input-cell { vertical-align: top; }
.position-input-cell small { margin-top: 5px; display: block; color: #b4232d; font-size: 8px; font-weight: 750; line-height: 1.45; }
.angle-input { position: relative; }.angle-input input { padding-right: 20px; }.angle-input span { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); color: #62717a; font-size: 10px; pointer-events: none; }
.table-readonly { height: 34px; padding: 0 10px; display: flex; align-items: center; border: 1px solid #e3e8eb; border-radius: 3px; color: #627079; background: #f3f5f6; }
.table-readonly.auto-value { padding: 0 7px; color: #174b83; font-size: 9px; font-weight: 700; background: #edf5fa; }
.branch-table td:last-child button { width: 26px; height: 26px; border: 0; color: #7d898f; background: transparent; cursor: pointer; font-size: 16px; }
.add-branch { margin-top: 10px; height: 34px; padding: 0 18px; border: 0; border-radius: 3px; color: white; background: linear-gradient(135deg,#2d79e7,#1d5bbb); font: inherit; font-size: 10px; font-weight: 700; cursor: pointer; box-shadow: 0 5px 12px rgba(38,101,195,.2); }
.branch-actions { margin-top: 10px; display: flex; align-items: center; gap: 12px; }
.branch-actions .add-branch { margin-top: 0; }
.branch-actions > span { color: #718089; font-size: 9px; font-weight: 650; }
.position-assist-message { margin: 9px 0 0; padding: 8px 10px; border-left: 3px solid #3c91c8; color: #385767; background: #eef8fc; font-size: 9px; font-weight: 650; line-height: 1.6; }
.branch-remove-guide { margin: 9px 0 0; color: #50636e; font-size: 10px; line-height: 1.7; }
.branch-remove-guide strong { color: #263943; }
.branch-remove-guide b { width: 20px; height: 20px; margin: 0 3px; display: inline-grid; place-items: center; border: 1px solid #b8c7cf; border-radius: 50%; color: #9f2630; background: #fff; font-size: 14px; line-height: 1; vertical-align: -2px; }
.branch-config-section .config-section-title strong { font-size: 17px; }
.branch-config-section .config-section-title p { font-size: 10px; }
.branch-config-section .branch-table th { font-size: 12px; }
.branch-config-section .branch-table th small { font-size: 10px; }
.branch-config-section .branch-table td { font-size: 11px; }
.branch-config-section .branch-table select,.branch-config-section .branch-table input { font-size: 12px; }
.branch-config-section .position-mode-heading select { height: 31px; padding: 0 7px; border: 1px solid #b9cbd5; border-radius: 3px; color: #183f72; background: #f7fbfd; font: inherit; font-size: 11px; font-weight: 750; }
.branch-config-section .position-mode-heading small { margin-top: 4px; display: block; }
.branch-config-section .minimum-pitch-button { width: 100%; min-height: 36px; margin-top: 7px; padding: 0 8px; border: 1px solid #2d73a0; border-radius: 3px; color: #fff; background: linear-gradient(100deg,#286f9f,#25826f); font: inherit; font-size: 11px; font-weight: 800; cursor: pointer; }
.branch-config-section .minimum-pitch-button:hover { filter: brightness(1.08); }
.branch-config-section .table-readonly.auto-value { font-size: 10px; }
.branch-config-section .position-input-cell small { font-size: 9px; }
.branch-config-section .angle-input span { font-size: 11px; }
.branch-config-section .add-branch { height: 36px; font-size: 11px; }
.branch-config-section .branch-actions > span,.branch-config-section .position-assist-message { font-size: 10px; }
.branch-config-section .branch-remove-guide { font-size: 11px; }
.add-branch:disabled { cursor: not-allowed; opacity: .42; box-shadow: none; }
.preview-panel { padding: 0; overflow: hidden; }
.live-preview-panel { width: 100%; min-width: 0; position: sticky; top: 10px; z-index: 4; align-self: start; max-height: calc(100vh - 20px); display: flex; flex-direction: column; will-change: transform; }
.live-preview-panel .webgl-preview,.live-preview-panel .header-preview { min-height: clamp(360px,calc(100vh - 180px),590px); flex: 1; }
.preview-heading { min-height: 48px; padding: 9px 12px 6px 16px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #e0e7ea; }
.preview-heading .panel-title { margin: 0; }
.preview-heading > div:first-child { display: grid; gap: 2px; }
.preview-heading > div:first-child strong { color: #153f79; font-size: 17px; }
.preview-heading > div:last-child { display: flex; }
.preview-heading button { min-width: 86px; height: 31px; border: 1px solid #d4dee3; color: #60717b; background: white; font: inherit; font-size: 9px; cursor: pointer; }
.preview-heading button.active { border-color: #2e71d1; color: white; background: #2e71d1; }
.header-preview { position: relative; min-height: 590px; overflow: hidden; isolation: isolate; background: radial-gradient(circle at 62% 30%,#fff 0,#f2f7fb 45%,#e6eef4 100%); }
.header-preview canvas { min-height: 590px; }
.webgl-preview { position: relative; min-height: 590px; overflow: hidden; isolation: isolate; background: #fff; }
.webgl-mount { position: absolute; inset: 0; }
.webgl-mount canvas { width: 100%; height: 100%; display: block; cursor: grab; touch-action: none; }
.webgl-mount canvas:active { cursor: grabbing; }
.webgl-caption { position: absolute; z-index: 2; right: 18px; top: 16px; display: grid; justify-items: end; gap: 4px; pointer-events: none; }
.webgl-caption strong { color: #24445d; font-size: 12px; }
.webgl-caption span { color: #71808a; font-size: 8px; }
.webgl-help { position: absolute; z-index: 3; left: 16px; right: 16px; bottom: 13px; display: flex; align-items: center; justify-content: space-between; gap: 12px; pointer-events: none; }
.webgl-help span { color: #70818a; font-size: 10px; letter-spacing: .02em; }
.webgl-help button { min-width: 92px; height: 32px; border: 1px solid #c9d6dc; border-radius: 3px; color: #48616d; background: rgba(255,255,255,.9); font: inherit; font-size: 10px; font-weight: 700; cursor: pointer; pointer-events: auto; }
.webgl-status { position: absolute; z-index: 2; left: 16px; top: 15px; padding: 5px 8px; border: 1px solid #c9dce5; color: #315d72; background: rgba(239,247,250,.9); font-size: 7px; font-weight: 700; letter-spacing: .08em; pointer-events: none; }
.webgl-pipe-weight { position: absolute; z-index: 3; left: 16px; bottom: 42px; min-width: 176px; padding: 9px 11px; display: grid; gap: 2px; border-left: 3px solid #5b8197; color: #294451; background: rgba(255,255,255,.9); box-shadow: 0 5px 16px rgba(36,63,77,.08); pointer-events: none; }
.webgl-pipe-weight small { color: #5d8092; font-size: 7px; font-weight: 800; letter-spacing: .12em; }
.webgl-pipe-weight strong { font-size: 11px; }.webgl-pipe-weight span { color: #708088; font-size: 7px; }
.preview-end-label { position: absolute; z-index: 4; top: 52%; transform: translateY(-50%); min-width: 62px; padding: 7px 9px; display: grid; justify-items: center; border: 1px solid #94b3c4; border-radius: 4px; color: #174b83; background: rgba(255,255,255,.93); box-shadow: 0 4px 12px rgba(34,68,87,.1); pointer-events: none; }
.preview-end-label b { font-size: 12px; }.preview-end-label span { color: #647b87; font-size: 8px; }
.preview-end-a { left: 14px; }.preview-end-b { right: 14px; }
.preview-step-export { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 7px 14px; padding: 14px 18px 16px; border-top: 1px solid #d8e2e8; background: #f8fbfc; }
.preview-step-export button { min-height: 42px; padding: 0 18px; border: 0; background: #1d6eab; color: #fff; font-size: 11px; font-weight: 800; cursor: pointer; }
.preview-step-export button:hover { background: #155a8d; }
.preview-step-export button:disabled { cursor: wait; opacity: .58; }
.preview-step-export span { color: #4e6572; font-size: 10px; }
.preview-step-export small { grid-column: 1 / -1; color: #536b77; font-size: 9px; }
.preview-step-export small.done { color: #247253; }
.preview-step-export small.error { color: #a33232; }
.preview-grid { position: absolute; inset: 0; opacity: .22; background-image: linear-gradient(rgba(77,116,145,.16) 1px,transparent 1px),linear-gradient(90deg,rgba(77,116,145,.16) 1px,transparent 1px); background-size: 28px 28px; mask-image: linear-gradient(to top,#000,transparent 85%); }
.main-pipe-preview { position: absolute; left: 7%; right: 5%; bottom: 20%; height: 78px; border: 1px solid #6d7b82; border-radius: 45px 22px 22px 45px; background: linear-gradient(180deg,#f8fbfc 0,#8e9ba2 20%,#e8eef0 48%,#78858c 76%,#d6dde0 100%); box-shadow: 0 14px 18px rgba(29,51,63,.2); transform: perspective(700px) rotateX(-5deg) rotateZ(-1deg); }
.main-pipe-preview::after { content: ""; position: absolute; left: -3px; top: 3px; width: 27px; height: 69px; border: 2px solid #647078; border-radius: 50%; background: radial-gradient(ellipse,#1e282d 0 56%,#c5cfd3 58% 72%,#66747b 74%); }
.branch-preview { position: absolute; z-index: 3; bottom: 39%; transform: translateX(-50%) rotate(-1deg); border: 1px solid #68757c; border-radius: 45% 45% 18% 18%; background: linear-gradient(90deg,#829097,#eef3f4 30%,#abb6ba 58%,#68767d); box-shadow: 2px 8px 9px rgba(32,51,61,.22); }
.branch-preview::before { content: ""; position: absolute; left: -1px; right: -1px; top: -8px; height: 15px; border: 1px solid #5e6b72; border-radius: 50%; background: radial-gradient(ellipse,#263136 0 52%,#dce3e5 54% 70%,#6e7b82 72%); }
.branch-preview::after { content: ""; position: absolute; left: -7px; right: -7px; bottom: -7px; height: 20px; border-radius: 50%; background: radial-gradient(ellipse,#aeb8bd 0 40%,#69777e 75%); z-index: -1; }
.branch-preview > span { position: absolute; left: 50%; bottom: calc(100% + 25px); transform: translateX(-50%); color: #1760ca; font-size: 9px; font-weight: 700; white-space: nowrap; }
.branch-preview > i { position: absolute; left: 50%; bottom: 100%; width: 1px; height: 22px; background: #3d79cb; }
.branch-preview > b { position: absolute; left: 50%; top: 25%; transform: translateX(-50%); color: rgba(255,255,255,.72); font-size: 8px; }
.main-length-dimension { position: absolute; left: 7%; right: 5%; bottom: 10%; border-top: 1px solid #2e6ec8; text-align: center; }
.main-length-dimension::before,.main-length-dimension::after { content: ""; position: absolute; top: -5px; width: 1px; height: 10px; background: #2e6ec8; }.main-length-dimension::before { left: 0; }.main-length-dimension::after { right: 0; }
.main-length-dimension span { position: relative; top: -18px; padding: 0 9px; color: #1760ca; background: #ebf2f7; font-size: 10px; }
.preview-axis { position: absolute; z-index: 5; left: 23px; bottom: 18px; width: 45px; height: 45px; color: #1760ca; font-size: 9px; font-weight: 700; }.preview-axis::before,.preview-axis::after { content: ""; position: absolute; left: 13px; bottom: 13px; background: #2770dd; transform-origin: left center; }.preview-axis::before { width: 27px; height: 2px; }.preview-axis::after { width: 2px; height: 27px; }.axis-x { position: absolute; right: 0; bottom: 6px; }.axis-z { position: absolute; left: 8px; top: 0; }.axis-y { position: absolute; left: 0; bottom: 2px; color: #239e62; }
.preview-caption { position: absolute; right: 18px; top: 16px; display: grid; justify-items: end; gap: 4px; }.preview-caption strong { color: #24445d; font-size: 12px; }.preview-caption span { color: #71808a; font-size: 8px; }
.drawing-mode { background: #fff; }.drawing-mode .preview-grid { opacity: .35; }.drawing-mode .main-pipe-preview,.drawing-mode .branch-preview { box-shadow: none; filter: grayscale(1); background: #fff; }
.cad-errors { padding: 12px 15px; display: flex; flex-wrap: wrap; gap: 6px 18px; border-left: 3px solid #a73c42; color: #7a3035; background: #fbefef; }.cad-errors strong { width: 100%; font-size: 11px; }.cad-errors span { font-size: 9px; }
.cad-request-bar { margin-top: 14px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 14px; }
.cad-request-bar > div { min-height: 142px; padding: 18px 28px; display: grid; grid-template-columns: 1fr 1.4fr; align-items: center; gap: 8px 24px; border: 1px solid #d8e3e6; border-radius: 7px; background: white; }
.cad-request-bar > div > span { display: flex; align-items: center; gap: 10px; }.cad-request-bar > div > span strong { color: #19457a; font-size: 16px; }
.cad-request-bar p { margin: 0; color: #65747d; font-size: 10px; line-height: 1.7; }
.cad-request-bar button { grid-column: 1 / -1; width: min(420px,85%); height: 46px; margin: 0 auto; display: flex; align-items: center; justify-content: center; gap: 16px; border: 0; border-radius: 4px; color: white; background: linear-gradient(135deg,#2477e7,#1558b9); font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; box-shadow: 0 8px 18px rgba(31,99,201,.2); }
.cad-request-bar .data-request { background: linear-gradient(120deg,#f0faf4,#fff); }.cad-request-bar .data-request > span strong { color: #19804c; }.cad-request-bar .data-request button { background: linear-gradient(135deg,#26a360,#148145); box-shadow: 0 8px 18px rgba(25,137,77,.2); }
.cad-request-bar button:disabled { cursor: not-allowed; opacity: .4; }
.cad-request-bar button i { font-style: normal; }
.configurator-customer-gate { margin-top: 14px; padding: clamp(22px,3vw,38px); }
.configurator-customer-gate .config-section-title { margin-bottom: 22px; }
.preview-heading-label { min-width: 88px; padding: 10px 18px; display: inline-flex; justify-content: center; color: #fff; background: #2b72bd; font-size: 11px; font-weight: 700; }
.cad-request-intro { padding: clamp(24px,3vw,38px); display: grid; grid-template-columns: minmax(0,1fr) minmax(280px,.75fr); align-items: center; gap: 30px; border: 1px solid #d4e1e6; background: linear-gradient(120deg,#f7fbfd,#edf7f6); }
.cad-request-intro strong { color: #203d4d; font-size: clamp(18px,2vw,25px); }
.cad-request-intro p { margin: 10px 0 0; color: #617783; font-size: 12px; line-height: 1.9; }
.cad-request-intro button { min-height: 58px; border: 0; border-radius: 3px; color: #fff; background: linear-gradient(100deg,#1d6eab 0%,#218a70 100%); font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; box-shadow: 0 8px 18px rgba(29,110,171,.2); }
.cad-request-intro button:disabled { cursor: not-allowed; opacity: .38; box-shadow: none; }
.customer-gate-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px 22px; }
.customer-gate-grid label,.customer-gate-note { display: grid; gap: 8px; }
.customer-gate-grid label > span,.customer-gate-note > span { color: #314752; font-size: 12px; font-weight: 700; }
.customer-gate-grid label b,.customer-gate-consent b { margin-left: 6px; color: #a82734; font-size: 9px; }
.customer-gate-grid input,.customer-gate-note textarea { width: 100%; border: 1px solid #bdccd4; border-radius: 3px; background: #fff; color: #243640; font: inherit; font-size: 14px; outline: none; transition: border-color .2s,box-shadow .2s; }
.customer-gate-grid input { height: 48px; padding: 0 13px; }
.customer-gate-note { margin-top: 18px; }
.customer-gate-note textarea { min-height: 88px; padding: 12px 13px; resize: vertical; line-height: 1.7; }
.customer-gate-grid input:focus,.customer-gate-note textarea:focus { border-color: #5588a4; box-shadow: 0 0 0 3px rgba(85,136,164,.13); }
.customer-gate-consent { margin-top: 20px; padding: 14px 16px; display: flex; align-items: flex-start; gap: 11px; border: 1px solid #d5e1e6; background: #f7fafb; color: #405762; font-size: 11px; line-height: 1.7; }
.customer-gate-consent input { width: 17px; height: 17px; margin-top: 1px; accent-color: #236d98; }
.customer-gate-consent a { color: #174e70; text-decoration: underline; text-underline-offset: 3px; }
.customer-gate-help { margin: 12px 0 0; color: #657a84; font-size: 10px; line-height: 1.7; }
.customer-gate-actions { margin-top: 22px; display: grid; grid-template-columns: 1fr; gap: 14px; }
.customer-gate-actions button { min-height: 54px; border: 0; border-radius: 3px; color: #fff; font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; transition: transform .2s,opacity .2s,background .2s; }
.customer-gate-actions button:not(:disabled):hover { transform: translateY(-1px); }
.customer-gate-actions .download-action { background: #1d6eab; box-shadow: 0 8px 18px rgba(29,110,171,.18); }
.customer-gate-actions .estimate-action { background: #238650; box-shadow: 0 8px 18px rgba(35,134,80,.18); }
.customer-gate-actions .combined-action { background: linear-gradient(100deg,#1d6eab 0%,#218a70 100%); box-shadow: 0 8px 18px rgba(29,110,171,.2); }
.customer-gate-actions button:disabled { cursor: not-allowed; opacity: .38; box-shadow: none; }
.customer-gate-actions .progress-action { min-height: 64px; position: relative; isolation: isolate; overflow: hidden; cursor: wait; background: #183b4c; box-shadow: 0 8px 18px rgba(24,59,76,.2); }
.customer-gate-actions button.progress-action:disabled { opacity: 1; cursor: wait; box-shadow: 0 8px 18px rgba(24,59,76,.2); }
.generation-progress-fill { position: absolute; z-index: 0; inset: 0 auto 0 0; background: linear-gradient(100deg,#2b78b1,#2c9b7f); transition: width .65s ease; }
.generation-progress-content { min-height: 48px; padding: 7px 16px; position: relative; z-index: 1; display: grid; place-content: center; gap: 4px; }
.generation-progress-content strong { font-size: 13px; }
.generation-progress-content small { color: rgba(255,255,255,.82); font-size: 10px; font-weight: 600; letter-spacing: .03em; }
.customer-gate-required { margin: 10px 0 0; color: #a33232; font-size: 10px; text-align: center; }
.customer-gate-status { margin: 14px 0 0; padding: 13px 15px; border-left: 3px solid #718894; background: #f1f5f7; color: #3a505b; font-size: 11px; line-height: 1.7; }
.customer-gate-status.done { border-color: #358360; background: #edf7f2; color: #225f45; }
.customer-gate-status.error { border-color: #b23b42; background: #fff3f3; color: #922c34; }
.generated-downloads { margin-top: 14px; padding: 17px; border: 1px solid #b9ccd5; background: #f7fafb; }
.generated-downloads > strong { color: #173f53; font-size: 13px; }
.generated-downloads > p { margin: 4px 0 12px; color: #647984; font-size: 10px; }
.generated-downloads > div { display: flex; flex-wrap: wrap; gap: 8px; }
.generated-downloads button { min-height: 38px; padding: 0 14px; border: 1px solid #397da4; border-radius: 3px; color: #fff; background: #246f9b; font: inherit; font-size: 10px; font-weight: 800; cursor: pointer; }
.generated-downloads button:hover { background: #185b82; }

.admin-shell { min-height: 100vh; padding: 54px clamp(22px,6vw,92px) 80px; color: var(--ink); background: #eef2f3; }
.admin-header { display: flex; justify-content: space-between; gap: 24px; align-items: end; }
.admin-header small { color: var(--blue); font-size: 10px; font-weight: 700; letter-spacing: .18em; }
.admin-header h1 { margin: 9px 0 0; font-size: clamp(27px,3.4vw,44px); letter-spacing: -.04em; }
.admin-header > div:last-child { display: grid; gap: 8px; text-align: right; font-size: 11px; }
.admin-header a,.admin-summary a,.admin-denied a { text-decoration: underline; text-underline-offset: 4px; }
.admin-reference-context { margin-top: 24px; padding: 18px 22px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-left: 4px solid var(--blue); background: #fff; }
.admin-reference-context > div { display: grid; gap: 5px; }
.admin-reference-context small { color: var(--muted); font-size: 9px; }
.admin-reference-context strong { color: var(--blue); font-size: 14px; letter-spacing: .04em; }
.admin-reference-context a { color: var(--blue); font-size: 10px; text-decoration: underline; text-underline-offset: 4px; }
.admin-summary { margin-top: 36px; padding: 22px 25px; display: flex; align-items: baseline; gap: 12px; color: var(--ink); background: var(--panel-blue); }
.admin-summary strong { font-size: 32px; }
.admin-summary span { font-size: 12px; }
.admin-summary a { margin-left: auto; font-size: 11px; }
.admin-manual-create { margin-top: 26px; border: 1px solid var(--line); background: #fff; }
.admin-manual-create > summary { padding: 18px 24px; color: #fff; background: var(--navy); font-size: 16px; font-weight: 700; cursor: pointer; }
.admin-manual-create form { padding: clamp(16px,3vw,28px); }
.admin-manual-create h2 { margin: 0 0 10px; font-size: 21px; }
.admin-manual-create p { margin: 12px 0 20px; font-size: 13px; line-height: 1.8; }
.admin-manual-create fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.admin-manual-create .is-wide { grid-column: 1 / -1; }
.admin-manual-create .admin-manual-note { color: var(--muted); margin-bottom: 0; }
.admin-manual-create button:disabled { opacity: .6; cursor: wait; }
.admin-manual-create a { color: var(--blue); text-decoration: underline; }
@media (max-width: 640px) { .admin-manual-create .admin-form-grid { grid-template-columns: 1fr; } }
.admin-filters { margin-top: 12px; padding: 22px 25px 24px; background: #fff; border-top: 3px solid var(--blue); }
.admin-filter-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.admin-filter-heading small { color: var(--blue); font-size: 9px; font-weight: 800; letter-spacing: .16em; }
.admin-filter-heading h2 { margin: 5px 0 0; font-size: 20px; letter-spacing: -.02em; }
.admin-filter-heading > span { color: var(--muted); font-size: 10px; }
.admin-filter-grid { margin-top: 18px; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.admin-filter-grid label { min-width: 0; display: grid; gap: 6px; }
.admin-filter-grid label > span { color: var(--muted); font-size: 9px; font-weight: 700; }
.admin-filter-grid select { width: 100%; height: 42px; padding: 0 34px 0 12px; border: 1px solid var(--line); border-radius: 0; color: var(--ink); background: #f8fafb; font: inherit; font-size: 11px; cursor: pointer; }
.admin-filter-grid select:focus { outline: 2px solid var(--sky); outline-offset: 1px; }
.admin-filter-actions { margin-top: 17px; display: flex; align-items: center; gap: 18px; }
.admin-filter-actions button { min-width: 150px; min-height: 42px; padding: 0 22px; border: 0; color: #fff; background: var(--blue); font: inherit; font-size: 11px; font-weight: 800; cursor: pointer; }
.admin-filter-actions button:hover { background: var(--ink); }
.admin-filter-actions a { color: var(--muted); font-size: 10px; text-decoration: underline; text-underline-offset: 4px; }
.admin-list-controls { margin-top: 18px; display: flex; justify-content: flex-end; align-items: center; gap: 12px; }
.admin-list-controls span { color: var(--muted); font-size: 10px; }
.admin-list-controls button { min-height: 36px; padding: 0 16px; border: 1px solid #a9bbc4; color: var(--blue); background: #fff; font: inherit; font-size: 10px; font-weight: 800; cursor: pointer; }
.admin-list-controls button:hover:not(:disabled) { color: #fff; background: var(--blue); border-color: var(--blue); }
.admin-list-controls button:disabled { color: #9aa8ae; background: #e7ecee; border-color: #d4dde1; cursor: default; }
.admin-list { margin-top: 8px; display: grid; gap: 8px; }
.admin-card { background: white; border-left: 3px solid var(--sky); }
.admin-card-summary { min-height: 72px; padding: 13px 18px; display: grid; grid-template-columns: minmax(220px,1.2fr) minmax(260px,1.5fr) auto auto 84px; align-items: center; gap: 18px; cursor: pointer; list-style: none; transition: background .2s ease; }
.admin-card-summary::-webkit-details-marker { display: none; }
.admin-card-summary:hover { background: #f7fbfc; }
.admin-card-summary:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; }
.admin-summary-main,.admin-summary-sub { min-width: 0; display: grid; gap: 5px; }
.admin-summary-main small { color: var(--blue); font-size: 9px; font-weight: 800; letter-spacing: .08em; }
.admin-summary-main strong { overflow: hidden; font-size: 15px; text-overflow: ellipsis; white-space: nowrap; }
.admin-summary-sub span { overflow: hidden; color: var(--muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.admin-summary-sub span:last-child { color: var(--ink); }
.admin-status { padding: 6px 9px; color: #17638b; background: #edf7fb; font-size: 9px; font-weight: 800; white-space: nowrap; }
.admin-status--won { color: #176443; background: #eaf8f1; }
.admin-status--lost { color: #795f45; background: #f7f2ec; }
.admin-card-summary time { color: var(--muted); font-size: 10px; white-space: nowrap; }
.admin-summary-toggle { color: var(--blue); font-size: 9px; font-weight: 800; text-align: right; white-space: nowrap; }
.admin-summary-toggle::after { content: " ＋"; font-size: 14px; }
.admin-card[open] .admin-summary-toggle { font-size: 0; }
.admin-card[open] .admin-summary-toggle::before { content: "閉じる"; font-size: 9px; }
.admin-card[open] .admin-summary-toggle::after { content: " −"; font-size: 14px; }
.admin-card-detail { padding: 0 clamp(20px,3vw,38px) clamp(23px,3vw,38px); border-top: 1px solid var(--line); }
.admin-card-top { display: flex; justify-content: space-between; gap: 25px; }
.admin-card-top small { color: var(--blue); font-size: 10px; font-weight: 700; letter-spacing: .1em; }
.admin-card-top h2 { margin: 8px 0 4px; font-size: 25px; }
.admin-card-top p,.admin-card-top time { margin: 0; color: var(--muted); font-size: 11px; }
.admin-card dl { margin: 27px 0 0; display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.admin-card dl div { padding: 14px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.admin-card dt { color: var(--muted); font-size: 9px; }
.admin-card dd { margin: 7px 0 0; font-size: 12px; overflow-wrap: anywhere; }
.admin-message,.admin-files { margin-top: 24px; }
.admin-message > span,.admin-files > span { color: var(--blue); font-size: 9px; font-weight: 700; letter-spacing: .12em; }
.admin-message p { margin: 9px 0 0; white-space: pre-wrap; font-size: 13px; line-height: 1.9; }
.admin-files ul { margin: 10px 0 0; padding: 0; list-style: none; }
.admin-files li { padding: 12px 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); }
.admin-file-info { min-width: 0; display: flex; align-items: baseline; gap: 16px; }
.admin-file-info strong { overflow-wrap: anywhere; font-size: 12px; font-weight: 500; }
.admin-file-info small { flex: none; color: var(--muted); }
.admin-file-actions { flex: none; display: flex; align-items: center; gap: 8px; }
.admin-file-actions a { padding: 9px 13px; font-size: 10px; font-weight: 700; }
.admin-file-open { color: white; background: var(--blue); }
.admin-file-download { color: var(--blue); border: 1px solid var(--line); }
.admin-files > p,.admin-empty { color: var(--muted); font-size: 12px; }
.admin-empty,.admin-denied { padding: 40px; background: white; }

.hikky-admin-intro { margin-top: 34px; padding: clamp(24px,4vw,42px); display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px,5vw,70px); align-items: end; background: #fff; border-top: 4px solid var(--blue); }
.hikky-admin-intro small { color: var(--blue); font-size: 9px; font-weight: 800; letter-spacing: .16em; }
.hikky-admin-intro h2 { margin: 8px 0 10px; font-size: clamp(23px,3vw,34px); }
.hikky-admin-intro p { max-width: 620px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.9; }
.hikky-admin-add-form { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 10px; }
.hikky-admin-add-form label { display: grid; gap: 7px; }
.hikky-admin-add-form label span { color: var(--muted); font-size: 9px; font-weight: 700; }
.hikky-admin-add-form input { min-width: 0; height: 44px; padding: 0 13px; border: 1px solid var(--line); border-radius: 0; background: #f8fafb; font-size: 12px; }
.hikky-admin-add-form button,.hikky-admin-row button { min-height: 44px; padding: 0 18px; border: 0; color: #fff; background: var(--blue); font: inherit; font-size: 10px; font-weight: 800; cursor: pointer; }
.hikky-admin-add-form button:hover,.hikky-admin-row button:hover:not(:disabled) { background: var(--ink); }
.hikky-admin-notice { margin: 14px 0 0; padding: 13px 16px; border-left: 3px solid; background: #fff; font-size: 11px; }
.hikky-admin-notice.is-success { border-color: #358360; color: #225f45; }
.hikky-admin-notice.is-error { border-color: #b23b42; color: #922c34; }
.hikky-admin-list { margin-top: 14px; background: #fff; }
.hikky-admin-list-head,.hikky-admin-row { min-height: 64px; padding: 0 22px; display: grid; grid-template-columns: minmax(260px,1.3fr) 90px minmax(200px,1fr) 110px; gap: 20px; align-items: center; border-bottom: 1px solid var(--line); }
.hikky-admin-list-head { min-height: 42px; color: var(--muted); background: #f7fafb; font-size: 9px; font-weight: 800; }
.hikky-admin-row strong { display: flex; align-items: center; gap: 10px; overflow-wrap: anywhere; font-size: 12px; }
.hikky-admin-row strong small { padding: 4px 6px; color: var(--blue); background: #edf7fb; font-size: 8px; white-space: nowrap; }
.hikky-admin-row > span { overflow-wrap: anywhere; color: var(--muted); font-size: 10px; }
.hikky-admin-row .admin-status-active,.hikky-admin-row .admin-status-paused { width: fit-content; padding: 5px 8px; font-weight: 800; }
.hikky-admin-row .admin-status-active { color: #176443; background: #eaf8f1; }
.hikky-admin-row .admin-status-paused { color: #795f45; background: #f7f2ec; }
.hikky-admin-row button { width: 100%; min-height: 36px; padding: 0 10px; }
.hikky-admin-row button:disabled { color: #8c999f; background: #e6ebed; cursor: default; }
.hikky-admin-footnote { margin: 12px 0 0; color: var(--muted); font-size: 9px; }

.hikky-login-shell { min-height: 100vh; padding: clamp(28px,7vw,90px) 24px; display: grid; place-items: center; color: var(--ink); background: linear-gradient(135deg,#e8f1f4,#f7fafb 55%,#e4eff1); }
.hikky-login-card { width: min(880px,100%); display: grid; grid-template-columns: .82fr 1.18fr; background: #fff; border-top: 5px solid var(--blue); box-shadow: 0 28px 80px rgba(31,67,84,.16); }
.hikky-login-brand { padding: clamp(38px,6vw,72px); color: #fff; background: linear-gradient(145deg,#173f53,#276f8e); }
.hikky-login-brand small { font-size: 9px; font-weight: 800; letter-spacing: .18em; }
.hikky-login-brand h1 { margin: 28px 0 0; font-size: clamp(44px,7vw,78px); line-height: 1; letter-spacing: -.05em; }
.hikky-login-brand p { margin: 12px 0 0; font-size: 14px; }
.hikky-login-message { padding: clamp(38px,6vw,72px); display: grid; align-content: center; gap: 20px; }
.hikky-login-message h2 { margin: 0; font-size: clamp(25px,3vw,34px); }
.hikky-login-message p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.9; }
.hikky-login-message > a:not(.hikky-login-button) { color: var(--blue); font-size: 12px; text-decoration: underline; text-underline-offset: 4px; }
.hikky-login-button { min-height: 54px; padding: 0 22px; display: grid; place-items: center; color: #fff; background: linear-gradient(100deg,#1d6eab,#218a70); font-size: 13px; font-weight: 800; }
.hikky-login-message > small { color: var(--muted); font-size: 9px; }
.hikky-login-reference { grid-column: 1 / -1; padding: 13px clamp(24px,5vw,52px); display: flex; align-items: center; gap: 18px; border-bottom: 1px solid var(--line); background: #f4f8f9; }
.hikky-login-reference span { color: var(--muted); font-size: 9px; }
.hikky-login-reference strong { color: var(--blue); font-size: 12px; }

footer { padding: 58px clamp(34px,6.8vw,120px) 28px; color: #d2d2d2; background: #17181a; }
.footer-brand { width: fit-content; padding: 8px 0; background: transparent; }
.footer-brand img { width: min(340px,68vw); aspect-ratio: 2.5/1; object-fit: contain; object-position: left center; }
.footer-links { display: flex; flex-wrap: wrap; gap: 32px; margin-top: 47px; padding: 24px 0; border-top: 1px solid #38393b; border-bottom: 1px solid #38393b; font-size: 11px; }
footer > p { margin: 25px 0 0; color: #747577; font-size: 9px; letter-spacing: .12em; }
.footer-notice { margin-top: 9px; font-size: 8px; line-height: 1.7; letter-spacing: .04em; }

/* Commerce — the manufacturer site remains primary; store surfaces extend its design language. */
.store-page { min-height: 100vh; color: var(--ink); background: #f8fbfc; }
.store-page .store-header { position: relative; border-bottom: 1px solid var(--line); }
.store-page .desktop-nav .is-current:not(.header-cta) { color: var(--blue); background: var(--ice); }
.store-page .desktop-nav .is-current:not(.header-cta)::after { transform: scaleX(1); }
.store-hero { min-height: 440px; padding: 90px clamp(34px,6.8vw,120px) 80px; display: grid; grid-template-columns: 1.25fr .75fr; gap: 10vw; align-items: end; color: #fff; background: linear-gradient(120deg,#172a33 0%,#284d5d 62%,#4b7c8e 100%); }
.store-hero .eyebrow,.payment-heading .eyebrow { margin-bottom: 28px; color: #b9dde5; }
.store-hero h1,.payment-heading h1 { margin: 0; font-family: "Yu Mincho","YuMincho",serif; font-size: clamp(42px,5.5vw,78px); font-weight: 500; line-height: 1.28; letter-spacing: .06em; }
.store-hero-note { max-width: 460px; padding: 28px 0 4px; border-top: 1px solid rgba(255,255,255,.32); }
.store-hero-note strong { font-family: "Yu Mincho","YuMincho",serif; font-size: 22px; letter-spacing: .08em; }
.store-hero-note p { margin: 14px 0 0; color: rgba(255,255,255,.72); font-size: 13px; line-height: 2; }
.store-paths { display: grid; grid-template-columns: repeat(3,1fr); padding: 0 clamp(34px,6.8vw,120px); background: #fff; border-bottom: 1px solid var(--line); }
.store-paths a { min-height: 160px; padding: 30px 34px; display: flex; flex-direction: column; border-right: 1px solid var(--line); }
.store-paths a:first-child { border-left: 1px solid var(--line); }
.store-paths a:hover,.store-paths a.is-current { background: var(--ice); }
.store-paths small { color: var(--blue); font-size: 9px; letter-spacing: .18em; }
.store-paths strong { margin-top: 17px; font-family: "Yu Mincho","YuMincho",serif; font-size: 21px; }
.store-paths span { margin-top: auto; color: var(--muted); font-size: 11px; }
.product-list-section,.variant-table-section { padding: 100px clamp(34px,6.8vw,120px) 120px; }
.store-section-heading { margin-bottom: 48px; display: flex; justify-content: space-between; align-items: end; gap: 40px; }
.store-section-heading small,.product-technical-section small,.product-documents small { color: var(--blue); font-size: 9px; letter-spacing: .18em; }
.store-section-heading h2,.product-technical-section h2,.product-documents h2 { margin: 10px 0 0; font-family: "Yu Mincho","YuMincho",serif; font-size: clamp(30px,3vw,44px); font-weight: 500; letter-spacing: .08em; }
.store-section-heading > p { max-width: 450px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.8; }
.product-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.product-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); transition: transform .25s ease,box-shadow .25s ease; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 16px 44px rgba(22,48,60,.1); }
.product-card-image { aspect-ratio: 1.28/1; position: relative; display: block; overflow: hidden; background: #e9f1f3; }
.product-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.product-card:hover .product-card-image img { transform: scale(1.025); }
.product-card-image > span { position: absolute; left: 0; bottom: 0; padding: 9px 15px; color: #fff; background: var(--navy); font-size: 8px; letter-spacing: .14em; }
.product-card-copy { padding: 26px 27px 25px; display: flex; flex: 1; flex-direction: column; }
.product-card-copy > small { color: var(--blue); font-size: 9px; letter-spacing: .12em; }
.product-card-copy h3 { margin: 12px 0 10px; font-family: "Yu Mincho","YuMincho",serif; font-size: 21px; font-weight: 600; letter-spacing: .05em; }
.product-card-copy > p { min-height: 54px; margin: 0 0 21px; color: var(--muted); font-size: 12px; line-height: 1.75; }
.product-card-copy dl { margin: 0; border-top: 1px solid var(--line); }
.product-card-copy dl div { padding: 9px 0; display: grid; grid-template-columns: 54px 1fr; gap: 12px; border-bottom: 1px solid var(--line); font-size: 10px; }
.product-card-copy dt { color: var(--muted); }.product-card-copy dd { margin: 0; font-weight: 600; }
.product-card-bottom { margin-top: auto; padding-top: 24px; display: flex; justify-content: space-between; align-items: end; gap: 12px; }
.product-card-bottom div { display: grid; gap: 4px; }.product-card-bottom div small { color: var(--muted); font-size: 8px; }.product-card-bottom strong { font-size: 18px; }
.product-card-bottom > a { padding-bottom: 3px; color: var(--navy); border-bottom: 1px solid var(--navy); font-size: 11px; font-weight: 700; }
.custom-order-band { padding: 76px clamp(34px,6.8vw,120px); display: grid; grid-template-columns: 1fr .8fr auto; gap: 5vw; align-items: center; color: #fff; background: #284551; }
.custom-order-band small { color: var(--sky); font-size: 9px; letter-spacing: .18em; }.custom-order-band h2 { margin: 13px 0 0; font-family: "Yu Mincho","YuMincho",serif; font-size: 30px; font-weight: 500; line-height: 1.55; }
.custom-order-band > p { margin: 0; color: rgba(255,255,255,.7); font-size: 12px; line-height: 1.9; }.custom-order-band .button { white-space: nowrap; }
.store-breadcrumb { padding: 23px clamp(34px,6.8vw,120px); display: flex; gap: 12px; color: var(--muted); border-bottom: 1px solid var(--line); font-size: 10px; }.store-breadcrumb b { color: var(--ink); }
.product-detail-hero { padding: 64px clamp(34px,6.8vw,120px) 90px; display: grid; grid-template-columns: minmax(0,1.08fr) minmax(420px,.92fr); gap: 6vw; background: #fff; }
.product-main-image { aspect-ratio: 1.2/1; overflow: hidden; background: #edf3f5; }.product-main-image img { width: 100%; height: 100%; object-fit: cover; }
.product-thumbnails { margin-top: 12px; display: flex; gap: 12px; }.product-thumbnails img { width: 96px; aspect-ratio: 1; object-fit: cover; border: 1px solid var(--line); }
.product-detail-copy > small { color: var(--blue); font-size: 9px; letter-spacing: .16em; }.product-detail-copy h1 { margin: 18px 0; font-family: "Yu Mincho","YuMincho",serif; font-size: clamp(36px,4vw,58px); font-weight: 500; line-height: 1.35; letter-spacing: .06em; }
.product-intro { color: var(--muted); font-size: 14px; line-height: 2; }.product-price-from { margin: 25px 0; font-size: 25px; font-weight: 700; }.product-price-from small { color: var(--muted); font-size: 10px; font-weight: 400; }
.purchase-panel { margin-top: 27px; padding: 25px; background: var(--ice); border: 1px solid var(--panel-blue-line); }
.store-field { display: grid; gap: 8px; }.store-field > span,.quantity-field > span,.admin-field > span { font-size: 10px; font-weight: 700; letter-spacing: .05em; }
.store-field input,.store-field select,.store-field textarea,.admin-field input,.admin-field select,.admin-field textarea { width: 100%; padding: 13px 14px; color: var(--ink); background: #fff; border: 1px solid #bfcfd4; border-radius: 0; font: inherit; }
.store-field input:focus,.store-field select:focus,.store-field textarea:focus,.admin-field input:focus,.admin-field textarea:focus { outline: 2px solid var(--sky); outline-offset: 1px; }
.variant-quick-spec { margin: 18px 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--panel-blue-line); }.variant-quick-spec div { padding: 11px 0; display: grid; grid-template-columns: 66px 1fr; border-bottom: 1px solid var(--panel-blue-line); font-size: 10px; }.variant-quick-spec dt { color: var(--muted); }.variant-quick-spec dd { margin: 0; font-weight: 700; }
.purchase-price { display: flex; justify-content: space-between; align-items: end; }.purchase-price small { color: var(--muted); }.purchase-price strong { font-size: 25px; }
.quantity-field { margin: 18px 0; display: flex; align-items: center; justify-content: space-between; }.quantity-field input { width: 74px; padding: 10px; border: 1px solid #bfcfd4; text-align: center; }
.purchase-actions { display: grid; grid-template-columns: 1fr 1.25fr; gap: 10px; }.purchase-actions .button { width: 100%; border: 1px solid var(--navy); cursor: pointer; }
.cart-notice { margin: 14px 0 0; color: #27654a; font-size: 11px; }.cart-notice a { text-decoration: underline; }.spec-consult-link { margin-top: 16px; display: block; color: var(--navy); font-size: 11px; font-weight: 700; text-align: center; }
.product-technical-section { padding: 100px clamp(34px,6.8vw,120px); display: grid; grid-template-columns: 1fr 1.2fr; gap: 9vw; }.product-description p,.technical-panels p { color: var(--muted); font-size: 13px; line-height: 2; white-space: pre-wrap; }
.technical-panels { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }.technical-panels article { padding: 30px; background: #fff; border-top: 3px solid var(--blue); }.technical-panels h3 { margin: 12px 0; font-family: "Yu Mincho","YuMincho",serif; font-size: 20px; }
.variant-table-section { padding-top: 80px; background: #fff; }.table-scroll { overflow-x: auto; }.variant-table,.admin-orders table { width: 100%; border-collapse: collapse; white-space: nowrap; }.variant-table th,.admin-orders th { padding: 13px 15px; color: #fff; background: var(--navy-deep); font-size: 9px; text-align: left; }.variant-table td,.admin-orders td { padding: 17px 15px; border-bottom: 1px solid var(--line); font-size: 11px; }.variant-table td small,.admin-orders td small { margin-top: 4px; display: block; color: var(--muted); font-size: 8px; }
.product-documents { padding: 80px clamp(34px,6.8vw,120px) 100px; display: grid; grid-template-columns: .7fr 1.3fr; gap: 8vw; }.product-documents > div:last-child { display: grid; gap: 10px; }.product-documents a { padding: 20px; display: grid; grid-template-columns: 55px 1fr auto; align-items: center; background: #fff; border: 1px solid var(--line); font-size: 10px; }.product-documents a strong { font-size: 13px; }.product-documents .document-contact { color: var(--navy); background: transparent; }
.cart-layout,.checkout-layout { padding: 70px clamp(34px,6.8vw,120px) 110px; display: grid; grid-template-columns: minmax(0,1fr) 380px; gap: 6vw; align-items: start; }
.cart-title,.checkout-heading { margin-bottom: 40px; }.cart-title small,.checkout-heading small,.cart-summary > small,.checkout-summary > small,.quote-main > small,.quote-total > small { color: var(--blue); font-size: 9px; letter-spacing: .18em; }.cart-title h1,.checkout-heading h1 { margin: 10px 0; font-family: "Yu Mincho","YuMincho",serif; font-size: 42px; font-weight: 500; }.cart-title p,.checkout-heading p { color: var(--muted); font-size: 12px; }
.cart-item { padding: 22px 0; display: grid; grid-template-columns: 130px 1fr 75px 110px auto; gap: 22px; align-items: center; border-top: 1px solid var(--line); }.cart-item:last-of-type { border-bottom: 1px solid var(--line); }.cart-item-image { width: 130px; aspect-ratio: 1.2/1; background: #e8eff1; }.cart-item-image img { width: 100%; height: 100%; object-fit: cover; }.cart-item-copy small { color: var(--blue); font-size: 8px; }.cart-item-copy h2 { margin: 6px 0; font-family: "Yu Mincho","YuMincho",serif; font-size: 17px; }.cart-item-copy p,.cart-item-copy span { margin: 4px 0; color: var(--muted); font-size: 10px; }.cart-item .quantity-field { margin: 0; display: grid; gap: 6px; }.cart-item-price { font-size: 15px; text-align: right; }.cart-remove { padding: 6px 0; color: #8b4b4b; background: transparent; border: 0; border-bottom: 1px solid; cursor: pointer; }.continue-shopping { margin-top: 26px; display: inline-block; color: var(--navy); font-size: 11px; font-weight: 700; }
.cart-summary,.checkout-summary,.quote-total { position: sticky; top: 24px; padding: 31px; background: #fff; border: 1px solid var(--line); box-shadow: 0 18px 48px rgba(29,57,68,.08); }.cart-summary h2,.checkout-summary h2,.quote-total h2 { margin: 10px 0 25px; font-family: "Yu Mincho","YuMincho",serif; font-size: 24px; }.cart-summary dl,.checkout-summary dl,.quote-total dl { margin: 0; }.cart-summary dl div,.checkout-summary dl > div,.quote-total dl > div { padding: 13px 0; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); font-size: 11px; }.cart-summary dd,.checkout-summary dd,.quote-total dd { margin: 0; font-weight: 700; }.cart-summary > p,.checkout-summary > p { color: var(--muted); font-size: 9px; line-height: 1.7; }.cart-summary .button,.checkout-summary .button,.quote-total .button { width: 100%; margin-top: 18px; border: 0; cursor: pointer; }.secure-note { margin-top: 22px; padding-top: 18px; display: grid; gap: 5px; border-top: 1px solid var(--line); }.secure-note b { font-size: 10px; }.secure-note span { color: var(--muted); font-size: 9px; line-height: 1.6; }
.cart-empty,.payment-invalid { min-height: 540px; padding: 120px 24px; display: grid; place-content: center; justify-items: center; text-align: center; }.cart-empty small { color: var(--blue); letter-spacing: .2em; }.cart-empty h1,.payment-invalid h1 { font-family: "Yu Mincho","YuMincho",serif; font-size: 38px; font-weight: 500; }.cart-empty p,.payment-invalid p { color: var(--muted); }.cart-empty .button { margin-top: 20px; }
.checkout-form fieldset { margin: 0 0 36px; padding: 27px; background: #fff; border: 1px solid var(--line); }.checkout-form legend { padding: 0 12px 0 0; font-family: "Yu Mincho","YuMincho",serif; font-size: 19px; }.checkout-form legend span { margin-right: 10px; color: var(--blue); font-family: sans-serif; font-size: 10px; }.store-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 19px; }.store-form-grid .is-wide,.admin-form-grid .is-wide { grid-column: 1/-1; }
.payment-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }.payment-options label { padding: 18px; display: flex; gap: 12px; background: #f8fbfc; border: 1px solid var(--line); cursor: pointer; }.payment-options input { accent-color: var(--navy); }.payment-options span { display: grid; gap: 7px; }.payment-options b { font-size: 12px; }.payment-options small { color: var(--muted); font-size: 9px; line-height: 1.6; }
.checkout-line { padding: 12px 0; display: flex; justify-content: space-between; gap: 15px; border-top: 1px solid var(--line); font-size: 10px; }.checkout-line span small { margin-top: 5px; display: block; color: var(--muted); }.checkout-legal { margin-top: 15px; display: block; color: var(--muted); font-size: 8px; line-height: 1.6; }.form-error { padding: 12px 15px; color: #882e2e; background: #fff0f0; border: 1px solid #e5bdbd; font-size: 11px; }
.order-complete { max-width: 780px; min-height: 650px; margin: 0 auto; padding: 90px 24px 120px; text-align: center; }.complete-mark { width: 58px; height: 58px; margin: 0 auto 25px; display: grid; place-items: center; color: #fff; background: var(--navy); border-radius: 50%; font-size: 24px; }.order-complete > small { color: var(--blue); letter-spacing: .2em; }.order-complete h1 { font-family: "Yu Mincho","YuMincho",serif; font-size: 38px; font-weight: 500; }.order-complete > p { color: var(--muted); line-height: 2; }.order-complete dl { margin: 36px 0; border-top: 1px solid var(--line); }.order-complete dl div { padding: 16px; display: grid; grid-template-columns: 140px 1fr; border-bottom: 1px solid var(--line); text-align: left; }.order-complete dt { color: var(--muted); font-size: 10px; }.order-complete dd { margin: 0; font-weight: 700; }.bank-instructions,.payment-pending-note { margin: 20px 0; padding: 20px; background: var(--ice); border-left: 3px solid var(--blue); text-align: left; font-size: 11px; }.bank-instructions p { white-space: pre-wrap; }.bank-instructions span { color: var(--muted); }.complete-actions { margin-top: 30px; display: flex; justify-content: center; gap: 10px; }
.payment-heading { padding: 70px clamp(34px,6.8vw,120px); display: grid; grid-template-columns: 1fr auto; color: #fff; background: var(--navy-deep); }.payment-heading .eyebrow { grid-column: 1/-1; }.payment-heading h1 { font-size: clamp(38px,5vw,65px); }.payment-heading > div:last-child { min-width: 280px; padding: 22px; display: grid; align-self: end; border: 1px solid rgba(255,255,255,.25); }.payment-heading div small { color: var(--sky); font-size: 9px; letter-spacing: .14em; }.payment-heading div strong { margin: 8px 0 16px; font-size: 22px; }.payment-heading div span { width: fit-content; padding: 5px 8px; color: var(--navy-deep); background: var(--sky); font-size: 9px; font-weight: 700; }
.quote-confirmation { padding: 70px clamp(34px,6.8vw,120px) 110px; display: grid; grid-template-columns: minmax(0,1fr) 420px; gap: 7vw; align-items: start; }.quote-main h2 { margin: 10px 0 35px; font-family: "Yu Mincho","YuMincho",serif; font-size: 34px; font-weight: 500; }.quote-main dl { display: grid; grid-template-columns: 1fr 1fr; margin: 0; border-top: 1px solid var(--line); }.quote-main dl div { padding: 19px 0; display: grid; grid-template-columns: 100px 1fr; border-bottom: 1px solid var(--line); }.quote-main dl div:nth-child(odd) { padding-right: 28px; }.quote-main dl div:nth-child(even) { padding-left: 28px; border-left: 1px solid var(--line); }.quote-main .quote-spec { grid-column: 1/-1; padding-left: 0!important; padding-right: 0!important; border-left: 0!important; }.quote-main dt { color: var(--muted); font-size: 10px; }.quote-main dd { margin: 0; font-size: 12px; font-weight: 600; white-space: pre-wrap; }
.quote-total .quote-grand-total { align-items: end; }.quote-grand-total dd { font-size: 22px; }.pay-now-total,.deposit-box { margin-top: 18px; padding: 18px; display: grid; gap: 6px; background: var(--ice); }.pay-now-total strong,.deposit-box span { color: var(--navy); font-size: 24px; font-weight: 700; }.deposit-box small { color: var(--muted); }.payment-options.compact { margin-top: 20px; grid-template-columns: 1fr; }.custom-payment-actions > p { color: var(--muted); font-size: 8px; text-align: center; }.payment-success { padding: 14px; color: #27654a!important; background: #edf8f1; border: 1px solid #b9ddc7; }

/* Commerce administration */
.commerce-admin { min-height: 100vh; color: #243d48; background: #f1f6f7; }.commerce-admin-header { height: 72px; padding: 0 clamp(24px,4vw,64px); display: flex; align-items: stretch; background: #fff; border-bottom: 1px solid #cfdee2; }.commerce-admin-brand { display: flex; align-items: center; gap: 14px; font-weight: 800; }.commerce-admin-brand img { width: 105px; height: 48px; object-fit: contain; }.commerce-admin-header nav { margin-left: 50px; display: flex; }.commerce-admin-header nav a { padding: 0 17px; display: grid; place-items: center; border-bottom: 3px solid transparent; font-size: 11px; }.commerce-admin-header nav a.is-current { color: var(--blue); border-bottom-color: var(--blue); }.commerce-admin-header > div { margin-left: auto; display: flex; align-items: center; gap: 14px; }.commerce-admin-header > div small { color: var(--muted); font-size: 9px; }.commerce-admin-header > div a { text-decoration: underline; font-size: 9px; }
.commerce-admin-heading { padding: 52px clamp(24px,5vw,80px) 36px; display: flex; justify-content: space-between; align-items: end; gap: 40px; }.commerce-admin-heading small { color: var(--blue); font-size: 9px; letter-spacing: .16em; }.commerce-admin-heading h1 { margin: 8px 0 0; font-family: "Yu Mincho","YuMincho",serif; font-size: 36px; font-weight: 500; }.commerce-admin-heading p { max-width: 540px; color: var(--muted); font-size: 11px; line-height: 1.8; }.admin-flash,.commerce-admin > .form-error { margin: 0 clamp(24px,5vw,80px) 18px; }.admin-flash { padding: 12px 15px; color: #27654a; background: #e9f7ef; border: 1px solid #b6ddc5; font-size: 11px; }
.admin-product-editor,.admin-products-list,.admin-quote-list,.admin-orders { margin: 0 clamp(24px,5vw,80px) 18px; background: #fff; border: 1px solid #cfdee2; }.admin-product-editor > summary { min-height: 82px; padding: 12px 20px; display: flex; align-items: center; gap: 18px; cursor: pointer; list-style: none; }.admin-product-editor > summary::-webkit-details-marker { display: none; }.admin-product-editor > summary > img { width: 82px; height: 58px; object-fit: cover; background: #e8eff1; }.admin-product-editor > summary > span { display: grid; gap: 3px; }.admin-product-editor summary small { color: var(--blue); font-size: 8px; text-transform: uppercase; }.admin-product-editor summary b { font-size: 14px; }.admin-product-editor summary em { color: var(--muted); font-size: 10px; font-style: normal; }.admin-product-editor summary > i { margin-left: auto; color: var(--muted); font-size: 10px; font-style: normal; }.admin-product-editor.create > summary { color: #fff; background: var(--navy); font-weight: 700; }.admin-product-editor form { padding: 28px; border-top: 1px solid #cfdee2; }.admin-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }.admin-field { display: grid; gap: 7px; }.admin-field > small { color: var(--muted); font-size: 8px; line-height: 1.6; }.admin-checks { display: flex; flex-wrap: wrap; gap: 20px; }.admin-checks label { font-size: 11px; }.admin-checks input { margin-right: 6px; accent-color: var(--navy); }.admin-primary,.admin-editor-actions button,.admin-orders button { min-height: 40px; margin-top: 20px; padding: 0 22px; color: #fff; background: var(--navy); border: 0; cursor: pointer; font-weight: 700; }.admin-editor-actions { display: flex; gap: 10px; }.admin-editor-actions button:not(.admin-primary):not(.admin-danger) { color: var(--navy); background: #fff; border: 1px solid var(--navy); }.admin-editor-actions .admin-danger { color: #923d3d; background: #fff; border: 1px solid #d7adad; }
.admin-products-list,.admin-quote-list,.admin-orders { margin-top: 38px; margin-bottom: 80px; background: transparent; border: 0; }.admin-list-title { margin-bottom: 13px; display: flex; align-items: center; gap: 12px; }.admin-list-title h2 { margin: 0; font-size: 18px; }.admin-list-title span { color: var(--muted); font-size: 10px; }.admin-products-list .admin-product-editor { margin: 0 0 10px; }
.admin-quote-list article { margin-bottom: 10px; padding: 20px; display: grid; grid-template-columns: 1fr auto auto; gap: 18px; align-items: center; background: #fff; border: 1px solid #cfdee2; }.admin-quote-list article small { color: var(--blue); font-size: 9px; }.admin-quote-list article h3 { margin: 5px 0; font-size: 14px; }.admin-quote-list article p { margin: 0; color: var(--muted); font-size: 10px; }.admin-quote-list article > div:nth-child(2) { display: grid; gap: 7px; text-align: right; }.admin-quote-list article > a { color: var(--navy); font-size: 10px; font-weight: 700; }.admin-quote-list code { grid-column: 1/-1; padding: 9px; overflow-wrap: anywhere; color: var(--muted); background: #f3f6f7; font-size: 9px; }
.admin-status { width: fit-content; padding: 5px 8px; color: #745c20; background: #fff5cf; font-size: 8px; font-weight: 700; }.admin-status.is-paid,.admin-status.is-payment_received { color: #246144; background: #e3f4ea; }.admin-orders .table-scroll { background: #fff; border: 1px solid #cfdee2; }.admin-orders td form { min-width: 250px; display: grid; grid-template-columns: 1fr auto; gap: 6px; align-items: center; }.admin-orders td form select { padding: 8px; border: 1px solid #bfcfd4; }.admin-orders td form label { grid-column: 1/-1; font-size: 9px; }.admin-orders button { margin: 0; min-height: 34px; padding: 0 12px; }
.admin-payment-link { width: fit-content; margin: 0 24px 24px; padding: 12px 16px; display: inline-block; color: #fff; background: var(--navy); font-size: 10px; font-weight: 700; }

@media (max-width: 900px) {
  .store-hero,.product-detail-hero,.product-technical-section,.product-documents,.cart-layout,.checkout-layout,.quote-confirmation { grid-template-columns: 1fr; }
  .store-hero { min-height: 0; gap: 50px; }.store-paths { grid-template-columns: 1fr; }.store-paths a { min-height: 130px; border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .product-grid { grid-template-columns: 1fr 1fr; }.custom-order-band { grid-template-columns: 1fr; }.product-detail-hero { gap: 36px; }.cart-summary,.checkout-summary,.quote-total { position: static; }
  .payment-heading { grid-template-columns: 1fr; gap: 40px; }.commerce-admin-header nav { margin-left: 20px; }.commerce-admin-header > div small { display: none; }
}

@media (max-width: 640px) {
  .store-hero { padding: 58px 22px; }.store-hero h1 { font-size: 38px; }.product-list-section,.variant-table-section { padding: 64px 22px 75px; }.store-section-heading { display: grid; gap: 16px; }.product-grid { grid-template-columns: 1fr; }.custom-order-band { padding: 58px 22px; }
  .store-breadcrumb { padding: 18px 22px; overflow: hidden; white-space: nowrap; }.product-detail-hero,.product-technical-section,.product-documents { padding: 44px 22px 65px; }.product-detail-copy h1 { font-size: 34px; }.technical-panels { grid-template-columns: 1fr; }.purchase-actions { grid-template-columns: 1fr; }.product-documents a { grid-template-columns: 45px 1fr; }.product-documents a span { grid-column: 2; }
  .cart-layout,.checkout-layout,.quote-confirmation { padding: 44px 22px 75px; }.checkout-heading h1 { font-size: 31px; }.cart-item { grid-template-columns: 90px 1fr auto; gap: 12px; }.cart-item-image { width: 90px; }.cart-item .quantity-field { grid-column: 2; grid-row: 2; display: flex; justify-content: start; gap: 10px; }.cart-item-price { grid-column: 3; grid-row: 2; }.cart-remove { grid-column: 3; grid-row: 1; align-self: start; }.store-form-grid,.payment-options,.quote-main dl { grid-template-columns: 1fr; }.quote-main dl div,.quote-main dl div:nth-child(even),.quote-main dl div:nth-child(odd) { padding: 16px 0; border-left: 0; }.quote-main .quote-spec { grid-column: auto; }.complete-actions { display: grid; }.payment-heading { padding: 55px 22px; }.payment-heading > div:last-child { min-width: 0; }
  .commerce-admin-header { height: auto; padding: 12px 16px; flex-wrap: wrap; }.commerce-admin-brand img { width: 82px; }.commerce-admin-header nav { width: 100%; margin: 8px 0 0; order: 3; overflow-x: auto; }.commerce-admin-header nav a { min-height: 38px; padding: 0 12px; white-space: nowrap; }.commerce-admin-header > div { margin-left: auto; }.commerce-admin-heading { padding: 36px 22px 25px; display: grid; }.admin-product-editor,.admin-products-list,.admin-quote-list,.admin-orders,.admin-flash,.commerce-admin > .form-error { margin-left: 22px; margin-right: 22px; }.admin-form-grid { grid-template-columns: 1fr; }.admin-form-grid .is-wide { grid-column: auto; }.admin-product-editor form { padding: 20px 16px; }.admin-quote-list article { grid-template-columns: 1fr; }.admin-quote-list article > div:nth-child(2) { text-align: left; }.admin-editor-actions { flex-wrap: wrap; }
}

@media (max-width: 1180px) {
  .desktop-nav { display: none; }
  .language-switch { position: absolute; right: 82px; margin: 0; }
  .mobile-menu { margin-left: auto; display: block; position: relative; }
  .mobile-menu summary { width: 76px; height: 80px; display: grid; place-content: center; gap: 8px; background: var(--panel-blue); cursor: pointer; list-style: none; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu summary span { display: block; width: 25px; height: 2px; background: var(--ink); }
  .mobile-menu nav { position: absolute; right: 0; top: 80px; width: min(340px,100vw); padding: 8px 22px 20px; display: flex; flex-direction: column; color: var(--ink); background: var(--panel-blue); box-shadow: 0 18px 30px rgba(0,20,40,.12); }
  .mobile-menu nav a { padding: 17px 3px; border-bottom: 1px solid var(--panel-blue-line); font-size: 13px; }
}

@media (max-width: 1120px) {
  .brand { flex-basis: 425px; min-width: 425px; gap: 8px; padding: 0 12px; }
  .logo-mark { flex-basis: 190px; width: 190px; height: 62px; }
  .main-logo { width: 100%; height: 100%; }
  .brand-japanese { font-size: 14px; letter-spacing: .17em; }
  .desktop-nav > a { padding: 0 17px; }
  .desktop-nav .header-cta { min-width: 210px; }
  .language-switch { margin-right: 8px; }
  .hero { grid-template-columns: 48% 52%; }
  .hero-copy { padding-left: 45px; padding-right: 38px; }
  .hero-process { width: 88%; }
  .hero-data-card-a { left: 1%; }
  .hero-data-card-b { right: 1%; }
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .service-card { grid-column: auto; }
  .consultation { gap: 6%; }
  .cad-workspace { grid-template-columns: 1fr; }
  .cad-live-layout { grid-template-columns: 1fr; }
  .live-preview-panel { position: relative; top: auto; }
  .output-data-groups { grid-template-columns: 1fr; }
  .cad-left-column { grid-template-columns: 1fr 1fr; }
  .cad-left-column .output-settings { grid-column: 1 / -1; }
  .cad-toolbar { grid-template-columns: 240px 1fr 100px; }
  .cad-toolbar nav { gap: 22px; }
}

@media (max-width: 720px) {
  .site-header .header-version { display: none; }
  .cad-request-intro { grid-template-columns: 1fr; }
  .customer-gate-grid { grid-template-columns: 1fr; }
  .burly-floating-guide { width: min(270px,calc(100vw - 24px)); min-height: 132px; right: 12px; bottom: 12px; padding: 13px 12px 11px 72px; }
  .burly-floating-character { width: 100px; height: 120px; left: -8px; }
  .burly-floating-character img { width: 116px; height: 116px; }
  .burly-floating-guide > p span { font-size: 9px; }
  .burly-floating-reopen { right: 10px; bottom: 10px; }
  .hikky-login-card { grid-template-columns: 1fr; }
  .hikky-login-brand { padding: 38px 30px; }
  .hikky-login-message { padding: 38px 30px; }
  .hikky-login-reference { grid-column: auto; align-items: flex-start; flex-direction: column; gap: 5px; }
  .admin-reference-context { align-items: flex-start; flex-direction: column; }
  .hikky-admin-intro { grid-template-columns: 1fr; }
  .hikky-admin-add-form { grid-template-columns: 1fr; }
  .hikky-admin-list-head { display: none; }
  .hikky-admin-row { padding: 18px; grid-template-columns: 1fr auto; gap: 12px; }
  .hikky-admin-row > span:nth-of-type(2) { grid-column: 1 / -1; }
  .hikky-admin-row form { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  .site-header { height: 76px; }
  .brand { flex-basis: 240px; min-width: 240px; padding: 0 14px; }
  .logo-mark { width: 165px; height: 58px; }
  .main-logo { width: 100%; height: 100%; }
  .brand-japanese { font-size: 14px; letter-spacing: .15em; }
  .header-version { margin-left: 7px; font-size: 7px; }
  .desktop-nav { display: none; }
  .language-switch { position: absolute; right: 82px; margin: 0; }
  [data-english-root] .site-header .brand { flex-basis: 220px; min-width: 0; padding-left: 10px; }
  [data-english-root] .site-header .logo-mark { width: 165px; height: 58px; }
  .mobile-menu { display: block; position: relative; }
  .mobile-menu summary { width: 76px; height: 76px; display: grid; place-content: center; gap: 8px; background: var(--panel-blue); cursor: pointer; list-style: none; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu summary span { display: block; width: 25px; height: 2px; background: var(--ink); }
  .mobile-menu nav { position: absolute; right: 0; top: 76px; width: min(340px,100vw); padding: 8px 22px 20px; display: flex; flex-direction: column; color: var(--ink); background: var(--panel-blue); box-shadow: 0 18px 30px rgba(0,20,40,.12); }
  .mobile-menu nav a { padding: 17px 3px; border-bottom: 1px solid var(--panel-blue-line); font-size: 13px; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { min-height: 620px; padding: 75px 34px 60px; }
  .hero-visual { min-height: 540px; }
  .proof { grid-template-columns: 1fr; }
  .proof > div { min-height: auto; padding: 23px 34px; border-bottom: 1px solid rgba(94,133,153,.18); }
  .proof-configurator { padding-left: 34px; padding-right: 34px; }
  .section { padding: 82px 34px; }
  .intro-heading,.cases-heading,.consultation,.company,.contact { grid-template-columns: 1fr; }
  .intro-heading { gap: 24px; }
  .services-grid { margin-top: 50px; }
  .difference { grid-template-columns: 1fr; gap: 55px; }
  .difference-copy ul { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .additive-heading { grid-template-columns: 1fr 1.35fr; gap: 25px 6%; }
  .additive-heading > p { grid-column: 1 / -1; }
  .additive-methods { grid-template-columns: 1fr; }
  .additive-method-old { border-right: 0; border-bottom: 1px solid var(--line); }
  .additive-results { grid-template-columns: 1fr 1fr; }
  .additive-results > div:nth-child(2) { border-right: 0; }
  .additive-results > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .case-grid { grid-template-columns: 1fr 1fr; }
  .cases-heading { gap: 25px; }
  .projects-intro { min-height: 420px; padding-top: 100px; }
  .projects-intro-copy { grid-template-columns: 1fr; gap: 25px; }
  .project-gallery { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .projects-contact { grid-template-columns: 1fr; gap: 24px; }
  .projects-contact .button { width: min(100%,320px); }
  .project-lightbox-nav { top: auto; bottom: 26px; }
  .project-lightbox-prev { left: 24px; }
  .project-lightbox-next { right: 24px; }
  .consultation { gap: 55px; }
  .company,.contact { gap: 55px; }
  .form-grid { grid-template-columns: 1fr; }
  .material-showcase { grid-template-columns: 1fr 1fr; }
  .showcase-copy { grid-column: 1 / -1; padding: 58px 34px; }
  .config-hero { grid-template-columns: 1fr; gap: 30px; }
  .burring-configurator { grid-template-columns: 1fr; }
  .config-result { position: relative; top: auto; }
  .output-options { grid-template-columns: repeat(3,1fr); }
  .config-flow { grid-template-columns: 1fr 1fr; }
  .config-flow > div:nth-child(2) { border-right: 1px solid #aebfc7; }
  .cad-toolbar { grid-template-columns: 1fr auto; }
  .cad-toolbar nav { grid-column: 1 / -1; grid-row: 2; order: 3; height: 50px; justify-content: flex-start; overflow-x: auto; }
  .cad-toolbar nav.cad-toolbar-flow { justify-content: flex-start; }
  .cad-toolbar nav.cad-toolbar-flow span { min-height: 50px; padding: 0 26px 0 0; }
  .cad-toolbar nav.cad-toolbar-flow span + span { padding-left: 26px; }
  .cad-toolbar > button { grid-column: 2; grid-row: 1; }
  .cad-left-column { grid-template-columns: 1fr; }
  .cad-left-column .output-settings { grid-column: auto; }
  .cad-request-bar { grid-template-columns: 1fr; }
  .customer-gate-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .brand { flex-basis: 144px; min-width: 144px; padding-left: 8px; }
  .logo-mark { width: 128px; height: 50px; }
  .main-logo { width: 100%; height: 100%; }
  .brand-japanese { display: none; }
  .header-version { display: none; }
  [data-english-root] .site-header .brand { flex-basis: 150px; gap: 0; padding-left: 8px; }
  [data-english-root] .site-header .logo-mark { width: 136px; height: 52px; }
  .hero-copy { min-height: 590px; padding: 62px 22px 50px; }
  .hero h1 { font-size: 34px; }
  .hero-lead { font-size: 14px; }
  .hero-system-line { margin-bottom: 26px; }
  .hero-system-line > span { display: none; }
  .hero-capabilities { gap: 7px; }
  .hero-capabilities b { font-size: 7px; }
  .desktop-only { display: none; }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
  .hero-visual { min-height: 430px; }
  .hero-process { width: 91%; transform: none; }
  .hero-slides { aspect-ratio: 4/3; }
  .hero-process figcaption { padding: 13px 15px 15px; grid-template-columns: 1fr; }
  .hero-process figcaption span { max-width: none; text-align: left; }
  .hero-data-card { display: none; }
  .section { padding: 72px 22px; }
  .intro-heading h2,.difference h2,.cases h2,.consultation h2,.company h2,.contact h2 { font-size: 32px; }
  .services-grid,.case-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 465px; }
  .difference-visual { min-height: 500px; padding: 26px 20px 105px; }
  .flow-comparison-grid { grid-template-columns: 1fr; }
  .case-grid { gap: 42px; }
  .projects-intro { min-height: 440px; padding: 100px 22px 55px; }
  .projects-intro h1 { font-size: 42px; }
  .projects-count { top: 28px; right: 22px; }
  .projects-gallery-section { padding: 3px; }
  .project-gallery { gap: 3px; }
  .project-gallery-item > span { left: 12px; right: 12px; bottom: 10px; }
  .projects-contact { padding: 75px 22px; }
  .projects-footer { padding: 36px 22px; display: grid; gap: 30px; }
  .text-link { margin-left: 0; gap: 20px; }
  .consultation { padding-top: 80px; padding-bottom: 80px; }
  .step-list li { grid-template-columns: 42px 1fr; }
  .company-visual { min-height: 410px; }
  .difference-copy ul { grid-template-columns: 1fr; }
  .additive-heading { grid-template-columns: 1fr; }
  .additive-heading h2,.additive-heading > p { grid-column: auto; }
  .additive-heading h2 span { white-space: normal; }
  .additive-method { padding: 28px 20px; }
  .additive-process-visual { height: 210px; }
  .additive-process { grid-template-columns: 1fr; }
  .additive-process li { min-height: auto; }
  .additive-process li:not(:last-child)::after { content: "↓"; right: 20px; top: auto; bottom: -20px; }
  .additive-product { grid-template-columns: 1fr; gap: 4px; }
  .additive-product img { height: 230px; }
  .additive-points { grid-template-columns: 1fr; }
  .additive-results { grid-template-columns: 1fr; }
  .additive-results > div,.additive-results > div:nth-child(2) { border-right: 0; border-bottom: 1px solid var(--line); }
  .additive-results > div:last-child { border-bottom: 0; }
  .additive-note { width: 100%; text-align: left; }
  .material-showcase { grid-template-columns: 1fr; }
  .showcase-copy { grid-column: auto; padding: 55px 22px; }
  .showcase-image { min-height: 330px; }
  .cases-heading h2 span,.consultation-heading h2 span,.showcase-copy h2 span { white-space: normal; }
  .config-header { height: 72px; padding: 0 18px; }
  .config-brand { gap: 0; }
  .config-brand img { width: 145px; height: 48px; }
  .config-brand span { display: none; }
  .config-header > a:last-child { gap: 8px; font-size: 10px; }
  .config-hero { padding: 55px 22px 48px; }
  .config-hero h2 { font-size: 39px; }
  .config-hero > p { font-size: 14px; }
  .burring-configurator { padding: 38px 14px 64px; gap: 25px; }
  .config-form { padding: 28px 20px; }
  .config-heading h1 { font-size: 34px; }
  .config-grid { grid-template-columns: 1fr; gap: 17px; }
  .output-options { grid-template-columns: 1fr 1fr; }
  .config-preview { min-height: 280px; }
  .config-preview img { max-height: 245px; }
  .model-result,.config-actions { padding-left: 20px; padding-right: 20px; }
  .config-summary { padding: 0 20px; }
  .config-note { padding-left: 20px; padding-right: 20px; }
  .config-flow { padding: 0 14px 64px; grid-template-columns: 1fr; }
  .config-flow > div,.config-flow > div:nth-child(2),.config-flow > div:last-child { border-right: 1px solid #aebfc7; }
  .config-footer { padding: 38px 22px; }
  .cad-configurator { padding: 10px 8px 42px; }
  .cad-toolbar { padding: 0 6px 10px; gap: 8px; }
  .cad-toolbar > div strong { font-size: 14px; }
  .cad-toolbar nav { gap: 17px; }
  .cad-toolbar nav span { font-size: 9px; }
  .cad-toolbar nav b { width: 22px; height: 22px; }
  .cad-panel { padding: 13px; }
  .unified-config-panel,.preview-panel { padding: 0; }
  .unified-config-heading { padding: 14px 15px; align-items: start; flex-direction: column; gap: 4px; }
  .unified-config-heading p { max-width: none; }
  .config-section { padding: 17px 14px 19px; }
  .config-section-title { align-items: start; flex-direction: column; gap: 4px; }
  .config-section-title p { text-align: left; }
  .compact-main-fields { grid-template-columns: 1fr; }
  .drawing-dimension-settings { grid-template-columns: 1fr; }
  .configurator-guide { min-height: 132px; padding: 12px 34px 12px 112px; }
  .configurator-guide-character { width: 102px; height: 114px; }
  .configurator-guide-character img { width: 120px; height: 120px; }
  .configurator-guide-copy p { font-size: 10px; }
  .panel-title { align-items: start; flex-direction: column; }
  .cad-split,.common-split { grid-template-columns: 1fr; }
  .mini-diagram { min-height: 190px; }
  .mini-diagram img { min-height: 190px; }
  .branch-table { min-width: 650px; }
  .header-preview { min-height: 285px; }
  .header-preview canvas { min-height: 285px; }
  .webgl-preview { min-height: 430px; }
  .header-preview,.header-preview canvas { min-height: 430px; }
  .main-pipe-preview { bottom: 21%; height: 63px; }
  .main-pipe-preview::after { height: 55px; }
  .branch-preview { bottom: 40%; }
  .preview-caption { display: none; }
  .cad-request-bar > div { padding: 18px; grid-template-columns: 1fr; }
  .cad-request-bar button { width: 100%; }
  .customer-gate-actions { grid-template-columns: 1fr; }
  .config-footer { min-height: 180px; }
  .consultation-form { padding: 26px 20px; }
  .form-heading { min-height: 0; padding-right: 0; }
  .arakky-guide { position: relative; top: auto; right: auto; width: 170px; margin: 20px auto 0; }
  .form-success { grid-template-columns: 1fr; padding: 20px; }
  .arakky-thanks-figure { width: min(290px,100%); margin: 8px auto -4px; }
  .admin-header { align-items: start; flex-direction: column; }
  .admin-header > div:last-child { text-align: left; }
  .admin-filter-heading { align-items: start; flex-direction: column; gap: 6px; }
  .admin-filter-grid { grid-template-columns: 1fr 1fr; }
  .admin-card-summary { grid-template-columns: minmax(0,1fr) auto; gap: 8px 14px; }
  .admin-summary-main,.admin-summary-sub { grid-column: 1; }
  .admin-status,.admin-card-summary time { grid-column: 2; grid-row: 1; justify-self: end; }
  .admin-card-summary time { grid-row: 2; }
  .admin-summary-toggle { grid-column: 2; grid-row: 2 / span 2; align-self: end; }
  .admin-card-detail { padding-top: 6px; }
  .admin-card dl { grid-template-columns: 1fr 1fr; }
  .admin-files li { align-items: stretch; flex-direction: column; }
  .admin-file-info,.admin-file-actions { justify-content: space-between; }
  footer { padding-left: 22px; padding-right: 22px; }
}

/* 2026-08-10: reference-faithful seamless water / engineering hero */
.hero {
  grid-template-columns: minmax(500px,44%) minmax(0,56%);
  background-color: #eef5f7;
  background-image: url("/hero-flow-engineering-v3.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}
.hero::before {
  z-index: 0;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg,rgba(255,255,255,.16) 0%,rgba(255,255,255,.03) 42%,rgba(26,55,70,.03) 100%);
}
.hero::after { display: none; }
.hero-tech-backdrop {
  opacity: .16;
  inset: 0;
  mask-image: linear-gradient(90deg,#000 0%,rgba(0,0,0,.35) 35%,transparent 62%);
}
.hero-copy {
  background: linear-gradient(90deg,rgba(255,255,255,.24),rgba(255,255,255,.06) 84%,transparent);
}
.hero-capabilities img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  opacity: .92;
}
.hero-visual,
.hero-visual::before { background: transparent; }
.hero-visual::before { display: none; }
.engineering-grid { opacity: .14; }
.engineering-orbit { opacity: .42; }
.engineering-slider-top { color: rgba(242,249,251,.82); }
.engineering-slide-stage {
  top: 72px;
  height: calc(100% - 168px);
}
.engineering-slide-scene {
  pointer-events: none;
}
.engineering-scene-description {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.engineering-slide-product {
  place-items: center start;
  background: transparent;
}
.engineering-slide-product::before {
  display: none;
}
.engineering-slide-product img {
  width: calc(100% - 250px);
  max-width: 820px;
  height: 82%;
  margin-left: 1.5%;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 22px 18px rgba(18,39,50,.2));
}
.engineering-slide--manifold img {
  width: calc(100% - 220px);
  max-width: 860px;
  height: 86%;
  object-position: center 57%;
}
.engineering-slide--header img {
  height: 78%;
  object-position: center 54%;
}
.engineering-slide--branches img {
  height: 76%;
  object-position: center 46%;
  transform: translateY(-4%);
}
.engineering-slide--tees img {
  height: 78%;
  object-position: center 53%;
}
.engineering-slide--slot-header img {
  width: calc(100% - 235px);
  height: 80%;
  object-position: center 52%;
}
.engineering-spec {
  right: 4%;
  top: 2%;
  width: 205px;
  max-width: none;
  box-sizing: border-box;
  background: rgba(38,67,82,.24);
}
.engineering-slider-bottom {
  bottom: 20px;
  background: linear-gradient(90deg,rgba(32,60,74,.2),transparent 62%);
}

@media (max-width: 1120px) {
  .hero { grid-template-columns: 48% 52%; background-position: 54% center; }
  .engineering-slide-product img { width: calc(100% - 190px); max-width: 650px; margin-left: 1%; }
  .engineering-slide--manifold img { width: calc(100% - 175px); max-width: 690px; }
  .engineering-spec { right: 3%; width: 180px; }
}

@media (max-width: 820px) {
  .hero {
    grid-template-columns: 1fr;
    background-position: 30% top;
    background-size: auto 640px;
    background-color: #7893a1;
  }
  .hero::before { background: linear-gradient(180deg,rgba(255,255,255,.46) 0 49%,rgba(38,70,85,.28) 56%,rgba(39,70,84,.08)); }
  .hero-copy { background: rgba(255,255,255,.2); }
  .hero-visual { background: linear-gradient(145deg,rgba(126,153,166,.56),rgba(39,70,84,.66)); }
  .engineering-slide-product img { width: calc(100% - 190px); max-width: none; height: 76%; margin-left: 1%; }
  .engineering-slide--branches img { height: 72%; transform: translateY(-3%); }
  .engineering-spec { width: 180px; }
}

@media (max-width: 560px) {
  .hero { background-position: 26% top; background-size: auto 525px; }
  .hero-capabilities img { width: 30px; height: 30px; }
  .engineering-slide-product { place-items: end center; }
  .engineering-slide-product img {
    width: 94%;
    height: 62%;
    margin: 0 0 5%;
    object-position: center;
  }
  .engineering-slide--branches img { height: 58%; margin-bottom: 8%; transform: none; }
  .engineering-spec { top: 0; right: 4%; width: 158px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .hero-slides img { animation: none !important; opacity: 0; }
  .hero-slides img:first-child { opacity: 1; }
}

/* Configurator 2026: future-metal workspace and drawing intelligence */
.burring-page {
  position: relative;
  isolation: isolate;
  overflow: visible;
  background:
    radial-gradient(circle at 82% 10%,rgba(255,255,255,.07),transparent 31%),
    radial-gradient(circle at 8% 44%,rgba(255,255,255,.04),transparent 32%),
    linear-gradient(145deg,#020202 0%,#090909 48%,#151515 100%);
}
.burring-page::before {
  content: "";
  position: fixed;
  z-index: -1;
  inset: 0;
  opacity: .33;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.07) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.07) 1px,transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(135deg,#000,transparent 68%);
}
.burring-page::after {
  content: "";
  position: fixed;
  z-index: -1;
  width: 520px;
  height: 520px;
  right: -190px;
  top: 20%;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 50%;
  box-shadow: 0 0 100px rgba(255,255,255,.06),inset 0 0 90px rgba(255,255,255,.04);
}
.burring-page .config-header {
  color: #e7f8ff;
  border-color: rgba(255,255,255,.18);
  background: linear-gradient(115deg,#1c1c1c 0%,#2b2b2b 42%,#3b3b3b 72%,#242424 100%);
  backdrop-filter: blur(18px);
}
.burring-page .config-footer {
  background: linear-gradient(115deg,#1f1f1f 0%,#2e2e2e 42%,#3d3d3d 72%,#262626 100%);
}
.burring-page .config-brand span { color: #fff; }
.burring-page .config-page-name span,.burring-page .price-version { color: #9ed8ee; }
.burring-page .config-release-meta { display: grid; justify-items: end; gap: 6px; }
.burring-page .config-release-meta small { color: rgba(255,255,255,.68); font-size: 9px; font-weight: 700; letter-spacing: .12em; }
.burring-page .cad-configurator { position: relative; background: transparent; }
.burring-page .cad-toolbar {
  color: #f2f2f2;
  border: 1px solid rgba(255,255,255,.18);
  background: linear-gradient(110deg,rgba(5,5,5,.96),rgba(30,30,30,.92));
  box-shadow: 0 18px 55px rgba(0,0,0,.3);
  backdrop-filter: blur(16px);
}
.burring-page .cad-toolbar strong,.burring-page .cad-toolbar-flow .active { color: #fff; }
.burring-page .cad-toolbar span { color: #bcbcbc; }
.burring-page .cad-toolbar button { border-color: rgba(255,255,255,.28); color: #f2f2f2; background: rgba(255,255,255,.06); }
.burring-page .cad-panel,.drawing-ocr-panel {
  border: 1px solid rgba(153,196,216,.48);
  background: rgba(249,252,253,.91);
  box-shadow: 0 24px 65px rgba(7,37,55,.18),inset 0 1px rgba(255,255,255,.88);
  backdrop-filter: blur(18px) saturate(1.12);
}
.drawing-ocr-panel { margin: 14px 0; overflow: hidden; border-radius: 8px; }
.drawing-customer-form,.drawing-review-editor,.drawing-review-history { padding: 24px; background: #f5fafc; border: 1px solid #c6d8e1; font-size: 16px; }
.drawing-customer-form h3,.drawing-review-editor h2 { margin: 10px 0 16px; }
.drawing-customer-form .admin-form-grid,.drawing-review-editor .admin-form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin: 16px 0; }
.drawing-customer-form .admin-field,.drawing-review-editor .admin-field { display: grid; gap: 6px; font-size: 14px; margin-bottom: 12px; }
.drawing-customer-form input:not([type=checkbox]),.drawing-review-editor input,.drawing-review-editor select,.drawing-review-editor textarea { width: 100%; min-width: 0; padding: 10px; min-height: 44px; border: 1px solid #9cb6c4; border-radius: 3px; color: #203f50; background: #fff; font: inherit; }
.drawing-review-editor fieldset { border: 0; padding: 0; min-width: 0; }
.drawing-review-editor pre,.drawing-review-history pre { white-space: pre-wrap; overflow-wrap: anywhere; max-height: 420px; overflow: auto; font-size: 14px; }
.drawing-review-editor details,.drawing-review-history details { margin: 16px 0; padding: 12px; background: #fff; border: 1px solid #c6d8e1; }
.drawing-branch-row { display: grid; grid-template-columns: 60px repeat(3,minmax(0,1fr)) auto; align-items: end; gap: 12px; margin: 16px 0; }
.drawing-branch-row label { display: grid; gap: 6px; font-size: 14px; }
.drawing-review-editor .webgl-preview { height: 440px; position: relative; margin: 20px 0; }
.drawing-review-editor button,.drawing-customer-form button,.drawing-registration button { min-height: 44px; font-size: 14px; padding: 10px 16px; cursor: pointer; }
.drawing-review-editor button:disabled,.drawing-registration button:disabled { opacity: .5; cursor: not-allowed; }
.drawing-review-editor .ocr-result-actions { flex-wrap: wrap; justify-content: flex-start; }
.drawing-registration { margin: 20px 0; font-size: 14px; }
.drawing-customer-form select,.admin-filter-grid input,.admin-identity select { min-width: 0; min-height: 42px; padding: 8px 12px; border: 1px solid #9cb6c4; color: #203f50; background: #fff; font: inherit; }
.admin-identity label { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.admin-status--quoted { color: #825813; background: #fff0cc; }
.admin-status--ordered { color: #16664b; background: #dcf3e8; }
@media(max-width: 700px) { .drawing-customer-form,.drawing-review-editor,.drawing-review-history { padding: 16px; }.drawing-customer-form .admin-form-grid,.drawing-review-editor .admin-form-grid { grid-template-columns: 1fr; }.drawing-branch-row { grid-template-columns: 1fr 1fr; }.drawing-review-editor .webgl-preview { height: 300px; } }
.drawing-ocr-heading { min-height: 82px; padding: 16px 22px; display: flex; align-items: center; justify-content: space-between; gap: 26px; color: #f5f5f5; background: linear-gradient(105deg,#050505,#171717 72%,#292929); }
.drawing-ocr-heading > div { display: grid; gap: 3px; }
.drawing-ocr-heading small { color: #bdbdbd; font-size: 8px; font-weight: 900; letter-spacing: .2em; }
.drawing-ocr-heading h2 { margin: 0; font-size: 20px; }
.drawing-ocr-heading p { max-width: 420px; margin: 0; color: #c0e5f2; font-size: 11px; line-height: 1.7; }
.drawing-ocr-grid { display: grid; grid-template-columns: minmax(280px,.78fr) minmax(340px,1.22fr); min-height: 330px; }
.drawing-dropzone { position: relative; min-height: 330px; padding: 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; border-right: 1px solid #ccdae2; background: radial-gradient(circle at 50% 25%,#f8fdff,#e9f3f7); transition: background .2s,box-shadow .2s; }
.drawing-dropzone.dragging { background: #dcf6ff; box-shadow: inset 0 0 0 3px #36acd7; }
.drawing-dropzone > img { width: min(100%,420px); height: 175px; margin-bottom: 4px; object-fit: contain; border: 1px solid #c8dae3; background: #fff; box-shadow: 0 10px 30px rgba(25,70,91,.12); }
.drawing-dropzone > strong { color: #153f59; font-size: 14px; text-align: center; }
.drawing-dropzone > span { color: #6e8794; font-size: 10px; }
.drawing-dropzone > input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.drawing-drop-actions { display: flex; gap: 8px; margin-top: 8px; }
.drawing-drop-actions button,.ocr-result-actions button { min-height: 34px; padding: 0 16px; border: 1px solid #83a9bc; border-radius: 3px; color: #24536b; background: rgba(255,255,255,.85); font: inherit; font-size: 10px; font-weight: 800; cursor: pointer; }
.drawing-drop-illustration { position: relative; width: 92px; height: 72px; margin-bottom: 8px; border: 1px solid #7cb4ca; background: rgba(255,255,255,.74); box-shadow: 10px 10px 0 rgba(71,153,186,.08); }
.drawing-drop-illustration i { position: absolute; left: 15px; right: 15px; height: 1px; background: #8cb9ca; }
.drawing-drop-illustration i:nth-child(1) { top: 20px; }.drawing-drop-illustration i:nth-child(2) { top: 34px; }.drawing-drop-illustration i:nth-child(3) { top: 48px; }
.drawing-ocr-result { padding: 24px; background: linear-gradient(145deg,rgba(255,255,255,.97),rgba(235,246,250,.92)); }
.ocr-progress { height: 3px; overflow: hidden; background: #d9e5eb; }
.ocr-progress span { height: 100%; display: block; background: linear-gradient(90deg,#167fb0,#45d2ff); transition: width .2s; }
.ocr-status { min-height: 34px; margin: 10px 0 14px; color: #506f7f; font-size: 11px; line-height: 1.55; }
.ocr-detected-cards { display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid #d4e0e6; }
.ocr-detected-cards > div { min-width: 0; padding: 11px; display: grid; gap: 3px; border-right: 1px solid #d4e0e6; background: rgba(255,255,255,.76); }
.ocr-detected-cards > div:last-child { border-right: 0; }
.ocr-detected-cards small { color: #6b8491; font-size: 8px; }
.ocr-detected-cards strong { overflow: hidden; color: #164d6b; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.ocr-raw-text { margin-top: 14px; display: grid; gap: 5px; color: #506d7c; font-size: 9px; font-weight: 800; }
.ocr-raw-text textarea { min-height: 90px; padding: 10px; resize: vertical; border: 1px solid #c6d8e1; border-radius: 3px; color: #294553; background: rgba(255,255,255,.88); font: inherit; font-size: 10px; line-height: 1.5; }
.ocr-result-actions { margin-top: 10px; display: flex; justify-content: flex-end; gap: 8px; }
.ocr-result-actions .primary { border-color: #167dab; color: #fff; background: linear-gradient(100deg,#146d9a,#189ec4); }
.ocr-result-actions button:disabled { opacity: .42; cursor: not-allowed; }
.burring-page .webgl-preview { background: radial-gradient(circle at 62% 28%,rgba(255,255,255,.09),transparent 24%),linear-gradient(145deg,#030303,#121212 62%,#252525); }
.burring-page .webgl-preview::before { content: ""; position: absolute; inset: 0; opacity: .22; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.1) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.1) 1px,transparent 1px); background-size: 32px 32px; mask-image: linear-gradient(to top,#000,transparent 88%); }
.burring-page .webgl-caption strong,.burring-page .webgl-pipe-weight strong { color: #f5f5f5; }
.burring-page .webgl-caption span,.burring-page .webgl-pipe-weight span,.burring-page .webgl-help span { color: #adadad; }
.burring-page .webgl-pipe-weight { border-color: rgba(255,255,255,.24); background: rgba(5,5,5,.74); }
.burring-page .webgl-status { color: #e5e5e5; border-color: rgba(255,255,255,.38); background: rgba(20,20,20,.82); }
.burring-page .webgl-help button { border-color: rgba(255,255,255,.3); color: #ededed; background: rgba(28,28,28,.72); }
.customer-gate-grid select { min-height: 42px; padding: 0 12px; border: 1px solid #c8d6e0; border-radius: 3px; color: #263c4d; background: #fff; font: inherit; }
.admin-identity { margin: 14px 0; padding: 14px; border: 1px solid #c9dce6; background: #f1f8fb; }
.admin-identity > div { display: flex; justify-content: space-between; align-items: center; }
.admin-identity > div span { color: #527182; font-size: 10px; font-weight: 800; }
.admin-identity > div strong { color: #17638b; font-size: 11px; }
.admin-identity ul { margin: 10px 0; padding: 0; display: grid; gap: 5px; list-style: none; }
.admin-identity li { padding: 7px 9px; color: #153f59; background: #fff; font-family: ui-monospace,SFMono-Regular,Menlo,monospace; font-size: 11px; }
.admin-identity form { display: flex; gap: 7px; flex-wrap: wrap; }
.admin-identity button { min-height: 31px; padding: 0 10px; border: 1px solid #8eb1c2; color: #24566e; background: #fff; font-size: 9px; font-weight: 800; cursor: pointer; }

@media (max-width: 800px) {
  .drawing-ocr-heading { align-items: flex-start; flex-direction: column; gap: 6px; }
  .drawing-ocr-grid { grid-template-columns: 1fr; }
  .drawing-dropzone { border-right: 0; border-bottom: 1px solid #ccdae2; }
  .ocr-detected-cards { grid-template-columns: 1fr 1fr; }
  .ocr-detected-cards > div:nth-child(2) { border-right: 0; }
  .ocr-detected-cards > div:nth-child(-n+2) { border-bottom: 1px solid #d4e0e6; }
  .ocr-result-actions { align-items: stretch; flex-direction: column; }
}

.price-version { margin-left: auto; color: #647b8c; font-size: .72rem; letter-spacing: .04em; }
.quote-settings { margin-top: 14px; padding: 28px 32px 30px; }
.pipe-item-builder { margin-top: 14px; padding: 24px 28px 28px; }
.pipe-item-builder-actions { display: grid; grid-template-columns: minmax(180px,1fr) 150px minmax(250px,.9fr); align-items: end; gap: 18px; padding: 18px; border: 1px solid #d4e1e6; background: linear-gradient(120deg,#f7fbfd,#edf7f6); }
.pipe-item-builder-actions > div:first-child { display: grid; gap: 3px; }
.pipe-item-builder-actions > div:first-child small { color: #5f7d8d; font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.pipe-item-builder-actions > div:first-child strong { color: #173f72; font-size: 22px; }
.pipe-item-builder-actions > div:first-child span { color: #5b707d; font-size: 12px; }
.pipe-item-builder-actions label { display: grid; gap: 7px; color: #405762; font-size: 11px; font-weight: 750; }
.pipe-item-builder-actions input { width: 100%; height: 42px; padding: 0 12px; border: 1px solid #bdccd4; border-radius: 3px; color: #243640; background: #fff; font: inherit; font-size: 14px; }
.pipe-item-builder-buttons { display: grid; gap: 7px; }
.add-pipe-item,.cancel-pipe-edit { min-height: 43px; border: 0; border-radius: 3px; font: inherit; font-size: 12px; font-weight: 800; cursor: pointer; }
.add-pipe-item { color: #fff; background: linear-gradient(100deg,#1d6eab,#218a70); box-shadow: 0 7px 16px rgba(29,110,171,.18); }
.add-pipe-item:disabled { cursor: not-allowed; opacity: .4; box-shadow: none; }
.cancel-pipe-edit { border: 1px solid #bdcbd5; color: #5b707e; background: #fff; }
.quote-layout { display: grid; grid-template-columns: minmax(260px,1fr) minmax(230px,.8fr) minmax(280px,.95fr); gap: 24px; margin-top: 20px; }
.quote-breakdown { border: 1px solid #d7e0e7; background: #f8fafc; }
.quote-breakdown > div { display: flex; align-items: center; justify-content: space-between; min-height: 48px; padding: 0 16px; border-bottom: 1px solid #dfe6eb; color: #536b7b; font-size: .78rem; }
.quote-breakdown > div:last-child { border-bottom: 0; background: #edf4fa; }
.quote-breakdown strong { color: #173f6e; font-size: .94rem; }
.quote-controls { display: grid; gap: 12px; }
.quote-controls label { display: grid; gap: 6px; color: #4d6575; font-size: .72rem; font-weight: 700; }
.quote-controls input { min-height: 42px; padding: 0 12px; border: 1px solid #c8d6e0; border-radius: 3px; background: #fff; color: #263c4d; font: inherit; }
.add-quote-type { min-height: 43px; border: 1px solid #2d70c8; border-radius: 3px; background: #fff; color: #245f9e; font-weight: 800; cursor: pointer; }
.add-quote-type:disabled { opacity: .45; cursor: not-allowed; }
.quote-edit-actions { display: grid; gap: 7px; }
.cancel-quote-edit { min-height: 34px; border: 1px solid #bdcbd5; border-radius: 3px; background: #f7f9fa; color: #5b707e; font-weight: 700; cursor: pointer; }
.quote-total { display: flex; flex-direction: column; align-items: flex-end; justify-content: center; padding: 20px 22px; border-left: 4px solid #2d70c8; background: #f0f6fc; }
.quote-total small { color: #5f7889; font-size: .72rem; font-weight: 700; letter-spacing: .05em; }
.quote-total > strong { margin: 5px 0 15px; color: #123f77; font-size: clamp(1.65rem,3vw,2.45rem); line-height: 1; }
.quote-total button { width: 100%; min-height: 45px; border: 0; border-radius: 3px; background: #2d70c8; color: #fff; font-weight: 800; cursor: pointer; }
.quote-total button:disabled { opacity: .45; cursor: not-allowed; }
.quote-total p { width: 100%; margin: 8px 0 0; color: #476376; font-size: .7rem; text-align: center; }
.quote-note { margin: 18px 0 0; color: #687c89; font-size: .72rem; }
.quote-type-list { margin-top: 22px; border: 1px solid #d7e0e7; }
.quote-type-list-heading { display: flex; align-items: center; justify-content: space-between; padding: 12px 15px; background: #eef4f8; color: #526a79; font-size: .72rem; }
.quote-type-list-heading strong { color: #244c71; font-size: .85rem; }
.quote-type-row { display: grid; grid-template-columns: 62px minmax(240px,1fr) 62px 110px 30px; gap: 10px; align-items: center; min-height: 45px; padding: 6px 12px; border-top: 1px solid #e1e8ed; color: #536b7b; font-size: .75rem; cursor: pointer; transition: background-color .15s ease, box-shadow .15s ease; }
.quote-type-row:hover, .quote-type-row:focus-visible { background: #f2f7fb; outline: 0; box-shadow: inset 3px 0 #3d7ec8; }
.quote-type-row.editing { background: #e7f1fa; box-shadow: inset 3px 0 #2467ad; }
.quote-type-row b { color: #255c91; }
.quote-type-row > strong { color: #173f6e; text-align: right; }
.quote-type-row button { border: 0; background: transparent; color: #7d919e; font-size: 1.1rem; cursor: pointer; }
.price-preview { width: min(520px,calc(100% - 48px)); margin: auto; padding: 34px; border: 1px solid #d5e0e7; border-top: 5px solid #2d70c8; background: #fff; box-shadow: 0 16px 40px rgb(28 55 76 / 10%); }
.price-preview > small { color: #4f7fa7; font-size: .62rem; font-weight: 800; letter-spacing: .15em; }
.price-preview h2 { margin: 5px 0 24px; color: #194879; font-size: 1.55rem; }
.price-preview > div { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid #e1e8ed; color: #5c7180; }
.price-preview > div strong { color: #263e50; }
.price-preview .price-preview-total { margin-top: 10px; padding: 20px 0 0; border-bottom: 0; color: #1c4d80; font-weight: 800; }
.price-preview .price-preview-total strong { color: #123f77; font-size: 1.7rem; }

@media (max-width: 960px) {
  .quote-layout { grid-template-columns: 1fr; }
  .pipe-item-builder-actions { grid-template-columns: 1fr; align-items: stretch; }
  .quote-total { align-items: stretch; }
  .quote-type-row { grid-template-columns: 55px 1fr 50px 90px 24px; }
}

/* 2026 hero renewal: flow engineering first view */
.hero {
  min-height: clamp(720px,calc(100vh - 80px),880px);
  grid-template-columns: minmax(520px,44%) minmax(0,56%);
  background: #fff;
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 56% 0 0;
  background:
    radial-gradient(circle at 6% 90%,rgba(151,210,224,.24),transparent 34%),
    radial-gradient(circle at 48% 106%,rgba(217,239,244,.88),transparent 38%),
    linear-gradient(135deg,#fff 0%,#f8fbfc 70%,#eff7f9 100%);
}
.hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  left: 39%;
  top: -12%;
  width: 18%;
  height: 126%;
  pointer-events: none;
  transform: skewX(-18deg);
  background: linear-gradient(90deg,rgba(255,255,255,.98),rgba(228,240,244,.72),rgba(255,255,255,.08));
}
.hero-tech-backdrop {
  z-index: 0;
  inset: 0 56% 0 0;
  mask-image: linear-gradient(90deg,#000,rgba(0,0,0,.55),transparent);
  background-size: 46px 46px;
}
.hero-copy {
  z-index: 2;
  padding: 55px clamp(42px,5vw,92px) 42px;
}
.hero .eyebrow {
  display: flex;
  align-items: center;
  margin: 0;
  color: #507b8d;
  font-size: 10px;
  letter-spacing: .23em;
}
.hero h1 {
  max-width: 650px;
  margin: 28px 0 16px;
  color: #173541;
  font-family: "Yu Mincho","YuMincho","Hiragino Mincho ProN","Noto Serif JP",serif;
  font-size: clamp(52px,4.65vw,78px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: .015em;
}
.hero h1 .hero-title-line { white-space: nowrap; }
.hero h1 .hero-title-accent::after { content: none; }
.hero-subcopy {
  position: relative;
  margin: 0 0 29px;
  padding-bottom: 23px;
  color: #213c47;
  font-family: "Yu Mincho","YuMincho","Hiragino Mincho ProN",serif;
  font-size: clamp(20px,1.65vw,27px);
  font-weight: 600;
  letter-spacing: .08em;
}
.hero-subcopy::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 77px;
  height: 2px;
  background: linear-gradient(90deg,#315e71 0 72%,#b8d78e 72%);
}
.hero-lead {
  max-width: 620px;
  color: #4f6670;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.95;
}
.hero-lead strong { color: #203e4a; font-size: 16px; }
.hero-actions { margin-top: 28px; gap: 14px; }
.hero .button { min-width: 230px; height: 58px; padding: 0 25px; }
.hero .button-primary {
  color: #fff;
  background: linear-gradient(120deg,#183e50,#245c72);
  box-shadow: 0 14px 30px rgba(21,58,74,.18);
}
.hero .button-primary:hover { background: linear-gradient(120deg,#123545,#1f5367); }
.hero .button-secondary { border-color: #7d949e; background: rgba(255,255,255,.72); }
.hero-capabilities {
  margin-top: 28px;
  padding-top: 20px;
  gap: 17px;
  border-top-color: rgba(86,126,142,.24);
}
.hero-capabilities > span {
  grid-template-columns: 28px 1fr;
  column-gap: 9px;
  row-gap: 2px;
  align-items: center;
  letter-spacing: 0;
}
.hero-capabilities img {
  grid-row: 1 / 3;
  width: 25px;
  height: 25px;
  opacity: .78;
}
.hero-capabilities b { color: #28444f; font-size: 11px; letter-spacing: .015em; }
.hero-capabilities small { color: #748891; font-size: 9px; line-height: 1.4; }
.hero-visual {
  z-index: 1;
  min-height: inherit;
  background: linear-gradient(145deg,#a9bdc7 0%,#5f7886 49%,#2c4655 100%);
}
.hero-visual::before {
  z-index: 0;
  width: 82%;
  height: 72%;
  background: radial-gradient(ellipse,rgba(233,245,248,.5),rgba(141,174,188,.16) 54%,transparent 74%);
  filter: blur(6px);
}
.engineering-slider {
  position: relative;
  isolation: isolate;
  width: 100%;
  height: 100%;
  min-height: inherit;
  overflow: hidden;
  color: #fff;
}
.engineering-grid {
  position: absolute;
  inset: 0;
  opacity: .35;
  background-image: linear-gradient(rgba(225,241,247,.13) 1px,transparent 1px),linear-gradient(90deg,rgba(225,241,247,.13) 1px,transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(90deg,transparent,#000 18%,#000);
}
.engineering-orbit {
  position: absolute;
  z-index: -1;
  left: 7%;
  top: 21%;
  width: 56%;
  aspect-ratio: 1;
  border: 1px solid rgba(228,244,249,.3);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(232,246,250,.055),0 0 0 140px rgba(232,246,250,.035);
}
.engineering-orbit-b { left: 34%; top: 12%; width: 44%; border-style: dashed; opacity: .6; }
.engineering-slider-top {
  position: absolute;
  z-index: 5;
  top: 34px;
  left: 9%;
  right: 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(239,248,251,.76);
  font-size: 9px;
  font-weight: 650;
  letter-spacing: .2em;
}
.engineering-slider-top small { font-size: 9px; letter-spacing: .12em; }
.engineering-slide-stage { position: absolute; left: 0; right: 0; top: 78px; bottom: auto; height: calc(100% - 182px); }
.engineering-slide {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translateX(28px) scale(.985);
  transition: opacity .95s ease,transform 1.15s cubic-bezier(.22,.7,.2,1);
}
.engineering-slide.is-active { opacity: 1; transform: translateX(0) scale(1); }
.engineering-slide img {
  width: 88%;
  height: 78%;
  object-fit: contain;
  object-position: 50% 62%;
  filter: saturate(.78) contrast(1.04) drop-shadow(0 34px 28px rgba(4,18,25,.28));
}
.engineering-spec {
  position: absolute;
  z-index: 4;
  right: 6%;
  top: 4%;
  width: min(205px,27%);
  padding: 15px 17px;
  border: 1px solid rgba(226,242,247,.42);
  background: rgba(29,55,68,.18);
  backdrop-filter: blur(9px);
}
.engineering-spec > small { color: rgba(239,248,251,.72); font-size: 8px; letter-spacing: .18em; }
.engineering-spec dl { margin: 12px 0 0; display: grid; gap: 8px; }
.engineering-spec dl div { display: grid; grid-template-columns: 64px 1fr; gap: 8px; }
.engineering-spec dt,.engineering-spec dd { margin: 0; font-size: 8px; line-height: 1.4; }
.engineering-spec dt { color: rgba(235,247,250,.55); }
.engineering-spec dd { color: #fff; }
.engineering-axis { position: absolute; z-index: 2; background: rgba(227,244,249,.38); }
.engineering-axis::after { content: ""; position: absolute; width: 5px; height: 5px; border: solid rgba(227,244,249,.75); }
.engineering-axis span { position: absolute; color: rgba(235,247,250,.65); font-size: 8px; }
.engineering-axis-x { left: 11%; right: 7%; bottom: 9%; height: 1px; }
.engineering-axis-x::after { right: 0; top: -2px; border-width: 1px 1px 0 0; transform: rotate(45deg); }
.engineering-axis-x span { right: -12px; top: -5px; }
.engineering-axis-y { left: 11%; top: 33%; bottom: 9%; width: 1px; }
.engineering-axis-y::after { left: -2px; top: 0; border-width: 1px 0 0 1px; transform: rotate(45deg); }
.engineering-axis-y span { left: -3px; top: -14px; }
.engineering-slider-bottom {
  position: absolute;
  z-index: 5;
  left: 7%;
  right: 6%;
  bottom: 28px;
  min-height: 58px;
  padding-top: 15px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(229,244,249,.34);
}
.engineering-slider-bottom > div:first-child { display: grid; gap: 5px; }
.engineering-slider-bottom small { color: #b9dce7; font-size: 8px; letter-spacing: .2em; }
.engineering-slider-bottom strong { font-size: 14px; font-weight: 550; letter-spacing: .02em; }
.engineering-slider-controls { display: flex; align-items: center; gap: 13px; }
.engineering-slider-controls > button {
  width: 32px;
  height: 32px;
  padding: 0;
  color: #fff;
  border: 1px solid rgba(232,246,250,.42);
  background: rgba(24,54,67,.18);
  cursor: pointer;
}
.engineering-slider-controls > button:hover { background: rgba(255,255,255,.14); }
.engineering-slider-dots { display: flex; align-items: center; gap: 7px; }
.engineering-slider-dots button { width: 20px; height: 2px; padding: 0; border: 0; background: rgba(232,246,250,.35); cursor: pointer; transition: width .25s,background .25s; }
.engineering-slider-dots button.is-active { width: 38px; background: #d8f1f7; }

@media (max-width: 1120px) {
  .hero { grid-template-columns: 48% 52%; }
  .hero-copy { padding-left: 42px; padding-right: 34px; }
  .hero h1 { font-size: clamp(48px,5vw,62px); }
  .hero-capabilities { gap: 9px; }
  .hero-capabilities > span { grid-template-columns: 23px 1fr; column-gap: 6px; }
  .hero-capabilities img { width: 21px; height: 21px; }
  .hero-capabilities b { font-size: 9px; }
  .hero .button { min-width: 0; flex: 1; }
  .engineering-spec { width: 190px; max-width: 32%; }
}

@media (max-width: 820px) {
  .hero { min-height: 0; grid-template-columns: 1fr; }
  .hero::before { inset: 0 0 50% 0; }
  .hero::after { display: none; }
  .hero-tech-backdrop { inset: 0 0 50% 0; }
  .hero-copy { min-height: 640px; padding: 66px 34px 50px; }
  .hero h1 { font-size: clamp(46px,8.4vw,62px); }
  .hero-visual { min-height: 570px; }
  .engineering-slider { min-height: 570px; }
}

@media (max-width: 560px) {
  .hero-copy { min-height: 0; padding: 52px 22px 42px; }
  .hero h1 { margin-top: 22px; font-size: 40px; line-height: 1.3; }
  .hero-subcopy { font-size: 18px; letter-spacing: .035em; }
  .hero-lead { font-size: 13px; line-height: 1.85; }
  .hero-lead strong { font-size: 14px; }
  .hero-capabilities { grid-template-columns: 1fr; gap: 12px; }
  .hero-capabilities > span { grid-template-columns: 28px 1fr; }
  .hero-capabilities img { width: 24px; height: 24px; }
  .hero-capabilities b { font-size: 11px; }
  .hero-capabilities small { font-size: 9px; }
  .hero-visual,.engineering-slider { min-height: 470px; }
  .engineering-slide-stage { top: 64px; height: calc(100% - 169px); }
  .engineering-slide img { width: 96%; height: 76%; }
  .engineering-spec { top: 2%; right: 5%; width: 150px; max-width: 44%; padding: 10px; }
  .engineering-spec dl { gap: 5px; }
  .engineering-spec dl div { grid-template-columns: 48px 1fr; }
  .engineering-spec dt,.engineering-spec dd { font-size: 6px; }
  .engineering-slider-top { top: 23px; left: 6%; }
  .engineering-slider-bottom { left: 6%; right: 5%; bottom: 18px; align-items: start; flex-direction: column; }
  .engineering-slider-bottom strong { font-size: 12px; }
  .engineering-slider-controls { align-self: flex-end; margin-top: -37px; }
  .engineering-slider-dots { display: none; }
}

/* Final hero overrides: a product-free continuous scene sits behind the carousel.
   Every product image then fills the visual field and fades as one complete slide. */
.hero {
  grid-template-columns: minmax(500px,44%) minmax(0,56%);
  background-color: #eef5f7;
  background-image: url("/hero-flow-engineering-bg-v4.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}
.hero::before {
  z-index: 0;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg,rgba(255,255,255,.16),rgba(255,255,255,.03) 42%,rgba(26,55,70,.03));
}
.hero::after { display: none; }
.hero-tech-backdrop {
  opacity: .16;
  inset: 0;
  mask-image: linear-gradient(90deg,#000,rgba(0,0,0,.35) 35%,transparent 62%);
}
.hero-copy { background: linear-gradient(90deg,rgba(255,255,255,.24),rgba(255,255,255,.06) 84%,transparent); }
.hero-capabilities img { width: 32px; height: 32px; object-fit: contain; opacity: .92; }
.hero-visual,.hero-visual::before { background: transparent; }
.hero-visual::before { display: none; }
.engineering-grid { opacity: .14; }
.engineering-orbit { opacity: .42; }
.engineering-slider-top { color: rgba(242,249,251,.82); }
.engineering-slide-stage { top: 72px; height: calc(100% - 168px); }
.engineering-slide-product {
  place-items: center start;
  background: transparent;
}
.engineering-slide-product::before {
  display: none;
}
.engineering-slide-product img {
  position: relative;
  z-index: 1;
  width: calc(100% - 250px);
  max-width: 820px;
  height: 82%;
  margin-left: 1.5%;
  object-fit: contain;
  object-position: 50% 61%;
  filter: drop-shadow(0 22px 16px rgba(18,39,50,.22));
}
.engineering-slide--manifold img { height: 86%; object-position: 50% 58%; }
.engineering-slide--manifold img {
  width: calc(100% - 105px);
  max-width: 1080px;
}
.engineering-slide--header img { height: 78%; object-position: 50% 58%; }
.engineering-slide--branches img { height: 70%; object-position: 50% 42%; transform: translateY(-9%); }
.engineering-slide--tees img { height: 78%; object-position: 50% 56%; }
.engineering-slide--slot-header img { height: 80%; object-position: 50% 56%; }
.engineering-spec {
  right: 4%;
  top: 2%;
  width: 205px;
  max-width: none;
  box-sizing: border-box;
  background: rgba(38,67,82,.24);
}
.engineering-slider-bottom { bottom: 20px; background: linear-gradient(90deg,rgba(32,60,74,.2),transparent 62%); }

@media (max-width: 1120px) {
  .hero { grid-template-columns: 48% 52%; background-position: 54% center; }
  .engineering-slide-product img { width: calc(100% - 190px); max-width: 650px; margin-left: 1%; }
  .engineering-slide--manifold img { width: calc(100% - 92px); max-width: 850px; }
  .engineering-spec { right: 3%; width: 180px; max-width: none; }
}

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; background-position: 30% top; background-size: auto 640px; background-color: #7893a1; }
  .hero::before { inset: 0; background: linear-gradient(180deg,rgba(255,255,255,.46) 0 49%,rgba(38,70,85,.28) 56%,rgba(39,70,84,.08)); }
  .hero-tech-backdrop { inset: 0; }
  .hero-copy { background: rgba(255,255,255,.2); }
  .hero-visual { background: linear-gradient(145deg,rgba(126,153,166,.56),rgba(39,70,84,.66)); }
  .engineering-slide-product img { width: calc(100% - 190px); max-width: none; height: 80%; margin-left: 1%; }
  .engineering-spec { width: 180px; max-width: none; }
}

@media (max-width: 560px) {
  .hero { background-position: 26% top; background-size: auto 525px; }
  .hero-capabilities img { width: 30px; height: 30px; }
  .engineering-slide-product { place-items: end center; }
  .engineering-slide-product img { width: 94%; height: 62%; margin: 0 0 2%; object-position: center bottom; }
  .engineering-slide--branches img { height: 60%; object-position: center 42%; transform: translateY(-6%); }
  .engineering-spec { top: 0; right: 4%; width: 158px; max-width: none; }
}

/* Homepage editorial headings use the same refined Mincho voice as the hero. */
.cases-heading > h2,
.difference-copy > h2,
.additive-heading > h2,
.intro-heading > h2,
.consultation-heading > h2,
.showcase-copy > h2,
.company-copy > h2,
.contact-copy > h2 {
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "Noto Serif JP", serif;
  font-weight: 500;
  letter-spacing: .015em;
  text-wrap: balance;
}

/* Service detail pages */
.service-detail-page { overflow-x: clip; background: #fff; }
.service-detail-hero { min-height: 650px; display: grid; grid-template-columns: minmax(0,.92fr) minmax(0,1.08fr); background: linear-gradient(118deg,#f7fbfc 0,#fff 52%,#eaf4f7 100%); }
.service-detail-hero-copy { min-width: 0; padding: clamp(74px,8vw,126px) clamp(38px,6.8vw,118px); display: flex; flex-direction: column; justify-content: center; }
.service-detail-number { margin: 0; color: var(--blue); font-size: 10px; font-weight: 800; letter-spacing: .2em; }
.service-detail-hero h1,.service-detail-overview h2,.service-detail-data h2,.service-detail-process h2,.service-detail-contact h2 { font-family: "Yu Mincho","YuMincho","Hiragino Mincho ProN","Noto Serif JP",serif; font-weight: 500; }
.service-detail-hero h1 { max-width: 720px; margin: 28px 0 25px; font-size: clamp(38px,4.15vw,62px); line-height: 1.34; letter-spacing: -.035em; text-wrap: balance; word-break: auto-phrase; line-break: strict; }
.service-detail-hero-copy > p:not(.service-detail-number) { max-width: 680px; margin: 0; color: var(--muted); font-size: 16px; line-height: 2; }
.service-detail-actions { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 12px; }
.service-detail-actions .configurator-entry-button { width: min(100%,380px); min-width: 320px; height: 72px; padding: 0 22px 0 24px; border: 0; color: #fff; background: linear-gradient(110deg,#1f6fa8,#278d78); box-shadow: 0 15px 30px rgba(31,111,168,.2); }
.configurator-entry-button > span:first-child { display: grid; gap: 5px; text-align: left; }
.configurator-entry-button strong { font-size: 14px; line-height: 1.3; }
.configurator-entry-button small { color: rgba(255,255,255,.78); font-size: 10px; font-weight: 600; letter-spacing: .04em; }
.configurator-entry-button .configurator-entry-arrow { display: grid; width: 30px; height: 30px; flex: 0 0 auto; place-items: center; border: 1px solid rgba(255,255,255,.48); border-radius: 50%; font-size: 15px; transition: transform .25s ease,background .25s ease; }
.configurator-entry-button:hover { background: linear-gradient(110deg,#195f92,#217966); }
.configurator-entry-button:hover .configurator-entry-arrow { transform: translateX(3px); background: rgba(255,255,255,.12); }
.service-detail-hero-image { position: relative; min-height: 650px; margin: 0; overflow: hidden; display: grid; place-items: center; background-color: #dbe9ee; background-image: linear-gradient(rgba(78,123,144,.09) 1px,transparent 1px),linear-gradient(90deg,rgba(78,123,144,.09) 1px,transparent 1px),radial-gradient(circle at 55% 47%,rgba(255,255,255,.94),rgba(213,231,237,.74) 58%,rgba(126,157,171,.3)); background-size: 46px 46px,46px 46px,auto; }
.service-detail-hero-image::before,.service-detail-hero-image::after { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.68); border-radius: 50%; }
.service-detail-hero-image::before { width: 62%; aspect-ratio: 1; }
.service-detail-hero-image::after { width: 42%; aspect-ratio: 1; border-style: dashed; }
.service-detail-hero-image > span { position: absolute; z-index: 2; right: 6%; top: 7%; padding: 12px 15px; border: 1px solid rgba(53,89,106,.28); background: rgba(255,255,255,.58); color: var(--navy); font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.service-detail-hero-image img { position: relative; z-index: 1; width: 88%; height: 76%; object-fit: contain; filter: drop-shadow(0 24px 20px rgba(28,51,62,.2)); }
.service-detail-hero-image figcaption { position: absolute; z-index: 2; left: 6%; bottom: 6%; color: rgba(43,66,76,.7); font-size: 10px; font-weight: 800; letter-spacing: .2em; }
.service-detail-metrics { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.service-detail-metrics > div { min-height: 150px; padding: 28px clamp(24px,4vw,68px); display: grid; align-content: center; gap: 5px; border-right: 1px solid var(--line); }
.service-detail-metrics > div:last-child { border-right: 0; }
.service-detail-metrics strong { color: var(--navy); font-family: "Yu Mincho","YuMincho","Hiragino Mincho ProN",serif; font-size: clamp(28px,3.2vw,48px); font-weight: 500; }
.service-detail-metrics span { font-size: 13px; font-weight: 700; }
.service-detail-metrics small { color: var(--muted); font-size: 10px; }

.service-project-feature {
  display: grid;
  grid-template-columns: minmax(250px, 0.54fr) minmax(0, 1.46fr);
  gap: clamp(38px, 6vw, 96px);
  align-items: start;
  background: linear-gradient(135deg, #f7fbfc 0%, #fff 52%, #edf6f8 100%);
}
.service-project-feature-heading { position: sticky; top: 108px; padding-top: 10px; }
.service-project-feature-heading h2 {
  margin: 22px 0 24px;
  color: var(--navy);
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  font-size: clamp(34px, 3.35vw, 52px);
  font-weight: 500;
  line-height: 1.48;
  letter-spacing: -0.025em;
}
.service-project-feature-heading > p:last-child { max-width: 500px; margin: 0; color: var(--muted); font-size: 15px; line-height: 2; }
.service-project-feature-visual {
  margin: 0;
  padding: clamp(12px, 1.5vw, 22px);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(47, 83, 100, 0.1);
}
.service-project-feature-visual img { display: block; width: 100%; height: auto; }
.service-project-feature-visual figcaption { padding: 13px 4px 0; color: var(--blue); font-size: 9px; font-weight: 800; letter-spacing: 0.16em; text-align: right; }
.service-detail-overview { display: grid; grid-template-columns: .8fr 1.2fr; gap: 8%; }
.service-detail-overview-heading h2 { margin: 18px 0 20px; font-size: clamp(34px,3.55vw,54px); line-height: 1.4; text-wrap: balance; word-break: auto-phrase; line-break: strict; }
.service-detail-overview-heading > p:last-child { color: var(--muted); font-size: 15px; line-height: 2; }
.service-detail-section-list { border-top: 1px solid var(--line); }
.service-detail-section-list article { padding: 28px 0; display: grid; grid-template-columns: 155px 1fr; gap: 5px 30px; border-bottom: 1px solid var(--line); }
.service-detail-section-list article > div { grid-row: span 2; display: grid; align-content: start; gap: 6px; }
.service-detail-section-list article > div span { color: var(--blue); font-size: 25px; font-weight: 300; }
.service-detail-section-list article > div small { color: var(--blue); font-size: 8px; font-weight: 800; letter-spacing: .14em; }
.service-detail-section-list h3 { margin: 0; font-size: 20px; }
.service-detail-section-list p { margin: 7px 0 0; color: var(--muted); font-size: 13px; line-height: 1.9; }
.service-detail-data { padding-top: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); }
.service-detail-list-panel { padding: clamp(38px,5vw,76px); background: #f7fafb; }
.service-detail-list-panel-alt { background: var(--panel-blue); }
.service-detail-list-panel h2 { margin: 17px 0 30px; font-size: clamp(29px,3vw,44px); line-height: 1.4; text-wrap: balance; word-break: auto-phrase; line-break: strict; }
.service-detail-list-panel ul { margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; list-style: none; border-top: 1px solid rgba(74,112,132,.24); }
.service-detail-list-panel li { padding: 16px 6px; border-bottom: 1px solid rgba(74,112,132,.24); font-size: 13px; font-weight: 700; }
.service-detail-list-panel li::before { content: "○"; margin-right: 9px; color: var(--blue); font-size: 8px; }
.service-detail-list-panel > small { margin-top: 23px; display: block; color: var(--muted); font-size: 10px; line-height: 1.8; }
.service-detail-process { display: grid; grid-template-columns: .8fr 1.2fr; gap: 8%; align-items: end; }
.service-detail-process h2 { margin: 17px 0 0; font-size: clamp(31px,3.45vw,49px); line-height: 1.4; text-wrap: balance; word-break: auto-phrase; line-break: strict; }
.service-detail-process ol { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3,1fr); list-style: none; border: 1px solid var(--line); }
.service-detail-process li { min-height: 130px; padding: 25px; display: grid; align-content: space-between; border-right: 1px solid var(--line); }
.service-detail-process li:last-child { border-right: 0; }
.service-detail-process li span { color: var(--blue); font-size: 10px; font-weight: 800; }
.service-detail-process li strong { font-size: 15px; }
.service-detail-contact { display: grid; grid-template-columns: .72fr 1.28fr; gap: 7%; background: linear-gradient(120deg,#eef6f8,#fff 52%); }
.service-detail-contact-copy h2 { margin: 28px 0 24px; font-size: clamp(32px,3.5vw,50px); line-height: 1.42; text-wrap: balance; word-break: auto-phrase; line-break: strict; }
.service-detail-contact-copy > p { color: var(--muted); font-size: 14px; line-height: 2; }
.service-detail-contact .consultation-form { align-self: start; }

/* Metal additive manufacturing page */
.service-detail-hero-image-metal-am { background: linear-gradient(145deg,#edf4f6 0%,#d4e3e8 58%,#aac0ca 100%); }
.service-detail-hero-image-metal-am::before { width: 72%; border-color: rgba(255,255,255,.48); }
.service-detail-hero-image-metal-am::after { width: 48%; border-color: rgba(76,125,146,.28); }
.service-detail-hero-image-metal-am img { width: 84%; height: 82%; object-fit: cover; object-position: center; border: 12px solid rgba(255,255,255,.72); box-shadow: 0 28px 52px rgba(34,63,77,.2); filter: none; }
.metal-am-content h2 { margin: 18px 0 25px; font-family: "Yu Mincho","YuMincho","Hiragino Mincho ProN","Noto Serif JP",serif; font-size: clamp(33px,3.45vw,52px); font-weight: 500; line-height: 1.45; letter-spacing: -.025em; text-wrap: balance; word-break: auto-phrase; line-break: strict; }
.metal-am-content p { color: var(--muted); line-height: 2; }
.metal-am-case { display: grid; grid-template-columns: minmax(440px,.92fr) minmax(0,1.08fr); gap: clamp(50px,6vw,96px); align-items: center; }
.metal-am-case-copy h2 { font-size: clamp(32px,3.05vw,46px); }
.metal-am-case.metal-am-case-text-only { grid-template-columns: minmax(0,1fr); }
.metal-am-case-copy > p:not(.service-detail-number) { max-width: 610px; font-size: 15px; }
.metal-am-case-copy dl { margin: 38px 0 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.metal-am-case-copy dl div { padding: 15px 5px; display: flex; justify-content: space-between; gap: 15px; border-bottom: 1px solid var(--line); }
.metal-am-case-copy dt { color: var(--blue); font-size: 9px; font-weight: 800; letter-spacing: .13em; }
.metal-am-case-copy dd { margin: 0; color: var(--navy); font-size: 12px; font-weight: 700; }
.metal-am-case-visual { min-height: 580px; margin: 0; position: relative; overflow: hidden; background: linear-gradient(145deg,#f7fafb,#e4eef2); }
.metal-am-case-visual::before { content: ""; position: absolute; inset: 9%; border: 1px solid rgba(83,131,153,.22); border-radius: 50%; }
.metal-am-case-visual img { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; mix-blend-mode: multiply; }
.metal-am-case-visual figcaption { position: absolute; z-index: 2; left: 25px; bottom: 22px; padding: 9px 12px; background: rgba(255,255,255,.84); color: var(--blue); font-size: 9px; font-weight: 800; letter-spacing: .16em; }
.metal-am-sanitary { background: linear-gradient(120deg,#eef6f8,#fff 68%); }
.metal-am-wide-heading { max-width: 860px; }
.metal-am-wide-heading > p:last-child { max-width: 710px; font-size: 15px; }
.metal-am-sanitary > figure { margin: 48px 0 0; overflow: hidden; background: white; }
.metal-am-sanitary > figure img { width: 100%; max-height: 560px; margin-top: -34px; margin-bottom: -1px; display: block; object-fit: cover; object-position: center 43%; }
.metal-am-benefits { margin-top: 1px; display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--line); }
.metal-am-benefits article { min-height: 165px; padding: 25px; background: rgba(255,255,255,.92); }
.metal-am-benefits span { color: var(--blue); font-size: 10px; font-weight: 800; }
.metal-am-benefits h3 { margin: 27px 0 8px; font-size: 18px; }
.metal-am-benefits p { margin: 0; font-size: 12px; line-height: 1.7; }
.metal-am-equipment { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(55px,8vw,130px); align-items: center; }
.metal-am-equipment h2 { font-size: clamp(31px,3.05vw,46px); }
.metal-am-equipment figure { min-height: 580px; margin: 0; overflow: hidden; background: #101214; }
.metal-am-equipment figure img { width: 100%; height: 100%; min-height: 580px; display: block; object-fit: cover; }
.metal-am-equipment > div > p:not(.service-detail-number) { max-width: 620px; font-size: 15px; }
.metal-am-specs { margin-top: 36px; display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.metal-am-specs div { padding: 19px 0; display: grid; gap: 7px; }
.metal-am-specs div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.metal-am-specs small { color: var(--blue); font-size: 9px; font-weight: 800; letter-spacing: .14em; }
.metal-am-specs strong { font-size: 18px; }
.metal-am-materials { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(55px,8vw,130px); align-items: center; background: #f5f9fa; }
.metal-am-materials > div > p:not(.service-detail-number) { max-width: 620px; font-size: 15px; }
.metal-am-materials ul { margin: 34px 0 20px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; list-style: none; border-top: 1px solid var(--line); }
.metal-am-materials li { padding: 15px 4px; border-bottom: 1px solid var(--line); color: var(--navy); font-size: 13px; font-weight: 700; }
.metal-am-materials li::before { content: "○"; margin-right: 9px; color: var(--blue); font-size: 8px; }
.metal-am-materials > div > small { color: var(--muted); font-size: 10px; line-height: 1.8; }
.metal-am-materials figure { min-height: 600px; margin: 0; overflow: hidden; background: #fff; }
.metal-am-materials figure img { width: 100%; height: 100%; min-height: 600px; display: block; object-fit: cover; object-position: 54% center; }
.metal-am-workflow { padding-top: clamp(68px,7vw,112px); }

@media (max-width: 900px) {
  .service-detail-hero { grid-template-columns: 1fr; }
  .service-detail-hero-image { min-height: 520px; }
  .service-project-feature { grid-template-columns: 1fr; }
  .service-project-feature-heading { position: static; }
  .service-detail-overview,.service-detail-process,.service-detail-contact { grid-template-columns: 1fr; gap: 55px; }
  .service-detail-data { grid-template-columns: 1fr; }
  .metal-am-case,.metal-am-equipment,.metal-am-materials { grid-template-columns: 1fr; }
  .metal-am-benefits { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .service-detail-hero-copy { padding: 68px 25px; }
  .service-detail-actions .configurator-entry-button { min-width: 0; }
  .service-detail-number { overflow-wrap: anywhere; }
  .service-detail-hero h1 { font-size: 36px; line-height: 1.42; }
  .service-detail-hero-image { min-height: 410px; }
  .service-detail-metrics { grid-template-columns: 1fr; }
  .service-detail-metrics > div { min-height: 120px; border-right: 0; border-bottom: 1px solid var(--line); }
  .service-project-feature { gap: 30px; }
  .service-project-feature-heading h2 { font-size: 33px; }
  .service-project-feature-heading > p:last-child { font-size: 14px; }
  .service-project-feature-visual { padding: 7px; }
  .service-detail-section-list article { grid-template-columns: 74px 1fr; gap: 5px 16px; }
  .service-detail-list-panel ul { grid-template-columns: 1fr; }
  .service-detail-process ol { grid-template-columns: 1fr; }
  .service-detail-process li { min-height: 90px; border-right: 0; border-bottom: 1px solid var(--line); }
  .service-detail-hero-image-metal-am img { width: 90%; height: 82%; border-width: 7px; }
  .metal-am-case-visual,.metal-am-equipment figure,.metal-am-equipment figure img,.metal-am-materials figure,.metal-am-materials figure img { min-height: 410px; }
  .metal-am-benefits { grid-template-columns: 1fr; }
  .metal-am-content h2,.metal-am-case-copy h2,.metal-am-equipment h2 { font-size: 32px; line-height: 1.48; }
  .metal-am-case-copy dl,.metal-am-specs,.metal-am-materials ul { grid-template-columns: 1fr; }
  .metal-am-specs div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
}
