/* LOCRIAN HOME: stationary pin & sequence, factual recorded product scenes. */
#home-view .lh-pin-sequence{padding:0!important;border:0;overflow:visible;background:transparent}
#home-view .lh-pin-canvas{background:transparent}
#home-view .lh-pin-shell{box-sizing:border-box;position:relative;height:100vh;height:100dvh;min-height:620px;width:min(1240px,calc(100% - 64px));margin-inline:auto;display:flex;align-items:center;justify-content:center}
#home-view .lh-pin-content{box-sizing:border-box;width:100%;display:flex;flex-direction:column;gap:clamp(10px,1.35vh,17px);align-items:center;padding:28px 0}
#home-view .lh-pin-shell .lh-head{margin:0 auto 4px}
#home-view .lh-pin-shell .lh-head h2{font-size:clamp(28px,3vw,42px);margin:0;line-height:1.2}
#home-view .lh-pin-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;gap:12px}
#home-view .lh-pin-card{position:relative;min-width:0;min-height:130px;display:flex;flex-direction:column;gap:9px;align-items:flex-start;justify-content:center;text-align:left;border:1px solid #e0e5eb;border-radius:18px;background:#f8f9fa;color:#1f2933;padding:19px 19px 18px;font:inherit;cursor:pointer;transition:background-color .26s ease,border-color .26s ease,box-shadow .26s ease}
#home-view .lh-pin-card:hover{border-color:#b7c5d4}
#home-view .lh-pin-card.is-active{background:#eff3f8;border-color:#91a5b8;box-shadow:inset 0 0 0 1px #b6c7d9}
#home-view .lh-pin-card:focus-visible{outline:2px solid #61758a;outline-offset:3px}
#home-view .lh-pin-index{font-size:11px;font-weight:700;letter-spacing:.12em;color:#8b98a6}
#home-view .lh-pin-card.is-active .lh-pin-index{color:#61758a}
#home-view .lh-pin-card-title{font-size:clamp(17px,1.6vw,24px);letter-spacing:-.06em;font-weight:780;line-height:1.2;color:#1f2933}
#home-view .lh-pin-card-detail{font-size:12px;line-height:1.45;font-weight:450;color:#798694}
#home-view .lh-pin-viewport{width:min(100%,1000px);display:flex;justify-content:center;min-height:0;max-height:clamp(260px,48vh,510px)}
#home-view .lh-pin-viewport .lh-pin-window{width:100%;height:auto;aspect-ratio:16/9;max-height:48vh;overflow:hidden;border:1px solid #d9e2ec;background:#fff;border-radius:14px;box-shadow:0 16px 52px rgba(32,52,80,.085)}
#home-view .lh-pin-canvas .lh-pin-viewport .lh-pin-window{aspect-ratio:2/1}
#home-view .lh-pin-window .lh-demo-video{display:block;width:100%;height:100%;object-fit:contain;aspect-ratio:auto!important;transform:none!important;background:#fff}
#home-view .lh-pin-meta{display:flex;width:min(100%,1000px);gap:14px;align-items:center;min-height:20px;color:#7b8998;font-size:12px}
#home-view .lh-pin-count{font-weight:750;letter-spacing:.1em;color:#61758a}
#home-view .lh-pin-active-label{flex:1;text-align:left}
#home-view .lh-pin-progress{display:block;width:100px;height:3px;background:#e3eaf1;border-radius:100px;overflow:hidden}
#home-view .lh-pin-progress-fill{display:block;width:100%;height:100%;background:#61758a;transform:scaleX(.25);transform-origin:left center}
#home-view .lh-pin-shell .lh-section-link{margin:0;padding:10px 19px;border-radius:10px}
@media(max-height:760px) and (min-width:761px){
 #home-view .lh-pin-card{min-height:92px;padding:12px 15px;gap:6px}
 #home-view .lh-pin-card-detail{font-size:11px}
 #home-view .lh-pin-viewport .lh-pin-window{max-height:42vh}
 #home-view .lh-pin-shell .lh-head h2{font-size:28px}
}
@media(max-width:760px){
 #home-view .lh-pin-shell{width:calc(100% - 26px);min-height:0}
 #home-view .lh-pin-content{padding:22px 0;gap:12px}
 #home-view .lh-pin-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 #home-view .lh-pin-card{min-height:100px;padding:11px;border-radius:12px;gap:6px}
 #home-view .lh-pin-card-title{font-size:16px}
 #home-view .lh-pin-card-detail{font-size:10px}
 #home-view .lh-pin-viewport .lh-pin-window{max-height:40vh;border-radius:10px}
 #home-view .lh-pin-shell .lh-head h2{font-size:25px}
 #home-view .lh-pin-meta{font-size:10px}
}
@media(prefers-reduced-motion:reduce){#home-view .lh-pin-card{transition:none}}

/* Candidate only: actual original Rust/WASM framebuffer, never a video. */
#home-view .lh-canvas-live-pilot .lh-pin-window{position:relative;}
#home-view .lh-canvas-live-pilot .lh-native-live-surface{
  position:relative;width:100%;aspect-ratio:2048 / 1028;overflow:hidden;
  background:#edf3ff;text-align:left;isolation:isolate;
}
#home-view .lh-canvas-live-pilot .lh-native-camera{
  position:absolute;inset:0;transform-origin:40% 34%;z-index:1;
  contain:layout paint;
}
#home-view .lh-canvas-live-pilot .lh-native-live-frame{
  display:block;position:absolute;left:0;top:0;border:0;width:2048px;height:1028px;
  transform-origin:top left;pointer-events:none;opacity:0;background:#edf3ff;
}
#home-view .lh-canvas-live-pilot .lh-native-live-surface.is-ready .lh-native-live-frame{opacity:1}
#home-view .lh-canvas-live-pilot .lh-native-live-pointer{
  position:absolute;left:0;top:0;opacity:0;width:22px;height:28px;
  z-index:3;pointer-events:none;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='28' viewBox='0 0 22 28'%3E%3Cpath d='M2 1v23l5.4-5.7 4.5 8.5 4-2.3-4.4-8.1h8.2Z' fill='white' stroke='%2326384c' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  filter:drop-shadow(1px 2px 2px #34485f44);
}
#home-view .lh-canvas-live-pilot .lh-native-live-loading{
  position:absolute;inset:0;z-index:4;display:grid;place-items:center;
  background:#edf3ff;color:#61758a;font:700 clamp(13px,1.5vw,18px) SUIT,system-ui,sans-serif;
  letter-spacing:-.02em;
}
#home-view .lh-canvas-live-pilot .lh-native-live-loading[hidden]{display:none}
@media(prefers-reduced-motion:reduce){
 #home-view .lh-canvas-live-pilot .lh-native-camera{transform:none!important}
}


/* Home Canvas three-value walkthrough. Uses the SAME card wipe/expand CSS as
   the live Market tour; its sheet SVG is generated by the real Canvas template. */
#home-view #lh-canvas.lh-canvas-feature{background:transparent}
#home-view .lh-canvas-feature .lh-pin-content{width:100%}
#home-view .lh-canvas-feature .lh-pin-card{cursor:default}
#home-view .lh-canvas-feature .lh-pin-card.is-active{border-color:#61758a}
#home-view .lh-canvas-feature .lh-market-card-scene{background:#fff}
#home-view .lh-canvas-feature-scene{box-sizing:border-box;position:relative;width:100%;height:100%;font-family:SUIT,system-ui,sans-serif;text-align:left;background:#edf3ff;color:#1f2933;overflow:hidden;isolation:isolate}
#home-view .lh-canvas-feature-chrome{height:34px;box-sizing:border-box;padding:7px 10px;display:flex;align-items:center;justify-content:space-between;background:#fff;border-bottom:1px solid #d9e2ec;gap:5px;white-space:nowrap;font-size:9px;font-weight:800}
#home-view .lh-canvas-feature-brand{color:#61758a;letter-spacing:.08em}
#home-view .lh-canvas-feature-filename{max-width:48%;overflow:hidden;text-overflow:ellipsis;color:#596b7d}
#home-view .lh-canvas-feature-body{position:relative;display:flex;align-items:stretch;gap:5px;height:calc(100% - 34px);padding:9px 8px 13px;box-sizing:border-box}
#home-view .lh-canvas-feature-workspace{box-sizing:border-box;display:flex;justify-content:center;align-items:flex-start;flex:1;position:relative;min-width:0;overflow:hidden;background:#e5ebf4;border-radius:5px;padding:7px}
#home-view .lh-canvas-feature-sheet{position:relative;width:min(100%,174px);height:auto;aspect-ratio:595 / 842;flex:0 0 auto;background:#fff;box-shadow:0 3px 14px #1f293326;transform-origin:center top;overflow:hidden}
#home-view .lh-canvas-feature-sheet svg{display:block;width:100%;height:100%}
#home-view .lh-canvas-feature-template-options{box-sizing:border-box;display:flex;flex-direction:column;gap:5px;width:94px;flex-shrink:0;border-radius:6px;padding:7px 5px;background:white;box-shadow:0 3px 14px #1f293316}
#home-view .lh-canvas-feature-template-options strong{font-size:9px;margin-bottom:5px}
#home-view .lh-canvas-feature-template-option{appearance:none;border:1px solid #d9e2ec;background:#fff;border-radius:5px;padding:7px 5px;line-height:1.2;font:700 9px SUIT,system-ui;color:#425b72;text-align:left}
#home-view .lh-canvas-feature-note{position:absolute;bottom:5px;right:8px;color:#526f8d;font-size:9px;font-weight:700;background:#ffffffdd;border-radius:5px;padding:2px 4px;z-index:2;opacity:.88}
#home-view .lh-canvas-feature-cursor{position:absolute;z-index:8;left:0;top:0;width:15px;height:21px;opacity:0;pointer-events:none;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='21'%3E%3Cpath d='M2 1v18l3.4-4 3.7 5 3.1-1.8-3.6-5h5.5Z' fill='white' stroke='%231f2933' stroke-width='1.5' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;filter:drop-shadow(1px 2px 1px #2224)}
#home-view .lh-canvas-feature-vector-tools{display:flex;flex-direction:column;gap:5px;background:#fff;border-radius:5px;padding:6px 4px;min-width:36px}
#home-view .lh-canvas-feature-vector-tools button{appearance:none;border:0;border-radius:4px;padding:7px 1px;font:700 9px SUIT,system-ui;color:#425b72;background:#edf3ff}
#home-view .lh-canvas-feature-vector-tools button.is-target{background:#61758a;color:white}
#home-view .lh-canvas-feature-vector-layer{position:absolute;inset:26% 8% auto;height:26%;transform-origin:center}
#home-view .lh-canvas-feature-vector-layer svg{overflow:visible;width:100%;height:100%}
#home-view .lh-canvas-feature-vector-layer circle{fill:#fff;stroke:#61758a;stroke-width:2}
#home-view .lh-canvas-feature-presentation{display:flex;flex-direction:column;gap:4px;background:#f8fafd;padding:6px}
#home-view .lh-canvas-feature-lesson-header{display:flex;align-items:center;justify-content:space-between;background:#fff;border:1px solid #d9e2ec;border-radius:4px;padding:5px 7px;font-size:10px}
#home-view .lh-canvas-feature-lesson-code{font-size:9px;color:#61758a}
#home-view .lh-canvas-feature-lesson-stage{position:relative;display:flex;justify-content:center;align-items:flex-start;flex:1;min-height:0;overflow:hidden;background:#dbe3ed;border-radius:4px;padding:4px}
#home-view .lh-canvas-feature-lesson-stage .lh-canvas-feature-sheet{position:absolute;top:4px;width:min(42%,150px);height:auto}
#home-view .lh-canvas-feature-lesson-footer{display:flex;align-items:center;justify-content:space-between;background:#fff;border-radius:5px;padding:4px 10px;font-size:9px;color:#61758a}
#home-view .lh-canvas-feature-page-counter{font-weight:800}
#home-view .lh-canvas-feature-lesson-footer .is-next{font-weight:800}
#home-view .lh-canvas-feature-formats{position:absolute;z-index:3;left:18%;right:5%;top:23%;display:flex;flex-wrap:wrap;align-content:center;gap:7px;padding:13px 10px;border:1px solid #d9e2ec;border-radius:9px;box-shadow:0 8px 28px #314d6760;background:#fff}
#home-view .lh-canvas-feature-formats strong{width:100%;font-size:11px;color:#1f2933}
#home-view .lh-canvas-feature-format{appearance:none;border:1px solid #cddbe8;background:#f6f8fb;color:#526f8d;border-radius:6px;padding:7px 9px;font:800 10px SUIT,system-ui;letter-spacing:.02em}
#home-view .lh-canvas-feature .lh-pin-card.is-active .lh-market-card-toggle{cursor:pointer}
@media(max-width:899px){

 #home-view .lh-canvas-feature .lh-pin-cards{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(prefers-reduced-motion:reduce){
 #home-view .lh-canvas-feature .lh-canvas-feature-scene *,
 #home-view .lh-canvas-feature .lh-canvas-feature-scene{animation:none!important;transition:none!important}
}

/* Keep the static presentation legible for reduced-motion visitors. */
#home-view .lh-canvas-feature-lesson-stage .lh-canvas-feature-sheet.is-second{opacity:0}
@media(prefers-reduced-motion:reduce){
 #home-view .lh-canvas-feature-sheet{opacity:1!important;transform:none!important}
 #home-view .lh-canvas-feature-formats{opacity:1!important;transform:none!important}
 #home-view .lh-canvas-feature-lesson-stage .is-second{opacity:0!important}
}

#home-view .lh-canvas-feature-notations{position:absolute;left:15%;right:10%;top:26%;height:12%;pointer-events:none;z-index:2}
#home-view .lh-canvas-feature-notations svg{display:block;width:100%;height:100%;overflow:visible}
@media(prefers-reduced-motion:reduce){
 #home-view .lh-canvas-feature-notations{opacity:1!important;transform:none!important}
}

/* Shared-stage Canvas content sizing: preserve the existing production
   template SVG and its animation, but let it fill the new large viewer. */
#home-view .lh-canvas-feature .lh-canvas-feature-chrome{height:44px;padding:11px 18px;font-size:12px}
#home-view .lh-canvas-feature .lh-canvas-feature-body{height:calc(100% - 44px);gap:12px;padding:16px}
#home-view .lh-canvas-feature .lh-canvas-feature-workspace{padding:9px}
#home-view .lh-canvas-feature .lh-canvas-feature-sheet{width:min(100%,338px)}
#home-view .lh-canvas-feature .lh-canvas-feature-template-options{width:160px;gap:9px;padding:14px 10px}
#home-view .lh-canvas-feature .lh-canvas-feature-template-options strong{font-size:13px}
#home-view .lh-canvas-feature .lh-canvas-feature-template-option{font-size:12px;padding:12px 9px}
#home-view .lh-canvas-feature .lh-canvas-feature-vector-tools{min-width:84px;padding:9px;gap:9px}
#home-view .lh-canvas-feature .lh-canvas-feature-vector-tools button{font-size:12px;padding:12px 7px}
#home-view .lh-canvas-feature .lh-canvas-feature-note{font-size:12px;bottom:12px;right:12px;padding:5px 9px}
#home-view .lh-canvas-feature .lh-canvas-feature-formats{left:25%;right:8%;top:22%;gap:13px;padding:22px 20px}
#home-view .lh-canvas-feature .lh-canvas-feature-formats strong{font-size:16px}
#home-view .lh-canvas-feature .lh-canvas-feature-format{font-size:14px;padding:10px 14px}
#home-view .lh-canvas-feature .lh-canvas-feature-lesson-header{font-size:14px;padding:10px 16px}
#home-view .lh-canvas-feature .lh-canvas-feature-lesson-footer{font-size:13px;padding:9px 18px}
#home-view .lh-canvas-feature .lh-canvas-feature-lesson-stage .lh-canvas-feature-sheet{width:min(46%,300px);top:8px}
@media(max-width:899px){
 #home-view .lh-canvas-feature .lh-canvas-feature-chrome{height:30px;padding:7px 9px;font-size:9px}
 #home-view .lh-canvas-feature .lh-canvas-feature-body{height:calc(100% - 30px);gap:5px;padding:7px}
 #home-view .lh-canvas-feature .lh-canvas-feature-sheet{width:min(100%,180px)}
 #home-view .lh-canvas-feature .lh-canvas-feature-template-options{width:94px;gap:4px;padding:6px 4px}
 #home-view .lh-canvas-feature .lh-canvas-feature-template-options strong{font-size:9px}
 #home-view .lh-canvas-feature .lh-canvas-feature-template-option{font-size:9px;padding:6px 4px}
 #home-view .lh-canvas-feature .lh-canvas-feature-vector-tools{min-width:38px;padding:4px;gap:4px}
 #home-view .lh-canvas-feature .lh-canvas-feature-vector-tools button{font-size:9px;padding:6px 2px}
 #home-view .lh-canvas-feature .lh-canvas-feature-note{font-size:9px;bottom:4px;right:5px;padding:3px}
 #home-view .lh-canvas-feature .lh-canvas-feature-formats{left:18%;right:5%;top:23%;gap:6px;padding:12px}
 #home-view .lh-canvas-feature .lh-canvas-feature-formats strong{font-size:11px}
 #home-view .lh-canvas-feature .lh-canvas-feature-format{font-size:10px;padding:7px}
 #home-view .lh-canvas-feature .lh-canvas-feature-lesson-header{font-size:10px;padding:5px 7px}
 #home-view .lh-canvas-feature .lh-canvas-feature-lesson-footer{font-size:9px;padding:5px 9px}
 #home-view .lh-canvas-feature .lh-canvas-feature-lesson-stage .lh-canvas-feature-sheet{width:min(42%,150px);top:4px}
}

/* Canvas 03 reuses the actual Canvas captured poster instead of loading WASM. */
#home-view .lh-canvas-feature-import-workspace{
  display:flex;position:relative;justify-content:center;align-items:center;
  padding:14px;background:#e7edf5;
}
#home-view .lh-canvas-feature-import-capture{
  display:block;width:min(100%,970px);height:100%;max-height:100%;
  object-fit:contain;border-radius:7px;box-shadow:0 8px 28px #1f293322;
}
#home-view .lh-canvas-feature-import-flow{
  position:absolute;inset:auto 14px 20px;display:flex;
  justify-content:center;align-items:center;gap:10px;
  flex-wrap:wrap;pointer-events:none;
}
#home-view .lh-canvas-feature-import-chip{
  padding:8px 13px;border-radius:8px;border:1px solid #d9e2ec;
  background:#ffffffed;box-shadow:0 6px 16px #1f29331a;
  font:750 clamp(11px,1.3vw,15px)/1.3 SUIT,system-ui,sans-serif;
  color:#526b85;
}
@media(max-width:580px){
  #home-view .lh-canvas-feature .lh-pin-cards{grid-template-columns:1fr}
  #home-view .lh-canvas-feature-import-flow{gap:4px;inset:auto 5px 5px}
  #home-view .lh-canvas-feature-import-chip{padding:5px 7px;font-size:9px}
}
@media(prefers-reduced-motion:reduce){
  #home-view .lh-canvas-feature-import-chip{opacity:1!important;transform:none!important}
}

/* Locrian generated screen UI font-size uplift; do not edit. */
@media screen {
#home-view .lh-pin-shell .lh-head h2{font-size:calc(clamp(28px,3vw,42px) + 2pt)}
#home-view .lh-pin-index{font-size:calc(11px + 2pt)}
#home-view .lh-pin-index{font-weight:650}
#home-view .lh-pin-card-title{font-size:calc(clamp(17px,1.6vw,24px) + 2pt)}
#home-view .lh-pin-card-title{font-weight:730}
#home-view .lh-pin-card-detail{font-size:calc(12px + 2pt)}
#home-view .lh-pin-card-detail{font-weight:400}
#home-view .lh-pin-meta{font-size:calc(12px + 2pt)}
#home-view .lh-pin-count{font-weight:700}
@media(max-height:760px) and (min-width:761px){#home-view .lh-pin-card-detail{font-size:calc(11px + 2pt)}}
@media(max-height:760px) and (min-width:761px){#home-view .lh-pin-shell .lh-head h2{font-size:calc(28px + 2pt)}}
@media(max-width:760px){#home-view .lh-pin-card-title{font-size:calc(16px + 2pt)}}
@media(max-width:760px){#home-view .lh-pin-card-detail{font-size:calc(10px + 2pt)}}
@media(max-width:760px){#home-view .lh-pin-shell .lh-head h2{font-size:calc(25px + 2pt)}}
@media(max-width:760px){#home-view .lh-pin-meta{font-size:calc(10px + 2pt)}}
#home-view .lh-canvas-feature-chrome{font-size:calc(9px + 2pt)}
#home-view .lh-canvas-feature-chrome{font-weight:750}
#home-view .lh-canvas-feature-template-options strong{font-size:calc(9px + 2pt)}
#home-view .lh-canvas-feature-note{font-size:calc(9px + 2pt)}
#home-view .lh-canvas-feature-note{font-weight:650}
#home-view .lh-canvas-feature-lesson-header{font-size:calc(10px + 2pt)}
#home-view .lh-canvas-feature-lesson-code{font-size:calc(9px + 2pt)}
#home-view .lh-canvas-feature-lesson-footer{font-size:calc(9px + 2pt)}
#home-view .lh-canvas-feature-page-counter{font-weight:750}
#home-view .lh-canvas-feature-lesson-footer .is-next{font-weight:750}
#home-view .lh-canvas-feature-formats strong{font-size:calc(11px + 2pt)}
#home-view .lh-canvas-feature .lh-canvas-feature-chrome{font-size:calc(12px + 2pt)}
#home-view .lh-canvas-feature .lh-canvas-feature-template-options strong{font-size:calc(13px + 2pt)}
#home-view .lh-canvas-feature .lh-canvas-feature-template-option{font-size:calc(12px + 2pt)}
#home-view .lh-canvas-feature .lh-canvas-feature-vector-tools button{font-size:calc(12px + 2pt)}
#home-view .lh-canvas-feature .lh-canvas-feature-note{font-size:calc(12px + 2pt)}
#home-view .lh-canvas-feature .lh-canvas-feature-formats strong{font-size:calc(16px + 2pt)}
#home-view .lh-canvas-feature .lh-canvas-feature-format{font-size:calc(14px + 2pt)}
#home-view .lh-canvas-feature .lh-canvas-feature-lesson-header{font-size:calc(14px + 2pt)}
#home-view .lh-canvas-feature .lh-canvas-feature-lesson-footer{font-size:calc(13px + 2pt)}
@media(max-width:899px){#home-view .lh-canvas-feature .lh-canvas-feature-chrome{font-size:calc(9px + 2pt)}}
@media(max-width:899px){#home-view .lh-canvas-feature .lh-canvas-feature-template-options strong{font-size:calc(9px + 2pt)}}
@media(max-width:899px){#home-view .lh-canvas-feature .lh-canvas-feature-template-option{font-size:calc(9px + 2pt)}}
@media(max-width:899px){#home-view .lh-canvas-feature .lh-canvas-feature-vector-tools button{font-size:calc(9px + 2pt)}}
@media(max-width:899px){#home-view .lh-canvas-feature .lh-canvas-feature-note{font-size:calc(9px + 2pt)}}
@media(max-width:899px){#home-view .lh-canvas-feature .lh-canvas-feature-formats strong{font-size:calc(11px + 2pt)}}
@media(max-width:899px){#home-view .lh-canvas-feature .lh-canvas-feature-format{font-size:calc(10px + 2pt)}}
@media(max-width:899px){#home-view .lh-canvas-feature .lh-canvas-feature-lesson-header{font-size:calc(10px + 2pt)}}
@media(max-width:899px){#home-view .lh-canvas-feature .lh-canvas-feature-lesson-footer{font-size:calc(9px + 2pt)}}
@media(max-width:580px){#home-view .lh-canvas-feature-import-chip{font-size:calc(9px + 2pt)}}
}
