/* Product onboarding — responsive, isolated from Core/admin styles. */
.start-hero { padding:clamp(2.8rem,5vw,5rem) 0 2.8rem; background:linear-gradient(150deg,#faf8f6,#f5ede5);border-bottom:1px solid var(--lio-line) }
.start-hero h1 {max-width:1050px;margin-bottom:1.1rem}
.start-hero .lead{max-width:1060px}
.start-section{padding:clamp(2.5rem,5vw,5rem) 0}
.start-section + .start-section{border-top:1px solid var(--lio-line)}
.start-section-header{margin-bottom:1.75rem}
.start-section-header h2{max-width:1150px;margin-bottom:.55rem}
.start-section-header p{max-width:1060px;color:var(--lio-muted);margin-bottom:0}
.start-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.1rem}
.start-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}
.start-card{display:flex;flex-direction:column;min-width:0;padding:clamp(1.3rem,2.3vw,2.2rem);background:var(--lio-surface);border:1px solid var(--lio-line);border-radius:20px;gap:.8rem}
.start-card .start-marker{font:700 .75rem/1.3 ui-sans-serif,system-ui,sans-serif;letter-spacing:.12em;text-transform:uppercase;color:var(--lio-brand)}
.start-card h3{font-size:clamp(1.28rem,1.85vw,1.7rem);margin:0}
.start-card p{font-size:1rem;color:var(--lio-muted);line-height:1.65;margin:0}
.start-card .start-card-action{margin-top:auto;padding-top:1rem}
.start-card .start-card-action a{color:var(--lio-brand);text-underline-offset:.2em;font-weight:650}
.start-card:hover{border-color:var(--lio-brand-2)}
.start-note{padding:1.1rem 1.35rem;background:var(--lio-surface-soft);border-left:3px solid var(--lio-brand-2);border-radius:0 12px 12px 0;margin:1.4rem 0;color:var(--lio-ink);font-size:.96rem}
.start-note p:last-child{margin-bottom:0}
.start-actions{display:flex;align-items:center;gap:.8rem;flex-wrap:wrap;margin:1.6rem 0 .35rem}
.start-actions a.button{text-decoration:none}
.start-status{font-size:.82rem;color:var(--lio-muted);font-weight:600;letter-spacing:.04em;text-transform:uppercase}
.start-page-content{padding:clamp(2.4rem,4vw,4rem) 0 5rem}
.start-page-content h2{font-size:clamp(1.7rem,2.6vw,2.4rem);margin-top:2rem;margin-bottom:1rem}
.start-page-content p{max-width:1100px}
.start-steps{display:flex;gap:.6rem;flex-wrap:wrap;margin:1rem 0 1.6rem}
.start-steps button,.start-choice{cursor:pointer;font:inherit;color:var(--lio-ink);background:#fff;border:1px solid var(--lio-line);border-radius:12px;padding:.7rem 1rem}
.start-steps button[aria-pressed="true"],.start-choice[aria-pressed="true"]{background:var(--lio-brand);color:white;border-color:var(--lio-brand)}
.start-steps button:focus-visible,.start-choice:focus-visible{outline:3px solid var(--lio-brand-2);outline-offset:2px}
.start-demo-shell{display:grid;grid-template-columns:220px minmax(0,1fr);border:1px solid var(--lio-line);border-radius:20px;overflow:hidden;min-height:360px;background:#fff;box-shadow:var(--lio-shadow)}
.start-demo-side{padding:1.25rem;background:#f4eee7;border-right:1px solid var(--lio-line)}
.start-demo-side strong{display:block;margin-bottom:1.2rem}
.start-demo-side span{display:block;padding:.7rem .85rem;border-radius:8px;font-size:.9rem;color:var(--lio-muted)}
.start-demo-side span.is-active{background:#fff;color:var(--lio-brand);font-weight:700}
.start-demo-body{padding:clamp(1.2rem,2.7vw,2.5rem)}
.start-demo-body h3{margin-bottom:.7rem;font-size:clamp(1.4rem,2vw,1.85rem)}
.start-demo-body p{font-size:1rem;color:var(--lio-muted)}
.start-demo-preview{background:var(--lio-bg);border:1px solid var(--lio-line);border-radius:13px;padding:1.2rem;margin:1.2rem 0;max-width:840px}
.start-demo-preview .ui-field{display:grid;gap:.25rem;margin:.9rem 0;font-size:.92rem}
.start-demo-preview .ui-field b{display:block;color:var(--lio-brand);font-size:.78rem}
.start-demo-preview .ui-value{padding:.6rem .8rem;border:1px solid var(--lio-line);border-radius:8px;background:#fff;line-height:1.4}
.start-demo-preview .ui-highlight{padding:.5rem .75rem;background:#eef4ed;border-radius:8px;color:#36563a;display:inline-block;font-size:.85rem}
.start-demo-controls{display:flex;flex-wrap:wrap;gap:.65rem;margin-top:1.2rem}
.start-demo-controls button{cursor:pointer;border-radius:11px;padding:.68rem 1.2rem;font:600 .93rem/1.3 ui-sans-serif,system-ui,sans-serif;border:1px solid var(--lio-brand);background:var(--lio-brand);color:#fff}
.start-demo-controls button.secondary{background:#fff;color:var(--lio-brand)}
.start-demo-controls button:disabled{opacity:.45;cursor:not-allowed}
.start-result{border:1px solid var(--lio-line);border-radius:16px;padding:clamp(1.3rem,2.5vw,2rem);margin-top:1.5rem;background:var(--lio-surface-soft)}
.start-result[hidden]{display:none}
.start-result strong{display:block;font-size:1.15rem;margin-bottom:.6rem}
.start-result[data-state="ready"]{border-color:#a6bba8;background:#f2f7f1}
.start-result[data-state="attention"]{border-color:#dbc5a0;background:#fff9ef}
.start-result[data-state="blocked"]{border-color:#d6a9a9;background:#fcf4f3}
.start-result ul{padding-left:1.4rem;font-size:.98rem}
.start-field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.15rem;max-width:1100px}
.start-field{display:grid;align-content:start;gap:.35rem}
.start-field>label,.start-field>strong{font-size:.9rem;font-weight:700}
.start-field select,.start-field input{width:100%;min-height:48px;border:1px solid #d8c9bb;background:#fff;color:var(--lio-ink);border-radius:10px;padding:.6rem .85rem;font:inherit}
.start-field small{color:var(--lio-muted);font-size:.78rem;line-height:1.5}
.start-checks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.7rem;margin:1.25rem 0}
.start-check{display:flex;gap:.7rem;align-items:center;background:#fff;border:1px solid var(--lio-line);border-radius:10px;padding:.8rem;cursor:pointer;font-size:.91rem}
.start-check input{width:18px;height:18px;accent-color:var(--lio-brand)}
.start-section-details{margin-top:1.5rem}
.start-section-details details,.start-faq details{border:1px solid var(--lio-line);border-radius:12px;background:#fff;margin-bottom:.7rem;padding:.9rem 1.1rem}
.start-section-details summary,.start-faq summary{font-weight:650;cursor:pointer}
.start-section-details details p,.start-faq details p{font-size:.96rem;color:var(--lio-muted);margin:.85rem 0 .2rem;max-width:1100px}
.start-table-wrap{overflow-x:auto;width:100%;border:1px solid var(--lio-line);border-radius:15px}
.start-table{width:100%;min-width:610px;border-collapse:collapse;background:#fff;font-size:.93rem}
.start-table th,.start-table td{text-align:left;vertical-align:top;padding:1rem 1.1rem;border-bottom:1px solid var(--lio-line)}
.start-table th{background:#f6f0e9;font-weight:700}
.start-table tr:last-child td{border-bottom:0}
.start-table th:first-child{width:30%}
.start-table td small{color:var(--lio-muted)}
.start-case{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(230px,.9fr);gap:1.4rem;padding:1.5rem;border:1px solid var(--lio-line);background:#fff;border-radius:17px;margin:1rem 0}
.start-case h3{margin:.4rem 0;font-size:clamp(1.4rem,2vw,1.85rem)}
.start-case p{color:var(--lio-muted);font-size:.96rem}
.start-case aside{padding:1.1rem;background:var(--lio-surface-soft);border-radius:12px;font-size:.92rem}
.start-case aside strong{display:block;margin-bottom:.4rem}
.start-checklist{display:grid;gap:.7rem;max-width:1000px;margin:1.2rem 0}
.start-checklist label{display:flex;align-items:flex-start;gap:.8rem;border:1px solid var(--lio-line);border-radius:11px;background:#fff;padding:.85rem 1rem;cursor:pointer}
.start-checklist input{width:19px;height:19px;accent-color:var(--lio-brand);margin-top:.25rem;flex:0 0 auto}
.start-progress{height:12px;background:#e9dcd0;border-radius:999px;overflow:hidden;margin:.9rem 0}
.start-progress>span{display:block;width:0;height:100%;background:var(--lio-brand);transition:width .2s ease}
.start-inline-links{display:flex;gap:1rem;flex-wrap:wrap;margin:1.5rem 0}
.start-inline-links a{color:var(--lio-brand);font-weight:650}
@media(max-width:1050px){.start-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.start-checks{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.start-grid,.start-grid.two,.start-field-grid,.start-case{grid-template-columns:minmax(0,1fr)}.start-demo-shell{grid-template-columns:minmax(0,1fr)}.start-demo-side{display:flex;flex-wrap:wrap;gap:.4rem;padding:.85rem;border-right:0;border-bottom:1px solid var(--lio-line)}.start-demo-side strong{width:100%;margin:0}.start-demo-side span{padding:.35rem .6rem;font-size:.75rem}.start-checks{grid-template-columns:1fr}.start-hero .lead{font-size:1.05rem}.start-table th,.start-table td{padding:.7rem}.start-actions a.button{width:100%}}

/* Keep long checksums readable without mobile overflow. */
.doc-content p code {overflow-wrap:anywhere;word-break:break-word;}


/* 13 Oct 2026: consistent section headings and native-select replacement. */
/* The generic .start-section-header p selector nulled the eyebrow's margin. */
.start-section-header > .eyebrow {
  margin: 0 0 clamp(1.25rem, 1.8vw, 1.5rem);
  color: var(--lio-brand);
}
.start-section-header > .eyebrow + h2 {
  margin-top: 0;
}
.start-field-grid + h2 {
  margin-top: clamp(2rem, 3.5vw, 3rem);
}
.start-field-grid + h2 + p {
  margin-top: .65rem;
}
/* Consistent inset chevron, no OS-dependent arrow touching the border. */
.start-field select {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23704e35' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px 16px;
  padding-right: 3rem;
  cursor: pointer;
}
.start-field select:focus-visible {
  outline: 2px solid var(--lio-brand-2);
  outline-offset: 2px;
}

/* Space section headings after standalone selectors and controls. */
[data-lio-migration] > .start-field + h2 {margin-top:clamp(2.1rem,3.5vw,3rem);}


/* Authentic LIO Calm screenshot tour: desktop and mobile */
.calm-tour-tabs { margin-bottom:1.2rem; }
.calm-tour-tabs button { padding:.62rem .92rem; font-size:.91rem; }
.calm-tour-layout { display:grid; grid-template-columns:minmax(0,1.52fr) minmax(280px,.88fr); gap:clamp(1.15rem,2.8vw,2.7rem); align-items:start; }
.calm-tour-photo { margin:0; min-width:0; background:#f8f6f3; border:1px solid var(--lio-line); border-radius:16px; padding:clamp(.45rem,1.1vw,.8rem); }
.calm-tour-photo > a { display:flex; align-items:center; justify-content:center; overflow:hidden; border-radius:10px; background:#fff; min-height:240px; }
.calm-tour-photo img { display:block; width:auto; max-width:100%; height:auto; max-height:min(66vh,700px); object-fit:contain; }
.calm-tour-photo > a:focus-visible { outline:3px solid var(--lio-brand-2); outline-offset:3px; }
.calm-tour-photo figcaption { margin:.7rem .35rem .15rem; color:var(--lio-muted); font-size:.78rem; line-height:1.45; }
.calm-tour-copy { padding-top:.45rem; min-width:0; }
.calm-tour-copy h2 { margin:.9rem 0 1rem; font-size:clamp(1.6rem,2.5vw,2.4rem); line-height:1.1; }
.calm-tour-copy > p { line-height:1.7; max-width:40rem; }
.calm-tour-explainer { color:var(--lio-muted); font-size:.9rem; }
.calm-tour-controls { margin-top:2rem; }
.calm-tour-controls button:disabled { opacity:.45; cursor:not-allowed; }
@media(max-width:850px) {
  .calm-tour-layout { grid-template-columns:minmax(0,1fr); }
  .calm-tour-photo { max-width:900px; }
  .calm-tour-photo img { max-height:460px; }
  .calm-tour-copy { padding-top:0; }
}
@media(max-width:560px) {
  .calm-tour-tabs { gap:.35rem; margin-bottom:1rem; }
  .calm-tour-tabs button { flex:1 1 auto; padding:.55rem .6rem; font-size:.8rem; }
  .calm-tour-photo img { max-height:410px; }
  .calm-tour-photo > a { min-height:130px; }
  .calm-tour-controls { justify-content:space-between; gap:.4rem; }
  .calm-tour-controls button { padding:.62rem .72rem; }
}

/* Tour-first viewport: show the gallery promptly without hiding context. */
.calm-tour-page .start-hero { padding: 1.55rem 0 1.7rem; }
.calm-tour-page .start-hero h1 { font-size:clamp(2.35rem,4.5vw,3.8rem); max-width:1100px; line-height:1.05; }
.calm-tour-page .start-hero .doc-breadcrumbs { margin-bottom:.85rem; }
.calm-tour-page .start-section { padding:clamp(1.35rem,2.7vw,2.4rem) 0; }
.calm-tour-page .calm-tour-note { margin-top:1.35rem; font-size:.89rem; }
@media(max-width:560px) {
  .calm-tour-page .start-hero h1 { font-size:clamp(2.05rem,9vw,2.8rem); line-height:1.08; }
  .calm-tour-page .start-hero { padding:1.25rem 0 1.25rem; }
}
