/* Public explanation around canonical cabinet shells; no cabinet style overrides. */
.course-tour{background:var(--cream);overflow:hidden;--tour-line:#e8dcd7;--tour-paper:#fffdf9;}
.tour-inner{max-width:1440px;margin:auto;padding:68px 32px;}
.tour-workspace{display:grid;grid-template-columns:220px minmax(0,1fr);gap:28px;align-items:start;}
.tour-guide{min-width:0;}
.tour-desktop-context{padding:16px 0 0;margin-top:12px;}
.tour-desktop-context h3{margin:0 0 10px;font:500 26px/1.1 'Cormorant Garamond',serif;color:var(--earth);}
.tour-desktop-context p{margin:0;font-size:14px;line-height:1.65;color:var(--earth-md);text-wrap:pretty;}
.tour-heading{max-width:780px;margin:0 auto 32px;text-align:center;}
.tour-heading .section-title{margin-bottom:12px;}
.tour-heading .tag{color:#42634c;}
.tour-lead{max-width:680px;margin:auto;color:var(--earth-md);font-size:17px;line-height:1.7;text-wrap:pretty;}
.tour-guide-label{font-size:12px;color:var(--earth-md);margin-bottom:12px;}
.tour-steps{display:grid;grid-template-columns:1fr;gap:6px;list-style:none;padding:0;margin:0;}
.tour-step{display:flex;align-items:center;gap:10px;width:100%;height:100%;min-height:48px;padding:10px 12px;border:1px solid var(--tour-line);border-radius:12px;background:var(--tour-paper);text-align:left;color:var(--earth);font-family:inherit;cursor:pointer;}
.tour-number{display:grid;place-items:center;flex:none;width:24px;height:24px;border:1px solid var(--tour-line);border-radius:50%;font-size:11px;color:var(--earth-md);}
.tour-step strong{display:block;font-size:13px;font-weight:500;line-height:1.4;}
.tour-step-copy{display:none;}
.tour-step[aria-pressed="true"]{border-color:var(--rose);background:#f8eeea;}
.tour-step[aria-pressed="true"] .tour-number{background:var(--earth);border-color:var(--earth);color:var(--cream);}
.tour-step[aria-pressed="true"] strong,.tour-step:hover strong{color:var(--rose-dk);}
.tour-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:16px;}
.tour-toggle{display:inline-flex;align-items:center;gap:8px;min-height:44px;border:1px solid var(--tour-line);border-radius:10px;padding:8px 13px;color:var(--earth);background:var(--tour-paper);font:500 13px 'Jost',sans-serif;cursor:pointer;}
.tour-control-icon{width:15px;height:15px;fill:currentColor;}
.tour-count{color:var(--earth-md);font-size:12px;}
.tour-timeline{height:2px;background:var(--tour-line);margin:12px 0 0;overflow:hidden;}
.tour-timeline span{display:block;height:100%;width:0;background:var(--rose);}
.tour-stage{position:relative;padding:18px;background:#f3e9e4;border:1px solid #ede1db;border-radius:22px;min-width:0;}
.tour-platform-choice{margin:0 0 16px;}
.tour-platform-switch{display:flex;gap:4px;width:fit-content;max-width:100%;padding:4px;border:1px solid #dfcfc7;border-radius:12px;background:var(--tour-paper);margin-inline:auto;}
.tour-platform-switch button{display:flex;align-items:center;justify-content:center;gap:9px;min-height:44px;min-width:140px;padding:10px 18px;border:0;border-radius:9px;background:transparent;color:var(--earth);font:500 14px 'Jost',sans-serif;cursor:pointer;}
.tour-platform-switch button[aria-pressed="true"]{background:var(--earth);color:var(--cream);}
.tour-platform-switch svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;}
.tour-platform-description{margin:12px auto 0;text-align:center;font-size:13px;line-height:1.55;color:var(--earth-md);}
.tour-mobile-explanation{display:none;margin:16px 0 0;font-size:14px;line-height:1.6;color:var(--earth);text-wrap:pretty;}
.tour-window{position:relative;overflow:hidden;background:var(--cream);border:1px solid #cdb9b2;border-radius:12px;box-shadow:0 18px 42px rgba(74,42,56,.08);}
.tour-window-bar{height:38px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 18px;border-bottom:1px solid var(--tour-line);background:var(--tour-paper);font-size:11px;color:var(--earth-md);}
.tour-window-dots{display:flex;gap:4px;}
.tour-window-dots i{display:block;width:6px;height:6px;border:1px solid #b99d9d;border-radius:50%;}
.tour-telegram-bar{display:none;}
.tour-frame-viewport{overflow:hidden;position:relative;min-width:0;height:760px;}
.tour-frame-viewport iframe{display:block;position:absolute;top:0;left:0;border:0;width:100%;height:760px;transform-origin:top left;background:#fdf8f5;}
.course-tour[data-tour-platform="telegram"] .tour-window{width:100%;max-width:390px;margin-inline:auto;border-radius:24px;}
.course-tour[data-tour-platform="telegram"] .tour-window-bar{display:none;}
.course-tour[data-tour-platform="telegram"] .tour-telegram-bar{display:flex;align-items:center;justify-content:space-between;gap:9px;padding:16px 13px 14px;border-bottom:1px solid var(--tour-line);background:var(--tour-paper);color:var(--earth);font-size:11px;line-height:1.4;}
.tour-telegram-bar>span:nth-child(2){text-align:center;}
.tour-telegram-bar strong{font-weight:500;font-size:13px;display:block;}
.tour-telegram-bar small{display:block;color:var(--earth-md);font-size:10px;margin-top:2px;}
.tour-telegram-bar>span:last-child{font-size:21px;line-height:1;}
.tour-preview-footer{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-top:16px;}
.tour-stage-note{max-width:520px;margin:0;font-size:12px;line-height:1.55;color:var(--earth-md);}
.tour-preview-footer>a{display:flex;align-items:center;flex:none;min-height:44px;color:var(--earth);font-size:13px;}
.tour-announcement{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;}
.tour-footer{display:flex;align-items:center;justify-content:space-between;gap:32px;padding-top:22px;margin-top:24px;border-top:1px solid var(--tour-line);}
.tour-footer-copy{max-width:760px;font-size:14px;line-height:1.65;color:var(--earth-md);}
.tour-footer-copy strong{color:var(--earth);font-weight:500;}
.tour-footer .btn-main{flex:none;white-space:nowrap;}
.course-tour [hidden]{display:none!important;}
.course-tour button:focus-visible,.course-tour a:focus-visible{outline:3px solid var(--rose-dk);outline-offset:4px;}
body.tour-in-view .sticky,body.tour-in-view .mobile-cta,body.tour-in-view .tg-widget,body.tour-in-view .back-to-top{display:none!important;}
.course-tour:not(.tour-enhanced) .tour-step-copy{display:block;font-size:13px;line-height:1.5;margin-top:6px;}
.course-tour:not(.tour-enhanced) .tour-workspace{display:block;}
.course-tour:not(.tour-enhanced) .tour-steps{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:24px;}
.course-tour:not(.tour-enhanced) .tour-desktop-context{display:none;}
@media(min-width:1061px){
  .course-tour[data-tour-platform="telegram"] .tour-workspace{max-width:760px;margin-inline:auto;grid-template-columns:minmax(0,1fr) 426px;gap:48px;}
}
@media(max-width:1060px){
  .tour-workspace{display:block;}
  .tour-steps{grid-template-columns:repeat(4,minmax(0,1fr));}
  .tour-step{flex-direction:column;align-items:flex-start;gap:6px;padding:10px;min-height:74px;}
  .tour-step strong{font-size:12px;}
  .tour-desktop-context{display:none;}
  .tour-mobile-explanation{display:block;}
  .tour-guide{margin-bottom:18px;}
  .tour-inner{padding:56px 24px;}
}
@media(max-width:760px){
  .tour-steps{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;}
  .tour-step{flex-direction:row;align-items:center;gap:5px;padding:7px 6px;min-height:50px;}
  .tour-number{width:20px;height:20px;font-size:10px;}
  .tour-step strong{font-size:11px;line-height:1.3;}
  .tour-guide-label{margin-bottom:8px;}
  .tour-controls{margin-top:10px;}
  .tour-stage{padding:12px;}
  .tour-platform-description{font-size:12px;margin-top:8px;}
  .tour-preview-footer{gap:8px;flex-wrap:wrap;margin-top:12px;}
  .tour-preview-footer>a{font-size:12px;min-height:44px;}
  .tour-footer{flex-direction:column;gap:14px;align-items:stretch;}
  .tour-footer .btn-main{width:100%;justify-content:center;}
  .tour-lead{font-size:15px;line-height:1.55;}
  .tour-heading{margin-bottom:20px;}
}
@media(max-width:480px){
  .tour-step .tour-number{display:none;}
  .tour-step{justify-content:center;text-align:center;}
  .tour-step strong{overflow-wrap:normal;word-break:normal;hyphens:none;}
  .tour-inner{padding:36px 16px;}
  .tour-heading .section-title{font-size:36px;line-height:1.05;margin-bottom:10px;}
  .tour-heading .tag{margin-bottom:12px;}
  .tour-stage{padding:8px;border-radius:16px;}
  .tour-platform-switch{width:100%;}
  .tour-platform-switch button{flex:1;min-width:0;padding:10px 8px;font-size:13px;}
  .tour-platform-choice{margin:0 0 12px;}
  .tour-mobile-explanation{margin:14px 4px 0;font-size:13px;}
  .tour-window-bar{padding:0 10px;font-size:10px;}
  .tour-stage-note{font-size:11px;}
  .tour-footer-copy{font-size:13px;}
}
@media(max-width:360px){
  .tour-step .tour-number{display:none;}
  .tour-step{justify-content:center;text-align:center;}
}
