:root {
  --ink: #17211d;
  --muted: #5b6862;
  --paper: #f8f6ef;
  --white: #ffffff;
  --line: #06c755;
  --teal: #147d73;
  --amber: #c98624;
  --rust: #9b4d2c;
  --border: #d9ded7;
  --shadow: 0 18px 50px rgba(21, 35, 32, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  background: var(--white);
  padding: 0.6rem 1rem;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 72px;
  padding: 0.75rem clamp(1rem, 4vw, 3rem);
  background: rgba(248, 246, 239, 0.92);
  border-bottom: 1px solid rgba(23, 33, 29, 0.12);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 800;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--white);
  background: var(--teal);
  border-radius: 8px;
}

.nav {
  display: flex;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  margin-left: auto;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav a:hover {
  color: var(--ink);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 1.1rem;
  color: var(--white);
  background: var(--ink);
  border-radius: 8px;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 7rem clamp(1rem, 5vw, 5rem) 4rem;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(12, 18, 16, 0.88) 0%, rgba(12, 18, 16, 0.64) 38%, rgba(12, 18, 16, 0.2) 72%),
    linear-gradient(0deg, rgba(12, 18, 16, 0.48), rgba(12, 18, 16, 0.04) 35%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  color: var(--white);
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--amber);
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f7c66d;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(2.15rem, 5vw, 4.65rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 3rem);
  line-height: 1.2;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 0.6rem;
  font-size: 1.25rem;
}

.lead {
  width: min(650px, 100%);
  margin: 1.25rem 0 0;
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.25rem;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.button.line {
  color: #052713;
  background: var(--line);
}

.button.chat {
  color: var(--white);
  background: var(--teal);
}

.button.large {
  min-height: 56px;
  padding: 0 1.5rem;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  width: min(560px, 100%);
  margin: 2rem 0 0;
}

.hero-facts div {
  padding: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
}

.hero-facts dt {
  color: #f7c66d;
  font-size: 0.82rem;
  font-weight: 800;
}

.hero-facts dd {
  margin: 0.1rem 0 0;
  font-weight: 800;
}

.problem-band {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.section,
.problem-band,
.contact-section {
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 4vw, 3rem);
}

.section.alt {
  background: #eef4f0;
}

.section-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.section-heading {
  width: min(780px, 100%);
  margin-bottom: 2rem;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.05rem;
}

.section-heading.compact {
  margin-bottom: 1.2rem;
}

.problem-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.problem-list li {
  padding: 1rem;
  border-left: 4px solid var(--amber);
  background: #fff8e8;
  border-radius: 0 8px 8px 0;
  font-weight: 700;
}

.service-grid,
.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.service-card,
.plan-card,
.area-box {
  padding: 1.35rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.service-icon {
  display: inline-grid;
  place-items: center;
  min-width: 58px;
  min-height: 34px;
  margin-bottom: 1rem;
  padding: 0 0.55rem;
  color: var(--white);
  background: var(--rust);
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 900;
}

.service-card p,
.plan-card p,
.area-box p,
.two-column p {
  color: var(--muted);
}

.service-card ul {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
}

.service-card li {
  margin: 0.35rem 0;
}

.plan-card.featured {
  border-color: var(--teal);
  transform: translateY(-0.35rem);
}

.price {
  margin: 0.6rem 0;
  color: var(--teal) !important;
  font-size: 1.7rem;
  font-weight: 900;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 2rem;
  align-items: center;
}

.area-section {
  background:
    linear-gradient(90deg, rgba(20, 125, 115, 0.1), transparent),
    var(--paper);
}

.flow-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.flow-list li {
  padding: 1.2rem;
  background: var(--white);
  border-top: 5px solid var(--teal);
  border-radius: 8px;
}

.flow-list span {
  display: block;
  color: var(--amber);
  font-weight: 900;
}

.flow-list strong {
  display: block;
  margin-top: 0.35rem;
  font-size: 1.05rem;
}

.flow-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.faq-list {
  display: grid;
  gap: 0.8rem;
}

details {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem 1.1rem;
}

summary {
  cursor: pointer;
  font-weight: 800;
}

details p {
  margin-bottom: 0;
  color: var(--muted);
}

.contact-section {
  color: var(--white);
  background: linear-gradient(135deg, #17211d, #147d73 58%, #9b4d2c);
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
}

.contact-inner .eyebrow {
  color: #f7c66d;
}

.contact-inner p {
  width: min(620px, 100%);
}

.site-footer {
  padding: 2rem clamp(1rem, 4vw, 3rem);
  color: var(--white);
  background: #111713;
}

.site-footer p {
  width: min(1120px, 100%);
  margin: 0.2rem auto;
}

.footer-note {
  color: #bdc7c1;
  font-size: 0.9rem;
}

.chat-widget {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 30;
}

.chat-launcher {
  min-width: 92px;
  min-height: 52px;
  color: var(--white);
  background: var(--teal);
  border: 0;
  border-radius: 8px;
  box-shadow: var(--shadow);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.chat-panel {
  width: min(360px, calc(100vw - 2rem));
  margin-bottom: 0.75rem;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1rem;
  color: var(--white);
  background: var(--ink);
}

.chat-header button {
  color: var(--white);
  background: transparent;
  border: 0;
  font-size: 1.4rem;
  cursor: pointer;
}

.chat-body {
  padding: 1rem;
}

.agent-message {
  margin-top: 0;
  padding: 0.8rem;
  color: var(--ink);
  background: #eef4f0;
  border-radius: 8px;
}

.chat-form {
  display: grid;
  gap: 0.75rem;
}

.chat-form label {
  display: grid;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.chat-form input,
.chat-form select,
.chat-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem;
  font: inherit;
}

.form-result {
  color: var(--teal);
  font-weight: 800;
}

@media (max-width: 900px) {
  .nav {
    display: none;
  }

  .site-header {
    min-height: 64px;
  }

  .hero {
    min-height: 86vh;
    padding-top: 6rem;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(12, 18, 16, 0.9), rgba(12, 18, 16, 0.52));
  }

  .problem-list,
  .service-grid,
  .plan-grid,
  .flow-list,
  .two-column,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .plan-card.featured {
    transform: none;
  }

  .contact-actions {
    justify-content: start;
  }
}

@media (max-width: 560px) {
  .brand span:last-child {
    max-width: 160px;
    white-space: normal;
    line-height: 1.15;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    min-height: 82vh;
    padding-bottom: 2.2rem;
  }

  .hero-facts {
    grid-template-columns: 1fr;
  }

  .button,
  .button.large {
    width: 100%;
  }

  .chat-widget {
    right: 0.75rem;
    bottom: 0.75rem;
  }
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-result.is-error {
  color: #a33124;
}

.chat-form button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.site-header,
.button,
.service-card,
.plan-card,
.area-box,
.flow-list li,
details,
.chat-launcher,
.chat-panel {
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    opacity 180ms ease;
}

.site-header.is-scrolled {
  min-height: 60px;
  background: rgba(248, 246, 239, 0.98);
  box-shadow: 0 10px 30px rgba(21, 35, 32, 0.12);
}

.hero-image {
  animation: heroDrift 18s ease-in-out infinite alternate;
  transform-origin: center;
}

.hero-content > * {
  opacity: 0;
  transform: translateY(18px);
  animation: heroReveal 700ms ease forwards;
}

.hero-content > *:nth-child(2) {
  animation-delay: 90ms;
}

.hero-content > *:nth-child(3) {
  animation-delay: 180ms;
}

.hero-content > *:nth-child(4) {
  animation-delay: 270ms;
}

.hero-content > *:nth-child(5) {
  animation-delay: 360ms;
}

.button:hover,
.chat-launcher:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(21, 35, 32, 0.2);
}

.button:active,
.chat-launcher:active {
  transform: translateY(0);
}

.service-card:hover,
.plan-card:hover,
.area-box:hover,
.flow-list li:hover,
details:hover {
  transform: translateY(-4px);
  border-color: rgba(20, 125, 115, 0.42);
  box-shadow: 0 22px 55px rgba(21, 35, 32, 0.16);
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 620ms ease, transform 620ms ease;
}

.reveal.is-visible:nth-child(2) {
  transition-delay: 80ms;
}

.reveal.is-visible:nth-child(3) {
  transition-delay: 150ms;
}

.reveal.is-visible:nth-child(4) {
  transition-delay: 220ms;
}

.chat-launcher {
  animation: chatPulse 4.8s ease-in-out infinite;
}

.chat-panel {
  transform-origin: bottom right;
}

.chat-panel.is-opening {
  animation: chatOpen 220ms ease both;
}

.chat-panel.is-closing {
  animation: chatClose 160ms ease both;
}

.form-result:not([hidden]) {
  animation: resultPop 220ms ease both;
}

@keyframes heroDrift {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.045) translateX(-0.6%);
  }
}

@keyframes heroReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes chatPulse {
  0%, 72%, 100% {
    box-shadow: var(--shadow);
  }
  80% {
    box-shadow: 0 0 0 8px rgba(20, 125, 115, 0.16), var(--shadow);
  }
  88% {
    box-shadow: 0 0 0 14px rgba(20, 125, 115, 0), var(--shadow);
  }
}

@keyframes chatOpen {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes chatClose {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateY(10px) scale(0.97);
  }
}

@keyframes resultPop {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

.cases-section {
  background: var(--white);
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.case-card {
  padding: 1.35rem;
  background: #f8f6ef;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.case-card:hover {
  transform: translateY(-4px);
  border-color: rgba(20, 125, 115, 0.42);
  box-shadow: 0 22px 55px rgba(21, 35, 32, 0.16);
}

.case-card p {
  color: var(--muted);
}

@media (max-width: 900px) {
  .case-grid {
    grid-template-columns: 1fr;
  }
}

.price-table-wrap {
  margin-top: 1.4rem;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.price-table th,
.price-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.price-table thead th {
  color: var(--white);
  background: var(--ink);
  font-weight: 800;
}

.price-table tbody th {
  width: 22%;
  color: var(--ink);
  font-weight: 900;
}

.price-table tbody tr:nth-child(even) {
  background: #f8fbf8;
}

.price-table tbody tr:last-child th,
.price-table tbody tr:last-child td {
  border-bottom: 0;
}

.price-table td:nth-child(2) {
  min-width: 150px;
  color: var(--teal);
  font-weight: 900;
}

.price-note {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 760px) {
  .price-table-wrap {
    overflow: visible;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .price-table,
  .price-table tbody,
  .price-table tr,
  .price-table th,
  .price-table td {
    display: block;
    width: 100%;
  }

  .price-table thead {
    display: none;
  }

  .price-table tr {
    margin-bottom: 0.85rem;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .price-table tbody tr:nth-child(even) {
    background: var(--white);
  }

  .price-table tbody th {
    width: 100%;
    padding: 0.9rem 1rem;
    color: var(--white);
    background: var(--ink);
    border-bottom: 0;
  }

  .price-table td {
    display: grid;
    grid-template-columns: 8.5em minmax(0, 1fr);
    gap: 0.8rem;
    padding: 0.8rem 1rem;
  }

  .price-table td::before {
    content: attr(data-label);
    color: var(--muted);
    font-weight: 800;
  }

  .price-table td:nth-child(2) {
    min-width: 0;
  }
}

.button.remote {
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.remote-page {
  background: #eef4f0;
}

.remote-hero {
  padding: 8.5rem clamp(1rem, 4vw, 3rem) clamp(4rem, 7vw, 6rem);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(23, 33, 29, 0.94), rgba(20, 125, 115, 0.88)),
    url("assets/hero-nikko-it-support.png") center / cover;
}

.remote-hero-inner,
.remote-form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.remote-hero h1 {
  margin: 0;
  font-size: clamp(2.3rem, 5vw, 4.2rem);
  line-height: 1.08;
}

.remote-id-box {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
  width: min(560px, 100%);
  margin-top: 1.75rem;
  padding: 0.8rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
}

.remote-id-box span {
  color: #f7c66d;
  font-weight: 900;
}

.remote-id-box strong {
  overflow-wrap: anywhere;
  font-size: 1.2rem;
  letter-spacing: 0;
}

.remote-status-card,
.remote-consent-note,
.remote-form,
.remote-step-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.remote-status-card {
  padding: 1.4rem;
  color: var(--ink);
}

.remote-status-card ul {
  margin: 1rem 0 0;
  padding-left: 1.15rem;
  color: var(--muted);
}

.remote-step-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.remote-step-card {
  padding: 1.2rem;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.remote-step-card:hover {
  transform: translateY(-4px);
  border-color: rgba(20, 125, 115, 0.42);
  box-shadow: 0 22px 55px rgba(21, 35, 32, 0.16);
}

.remote-step-card span {
  color: var(--amber);
  font-weight: 900;
}

.remote-step-card p,
.remote-consent-note p {
  color: var(--muted);
}

.remote-consent-note {
  margin-top: 1.25rem;
  padding: 1.2rem;
}

.remote-form {
  display: grid;
  gap: 0.85rem;
  padding: 1.25rem;
}

.remote-form label,
.remote-checks {
  display: grid;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.remote-form input,
.remote-form select,
.remote-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem;
  font: inherit;
}

.remote-checks {
  margin: 0;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
}

.remote-checks legend {
  padding: 0 0.35rem;
  color: var(--ink);
  font-weight: 900;
}

.remote-checks label {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-weight: 700;
}

.remote-checks input {
  width: auto;
  margin-top: 0.35rem;
}

.remote-form-result {
  margin: 0;
  color: var(--teal);
  font-weight: 900;
}

.remote-form-result.is-error {
  color: #a33124;
}

@media (max-width: 900px) {
  .remote-hero-inner,
  .remote-form-layout,
  .remote-step-grid {
    grid-template-columns: 1fr;
  }

  .remote-id-box {
    grid-template-columns: 1fr;
  }
}

.button.small {
  min-height: 42px;
  padding: 0 0.9rem;
  font-size: 0.9rem;
}

.tools-hero {
  background:
    linear-gradient(135deg, rgba(23, 33, 29, 0.95), rgba(155, 77, 44, 0.84)),
    url("assets/hero-nikko-it-support.png") center / cover;
}

.tool-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.tool-choice-card,
.tool-steps li {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.tool-choice-card {
  padding: 1.35rem;
}

.tool-choice-card:hover,
.tool-steps li:hover {
  transform: translateY(-4px);
  border-color: rgba(20, 125, 115, 0.42);
  box-shadow: 0 22px 55px rgba(21, 35, 32, 0.16);
}

.tool-choice-card span {
  display: inline-flex;
  margin-bottom: 0.75rem;
  padding: 0.18rem 0.55rem;
  color: var(--white);
  background: var(--teal);
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 900;
}

.tool-choice-card p,
.tool-heading p,
.tool-steps p {
  color: var(--muted);
}

.tool-choice-card a,
.tool-steps a {
  color: var(--teal);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.tool-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.tool-heading {
  position: sticky;
  top: 88px;
}

.tool-steps {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: tool-step;
}

.tool-steps li {
  position: relative;
  padding: 1rem 1rem 1rem 4.2rem;
  counter-increment: tool-step;
}

.tool-steps li::before {
  content: counter(tool-step, decimal-leading-zero);
  position: absolute;
  left: 1rem;
  top: 1rem;
  color: var(--amber);
  font-weight: 900;
}

.tool-steps strong {
  display: block;
  margin-bottom: 0.25rem;
}

.tool-steps code {
  padding: 0.12rem 0.32rem;
  background: #eef4f0;
  border-radius: 4px;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.92em;
}

.safety-section {
  background: var(--white);
}

@media (max-width: 900px) {
  .tool-choice-grid,
  .tool-section {
    grid-template-columns: 1fr;
  }

  .tool-heading {
    position: static;
  }
}

@media (max-width: 560px) {
  .remote-id-box .button.small,
  .button.remote.small {
    width: 100%;
  }

  .tool-steps li {
    padding-left: 1rem;
  }

  .tool-steps li::before {
    position: static;
    display: block;
    margin-bottom: 0.35rem;
  }
}

.tool-choice-card.featured-tool {
  border-color: var(--teal);
  background: linear-gradient(180deg, #ffffff, #eef8f5);
}

.tool-choice-card.featured-tool span {
  background: var(--amber);
}

.provider-section {
  background: var(--white);
}

.provider-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.provider-card,
.provider-note {
  background: #f8f6ef;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.provider-card {
  padding: 1.2rem;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.provider-card:hover {
  transform: translateY(-4px);
  border-color: rgba(20, 125, 115, 0.42);
  box-shadow: 0 22px 55px rgba(21, 35, 32, 0.16);
}

.provider-card span {
  display: inline-flex;
  margin-bottom: 0.7rem;
  color: var(--amber);
  font-weight: 900;
}

.provider-card p,
.provider-note p {
  color: var(--muted);
}

.provider-card a {
  color: var(--teal);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.provider-note {
  margin-top: 1rem;
  padding: 1.2rem;
}

@media (max-width: 900px) {
  .provider-grid {
    grid-template-columns: 1fr;
  }
}

.customer-section {
  background: #eef4f0;
}

.oss-page,
.demo-page {
  background: #f6f8f5;
}

.oss-hero {
  padding: 8.5rem clamp(1rem, 4vw, 3rem) clamp(4rem, 7vw, 6rem);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(23, 33, 29, 0.95), rgba(20, 125, 115, 0.86) 58%, rgba(155, 77, 44, 0.72)),
    url("assets/hero-nikko-it-support.png") center / cover;
}

.oss-hero-grid,
.demo-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: clamp(1.3rem, 4vw, 3rem);
  align-items: start;
}

.oss-preview,
.invoice-demo-form,
.invoice-preview,
.ad-placeholder {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.oss-preview {
  padding: 1rem;
  color: var(--ink);
}

.oss-window-bar {
  display: flex;
  gap: 0.4rem;
  padding-bottom: 1rem;
}

.oss-window-bar span {
  width: 11px;
  height: 11px;
  background: var(--border);
  border-radius: 50%;
}

.oss-preview-head,
.oss-preview-row,
.oss-preview-total,
.demo-total div,
.invoice-meta,
.invoice-preview-actions,
.demo-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.oss-preview-head {
  padding: 1rem;
  color: var(--white);
  background: var(--ink);
  border-radius: 8px;
}

.oss-preview-row,
.oss-preview-total {
  padding: 1rem 0.4rem;
  border-bottom: 1px solid var(--border);
}

.oss-preview-total {
  border-bottom: 0;
  color: var(--teal);
  font-size: 1.35rem;
  font-weight: 900;
}

.oss-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.ad-placeholder {
  margin-top: 1.5rem;
  padding: 1.2rem;
  text-align: center;
  background: #fffdf6;
  border-style: dashed;
}

.ad-placeholder span {
  display: block;
  color: var(--amber);
  font-weight: 900;
}

.demo-main h1 {
  color: var(--ink);
}

.demo-head {
  padding-top: 8rem;
  background: var(--white);
}

.invoice-demo-form,
.invoice-preview {
  padding: 1.2rem;
}

.invoice-demo-form {
  display: grid;
  gap: 1rem;
}

.invoice-demo-form label,
.demo-line label {
  display: grid;
  gap: 0.35rem;
  color: var(--muted);
  font-weight: 800;
}

.invoice-demo-form input,
.invoice-demo-form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font: inherit;
}

.demo-lines {
  display: grid;
  gap: 0.75rem;
}

.demo-line {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) 90px 120px 42px;
  gap: 0.6rem;
  align-items: end;
  padding: 0.8rem;
  background: #f8fbf8;
  border: 1px solid var(--border);
  border-radius: 8px;
}

.line-remove {
  min-height: 43px;
  color: var(--white);
  background: var(--rust);
  border: 0;
  border-radius: 8px;
  font-size: 1.2rem;
  cursor: pointer;
}

.invoice-preview {
  position: sticky;
  top: 88px;
}

.invoice-preview-actions {
  margin-bottom: 1rem;
}

.invoice-paper {
  padding: clamp(1rem, 3vw, 2rem);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
}

.invoice-title {
  margin-bottom: 1rem;
  font-size: 2rem;
  font-weight: 900;
  text-align: center;
}

.invoice-meta {
  color: var(--muted);
  font-size: 0.9rem;
}

.invoice-paper h2 {
  margin: 1.2rem 0 0.2rem;
  font-size: 1.35rem;
}

.demo-invoice-table {
  width: 100%;
  margin-top: 1.2rem;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.demo-invoice-table th,
.demo-invoice-table td {
  padding: 0.65rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.demo-invoice-table th {
  color: var(--white);
  background: var(--ink);
}

.demo-total {
  width: min(320px, 100%);
  margin: 1rem 0 0 auto;
}

.demo-total dt,
.demo-total dd {
  margin: 0;
}

.demo-total div {
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--border);
}

.demo-total .grand {
  color: var(--teal);
  font-size: 1.25rem;
  font-weight: 900;
}

.invoice-note {
  margin-top: 1.2rem;
  color: var(--muted);
}

.invoice-issuer {
  margin-top: 1.5rem;
  text-align: right;
  font-weight: 800;
}

.legal-page {
  padding-top: 7rem;
}

.legal-page .section-inner {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: clamp(1rem, 4vw, 2rem);
}

@media (max-width: 900px) {
  .oss-hero-grid,
  .demo-grid,
  .oss-feature-grid {
    grid-template-columns: 1fr;
  }

  .invoice-preview {
    position: static;
  }
}

@media (max-width: 620px) {
  .demo-line {
    grid-template-columns: 1fr;
  }

  .invoice-preview-actions,
  .demo-toolbar,
  .invoice-meta {
    align-items: stretch;
    flex-direction: column;
  }
}

@media print {
  .site-header,
  .demo-head,
  .invoice-demo-form,
  .invoice-preview-actions,
  .contact-section,
  .site-footer,
  .chat-widget {
    display: none !important;
  }

  .section,
  .demo-grid,
  .invoice-preview,
  .invoice-paper {
    display: block;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: #fff;
  }
}


/* Professional invoice layout */
.demo-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.85rem; }
.invoice-demo-form select { width: 100%; padding: 0.75rem; border: 1px solid var(--border); border-radius: 8px; background: #fff; font: inherit; }
.demo-line { grid-template-columns: minmax(150px, 1.5fr) 72px 112px 105px 42px; }
.professional-invoice { position: relative; overflow: hidden; color: #17211d; border-radius: 4px; }
.invoice-topline { height: 7px; margin: calc(clamp(1rem, 3vw, 2rem) * -1) calc(clamp(1rem, 3vw, 2rem) * -1) 1.5rem; background: linear-gradient(90deg, #17211d 0 62%, #147d73 62% 86%, #b66c32 86%); }
.pro-invoice-header { display: flex; justify-content: space-between; gap: 2rem; align-items: flex-start; padding-bottom: 1rem; border-bottom: 2px solid #17211d; }
.invoice-label { margin: 0; color: #147d73; font-size: 0.72rem; font-weight: 900; letter-spacing: 0.12em; }
.pro-invoice-header .invoice-title { margin: 0.2rem 0 0; text-align: left; font-size: 2rem; letter-spacing: 0; }
.invoice-meta-list { min-width: 235px; margin: 0; font-size: 0.78rem; }
.invoice-meta-list div { display: grid; grid-template-columns: 76px 1fr; gap: 0.5rem; padding: 0.24rem 0; border-bottom: 1px solid #dce3df; }
.invoice-meta-list dt { color: #5b6962; font-weight: 700; }
.invoice-meta-list dd { margin: 0; text-align: right; font-weight: 800; }
.invoice-address-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 1.5rem; margin-top: 1.4rem; }
.invoice-section-label { margin: 0 0 0.45rem; color: #647169; font-size: 0.72rem; font-weight: 900; }
.invoice-recipient h2 { margin: 0 0 0.65rem; padding-bottom: 0.35rem; border-bottom: 1px solid #17211d; font-size: 1.22rem; }
.invoice-recipient p:last-child { font-size: 0.82rem; }
.invoice-issuer-card { position: relative; display: grid; gap: 0.18rem; padding: 0.85rem; background: #f4f7f5; border-left: 3px solid #147d73; font-size: 0.75rem; }
.invoice-issuer-card strong { padding-right: 2.8rem; font-size: 0.9rem; }
.invoice-seal { position: absolute; top: 0.7rem; right: 0.7rem; display: grid; width: 37px; height: 37px; place-items: center; color: #a74434; border: 2px solid #a74434; border-radius: 50%; font-weight: 900; opacity: 0.72; }
.invoice-registration-warning { color: #a74434; font-size: 0.67rem; font-weight: 800; }
.invoice-summary-band { display: grid; grid-template-columns: 1fr 0.8fr 1fr; margin-top: 1.4rem; border: 1px solid #17211d; }
.invoice-summary-band div { display: grid; gap: 0.25rem; padding: 0.65rem 0.75rem; border-right: 1px solid #ccd5d0; }
.invoice-summary-band div:last-child { color: #fff; background: #17211d; border-right: 0; }
.invoice-summary-band span { font-size: 0.68rem; font-weight: 800; }
.invoice-summary-band strong { font-size: 0.92rem; }
.invoice-summary-band div:last-child strong { font-size: 1.25rem; }
.professional-table { table-layout: fixed; font-size: 0.74rem; }
.professional-table th, .professional-table td { padding: 0.55rem 0.4rem; }
.professional-table th:first-child, .professional-table td:first-child { width: 42px; text-align: center; }
.professional-table th:nth-child(3), .professional-table td:nth-child(3) { width: 52px; text-align: right; }
.professional-table th:nth-child(4), .professional-table td:nth-child(4), .professional-table th:nth-child(6), .professional-table td:nth-child(6) { width: 90px; text-align: right; }
.professional-table th:nth-child(5), .professional-table td:nth-child(5) { width: 68px; text-align: center; }
.invoice-bottom-grid { display: grid; grid-template-columns: 1fr minmax(285px, 0.85fr); gap: 1.5rem; margin-top: 1rem; align-items: start; }
.invoice-payment-box { padding: 0.75rem; border: 1px solid #ccd5d0; font-size: 0.75rem; }
.invoice-payment-box p { margin: 0.25rem 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.professional-total { width: 100%; margin: 0; font-size: 0.75rem; }
.professional-total div { align-items: baseline; }
.professional-total dd { text-align: right; }
.professional-total .grand { margin-top: 0.25rem; padding: 0.7rem 0; border-top: 2px solid #17211d; color: #17211d; font-size: 1.05rem; }
.invoice-legal-note { margin: 1rem 0 0; padding-top: 0.6rem; color: #68756e; border-top: 1px solid #dce3df; font-size: 0.62rem; line-height: 1.55; }
.invoice-compliance-section { padding-top: 1.5rem; background: #eef4f0; }
.invoice-compliance-section .section-inner { max-width: 980px; }
.invoice-compliance-section h2 { font-size: 1.35rem; }
.invoice-compliance-section p { color: var(--muted); }

@media (max-width: 700px) {
  .demo-form-grid, .invoice-address-grid, .invoice-bottom-grid { grid-template-columns: 1fr; }
  .demo-line { grid-template-columns: 1fr 1fr; }
  .demo-line label:first-child { grid-column: 1 / -1; }
  .pro-invoice-header { flex-direction: column; gap: 0.8rem; }
  .invoice-meta-list { width: 100%; min-width: 0; }
  .invoice-summary-band { grid-template-columns: 1fr; }
  .invoice-summary-band div { border-right: 0; border-bottom: 1px solid #ccd5d0; }
  .professional-invoice { overflow-x: auto; }
  .professional-table { min-width: 620px; }
}

@page { size: A4 portrait; margin: 12mm; }
@media print {
  .invoice-compliance-section { display: none !important; }
  .professional-invoice { width: 100%; padding: 0; overflow: visible; border: 0; }
  .invoice-topline { margin: 0 0 8mm; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .pro-invoice-header, .invoice-address-grid, .invoice-summary-band, .invoice-bottom-grid { break-inside: avoid; }
  .professional-table tr { break-inside: avoid; }
  .professional-table th, .invoice-summary-band div { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
}


.invoice-registration-mode { display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem; margin: 0; padding: 0.9rem; border: 1px solid var(--border); border-radius: 8px; }
.invoice-registration-mode legend { padding: 0 0.35rem; color: var(--ink); font-weight: 900; }
.invoice-registration-mode label { display: flex; grid-template-columns: auto 1fr; gap: 0.45rem; align-items: center; color: var(--ink); }
.invoice-registration-mode input { width: auto; margin: 0; }
.invoice-mode-help { margin-top: -0.55rem; padding: 0.65rem 0.8rem; color: #526059; background: #eef4f0; border-left: 3px solid #147d73; font-size: 0.8rem; }
.invoice-demo-form input:disabled { color: #7b857f; background: #e8ece9; cursor: not-allowed; }
.invoice-status-badge { display: inline-block; margin: 0.5rem 0 0; padding: 0.22rem 0.48rem; color: #fff; background: #147d73; border-radius: 3px; font-size: 0.65rem; font-weight: 900; }


/* Standard A4 invoice presentation */
.demo-grid { grid-template-columns: 1fr; max-width: 1180px; }
.invoice-demo-form { width: 100%; }
.invoice-preview { position: static; padding: 1.25rem; background: #e9ecef; box-shadow: none; }
.invoice-preview-actions { width: min(794px, 100%); margin: 0 auto 1rem; }
.professional-invoice {
  width: min(794px, 100%);
  min-height: 1050px;
  margin: 0 auto;
  padding: 48px 52px;
  overflow: visible;
  color: #20252b;
  background: #fff;
  border: 0;
  border-radius: 0;
  box-shadow: 0 3px 18px rgba(26, 35, 45, 0.14);
  font-family: "Noto Sans JP", "Yu Gothic", "Meiryo", sans-serif;
}
.invoice-topline { height: 3px; margin: -48px -52px 42px; background: #243b53; }
.pro-invoice-header { align-items: flex-start; padding-bottom: 24px; border-bottom: 1px solid #9aa5b1; }
.pro-invoice-header .invoice-title { margin: 0; color: #172b4d; font-size: 30px; font-weight: 600; letter-spacing: 0.22em; }
.invoice-meta-list { width: 245px; min-width: 245px; font-size: 12px; }
.invoice-meta-list div { grid-template-columns: 75px 1fr; padding: 4px 0; border-bottom: 0; }
.invoice-meta-list dt { color: #5f6c7b; }
.invoice-meta-list dd { color: #20252b; font-weight: 500; }
.invoice-status-badge { margin-top: 11px; padding: 3px 8px; color: #344563; background: #f1f3f5; border: 1px solid #c7cdd4; border-radius: 2px; font-size: 10px; }
.invoice-address-grid { grid-template-columns: 1.12fr 0.88fr; gap: 54px; margin-top: 38px; min-height: 150px; }
.invoice-section-label { margin-bottom: 8px; color: #6b778c; font-size: 10px; }
.invoice-recipient h2 { margin: 0 0 12px; padding: 0 0 8px; border-bottom: 1px solid #344563; font-size: 18px; font-weight: 600; }
.invoice-recipient p:last-child { margin-top: 18px; font-size: 12px; }
.invoice-issuer-card { align-content: start; gap: 4px; padding: 0 48px 0 0; background: transparent; border: 0; font-size: 11px; line-height: 1.55; }
.invoice-issuer-card strong { padding: 0; font-size: 13px; }
.invoice-seal { top: 28px; right: 0; width: 40px; height: 40px; color: #b23a2c; border-color: #b23a2c; font-size: 13px; opacity: 0.68; }
.invoice-registration-warning { margin-top: 3px; color: #b42318; font-size: 9px; }
.invoice-summary-band { grid-template-columns: 1.25fr 0.8fr 1fr; margin-top: 26px; border: 1px solid #8c97a3; }
.invoice-summary-band div { min-height: 58px; justify-content: center; padding: 8px 12px; background: #fff; border-color: #c7cdd4; }
.invoice-summary-band div:last-child { color: #fff; background: #243b53; }
.invoice-summary-band span { color: #6b778c; font-size: 10px; }
.invoice-summary-band div:last-child span { color: #dfe7ef; }
.invoice-summary-band strong { font-size: 13px; font-weight: 600; }
.invoice-summary-band div:last-child strong { font-size: 20px; }
.professional-table { min-width: 0; margin-top: 28px; table-layout: fixed; font-size: 11px; }
.professional-table th { padding: 9px 7px; color: #fff; background: #344563; border: 0; font-weight: 600; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
.professional-table td { height: 38px; padding: 8px 7px; border-bottom: 1px solid #d8dde3; }
.professional-table tbody tr:nth-child(even) { background: #f8f9fa; }
.invoice-bottom-grid { grid-template-columns: 1fr 310px; gap: 42px; margin-top: 26px; }
.invoice-payment-box { min-height: 120px; padding: 14px; border: 1px solid #b8c0c8; font-size: 11px; line-height: 1.6; }
.invoice-payment-box .invoice-note { margin-top: 16px; padding-top: 10px; border-top: 1px solid #d8dde3; }
.professional-total { font-size: 11px; }
.professional-total div { min-height: 32px; padding: 6px 4px; border-color: #d8dde3; }
.professional-total dt { color: #5f6c7b; }
.professional-total dd { color: #20252b; font-weight: 600; }
.professional-total .grand { margin-top: 6px; padding: 11px 4px; color: #172b4d; border-top: 2px solid #344563; border-bottom: 3px double #344563; font-size: 16px; }
.invoice-legal-note { margin-top: 34px; padding-top: 10px; color: #6b778c; border-top: 1px solid #d8dde3; font-size: 9px; }

@media (max-width: 700px) {
  .invoice-preview { margin-inline: -1rem; padding: 0.65rem; overflow-x: auto; }
  .professional-invoice { width: 720px; min-height: 1018px; padding: 42px 46px; transform-origin: top left; }
  .invoice-topline { margin: -42px -46px 36px; }
  .invoice-address-grid { grid-template-columns: 1.12fr 0.88fr; }
  .invoice-bottom-grid { grid-template-columns: 1fr 290px; }
  .invoice-summary-band { grid-template-columns: 1.25fr 0.8fr 1fr; }
  .professional-table { min-width: 0; }
}

@media print {
  .invoice-preview { padding: 0; background: #fff; }
  .professional-invoice { width: 100%; min-height: 0; padding: 0; box-shadow: none; }
  .invoice-topline { margin: 0 0 11mm; }
}


/* OSS document samples and mobile print guide */
.document-sample-section { background: #eef2f5; }
.document-sample-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.document-sample-card { overflow: hidden; background: #fff; border: 1px solid #d4dae0; border-radius: 6px; box-shadow: 0 6px 18px rgba(28, 39, 49, 0.08); }
.document-sample-card > a { display: block; aspect-ratio: 0.78; overflow: hidden; background: #dfe4e8; }
.document-sample-card img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 180ms ease; }
.document-sample-card a:hover img { transform: scale(1.025); }
.document-sample-card div { padding: 1rem; }
.document-sample-card h3 { margin: 0 0 0.35rem; font-size: 1.05rem; }
.document-sample-card p { min-height: 3.5em; margin: 0 0 0.65rem; color: var(--muted); font-size: 0.86rem; }
.text-link { color: var(--teal); font-weight: 900; }
.mobile-workflow-layout { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.compact-steps { margin: 1.2rem 0 1.6rem; padding-left: 1.4rem; color: var(--muted); }
.compact-steps li { padding: 0.25rem 0; }
.phone-samples { display: flex; justify-content: center; gap: 1rem; min-height: 500px; align-items: center; }
.phone-frame { width: 230px; height: 470px; padding: 12px; background: #20262b; border: 1px solid #090b0d; border-radius: 28px; box-shadow: 0 16px 35px rgba(18, 27, 33, 0.2); }
.phone-frame.second { transform: translateY(24px); }
.phone-screen { display: flex; height: 100%; padding: 1rem; flex-direction: column; gap: 0.75rem; overflow: hidden; background: #f4f6f5; border-radius: 19px; }
.phone-appbar { margin: -1rem -1rem 0.4rem; padding: 1rem; color: #fff; background: #173b42; font-size: 0.78rem; font-weight: 900; }
.phone-screen > span { color: #68736e; font-size: 0.72rem; }
.phone-amount { padding: 1rem; color: #173b42; background: #fff; border-left: 4px solid #147d73; font-size: 1.4rem; font-weight: 900; }
.phone-screen button { min-height: 42px; margin-top: auto; color: #fff; background: #147d73; border: 0; border-radius: 5px; font: inherit; font-weight: 900; }
.phone-screen button.sub { margin-top: 0; color: #173b42; background: #fff; border: 1px solid #9ca9a3; }
.phone-paper { display: grid; height: 285px; padding: 1.2rem 0.8rem; align-content: start; gap: 1.2rem; background: #fff; box-shadow: 0 2px 7px rgba(25, 35, 41, 0.12); text-align: center; }
.phone-paper b { font-size: 0.8rem; letter-spacing: 0.18em; }
.phone-paper i { display: block; height: 18px; border-bottom: 1px solid #bec6cc; }
.guide-main { padding-top: 70px; }
.guide-hero { padding: 5rem 1rem 3.5rem; color: #fff; background: #18353a; }
.guide-hero h1 { max-width: 850px; color: #fff; }
.guide-layout { display: grid; grid-template-columns: 220px minmax(0, 760px); justify-content: center; gap: 3rem; align-items: start; }
.guide-index { position: sticky; top: 95px; display: grid; overflow: hidden; background: #fff; border: 1px solid #d5dcd8; border-radius: 6px; }
.guide-index strong { padding: 0.9rem 1rem; color: #fff; background: #243b42; }
.guide-index a { padding: 0.75rem 1rem; color: #42514a; border-bottom: 1px solid #e2e7e4; }
.guide-index a:last-child { border-bottom: 0; }
.guide-content { display: grid; gap: 1.25rem; }
.guide-block { position: relative; padding: clamp(1.2rem, 4vw, 2rem); background: #fff; border: 1px solid #d5dcd8; border-radius: 6px; }
.guide-block h2 { margin-top: 0; padding-right: 3rem; font-size: 1.45rem; }
.guide-block ol { padding-left: 1.35rem; }
.guide-block li { padding: 0.35rem 0; color: #46534d; }
.step-number { position: absolute; top: 1rem; right: 1rem; color: #c5ceca; font-size: 1.8rem; font-weight: 900; }
.guide-callout { margin-top: 1.25rem; padding: 1rem; background: #fff5e8; border-left: 4px solid #b66c32; }
.guide-callout p { margin-bottom: 0; }
.store-seven { border-top: 5px solid #248447; }
.store-family { border-top: 5px solid #1782b8; }
.store-lawson { border-top: 5px solid #2768a0; }
.official-link { margin-top: 1rem; padding-top: 0.8rem; border-top: 1px solid #e0e5e2; font-weight: 800; }
.official-link a { color: #0d6860; }
.print-setting-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin: 1rem 0; border: 1px solid #cfd7d3; }
.print-setting-grid div { display: grid; gap: 0.25rem; padding: 0.9rem; border-right: 1px solid #cfd7d3; }
.print-setting-grid div:last-child { border-right: 0; }
.print-setting-grid span { color: var(--muted); font-size: 0.85rem; }
.guide-updated { margin-top: 1.5rem; color: #6b7771; font-size: 0.8rem; }

@media (max-width: 900px) {
  .document-sample-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mobile-workflow-layout { grid-template-columns: 1fr; }
  .guide-layout { grid-template-columns: 1fr; }
  .guide-index { position: static; grid-template-columns: repeat(2, 1fr); }
  .guide-index strong { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .document-sample-grid { grid-template-columns: 1fr 1fr; gap: 0.65rem; }
  .document-sample-card div { padding: 0.75rem; }
  .document-sample-card p { min-height: 0; font-size: 0.76rem; }
  .phone-samples { min-height: 410px; gap: 0.5rem; overflow: hidden; }
  .phone-frame { width: 176px; height: 370px; padding: 8px; border-radius: 22px; }
  .phone-screen { padding: 0.7rem; gap: 0.5rem; border-radius: 15px; }
  .phone-appbar { margin: -0.7rem -0.7rem 0.2rem; padding: 0.75rem; }
  .phone-paper { height: 215px; }
  .print-setting-grid { grid-template-columns: 1fr 1fr; }
  .print-setting-grid div:nth-child(2) { border-right: 0; }
  .print-setting-grid div { border-bottom: 1px solid #cfd7d3; }
  .guide-hero { padding-top: 3.5rem; }
}

.sample-seal-note { display: flex; width: min(620px, 100%); margin-top: 1rem; padding: 0.85rem; gap: 1rem; align-items: center; background: #fff; border: 1px solid #d4dae0; border-radius: 6px; }
.sample-seal-note img { width: 72px; height: 72px; object-fit: contain; flex: 0 0 auto; }
.sample-seal-note p { margin: 0; color: var(--muted); font-size: 0.86rem; }
.sample-seal-note strong { color: var(--ink); }


/* Download registration gate */
.download-gate-page { background: #edf1ef; }
.download-gate-main { min-height: calc(100vh - 160px); padding: 8rem 1rem 4rem; }
.download-gate-layout { display: grid; max-width: 1050px; margin: 0 auto; grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1.2fr); background: #fff; border: 1px solid #d5dcd8; box-shadow: 0 16px 42px rgba(24, 42, 35, 0.12); }
.download-gate-intro { padding: clamp(1.5rem, 5vw, 3.5rem); color: #fff; background: #183b3a; }
.download-gate-intro h1 { color: #fff; }
.download-summary { margin: 2rem 0; }
.download-summary div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.7rem 0; border-bottom: 1px solid rgba(255,255,255,0.2); }
.download-summary dt, .download-summary dd { margin: 0; }
.download-summary dt { color: #cfe0da; }
.download-summary dd { font-weight: 900; text-align: right; }
.download-small { color: #d5e3de; font-size: 0.82rem; }
.download-form-panel { padding: clamp(1.5rem, 5vw, 3.5rem); }
.download-form-panel h2 { margin-top: 0; }
.download-register-form { display: grid; gap: 1rem; }
.download-register-form > label { display: grid; gap: 0.38rem; color: var(--ink); font-weight: 800; }
.download-register-form input, .download-register-form textarea { width: 100%; padding: 0.78rem; border: 1px solid #b9c4be; border-radius: 5px; font: inherit; }
.download-register-form input:focus, .download-register-form textarea:focus { outline: 3px solid rgba(20,125,115,0.18); border-color: #147d73; }
.required-label, .optional-label { width: fit-content; padding: 0.1rem 0.35rem; color: #fff; background: #a63d2f; border-radius: 2px; font-size: 0.68rem; }
.optional-label { color: #4f5e56; background: #e7ece9; }
.download-consents { display: grid; gap: 0.75rem; margin: 0.5rem 0; padding: 1rem; border: 1px solid #cbd4cf; }
.download-consents legend { padding: 0 0.35rem; font-weight: 900; }
.download-consents label { display: grid; grid-template-columns: 20px 1fr; gap: 0.55rem; align-items: start; color: #405048; font-size: 0.86rem; }
.download-consents input { width: 18px; height: 18px; margin: 0.1rem 0 0; }
.download-consents label > span { min-width: 0; line-height: 1.65; }
.download-consents a { color: #0d6860; text-decoration: underline; }
.download-submit { width: 100%; min-height: 50px; }
.download-expiry { margin: 0; color: var(--muted); font-size: 0.78rem; text-align: center; }
.download-errors { margin-bottom: 1rem; padding: 1rem; color: #7e261e; background: #fff0ee; border-left: 4px solid #a63d2f; }
.download-errors ul { margin-bottom: 0; }
@media (max-width: 760px) {
  .download-gate-main { padding: 6rem 0.75rem 2rem; }
  .download-gate-layout { grid-template-columns: 1fr; }
}


/* Remote banner administration */
.banner-admin-page { background: #edf1ef; }
.banner-admin-main { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; padding: 3rem 0; }
.banner-admin-login { width: min(460px, 100%); margin: 10vh auto; padding: 2rem; background: #fff; border: 1px solid #d3dcd7; box-shadow: 0 14px 40px rgba(25, 42, 35, 0.12); }
.banner-admin-login form, .banner-admin-form { display: grid; gap: 1rem; }
.banner-admin-login label, .banner-admin-form label { display: grid; gap: 0.35rem; color: var(--ink); font-weight: 800; }
.banner-admin-login input, .banner-admin-form input, .banner-admin-form textarea { width: 100%; padding: 0.75rem; border: 1px solid #b8c4bd; border-radius: 5px; font: inherit; }
.banner-admin-header { display: flex; justify-content: space-between; gap: 1rem; align-items: center; margin-bottom: 1.5rem; }
.banner-admin-header h1 { margin: 0; }
.banner-admin-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr); gap: 1rem; align-items: start; }
.banner-admin-form, .banner-feed-preview { padding: clamp(1rem, 3vw, 2rem); background: #fff; border: 1px solid #d3dcd7; }
.banner-admin-form h2 { margin-top: 0; }
.banner-admin-form .checkbox-line { display: grid; grid-template-columns: 20px 1fr; align-items: center; }
.banner-admin-form .checkbox-line input { width: 18px; height: 18px; }
.banner-success { margin-bottom: 1rem; padding: 1rem; color: #155d46; background: #e7f6ef; border-left: 4px solid #22845f; }
.banner-policy-note { margin: 0; padding: 0.8rem; color: #5a665f; background: #f3f5f4; font-size: 0.82rem; }
.banner-feed-preview { margin-top: 1rem; }
.banner-feed-preview pre { overflow: auto; max-height: 360px; padding: 1rem; color: #dce8e3; background: #18231f; font-size: 0.78rem; }
.banner-preview-heading { display: flex; justify-content: space-between; gap: 1rem; align-items: center; margin-bottom: 1rem; }
.banner-preview-heading h2, .banner-preview-heading p { margin: 0; }
.banner-preview-status { padding: 0.35rem 0.65rem; color: #fff; background: #68756f; border-radius: 3px; font-size: 0.72rem; font-weight: 900; white-space: nowrap; }
.banner-preview-status.is-active { background: #147d73; }
.banner-preview-status.is-inactive { background: #805c50; }
.banner-admin-preview { display: grid; grid-template-columns: 180px minmax(0, 1fr) auto; gap: 1rem; align-items: center; padding: 1rem; background: #eef4f1; border: 1px solid #d3dcd7; }
.banner-admin-preview-image { display: block; aspect-ratio: 1.91 / 1; overflow: hidden; border-radius: 5px; }
.banner-admin-preview-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.banner-admin-preview-copy { min-width: 0; }
.banner-admin-preview-copy span, .banner-admin-preview-copy strong { display: block; }
.banner-admin-preview-copy span { margin-bottom: 0.2rem; color: var(--rust); font-size: 0.72rem; font-weight: 900; }
.banner-admin-preview-copy strong { color: var(--ink); font-size: 1rem; }
.banner-admin-preview-copy p { margin: 0.25rem 0 0; color: var(--muted); font-size: 0.82rem; }
.banner-admin-preview-button { white-space: nowrap; }
.banner-feed-details { margin-top: 1rem; }
.banner-feed-details summary { cursor: pointer; color: #31534b; font-weight: 900; }
.banner-admin-live-preview { margin: 0 calc(clamp(1rem, 3vw, 2rem) * -1); }
.banner-admin-live-preview .site-campaign-inner { width: min(1120px, 100%); }
@media (max-width: 780px) {
  .banner-admin-main { width: min(100% - 1rem, 1120px); padding-top: 1rem; }
  .banner-admin-grid { grid-template-columns: 1fr; }
  .banner-admin-header { align-items: flex-start; flex-direction: column; }
  .banner-admin-preview { grid-template-columns: 96px minmax(0, 1fr); }
  .banner-admin-preview-copy p { display: none; }
  .banner-admin-preview-button { grid-column: 1 / -1; width: 100%; }
}


/* Illustrated convenience-store print flow */
.visual-guide { overflow: hidden; }
.print-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto 1fr; gap: 0.45rem; align-items: center; margin: 1.4rem 0 1.75rem; padding: 1.2rem; background: #f2f5f4; border: 1px solid #d6dfda; border-radius: 6px; }
.flow-item { display: grid; min-width: 0; justify-items: center; gap: 0.4rem; text-align: center; }
.flow-item strong { color: #253b36; font-size: 0.78rem; }
.flow-item small { color: #68746f; font-size: 0.68rem; line-height: 1.5; }
.flow-arrow { color: #82918a; font-size: 1.3rem; font-weight: 900; }
.flow-icon { position: relative; display: grid; width: 54px; height: 58px; place-items: center; color: #fff; background: #315c57; border: 2px solid #264943; border-radius: 5px; font-size: 0.7rem; font-weight: 900; }
.file-icon { height: 64px; color: #315c57; background: #fff; border-radius: 2px; }
.file-icon::after { content: ""; position: absolute; right: -2px; top: -2px; border-width: 0 0 13px 13px; border-style: solid; border-color: transparent transparent #d6dfda transparent; }
.phone-icon { width: 38px; height: 66px; background: #26323a; border: 4px solid #26323a; border-radius: 8px; box-shadow: inset 0 0 0 2px #fff; }
.phone-icon i { display: grid; width: 23px; height: 23px; place-items: center; color: #fff; background: #158278; border-radius: 50%; font-size: 1rem; font-style: normal; }
.code-icon { background: #fff; }
.code-icon i { width: 36px; height: 36px; background: repeating-linear-gradient(90deg, #25343c 0 4px, transparent 4px 7px), repeating-linear-gradient(0deg, #25343c 0 4px, transparent 4px 7px); }
.copier-icon { width: 66px; height: 54px; background: #e7ece9; border-color: #53645c; }
.copier-icon i { width: 44px; height: 27px; background: #d8f3ee; border: 3px solid #53645c; }
.paper-icon { height: 64px; background: #fff; border-color: #53645c; }
.paper-icon i { width: 32px; height: 2px; background: #82918a; box-shadow: 0 8px #82918a, 0 16px #82918a; }
.store-route-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.8rem; margin-bottom: 1.5rem; }
.store-route { padding: 1rem; border: 1px solid #d4dcd8; border-top: 4px solid; border-radius: 5px; background: #fff; }
.store-route header { display: flex; gap: 0.7rem; align-items: center; }
.store-route header > span { display: grid; width: 34px; height: 34px; flex: 0 0 auto; place-items: center; color: #fff; border-radius: 4px; font-weight: 900; }
.store-route header strong, .store-route header small { display: block; }
.store-route header strong { font-size: 0.88rem; }
.store-route header small { margin-top: 0.15rem; color: #6d7873; font-size: 0.65rem; }
.store-route p { margin: 0.75rem 0 0; color: #5a6660; font-size: 0.75rem; line-height: 1.6; }
.route-seven { border-top-color: #248447; } .route-seven header > span { background: #248447; }
.route-family { border-top-color: #1782b8; } .route-family header > span { background: #1782b8; }
.route-lawson { border-top-color: #2768a0; } .route-lawson header > span { background: #2768a0; }
.route-steps { display: flex; margin-top: 0.8rem; gap: 0.3rem; align-items: center; }
.route-steps span { flex: 1; padding: 0.38rem 0.2rem; background: #eef2f0; border-radius: 3px; font-size: 0.62rem; font-weight: 800; text-align: center; }
.route-steps b { color: #89958f; }
.machine-screen-guide { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 1.5rem; align-items: center; padding: 1.4rem; color: #fff; background: #283d42; border-radius: 6px; }
.machine-illustration { padding: 13px 13px 18px; background: #dfe5e2; border: 2px solid #9aa8a1; border-radius: 7px; }
.machine-display { display: grid; min-height: 125px; padding: 0.8rem; place-items: center; color: #153e3a; background: #d9f3ee; border: 5px solid #5d6d66; text-align: center; }
.machine-display span { font-size: 0.62rem; }
.machine-display strong { font-size: 0.82rem; }
.machine-display i { padding: 0.25rem 1rem; color: #fff; background: #147d73; border-radius: 3px; font-size: 0.65rem; font-style: normal; }
.machine-slot { width: 80%; height: 7px; margin: 12px auto 0; background: #617069; border-radius: 5px; }
.screen-label { display: inline-block; margin-bottom: 0.5rem; padding: 0.2rem 0.5rem; color: #183b3a; background: #bde8df; border-radius: 3px; font-size: 0.68rem; font-weight: 900; }
.machine-instructions ol { margin: 0; padding-left: 1.35rem; }
.machine-instructions li { padding: 0.28rem 0; color: #edf4f1; font-size: 0.82rem; }
.diagram-note { margin: 0.8rem 0 0; color: #6d7873; font-size: 0.75rem; }

@media (max-width: 760px) {
  .print-flow { grid-template-columns: 1fr; gap: 0.6rem; }
  .flow-item { grid-template-columns: 70px minmax(0, 1fr); grid-template-rows: auto auto; justify-items: start; text-align: left; }
  .flow-item .flow-icon { grid-row: 1 / 3; justify-self: center; }
  .flow-item strong { align-self: end; font-size: 0.86rem; }
  .flow-item small { align-self: start; }
  .flow-arrow { transform: rotate(90deg); text-align: center; line-height: 1; }
  .store-route-grid { grid-template-columns: 1fr; }
  .machine-screen-guide { grid-template-columns: 1fr; }
  .machine-illustration { width: min(220px, 100%); margin: 0 auto; }
}


/* Installation guide */
.install-section { background: #f1f4f3; }
.requirements-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr); gap: 1rem; align-items: start; }
.requirements-panel, .server-check-panel { padding: clamp(1.2rem, 3vw, 2rem); background: #fff; border: 1px solid #d2dbd6; border-radius: 6px; }
.requirements-panel h3, .server-check-panel h3 { margin-top: 0; }
.requirements-list { margin: 0; border-top: 1px solid #d7dedb; }
.requirements-list > div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 1rem; padding: 0.8rem 0; border-bottom: 1px solid #d7dedb; }
.requirements-list dt { color: #52615a; font-weight: 800; }
.requirements-list dd { display: flex; margin: 0; justify-content: space-between; gap: 1rem; }
.requirements-list dd strong { color: #183b3a; }
.requirements-list dd span { color: #69756f; font-size: 0.8rem; text-align: right; }
.install-note { margin-top: 1rem; padding: 0.8rem 1rem; background: #eef7f4; border-left: 4px solid #147d73; }
.install-note p { margin: 0.25rem 0 0; color: #52615a; font-size: 0.82rem; }
.check-list { display: grid; margin: 1rem 0; padding: 0; gap: 0.65rem; list-style: none; }
.check-list li { position: relative; padding-left: 1.75rem; color: #405048; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; display: grid; width: 20px; height: 20px; place-items: center; color: #fff; background: #147d73; border-radius: 3px; font-size: 0.7rem; font-weight: 900; }
.server-check-panel > p { margin-bottom: 0; padding: 0.8rem; color: #68523c; background: #fff5e8; font-size: 0.8rem; }
.install-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 1rem; gap: 1px; overflow: hidden; background: #ced8d3; border: 1px solid #ced8d3; border-radius: 6px; }
.install-steps article { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 0.8rem; padding: 1.2rem; background: #fff; }
.install-steps article > span { display: grid; width: 38px; height: 38px; place-items: center; color: #fff; background: #243f43; border-radius: 4px; font-weight: 900; }
.install-steps h3 { margin: 0 0 0.3rem; font-size: 1rem; }
.install-steps p { margin: 0; color: #59665f; font-size: 0.84rem; line-height: 1.7; }
.install-steps code { padding: 0.08rem 0.28rem; color: #174f4a; background: #edf3f1; border-radius: 2px; font-size: 0.78rem; overflow-wrap: anywhere; }
.post-install-check { margin-top: 1rem; padding: 1.2rem; color: #fff; background: #253b40; border-radius: 6px; }
.post-install-check h3 { margin: 0 0 0.8rem; color: #fff; font-size: 1rem; }
.post-install-check > div { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.post-install-check span { padding: 0.4rem 0.65rem; color: #1c403c; background: #d9ede8; border-radius: 3px; font-size: 0.75rem; font-weight: 800; }
.install-section .hero-actions { margin-top: 1.4rem; }

@media (max-width: 800px) {
  .requirements-layout { grid-template-columns: 1fr; }
  .install-steps { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .requirements-list > div { grid-template-columns: 1fr; gap: 0.2rem; }
  .requirements-list dd { align-items: flex-start; flex-direction: column; gap: 0.15rem; }
  .requirements-list dd span { text-align: left; }
  .install-steps article { grid-template-columns: 38px minmax(0, 1fr); padding: 1rem 0.8rem; }
}


/* Hosting provider installation notes */
.hosting-guides { margin-top: 1.2rem; }
.hosting-heading { display: flex; justify-content: space-between; gap: 2rem; align-items: end; margin-bottom: 0.8rem; }
.hosting-heading h3 { margin: 0; }
.hosting-heading p { max-width: 650px; margin: 0; color: #65716b; font-size: 0.8rem; }
.hosting-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.8rem; }
.hosting-card { display: flex; min-width: 0; padding: 1rem; flex-direction: column; background: #fff; border: 1px solid #d2dbd6; border-top: 4px solid #60766d; border-radius: 5px; }
.hosting-card.recommended { border-top-color: #147d73; }
.hosting-card.generic { border-top-color: #8a6b45; background: #fffdf9; }
.hosting-card header { display: flex; justify-content: space-between; gap: 0.5rem; align-items: flex-start; }
.hosting-card header strong { color: #203d3a; font-size: 0.95rem; }
.hosting-card header span { padding: 0.16rem 0.36rem; color: #52635b; background: #e8eeeb; border-radius: 2px; font-size: 0.58rem; font-weight: 900; white-space: nowrap; }
.hosting-card.recommended header span { color: #fff; background: #147d73; }
.hosting-card dl { margin: 0.8rem 0; border-top: 1px solid #dce2df; }
.hosting-card dl div { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 0.45rem; padding: 0.45rem 0; border-bottom: 1px solid #dce2df; }
.hosting-card dt { color: #65736c; font-size: 0.7rem; font-weight: 900; }
.hosting-card dd { min-width: 0; margin: 0; color: #394a43; font-size: 0.73rem; overflow-wrap: anywhere; }
.hosting-card p { margin: 0 0 0.8rem; color: #5d6963; font-size: 0.74rem; line-height: 1.65; }
.hosting-card code { color: #174f4a; font-size: 0.7rem; overflow-wrap: anywhere; }
.hosting-card > a { margin-top: auto; color: #0d6860; font-size: 0.74rem; font-weight: 900; text-decoration: underline; }

@media (max-width: 900px) {
  .hosting-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .hosting-heading { align-items: flex-start; flex-direction: column; gap: 0.4rem; }
  .hosting-grid { grid-template-columns: 1fr; }
}


/* Paid remote support pricing */
.remote-pricing-band { padding: 2rem 1rem; background: #eef3f1; border-bottom: 1px solid #d2dcd7; }
.remote-pricing-heading { display: flex; justify-content: space-between; gap: 2rem; align-items: end; margin-bottom: 1rem; }
.remote-pricing-heading h2 { margin: 0; font-size: clamp(1.55rem, 3vw, 2.2rem); }
.remote-pricing-heading > p { max-width: 610px; margin: 0; color: #53615b; }
.remote-price-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.75rem; }
.remote-price-grid article { min-width: 0; padding: 1rem; background: #fff; border: 1px solid #cfd9d4; border-top: 4px solid #667970; border-radius: 5px; }
.remote-price-grid article.remote-price-main { color: #fff; background: #183f3c; border-color: #183f3c; }
.remote-price-grid article > span { display: block; margin-bottom: 0.5rem; color: #68756f; font-size: 0.7rem; font-weight: 900; }
.remote-price-grid article.remote-price-main > span { color: #cce2dc; }
.remote-price-grid article strong { display: block; color: #1f403d; font-size: clamp(1.2rem, 2.2vw, 1.65rem); white-space: nowrap; }
.remote-price-grid article.remote-price-main strong { color: #fff; }
.remote-price-grid article strong small { font-size: 0.62rem; font-weight: 700; }
.remote-price-grid article p { min-height: 2.8em; margin: 0.4rem 0 0; color: #66736d; font-size: 0.73rem; }
.remote-price-grid article.remote-price-main p { color: #d8e8e4; }
.remote-price-notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0.9rem 0 0; padding: 0; gap: 0.4rem 1.5rem; list-style: none; }
.remote-price-notes li { position: relative; padding-left: 1rem; color: #5a6761; font-size: 0.73rem; }
.remote-price-notes li::before { content: "※"; position: absolute; left: 0; }

@media (max-width: 850px) {
  .remote-pricing-heading { align-items: flex-start; flex-direction: column; gap: 0.6rem; }
  .remote-price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .remote-price-grid, .remote-price-notes { grid-template-columns: 1fr; }
  .remote-price-grid article p { min-height: 0; }
}


/* Square invoice workflow */
.square-payment-summary { padding: 1rem; background: #eef7f4; border: 1px solid #c5dcd5; border-left: 4px solid #147d73; border-radius: 4px; }
.square-payment-summary > span, .square-payment-summary > strong { display: block; }
.square-payment-summary > span { color: #5d6d66; font-size: 0.7rem; font-weight: 900; }
.square-payment-summary > strong { margin-top: 0.2rem; color: #183f3c; }
.square-payment-summary p { margin: 0.4rem 0 0; color: #52615b; font-size: 0.78rem; }
.payment-method-selector { display: grid; gap: 0.65rem; padding: 1rem; border: 1px solid #c5d1cb; border-radius: 4px; background: #fff; }
.payment-method-selector legend { padding: 0 0.35rem; font-weight: 900; }
.payment-method-selector > label { display: grid; grid-template-columns: auto 1fr; gap: 0.65rem; align-items: start; padding: 0.8rem; border: 1px solid #d2dad6; border-radius: 4px; cursor: pointer; }
.payment-method-selector > label:has(input:checked) { border-color: #147d73; background: #eef7f4; }
.payment-method-selector input { margin-top: 0.3rem; }
.payment-method-selector strong, .payment-method-selector small { display: block; }
.payment-method-selector small { margin-top: 0.2rem; color: #56645e; font-size: 0.75rem; line-height: 1.5; }
.payment-method-selector > p { margin: 0; color: #56645e; font-size: 0.75rem; }
.paypay-action { background: #ff003c; border-color: #ff003c; color: #fff; }
.billing-payment-method { display: inline-block; margin-top: 0.4rem; color: #43534c; font-size: 0.72rem; font-weight: 800; }
.remote-checks label > span { min-width: 0; }
.remote-checks a { color: #0d6860; text-decoration: underline; }
.legal-commerce-list { margin: 1.5rem 0; border-top: 1px solid #d2dad6; }
.legal-commerce-list > div { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 1.5rem; padding: 0.9rem 0; border-bottom: 1px solid #d2dad6; }
.legal-commerce-list dt { color: #40534a; font-weight: 900; }
.legal-commerce-list dd { margin: 0; color: #59665f; }
.legal-caution { padding: 1rem; background: #eef7f4; border-left: 4px solid #147d73; }
.legal-caution h2 { margin-top: 0; font-size: 1.1rem; }
.legal-caution p { margin-bottom: 0; }
.legal-updated { margin-top: 1.5rem; color: #6a7670; font-size: 0.8rem; }
@media (max-width: 620px) {
  .legal-commerce-list > div { grid-template-columns: 1fr; gap: 0.25rem; }
}


/* Remote billing administration */
.billing-status-guide { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-bottom: 1rem; overflow: hidden; border: 1px solid #cbd6d0; border-radius: 5px; }
.billing-status-guide span { padding: 0.7rem 0.5rem; color: #405149; background: #fff; border-right: 1px solid #cbd6d0; font-size: 0.72rem; font-weight: 900; text-align: center; }
.billing-status-guide span:last-child { border-right: 0; }
.billing-records { display: grid; gap: 1rem; }
.billing-record, .billing-empty { padding: clamp(1rem, 3vw, 1.5rem); background: #fff; border: 1px solid #d1dad5; border-radius: 6px; }
.billing-record > header { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; }
.billing-record > header span, .billing-record > header strong { display: block; }
.billing-record > header span { color: #64726b; font-size: 0.72rem; }
.billing-record > header strong { margin-top: 0.15rem; font-size: 1.1rem; }
.billing-status { padding: 0.3rem 0.5rem; color: #fff; background: #6a7871; border-radius: 3px; font-size: 0.68rem; }
.status-paid { background: #147d73; }
.status-completed { background: #315b80; }
.status-cancelled, .status-refunded { background: #805c50; }
.billing-record dl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 1rem 0; border-top: 1px solid #d7dfdb; }
.billing-record dl div { padding: 0.65rem 0.5rem; border-bottom: 1px solid #d7dfdb; }
.billing-record dt { color: #68756f; font-size: 0.65rem; }
.billing-record dd { margin: 0.2rem 0 0; font-size: 0.78rem; overflow-wrap: anywhere; }
.billing-record details { margin-bottom: 1rem; padding: 0.7rem; background: #f2f5f4; }
.billing-record summary { cursor: pointer; font-weight: 900; }
.billing-update-form { display: grid; grid-template-columns: 1fr 1fr 1.5fr auto; gap: 0.7rem; align-items: end; }
.billing-update-form label { display: grid; gap: 0.3rem; color: #405149; font-size: 0.72rem; font-weight: 900; }
.billing-update-form input, .billing-update-form select { width: 100%; min-height: 42px; padding: 0.55rem; border: 1px solid #b8c5be; border-radius: 4px; font: inherit; }
@media (max-width: 850px) {
  .billing-status-guide { grid-template-columns: 1fr; }
  .billing-status-guide span { border-right: 0; border-bottom: 1px solid #cbd6d0; }
  .billing-record dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .billing-update-form { grid-template-columns: 1fr; }
}

/* Four clear service entry points on desktop, one per row on mobile. */
.service-grid,
.case-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 900px) {
  .service-grid,
  .case-grid {
    grid-template-columns: 1fr;
  }
}

.site-campaign {
  padding: 1.1rem clamp(1rem, 4vw, 3rem);
  color: var(--ink);
  background: #eef4f1;
  border-top: 1px solid var(--border);
}

.site-campaign-inner {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) auto;
  gap: 1.2rem;
  align-items: center;
  width: min(1120px, 100%);
  margin: 0 auto;
}

.site-campaign-image {
  display: block;
  aspect-ratio: 1.91 / 1;
  overflow: hidden;
  border-radius: 6px;
}

.site-campaign-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-campaign-copy {
  min-width: 0;
}

.site-campaign-copy span,
.site-campaign-copy strong {
  display: block;
}

.site-campaign-copy span {
  margin-bottom: 0.2rem;
  color: var(--rust);
  font-size: 0.78rem;
  font-weight: 900;
}

.site-campaign-copy strong {
  font-size: 1.1rem;
}

.site-campaign-copy p {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.campaign-button {
  color: var(--white);
  background: var(--teal);
  white-space: nowrap;
}

@media (max-width: 700px) {
  .site-campaign-inner {
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 0.8rem;
  }

  .site-campaign-copy strong {
    font-size: 0.98rem;
  }

  .site-campaign-copy p {
    display: none;
  }

  .campaign-button {
    grid-column: 1 / -1;
    width: 100%;
  }
}

/* Public technical SEO checker */
.seo-tool-hero { padding: clamp(4rem, 8vw, 7rem) 1rem 3rem; background: #edf3f0; border-bottom: 1px solid var(--border); }
.seo-tool-hero h1 { max-width: 860px; margin: 0 0 1rem; font-size: clamp(2rem, 5vw, 4.4rem); line-height: 1.08; }
.seo-tool-hero .lead { max-width: 820px; }
.seo-check-form { max-width: 900px; margin-top: 2rem; padding: 1.2rem; background: #fff; border: 1px solid #cad5cf; border-left: 5px solid var(--teal); }
.seo-check-form > label { display: block; margin-bottom: 0.45rem; color: var(--ink); font-weight: 900; }
.seo-url-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.65rem; }
.seo-url-row input { width: 100%; min-width: 0; min-height: 50px; padding: 0.7rem 0.85rem; border: 1px solid #aebdb5; border-radius: 4px; font: inherit; }
.seo-check-form > p { margin: 0.55rem 0 0; color: var(--muted); font-size: 0.78rem; }
.seo-results-section { padding: 2.5rem 1rem 3.5rem; background: #fff; scroll-margin-top: 76px; }
.seo-summary { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 1.5rem; align-items: center; margin-bottom: 1.5rem; }
.seo-summary h2 { margin: 0.2rem 0 0.4rem; }
.seo-score { display: grid; width: 140px; height: 140px; place-content: center; color: #fff; background: #183f3c; border-radius: 50%; text-align: center; }
.seo-score strong { font-size: 3rem; line-height: 1; }
.seo-score span { margin-top: 0.25rem; color: #cbe0da; font-size: 0.8rem; }
.seo-checked-url { margin: 0.5rem 0 0; color: #52645c; font-size: 0.78rem; overflow-wrap: anywhere; }
.seo-result-list { border-top: 1px solid #ced8d3; }
.seo-result-item { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 1rem; padding: 1rem 0; border-bottom: 1px solid #ced8d3; }
.seo-result-item h3 { margin: 0; font-size: 1rem; }
.seo-result-item p { margin: 0.3rem 0; color: #46564f; overflow-wrap: anywhere; }
.seo-result-item small { display: block; color: #6a7670; line-height: 1.6; }
.seo-status { align-self: start; padding: 0.3rem 0.45rem; color: #fff; background: #66736d; border-radius: 3px; font-size: 0.7rem; font-weight: 900; text-align: center; }
.is-pass .seo-status { background: #147d73; }
.is-warn .seo-status { color: #4b371e; background: #e8b75c; }
.is-fail .seo-status { background: #a3483d; }
.seo-checkpoint-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; overflow: hidden; background: #cdd7d2; border: 1px solid #cdd7d2; }
.seo-checkpoint-grid article { min-width: 0; padding: 1.2rem; background: #fff; }
.seo-checkpoint-grid strong { color: #183f3c; }
.seo-checkpoint-grid p { margin: 0.35rem 0 0; color: #59665f; font-size: 0.84rem; }
.seo-tool-notes { display: grid; grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr); gap: 2rem; }
.seo-tool-notes h2 { margin-top: 0; }
.seo-tool-notes p { color: #53615b; }
@media (max-width: 700px) {
  .seo-tool-hero { padding-top: 2.5rem; }
  .seo-url-row { grid-template-columns: 1fr; }
  .seo-url-row .button { width: 100%; }
  .seo-summary { grid-template-columns: 94px minmax(0, 1fr); gap: 0.9rem; }
  .seo-score { width: 90px; height: 90px; }
  .seo-score strong { font-size: 2rem; }
  .seo-result-item { grid-template-columns: 62px minmax(0, 1fr); gap: 0.7rem; }
  .seo-checkpoint-grid, .seo-tool-notes { grid-template-columns: 1fr; }
}

/* SEO diagnosis result table */
.seo-result-table-wrap {
  overflow: hidden;
  background: #fff;
  border: 1px solid #bdcbc5;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(24, 63, 60, 0.08);
}
.seo-result-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.seo-result-table .seo-result-item { display: table-row; padding: 0; }
.seo-result-table .seo-result-item > th,
.seo-result-table .seo-result-item > td { display: table-cell; }
.seo-result-table thead { color: #fff; background: #183f3c; }
.seo-result-table th,
.seo-result-table td { padding: 0.9rem 1rem; border-right: 1px solid #d9e2de; border-bottom: 1px solid #d9e2de; text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.seo-result-table th:last-child,
.seo-result-table td:last-child { border-right: 0; }
.seo-result-table tbody tr:last-child > * { border-bottom: 0; }
.seo-result-table thead th:first-child { width: 86px; }
.seo-result-table thead th:nth-child(2) { width: 19%; }
.seo-result-table thead th:nth-child(3) { width: 35%; }
.seo-result-table tbody th { color: #18221e; background: #f4f8f6; font-size: 0.95rem; }
.seo-result-table tbody td { color: #46564f; line-height: 1.65; }
.seo-result-table tbody td:last-child { color: #253d34; background: #fbfcfb; }
.seo-result-table .seo-status { display: inline-block; min-width: 54px; }

@media (max-width: 760px) {
  .seo-result-table-wrap { overflow: visible; background: transparent; border: 0; box-shadow: none; }
  .seo-result-table,
  .seo-result-table tbody,
  .seo-result-table tr,
  .seo-result-table th,
  .seo-result-table td { display: block; width: 100%; }
  .seo-result-table thead { display: none; }
  .seo-result-table .seo-result-item { display: block; margin-bottom: 0.9rem; overflow: hidden; background: #fff; border: 1px solid #bdcbc5; border-left: 5px solid #66736d; border-radius: 8px; box-shadow: 0 8px 22px rgba(24, 63, 60, 0.08); }
  .seo-result-table .seo-result-item.is-pass { border-left-color: #147d73; }
  .seo-result-table .seo-result-item.is-warn { border-left-color: #d49a32; }
  .seo-result-table .seo-result-item.is-fail { border-left-color: #a3483d; }
  .seo-result-table .seo-result-item > th,
  .seo-result-table .seo-result-item > td { display: grid; grid-template-columns: 7.2em minmax(0, 1fr); gap: 0.7rem; padding: 0.75rem 0.85rem; border-right: 0; border-bottom: 1px solid #e0e7e3; }
  .seo-result-table th::before,
  .seo-result-table td::before { content: attr(data-label); color: #65736c; font-size: 0.76rem; font-weight: 900; }
  .seo-result-table tbody th { background: #f4f8f6; font-size: 0.95rem; }
  .seo-result-table tbody td:last-child { border-bottom: 0; }
}

/* AI tool directory */
.ai-tools-page { background: #f4f7f5; }
.ai-directory-head { padding: 8rem 1rem 3rem; color: #fff; background: linear-gradient(110deg, rgba(19, 35, 30, 0.96), rgba(20, 83, 77, 0.88)), url("assets/hero-nikko-it-support.png") center / cover; }
.ai-directory-head h1 { max-width: 900px; margin: 0; font-size: clamp(2.4rem, 5vw, 4.6rem); line-height: 1.08; }
.ai-directory-head .lead { max-width: 760px; color: #e4efeb; }
.ai-category-nav { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 1.6rem; }
.ai-category-nav a { padding: 0.65rem 0.9rem; color: #fff; border: 1px solid rgba(255,255,255,0.48); border-radius: 4px; font-weight: 800; text-decoration: none; }
.ai-category-nav a:hover { color: #183f3c; background: #fff; }
.ai-category { scroll-margin-top: 72px; }
.ai-tool-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.ai-tool-card { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 0.9rem 1rem; align-items: start; padding: 1.2rem; background: #fff; border: 1px solid #cbd7d1; border-radius: 8px; box-shadow: 0 8px 24px rgba(24,63,60,0.06); }
.ai-tool-mark { display: grid; width: 54px; height: 54px; place-content: center; color: #fff; background: #183f3c; border-radius: 8px; font-size: 0.9rem; font-weight: 900; }
.mark-adobe { background: #c33a32; }.mark-canva { background: #087e8b; }.mark-midjourney { background: #283039; }.mark-openai { background: #16766d; }.mark-github { background: #24292f; }.mark-cursor { background: #315b50; }.mark-claude { background: #9a5638; }.mark-google { background: #3568b8; }.mark-perplexity { background: #177c7c; }.mark-microsoft { background: #4d63a7; }.mark-notebook { background: #39784b; }.mark-notion { background: #242424; }
.ai-tool-card h3 { margin: 0 0 0.35rem; font-size: 1.2rem; }
.ai-tool-card p { margin: 0; color: #4f5e57; line-height: 1.7; }
.ai-use { display: block; margin-top: 0.65rem; color: #315b50; font-size: 0.84rem; font-weight: 800; }
.ai-tool-card > a { grid-column: 2; justify-self: start; color: #116d65; font-weight: 900; text-decoration-thickness: 1px; text-underline-offset: 0.25rem; }
.ai-caution { background: #fff; }
.ai-caution-layout { display: grid; grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr); gap: 2rem; }
.ai-caution-layout h2 { margin-top: 0; }
.ai-update-note { padding: 0.85rem 1rem; background: #edf4f1; border-left: 4px solid #147d73; }
@media (max-width: 760px) {
  .ai-directory-head { padding-top: 6.8rem; }
  .ai-directory-head h1 { font-size: 2.45rem; }
  .ai-category-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ai-category-nav a { text-align: center; }
  .ai-tool-grid { grid-template-columns: 1fr; }
  .ai-tool-card { grid-template-columns: 46px minmax(0, 1fr); padding: 1rem; }
  .ai-tool-mark { width: 46px; height: 46px; }
  .ai-tool-card > a { grid-column: 1 / -1; }
  .ai-caution-layout { grid-template-columns: 1fr; gap: 0.5rem; }
}

/* AI tool card clarity */
.ai-tool-card { position: relative; overflow: hidden; border: 2px solid #b9c9c2; border-top: 5px solid #147d73; box-shadow: 0 10px 28px rgba(24,63,60,0.1); }
.ai-tool-logo { display: grid; width: 58px; height: 58px; place-content: center; overflow: hidden; background: #fff; border: 1px solid #cbd7d1; border-radius: 8px; }
.ai-tool-logo img { display: block; width: 56px; height: 56px; object-fit: contain; }
.ai-tool-card > div { min-width: 0; }
.ai-tool-card .ai-use { margin: 0.8rem 0 0; padding: 0.65rem 0.75rem; color: #254b43; background: #edf5f1; border-left: 4px solid #62a696; }
.ai-tool-card > a { width: 100%; padding: 0.7rem 0.8rem; color: #fff; background: #183f3c; border-radius: 4px; text-align: center; text-decoration: none; }
.ai-tool-card > a:hover { background: #147d73; }
@media (max-width: 760px) {
  .ai-tool-logo { width: 48px; height: 48px; }
  .ai-tool-logo img { width: 46px; height: 46px; }
}

/* AI tools: explicit table-like boxes */
.ai-category .section-heading { margin-bottom: 0; padding: 1.2rem 1.3rem; color: #fff; background: #183f3c; border: 2px solid #183f3c; }
.ai-category .section-heading .eyebrow { color: #f0bd61; }
.ai-category .section-heading h2 { color: #fff; }
.ai-category .section-heading p:last-child { color: #dce9e4; }
.ai-tool-grid { gap: 0; overflow: hidden; background: #fff; border: 2px solid #183f3c; border-top: 0; border-radius: 0; }
.ai-tool-card { min-height: 270px; padding: 1.2rem; border: 0; border-top: 1px solid #9fb3aa; border-right: 1px solid #9fb3aa; border-radius: 0; box-shadow: none; }
.ai-tool-card:nth-child(-n+2) { border-top: 0; }
.ai-tool-card:nth-child(even) { border-right: 0; }
.ai-tool-card h3 { padding-bottom: 0.55rem; border-bottom: 2px solid #d2ded8; }
.ai-tool-card p::before { content: "特徴"; display: block; margin-bottom: 0.25rem; color: #183f3c; font-size: 0.75rem; font-weight: 900; }
.ai-tool-card .ai-use::before { content: "おすすめ用途"; display: block; margin-bottom: 0.2rem; color: #183f3c; font-size: 0.72rem; font-weight: 900; }
.ai-tool-card > a { align-self: end; border-radius: 0; }
@media (max-width: 760px) {
  .ai-category .section-heading { padding: 1rem; }
  .ai-tool-grid { grid-template-columns: 1fr; }
  .ai-tool-card { min-height: 0; border-top: 1px solid #9fb3aa; border-right: 0; }
  .ai-tool-card:nth-child(-n+2) { border-top: 1px solid #9fb3aa; }
  .ai-tool-card:first-child { border-top: 0; }
}

/* Shared mobile navigation */
.menu-toggle { display: none; width: 44px; height: 44px; margin-left: auto; padding: 10px; background: #fff; border: 1px solid #aebdb6; border-radius: 6px; cursor: pointer; }
.menu-toggle span { display: block; width: 22px; height: 2px; margin: 4px auto; background: #17211d; transition: transform 160ms ease, opacity 160ms ease; }
@media (max-width: 900px) {
  .site-header { flex-wrap: nowrap; }
  .menu-toggle { display: block; flex: 0 0 44px; order: 2; }
  .site-header .nav { position: absolute; top: 100%; left: 0; right: 0; display: none; margin: 0; padding: 0.5rem 1rem 1rem; color: #17211d; background: #f8f6ef; border-top: 1px solid #d6ddd9; border-bottom: 1px solid #adbcb5; box-shadow: 0 12px 24px rgba(23,33,29,0.16); }
  .site-header.menu-open .nav { display: grid; grid-template-columns: 1fr; gap: 0; }
  .site-header .nav a { min-height: 44px; display: flex; align-items: center; padding: 0 0.75rem; border-bottom: 1px solid #dce3df; font-weight: 800; }
  .site-header .nav a:last-child { border-bottom: 0; }
  .site-header .nav a[aria-current="page"] { color: #0f7168; background: #e8f2ee; }
  .site-header .nav-cta { order: 3; }
  .site-header.menu-open .menu-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .site-header.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
  .site-header.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
}
@media (max-width: 560px) {
  .site-header .brand { min-width: 0; }
  .site-header .brand span:last-child { overflow: hidden; text-overflow: ellipsis; }
}

/* Real distributed-app demo */
.real-demo-hero { padding: 8rem 1rem 3.5rem; color: #fff; background: #17332d; }
.real-demo-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.55fr); gap: 3rem; align-items: center; }
.real-demo-hero h1 { max-width: 820px; }
.real-demo-hero .lead { max-width: 760px; color: #dcebe5; }
.real-demo-hero img { width: min(360px, 100%); max-height: 470px; justify-self: center; object-fit: contain; object-position: top; background: #fff; border: 6px solid #fff; box-shadow: 0 16px 42px rgba(0,0,0,.28); }
.real-demo-feature-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); border: 2px solid #183f3c; }
.real-demo-feature-grid article { padding: 1.2rem; background: #fff; border-right: 1px solid #aebeb7; border-bottom: 1px solid #aebeb7; }
.real-demo-feature-grid article:nth-child(even) { border-right: 0; }
.real-demo-feature-grid article:nth-last-child(-n+2) { border-bottom: 0; }
.real-demo-feature-grid strong { font-size: 1.1rem; }
.real-demo-feature-grid p { margin-bottom: 0; color: #52615a; }
.real-demo-rules { display: grid; grid-template-columns: minmax(240px,.7fr) minmax(0,1.3fr); gap: 2rem; }
.real-demo-rules h2 { margin-top: 0; }
.real-demo-rules li { margin-bottom: .75rem; }
@media(max-width:760px){.real-demo-hero-grid,.real-demo-rules{grid-template-columns:1fr}.real-demo-hero img{max-height:340px}.real-demo-feature-grid{grid-template-columns:1fr}.real-demo-feature-grid article{border-right:0;border-bottom:1px solid #aebeb7}.real-demo-feature-grid article:nth-last-child(-n+2){border-bottom:1px solid #aebeb7}.real-demo-feature-grid article:last-child{border-bottom:0}}

/* WEB invoice release information */
.release-summary { display: flex; flex-wrap: wrap; gap: .7rem 1rem; align-items: center; margin: 1.3rem 0; padding: .85rem 1rem; color: #17332d; background: #eef5f1; border-left: 5px solid #16877b; }
.release-summary a { color: #0c665e; font-weight: 800; }
.release-badge { display: inline-block; padding: .3rem .55rem; color: #fff; background: #147d73; border-radius: 4px; font-size: .78rem; font-weight: 900; }
.home-release-note { display: flex; flex-wrap: wrap; gap: .55rem 1rem; align-items: center; margin-top: 1.2rem; padding: .8rem 1rem; background: #edf5f1; border: 1px solid #b8cbc2; }
.home-release-note span { color: #0e7067; font-size: .78rem; font-weight: 900; }
.home-release-note time { color: #56645e; }
.update-hero { padding: 8rem 1rem 3.5rem; color: #fff; background: #17332d; }
.update-hero .lead { color: #dcebe5; }
.latest-version { display: grid; grid-template-columns: auto auto 1fr; gap: .8rem 1.2rem; align-items: center; max-width: 620px; margin-top: 1.5rem; padding: 1rem 1.2rem; color: #17332d; background: #fff; border-left: 6px solid #e1a53c; }
.latest-version span { font-weight: 800; }
.latest-version strong { font-size: 2rem; }
.latest-version time { color: #57655f; }
.update-layout { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(280px,.6fr); gap: 2rem; align-items: start; }
.release-entry { background: #fff; border: 2px solid #183f3c; }
.release-entry > header { display: flex; justify-content: space-between; gap: 1rem; align-items: start; padding: 1.2rem 1.4rem; color: #fff; background: #183f3c; }
.release-entry header h2 { margin: .5rem 0 0; color: #fff; }
.release-entry header time { white-space: nowrap; }
.release-entry > p, .release-entry > h3, .release-entry > ul, .release-entry > .release-actions { margin-left: 1.4rem; margin-right: 1.4rem; }
.release-entry > p { margin-top: 1.4rem; }
.release-entry li { margin-bottom: .55rem; }
.release-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.4rem; margin-bottom: 1.4rem; }
.update-guide { padding: 1.4rem; background: #f4f6f2; border-top: 5px solid #d5962e; }
.update-guide h2 { margin-top: 0; font-size: 1.35rem; }
.update-guide li { margin-bottom: .75rem; }
@media (max-width: 760px) { .update-layout { grid-template-columns: 1fr; } .latest-version { grid-template-columns: 1fr auto; } .latest-version time { grid-column: 1 / -1; } .release-entry > header { display: block; } .release-entry header time { display: block; margin-top: .7rem; } }

/* Homepage software update panel */
.home-updates-section { border-top: 1px solid #d5ded9; border-bottom: 1px solid #c5d2cc; }
.home-updates-heading { display: flex; justify-content: space-between; gap: 1.5rem; align-items: end; }
.home-updates-heading h2 { margin-bottom: 0; }
.home-update-card { display: grid; grid-template-columns: minmax(210px,.62fr) minmax(300px,1.25fr) minmax(180px,.55fr); border: 2px solid #183f3c; background: #fff; }
.home-update-meta, .home-update-content, .home-update-actions { padding: 1.3rem; }
.home-update-meta { display: flex; flex-direction: column; align-items: flex-start; gap: .65rem; color: #fff; background: #183f3c; }
.home-update-meta strong { font-size: 1.2rem; }
.home-update-meta time { color: #dce9e4; font-size: .9rem; }
.home-update-content { border-right: 1px solid #b8c7c0; }
.home-update-content h3 { margin-top: 0; margin-bottom: .8rem; font-size: 1.25rem; }
.home-update-content ul { margin: 0; padding-left: 1.2rem; }
.home-update-content li { margin-bottom: .45rem; }
.home-update-actions { display: flex; flex-direction: column; justify-content: center; gap: .7rem; }
.home-update-actions .button { width: 100%; text-align: center; }
@media (max-width: 820px) {
  .home-updates-heading { display: block; }
  .home-updates-heading .text-link { display: inline-block; margin-top: .8rem; }
  .home-update-card { grid-template-columns: 1fr; }
  .home-update-content { border-right: 0; border-bottom: 1px solid #b8c7c0; }
  .home-update-actions { flex-direction: row; flex-wrap: wrap; }
  .home-update-actions .button { width: auto; flex: 1 1 180px; }
}

/* Download registration administration */
.download-admin-page { min-height: 100vh; background: #edf2ef; }
.download-admin-main { width: min(1440px, calc(100% - 2rem)); margin: 0 auto; padding: 3rem 0; }
.download-admin-header { display: flex; justify-content: space-between; gap: 2rem; align-items: start; margin-bottom: 1.5rem; }
.download-admin-header h1 { margin: .2rem 0; }
.download-admin-header nav, .banner-admin-header nav { display: flex; flex-wrap: wrap; gap: .6rem; }
.download-admin-stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin-bottom: 1rem; border: 2px solid #183f3c; background: #fff; }
.download-admin-stats div { padding: 1rem 1.2rem; border-right: 1px solid #b6c5be; }
.download-admin-stats div:last-child { border-right: 0; }
.download-admin-stats span { display: block; color: #526159; font-size: .8rem; font-weight: 800; }
.download-admin-stats strong { margin-right: .25rem; color: #17332d; font-size: 2rem; }
.download-admin-filter { display: grid; grid-template-columns: minmax(240px,1fr) minmax(150px,.35fr) auto auto auto; gap: .7rem; align-items: end; margin-bottom: 1rem; padding: 1rem; background: #fff; border: 1px solid #b8c6bf; }
.download-admin-filter label { display: grid; gap: .35rem; font-size: .8rem; font-weight: 800; }
.download-admin-filter input, .download-admin-filter select { width: 100%; min-height: 44px; padding: .6rem .7rem; border: 1px solid #9eafa7; font: inherit; }
.download-admin-list { background: #fff; border: 1px solid #b8c6bf; }
.download-admin-list-heading { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: 1rem 1.2rem; color: #fff; background: #183f3c; }
.download-admin-list-heading h2, .download-admin-list-heading p { margin: 0; color: inherit; }
.download-admin-list-heading p { color: #dce9e4; font-size: .85rem; }
.download-admin-table-wrap { overflow-x: auto; }
.download-admin-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.download-admin-table th { padding: .8rem; color: #17332d; background: #e8efeb; border-bottom: 2px solid #9eb1a8; text-align: left; white-space: nowrap; }
.download-admin-table td { max-width: 430px; padding: .85rem; border-bottom: 1px solid #d3ddd8; vertical-align: top; overflow-wrap: anywhere; }
.download-admin-table td strong, .download-admin-table td small { display: block; }
.download-admin-empty { padding: 3rem 1.2rem; text-align: center; }
@media (max-width: 900px) { .download-admin-filter { grid-template-columns: 1fr 1fr; } .download-admin-header { display: block; } .download-admin-header nav { margin-top: 1rem; } }
@media (max-width: 680px) { .download-admin-main { width: min(100% - 1rem, 1440px); padding-top: 1rem; } .download-admin-stats { grid-template-columns: 1fr; } .download-admin-stats div { border-right: 0; border-bottom: 1px solid #b6c5be; } .download-admin-stats div:last-child { border-bottom: 0; } .download-admin-filter { grid-template-columns: 1fr; } .download-admin-list-heading { display: block; } .download-admin-list-heading p { margin-top: .5rem; } .download-admin-table thead { display: none; } .download-admin-table, .download-admin-table tbody, .download-admin-table tr, .download-admin-table td { display: block; width: 100%; } .download-admin-table tr { padding: .5rem 0; border-bottom: 3px solid #a6b8af; } .download-admin-table td { max-width: none; padding: .55rem 1rem; border-bottom: 0; } .download-admin-table td::before { content: attr(data-label); display: block; margin-bottom: .18rem; color: #526159; font-size: .7rem; font-weight: 900; } }

/* Support blog */
.blog-hero { padding: 8rem 1rem 3.5rem; color: #fff; background: #17332d; }
.blog-hero .lead { max-width: 760px; color: #dcebe5; }
.blog-list { display: grid; gap: 1rem; }
.blog-card { padding: 1.4rem; background: #fff; border: 2px solid #183f3c; }
.blog-card-meta, .article-tags { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; color: #59675f; font-size: .8rem; }
.blog-card-meta span, .article-tags span { padding: .25rem .45rem; color: #0e675f; background: #e5f0eb; border: 1px solid #a9c1b6; }
.blog-card h3 { margin: .8rem 0; font-size: 1.35rem; }
.blog-card h3 a { color: #17211d; text-decoration: none; }
.blog-card h3 a:hover { color: #11776d; text-decoration: underline; }
.home-blog-heading { display: flex; justify-content: space-between; gap: 2rem; align-items: end; }
.home-blog-latest { display: grid; grid-template-columns: minmax(120px,.25fr) minmax(0,1.5fr) auto; gap: 1.3rem; align-items: center; padding: 1.3rem; background: #fff; border: 2px solid #183f3c; }
.home-blog-date { display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; }
.home-blog-date time { font-weight: 900; }
.home-blog-date span { padding: .25rem .45rem; color: #fff; background: #147d73; font-size: .75rem; }
.home-blog-latest h3 { margin: 0 0 .55rem; font-size: 1.2rem; }
.home-blog-latest h3 a { color: #17211d; text-decoration: none; }
.home-blog-latest p { margin: 0; color: #536159; }
.article-header { padding: 7rem 1rem 3rem; color: #fff; background: #17332d; }
.article-header-inner { width: min(980px,100%); margin: 0 auto; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; font-size: .82rem; }
.breadcrumbs a { color: #dcebe5; }
.article-header h1 { max-width: 920px; margin: .8rem 0 1rem; font-size: clamp(2rem,4vw,3.2rem); letter-spacing: 0; }
.article-lead { max-width: 820px; color: #dcebe5; font-size: 1.08rem; }
.article-byline { display: flex; flex-wrap: wrap; gap: .7rem 1.2rem; color: #c3d5ce; font-size: .85rem; }
.article-layout { display: grid; grid-template-columns: minmax(0,1fr) 280px; gap: 2.5rem; align-items: start; padding-top: 3rem; padding-bottom: 4rem; }
.article-body { min-width: 0; font-size: 1rem; line-height: 1.9; }
.article-body h2 { margin-top: 2.7rem; padding-bottom: .5rem; border-bottom: 3px solid #183f3c; font-size: 1.65rem; }
.article-body h3 { margin-top: 2rem; font-size: 1.25rem; }
.article-body code { padding: .12rem .32rem; background: #eef2ef; border: 1px solid #d1dad5; overflow-wrap: anywhere; }
.article-summary, .article-note, .article-warning { margin: 1.5rem 0; padding: 1.2rem; background: #edf5f1; border-left: 5px solid #147d73; }
.article-summary ul { margin-bottom: 0; }
.article-note p, .article-warning p { margin-bottom: 0; }
.article-warning { background: #fff4dc; border-color: #c68017; }
.article-sources { margin-top: 3rem; padding: 1.2rem; background: #f2f4f1; }
.article-sources h2 { margin-top: 0; font-size: 1.3rem; }
.article-sidebar { position: sticky; top: 90px; padding: 1.2rem; background: #f0f4f1; border-top: 5px solid #183f3c; }
.article-sidebar div { padding: .75rem 0; border-bottom: 1px solid #cbd6d0; }
.article-sidebar span, .article-sidebar strong { display: block; }
.article-sidebar span { margin-bottom: .25rem; color: #5b6861; font-size: .72rem; font-weight: 900; }
.article-sidebar .button { width: 100%; margin-top: 1rem; text-align: center; }
@media (max-width: 820px) { .home-blog-heading { display: block; } .home-blog-heading .text-link { display: inline-block; margin-top: .7rem; } .home-blog-latest { grid-template-columns: 1fr; } .home-blog-latest .button { width: 100%; text-align: center; } .article-layout { grid-template-columns: 1fr; } .article-sidebar { position: static; } }

/* MyTool guide and expandable troubleshooting index */
.mytool-hero{padding:7rem 1rem 3.5rem;color:#fff;background:#17332d}.mytool-hero .lead{max-width:820px;color:#dcebe5}.mytool-alert{margin-bottom:2rem;padding:1.2rem 1.3rem;background:#fff4dc;border:2px solid #c68017}.mytool-alert strong{display:block;margin-bottom:.35rem;font-size:1.1rem}.mytool-alert p{margin:0}.mytool-table-wrap{overflow-x:auto;border:2px solid #183f3c;background:#fff}.mytool-table{width:100%;min-width:720px;border-collapse:collapse}.mytool-table th,.mytool-table td{padding:1rem;border-right:1px solid #b6c5be;border-bottom:1px solid #b6c5be;text-align:left;vertical-align:top}.mytool-table thead th{color:#fff;background:#183f3c}.mytool-table tbody th{width:180px;color:#17332d;background:#e8f0ec}.mytool-table tr:last-child th,.mytool-table tr:last-child td{border-bottom:0}.mytool-table th:last-child,.mytool-table td:last-child{border-right:0}
.mytool-steps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin:0;padding:0;border:2px solid #183f3c;background:#fff;list-style:none;counter-reset:mytool-step}.mytool-steps li{position:relative;min-height:150px;padding:1.25rem 1.25rem 1.25rem 4.5rem;border-right:1px solid #afc0b8;border-bottom:1px solid #afc0b8;counter-increment:mytool-step}.mytool-steps li:nth-child(even){border-right:0}.mytool-steps li:nth-last-child(-n+2){border-bottom:0}.mytool-steps li:before{content:counter(mytool-step);position:absolute;top:1.25rem;left:1.2rem;display:grid;width:42px;height:42px;place-content:center;color:#fff;background:#147d73;font-weight:900}.mytool-steps strong,.mytool-steps span{display:block}.mytool-steps strong{margin-bottom:.5rem;color:#17332d;font-size:1.08rem}
.mytool-link-grid,.mytool-trouble-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border:2px solid #183f3c;background:#fff}.mytool-link-grid article,.mytool-trouble-grid article{min-height:220px;padding:1.25rem;border-right:1px solid #afc0b8;border-bottom:1px solid #afc0b8}.mytool-link-grid article:nth-child(even),.mytool-trouble-grid article:nth-child(even){border-right:0}.mytool-link-grid article:nth-last-child(-n+2),.mytool-trouble-grid article:nth-last-child(-n+2){border-bottom:0}.mytool-link-grid h3,.mytool-trouble-grid h3{margin:.7rem 0 .5rem}.mytool-link-grid a{display:inline-block;margin-top:.5rem;color:#0e6d64;font-weight:900}.source-label,.mytool-trouble-grid article>span{display:inline-block;padding:.25rem .5rem;color:#fff;background:#59675f;font-size:.72rem;font-weight:900}.source-label.official,.mytool-trouble-grid .is-published>span{background:#147d73}.source-label.community{background:#8b5a20}.mytool-source-note{margin:1rem 0 0;padding:.85rem 1rem;background:#f1f3ef;border-left:4px solid #59675f}.mytool-trouble-grid .is-published{border-top:5px solid #147d73}.mytool-trouble-grid h3 a{color:#17211d}
.mytool-contact,.mytool-directory-link{display:flex;justify-content:space-between;gap:2rem;align-items:center}.mytool-contact .button,.mytool-directory-link .button{flex:0 0 auto}.mytool-directory-link{margin-bottom:2rem;padding:1.3rem;color:#fff;background:#183f3c;border-left:7px solid #dfa238}.mytool-directory-link h2{margin:.2rem 0 .5rem;color:#fff}.mytool-directory-link p{margin-bottom:0;color:#dce9e4}
@media(max-width:760px){.mytool-steps,.mytool-link-grid,.mytool-trouble-grid{grid-template-columns:1fr}.mytool-steps li,.mytool-link-grid article,.mytool-trouble-grid article{min-height:0;border-right:0;border-bottom:1px solid #afc0b8}.mytool-steps li:nth-last-child(-n+2),.mytool-link-grid article:nth-last-child(-n+2),.mytool-trouble-grid article:nth-last-child(-n+2){border-bottom:1px solid #afc0b8}.mytool-steps li:last-child,.mytool-link-grid article:last-child,.mytool-trouble-grid article:last-child{border-bottom:0}.mytool-contact,.mytool-directory-link{display:block}.mytool-contact .button,.mytool-directory-link .button{display:block;width:100%;margin-top:1rem;text-align:center}}


/* Official X business account */
.official-x-link{margin:.8rem 0 0}.official-x-link a{display:inline-flex;gap:.45rem;align-items:center;color:#fff;font-weight:800;text-decoration:none}.official-x-link a:hover{text-decoration:underline}.official-x-link span{display:grid;width:28px;height:28px;place-content:center;color:#fff;background:#111;border:1px solid #79827e;border-radius:4px;font-size:.85rem;font-weight:900}.contact-actions{display:flex;flex-wrap:wrap;gap:.7rem}.x-contact{color:#fff;background:#111;border-color:#111}.x-contact:hover{background:#303030}


/* Official LINE account */
.official-line-link{margin:.8rem 0 0}.official-line-link a{display:inline-flex;gap:.45rem;align-items:center;color:#fff;font-weight:800;text-decoration:none}.official-line-link a:hover{text-decoration:underline}.official-line-link span{display:grid;min-width:42px;height:28px;padding:0 .35rem;place-content:center;color:#fff;background:#06c755;border-radius:4px;font-size:.65rem;font-weight:900}.line-contact{color:#fff;background:#06a94a;border-color:#06a94a}.line-contact:hover{background:#078e40}

/* Unified administration dashboard */
.admin-dashboard-page { min-height: 100vh; background: #edf2ef; }
.admin-dashboard-main { width: min(1240px, calc(100% - 2rem)); margin: 0 auto; padding: 2.5rem 0 4rem; }
.admin-dashboard-header { display: flex; justify-content: space-between; gap: 2rem; align-items: flex-start; margin-bottom: 1.5rem; }
.admin-dashboard-header h1 { margin: .15rem 0 .35rem; font-size: clamp(2rem, 5vw, 3.5rem); }
.admin-dashboard-header p { margin: 0; color: #526159; }
.admin-dashboard-header nav { display: flex; flex-wrap: wrap; gap: .6rem; }
.admin-summary { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); margin-bottom: 1rem; color: #fff; background: #173f3b; border: 1px solid #173f3b; }
.admin-summary div { min-width: 0; padding: 1.15rem 1.25rem; border-right: 1px solid #55736c; }
.admin-summary div:last-child { border-right: 0; }
.admin-summary span, .admin-summary small { display: block; }
.admin-summary span { color: #d8e8e2; font-size: .78rem; font-weight: 800; }
.admin-summary strong { display: block; margin: .2rem 0; font-size: 2rem; }
.admin-summary small { color: #bed2ca; }
.admin-workspace, .admin-panel, .admin-operations { background: #fff; border: 1px solid #b9c7c0; }
.admin-workspace { margin-bottom: 1rem; }
.admin-workspace-heading, .admin-panel > header { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: 1rem 1.2rem; border-bottom: 1px solid #cbd6d0; }
.admin-workspace-heading h2, .admin-panel h2 { margin: .1rem 0 0; font-size: 1.25rem; }
.admin-workspace-heading > p { margin: 0; color: #637169; font-size: .85rem; }
.admin-menu-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); }
.admin-menu-item { display: grid; grid-template-columns: 44px minmax(0,1fr) auto; gap: .9rem; align-items: center; min-height: 112px; padding: 1rem 1.2rem; color: #17332d; border-right: 1px solid #d3ddd8; border-bottom: 1px solid #d3ddd8; text-decoration: none; }
.admin-menu-item:nth-child(2n) { border-right: 0; }
.admin-menu-item:nth-last-child(-n+2) { border-bottom: 0; }
.admin-menu-item:hover { background: #f0f6f3; }
.admin-menu-icon { display: grid; place-items: center; width: 44px; height: 44px; color: #fff; background: #168a7d; border-radius: 5px; font-weight: 900; }
.admin-menu-item strong { display: block; margin-bottom: .25rem; font-size: 1rem; }
.admin-menu-item p { margin: 0; color: #5e6c65; font-size: .8rem; line-height: 1.55; }
.admin-menu-item > b { color: #a35d00; font-size: .78rem; white-space: nowrap; }
.admin-detail-grid { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(320px,.75fr); gap: 1rem; margin-bottom: 1rem; }
.admin-panel > header a { font-size: .8rem; font-weight: 800; }
.admin-activity-list > a { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: .85rem 1.2rem; color: #17332d; border-bottom: 1px solid #d5ded9; text-decoration: none; }
.admin-activity-list > a:last-child { border-bottom: 0; }
.admin-activity-list > a:hover { background: #f3f7f5; }
.admin-activity-list span strong, .admin-activity-list span small { display: block; }
.admin-activity-list small { margin-top: .15rem; color: #69766f; }
.admin-state { padding: .3rem .5rem; color: #fff; background: #69766f; border-radius: 3px; font-size: .68rem; white-space: nowrap; }
.admin-state.state-paid, .admin-state.state-completed { background: #168a62; }
.admin-state.state-awaiting_quote { background: #b46b08; }
.admin-system-list { margin: 0; padding: .4rem 1.2rem; }
.admin-system-list div { display: flex; justify-content: space-between; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid #d5ded9; }
.admin-system-list div:last-child { border-bottom: 0; }
.admin-system-list dt { color: #526159; }
.admin-system-list dd { margin: 0; font-weight: 900; }
.admin-system-list dd.is-ready { color: #087553; }
.admin-system-list dd.is-warning { color: #ad5200; }
.admin-note, .admin-empty { margin: 0; padding: 1rem 1.2rem; color: #65736c; background: #f1f5f3; font-size: .78rem; }
.admin-operations { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
.admin-operations div { min-width: 0; padding: 1rem 1.2rem; border-right: 1px solid #d3ddd8; }
.admin-operations div:last-child { border-right: 0; }
.admin-operations span, .admin-operations strong { display: block; }
.admin-operations span { margin-bottom: .3rem; color: #647169; font-size: .72rem; font-weight: 800; }
.admin-operations strong { overflow-wrap: anywhere; }
@media (max-width: 850px) { .admin-summary { grid-template-columns: repeat(2,minmax(0,1fr)); } .admin-summary div:nth-child(2) { border-right: 0; } .admin-summary div:nth-child(-n+2) { border-bottom: 1px solid #55736c; } .admin-detail-grid { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .admin-dashboard-main { width: min(100% - 1rem,1240px); padding-top: 1rem; } .admin-dashboard-header { display: block; } .admin-dashboard-header nav { margin-top: 1rem; } .admin-dashboard-header nav .button { flex: 1; } .admin-summary, .admin-menu-grid, .admin-operations { grid-template-columns: 1fr; } .admin-summary div, .admin-summary div:nth-child(2), .admin-menu-item, .admin-menu-item:nth-child(2n), .admin-menu-item:nth-last-child(-n+2), .admin-operations div { border-right: 0; border-bottom: 1px solid #d3ddd8; } .admin-summary div { border-bottom-color: #55736c; } .admin-summary div:last-child, .admin-menu-item:last-child, .admin-operations div:last-child { border-bottom: 0; } .admin-menu-item { grid-template-columns: 42px minmax(0,1fr); } .admin-menu-item > b { grid-column: 2; } .admin-workspace-heading { display: block; } .admin-workspace-heading > p { margin-top: .4rem; } }

.admin-primary-system { display: flex; justify-content: space-between; gap: 1.5rem; align-items: center; margin-bottom: 1rem; padding: 1.2rem; color: #fff; background: #173f3b; border-left: 6px solid #d88a16; }
.admin-primary-system h2 { margin: .1rem 0 .3rem; color: #fff; font-size: 1.3rem; }
.admin-primary-system p { margin: 0; color: #d4e4de; }
.admin-primary-system .eyebrow { color: #f0ad45; }
.admin-primary-system .button { flex: 0 0 auto; }
.admin-google-tools { margin-top: 1rem; }
.admin-tool-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
.admin-tool-grid > a { display: grid; grid-template-columns: 42px minmax(0,1fr); gap: .8rem; align-items: center; min-height: 104px; padding: 1rem 1.2rem; color: #17332d; border-right: 1px solid #d3ddd8; border-bottom: 1px solid #d3ddd8; text-decoration: none; }
.admin-tool-grid > a:nth-child(3n) { border-right: 0; }
.admin-tool-grid > a:nth-last-child(-n+3) { border-bottom: 0; }
.admin-tool-grid > a:hover { background: #f0f6f3; }
.admin-tool-grid > a > span { display: grid; place-items: center; width: 42px; height: 42px; color: #fff; background: #3167b1; border-radius: 5px; font-size: .75rem; font-weight: 900; }
.admin-tool-grid strong { display: block; margin-bottom: .2rem; }
.admin-tool-grid p { margin: 0; color: #5e6c65; font-size: .78rem; line-height: 1.5; }
@media (max-width: 850px) { .admin-tool-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } .admin-tool-grid > a:nth-child(3n) { border-right: 1px solid #d3ddd8; } .admin-tool-grid > a:nth-child(2n) { border-right: 0; } .admin-tool-grid > a:nth-last-child(-n+3) { border-bottom: 1px solid #d3ddd8; } .admin-tool-grid > a:nth-last-child(-n+2) { border-bottom: 0; } }
@media (max-width: 620px) { .admin-primary-system { display: block; } .admin-primary-system .button { display: block; width: 100%; margin-top: 1rem; } .admin-tool-grid { grid-template-columns: 1fr; } .admin-tool-grid > a, .admin-tool-grid > a:nth-child(2n), .admin-tool-grid > a:nth-child(3n), .admin-tool-grid > a:nth-last-child(-n+2), .admin-tool-grid > a:nth-last-child(-n+3) { border-right: 0; border-bottom: 1px solid #d3ddd8; } .admin-tool-grid > a:last-child { border-bottom: 0; } }

.blog-admin-page { min-height: 100vh; background: #edf2ef; }
.blog-admin-main { width: min(1500px,calc(100% - 2rem)); margin: 0 auto; padding: 2.5rem 0 4rem; }
.blog-admin-layout { display: grid; grid-template-columns: minmax(280px,.38fr) minmax(0,1fr); gap: 1rem; align-items: start; }
.blog-admin-list, .blog-admin-form { background: #fff; border: 1px solid #b9c7c0; }
.blog-admin-list > header, .blog-admin-form > header { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: 1rem 1.2rem; color: #fff; background: #173f3b; }
.blog-admin-list h2, .blog-admin-form h2 { margin: 0; color: inherit; font-size: 1.15rem; }
.blog-admin-list article { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; padding: 1rem; border-bottom: 1px solid #d3ddd8; }
.blog-admin-list article:last-child { border-bottom: 0; }
.blog-admin-list article h3 { margin: .35rem 0; font-size: .9rem; line-height: 1.5; }
.blog-admin-list article small { color: #68766f; }
.blog-admin-list article nav { display: flex; gap: .55rem; font-size: .78rem; font-weight: 800; white-space: nowrap; }
.blog-admin-status { display: inline-block; padding: .2rem .4rem; color: #fff; background: #727d78; border-radius: 3px; font-size: .65rem; font-weight: 900; }
.blog-admin-status.is-published { background: #168a62; }
.blog-admin-form > header label { display: flex; gap: .6rem; align-items: center; font-size: .8rem; font-weight: 800; }
.blog-admin-form select, .blog-admin-form input, .blog-admin-form textarea { width: 100%; padding: .65rem .7rem; border: 1px solid #a8b7b0; font: inherit; }
.blog-admin-form > header select { width: auto; min-width: 110px; }
.blog-admin-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .8rem; padding: 1rem 1.2rem; }
.blog-admin-fields label { display: grid; gap: .3rem; color: #405149; font-size: .76rem; font-weight: 900; }
.blog-admin-fields .span-2 { grid-column: 1 / -1; }
.blog-editor-toolbar { display: flex; flex-wrap: wrap; gap: .35rem; padding: .65rem 1.2rem; background: #e8efeb; border-top: 1px solid #b9c7c0; border-bottom: 1px solid #b9c7c0; }
.blog-editor-toolbar button { min-height: 36px; padding: .35rem .65rem; color: #17332d; background: #fff; border: 1px solid #a6b6ae; border-radius: 3px; font: inherit; cursor: pointer; }
.blog-rich-editor { min-height: 480px; padding: 1.5rem; background: #fff; outline: none; line-height: 1.8; }
.blog-rich-editor:focus { box-shadow: inset 0 0 0 3px rgba(22,138,125,.2); }
.blog-rich-editor h2 { margin-top: 2rem; font-size: 1.45rem; }
.blog-rich-editor h3 { margin-top: 1.5rem; font-size: 1.15rem; }
.blog-admin-form > footer { display: flex; gap: .7rem; padding: 1rem 1.2rem; border-top: 1px solid #cbd6d0; }
.admin-menu-grid .admin-menu-item:last-child:nth-child(odd) { grid-column: 1 / -1; border-right: 0; }
@media (max-width: 900px) { .blog-admin-layout { grid-template-columns: 1fr; } .blog-admin-list { max-height: 420px; overflow: auto; } }
@media (max-width: 620px) { .blog-admin-main { width: min(100% - 1rem,1500px); padding-top: 1rem; } .blog-admin-fields { grid-template-columns: 1fr; } .blog-admin-fields .span-2 { grid-column: auto; } .blog-rich-editor { min-height: 380px; padding: 1rem; } .blog-admin-form > footer { display: grid; } .admin-menu-grid .admin-menu-item:last-child:nth-child(odd) { grid-column: auto; } }

.admin-mobile-preview { margin-top: 1rem; }
.admin-preview-layout { display: grid; grid-template-columns: minmax(240px,1fr) minmax(300px,430px); gap: 2rem; align-items: start; padding: 1.5rem; }
.admin-preview-controls { align-self: center; }
.admin-preview-controls label { display: grid; gap: .4rem; color: #405149; font-size: .8rem; font-weight: 900; }
.admin-preview-controls select { width: 100%; min-height: 46px; padding: .65rem .75rem; border: 1px solid #a6b6ae; background: #fff; font: inherit; }
.admin-preview-controls > p { margin: 1rem 0 0; color: #627069; font-size: .78rem; line-height: 1.65; }
.admin-preview-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .8rem; }
.admin-phone-frame { position: relative; width: min(423px,100%); height: 902px; margin: 0 auto; padding: 36px 14px 12px; overflow: hidden; background: #17201c; border: 1px solid #0d1512; border-radius: 28px; box-shadow: 0 18px 38px rgba(23,50,44,.2); }
.admin-phone-speaker { position: absolute; top: 14px; left: 50%; width: 72px; height: 5px; background: #5f6a65; border-radius: 3px; transform: translateX(-50%); }
.admin-phone-frame iframe { display: block; width: 100%; height: 100%; background: #fff; border: 0; border-radius: 16px; }
@media (max-width: 760px) { .admin-preview-layout { grid-template-columns: 1fr; padding: 1rem; } }
@media (max-width: 430px) { .admin-phone-frame { width: 100%; height: 852px; padding: 30px 8px 10px; border-radius: 20px; } .admin-preview-actions { display: grid; } }

/* Homepage heading width and orphan prevention */
.home-blog-heading, .home-updates-heading { width: 100%; }
.home-blog-heading > div, .home-updates-heading > div { flex: 1 1 auto; min-width: 0; }
.home-blog-heading h2, .home-updates-heading h2 { max-width: 820px; text-wrap: balance; }
.home-blog-heading .text-link, .home-updates-heading .text-link { flex: 0 0 auto; white-space: nowrap; word-break: keep-all; }
