/* First-party synthetic product workspace. Only the tour page loads this file. */
@media screen {
  .tour-icon-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
  .tour-screen { grid-template-columns: 164px minmax(0, 1fr); min-height: 570px; }
  .tour-rail { align-items: stretch; gap: 6px; padding: 18px 10px; background: #e8f2f7; }
  .tour-rail-logo { margin: 0 0 20px 8px; }
  .tour-rail-item { display: flex; align-items: center; gap: 9px; min-height: 42px; border-radius: 10px; padding: 8px 10px; color: #49667b; font-size: .78rem; font-weight: 740; }
  .tour-rail-item.active { color: #125c73; background: #fff; box-shadow: 0 2px 6px #1a50631a; }
  .tour-rail-item svg, .tour-metric-icon svg, .tour-step-icon svg, .tour-feed-icon svg, .tour-lesson-footer svg, .tour-roster-note svg, .tour-workflow-line svg, .ledger-icon svg { width: 19px; height: 19px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .tour-canvas { padding: 0; }
  .tour-app-bar { display: flex; justify-content: space-between; align-items: center; gap: 15px; min-height: 68px; border-bottom: 1px solid #d1e0e9; padding: 12px clamp(16px, 3vw, 30px); background: #fff; }
  .tour-app-bar div { display: grid; gap: 2px; }
  .tour-app-bar strong { color: #173f58; font-size: .9rem; }
  .tour-app-bar span { color: #5d7585; font-size: .75rem; }
  .tour-app-role { border: 1px solid #c6dfdb; border-radius: 999px; padding: 6px 10px; color: #17645d !important; background: #eff9f5; white-space: nowrap; }
  .tour-panel { padding: clamp(18px, 3vw, 30px); }
  .tour-canvas-title { align-items: flex-start; margin-bottom: 22px; }
  .tour-canvas-title h3 { font-size: clamp(1.4rem, 2.2vw, 1.85rem); }
  .tour-canvas-title p { margin: 7px 0 0; color: #526d7e; font-size: .9rem; }
  .tour-metric-icon, .tour-step-icon, .tour-feed-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; }
  .tour-metric-icon.blue, .tour-step-icon.blue, .tour-feed-icon.blue { color: #1e62a3; background: #e4f1ff; }
  .tour-metric-icon.green, .tour-step-icon.green, .tour-feed-icon.green { color: #15715e; background: #e3f6ee; }
  .tour-metric-icon.amber, .tour-step-icon.amber, .tour-feed-icon.amber { color: #99610b; background: #fff2d8; }
  .tour-step-icon.cyan { color: #117889; background: #dff6f8; }
  .tour-kpi-grid article { gap: 5px; min-height: 164px; padding: 17px; }
  .tour-kpi-grid strong { color: #183f59; font-size: 1.8rem; }
  .tour-kpi-grid span:not(.tour-metric-icon) { color: #436476; font-size: .8rem; }
  .tour-block-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  .tour-block-head div { display: grid; gap: 3px; }
  .tour-block-head strong { color: #173f58; }
  .tour-block-head small { color: #587083; font-size: .79rem; }
  .tour-block-head > span { flex: none; border-radius: 999px; padding: 5px 9px; color: #146b62; background: #e4f6ef; font-size: .74rem; font-weight: 750; }
  .tour-feed { padding: 18px; }
  .tour-feed p { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 12px; align-items: center; border-top: 1px solid #e1ecf1; padding-top: 12px; }
  .tour-feed p > span:nth-child(2) { display: grid; gap: 2px; }
  .tour-feed p strong { color: #1d425c; font-size: .86rem; }
  .tour-feed p small { color: #5a7180; font-size: .77rem; }
  .tour-feed em { color: #657989; font-size: .75rem; font-style: normal; }
  .tour-pipeline { gap: 7px; }
  .tour-pipeline article { min-height: 165px; padding: 13px; }
  .tour-pipeline article strong { margin: 9px 0 3px; color: #1c4c69; font-size: 1.65rem; }
  .tour-pipeline article p { font-size: .77rem; }
  .tour-pipeline > i { width: 10px; }
  .tour-case-head { margin-top: 22px; }
  .tour-focus-row { margin-top: 10px; }
  .tour-focus-row strong { color: #1d425c; }
  .tour-classroom-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 14px; }
  .tour-lesson-card, .tour-roster-card { min-width: 0; border: 1px solid #c8dbe5; border-radius: 18px; padding: 17px; background: #fff; box-shadow: 0 9px 20px #1c50600d; }
  .tour-lesson-visual { display: grid; place-items: center; gap: 1px; min-height: 156px; margin-top: 15px; border-radius: 13px; color: #e9fbf2; background: linear-gradient(145deg, #145a50, #247568); font-family: Georgia, serif; font-size: 1.12rem; box-shadow: inset 0 2px 7px #092b2d38; }
  .tour-lesson-visual strong { border-top: 1px solid #abdbc8; padding-top: 5px; font-size: 1.4rem; }
  .tour-lesson-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; margin-top: 12px; color: #466678; font-size: .77rem; }
  .tour-lesson-footer span:first-child { display: inline-flex; align-items: center; gap: 5px; color: #1c6572; font-weight: 720; }
  .tour-lesson-footer svg { width: 16px; height: 16px; }
  .tour-attendance-bar { overflow: hidden; height: 12px; margin: 27px 0 22px; border-radius: 999px; background: #f8e1c4; }
  .tour-attendance-bar span { display: block; width: 93.55%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #3bbd8c, #167b67); }
  .tour-roster-card > p { margin: 13px 0; color: #35566b; font-size: .86rem; }
  .tour-dot { display: inline-block; width: 9px; height: 9px; margin-right: 5px; border-radius: 50%; }
  .tour-dot.green { background: #2aa87d; }
  .tour-dot.amber { background: #d9942f; }
  .tour-roster-note { display: flex; gap: 9px; margin-top: 20px; border-radius: 11px; padding: 11px; color: #32576a; background: #eaf3f6; font-size: .78rem; line-height: 1.45; }
  .tour-roster-note svg { color: #1f7590; }
  .tour-workflow-line { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 16px; border: 1px solid #d3e3e9; border-radius: 13px; padding: 12px; background: #fff; }
  .tour-workflow-line span { display: inline-flex; align-items: center; gap: 6px; color: #315d6e; font-size: .8rem; font-weight: 720; }
  .tour-workflow-line svg { width: 16px; height: 16px; color: #248576; }
  .tour-workflow-line i { width: 14px; height: 1px; background: #a7c5cf; }
  .tour-finance-overview { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .tour-finance-overview article { display: grid; gap: 5px; min-width: 0; border: 1px solid #cbdee6; border-radius: 16px; padding: 15px; background: #fff; }
  .tour-finance-overview small { color: #36617a; font-size: .8rem; font-weight: 730; }
  .tour-finance-overview strong { color: #173f58; font-size: 1.65rem; }
  .tour-finance-overview p { margin: 0; color: #596f7d; font-size: .76rem; }
  .tour-ledger { margin-top: 18px; border: 1px solid #ccdee6; border-radius: 18px; padding: 18px; background: #fff; }
  .tour-ledger article { grid-template-columns: 39px minmax(0, 1fr); gap: 11px; border: 0; border-top: 1px solid #e3edf0; border-radius: 0; padding: 12px 0 0; background: transparent; box-shadow: none; }
  .ledger-icon, .ledger-icon.shield, .ledger-icon.trail { width: 36px; height: 36px; border-radius: 10px; }
  .ledger-icon svg { width: 18px; height: 18px; }
  .tour-ledger strong { color: #1b445b; font-size: .9rem; }
  .tour-ledger p { font-size: .77rem; }
}
@media screen and (max-width: 900px) {
  .tour-screen { grid-template-columns: 56px minmax(0, 1fr); }
  .tour-rail { align-items: center; }
  .tour-rail-logo { margin: 0 0 15px; }
  .tour-rail-item { justify-content: center; width: 38px; padding: 8px; }
  .tour-rail-item span { display: none; }
  .tour-pipeline > i { width: 5px; }
}
@media screen and (max-width: 620px) {
  .tour-screen { display: block; }
  .tour-rail { display: none; }
  .tour-app-bar { min-height: 60px; }
  .tour-app-bar strong { font-size: .8rem; }
  .tour-app-role { display: none; }
  .tour-canvas-title { flex-wrap: wrap; }
  .tour-canvas-title p { font-size: .83rem; }
  .tour-kpi-grid, .tour-finance-overview, .tour-classroom-grid { grid-template-columns: 1fr; }
  .tour-kpi-grid article { min-height: 125px; }
  .tour-pipeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tour-pipeline > i { display: none; }
  .tour-pipeline article { min-height: 135px; }
  .tour-feed p { grid-template-columns: 32px minmax(0, 1fr); }
  .tour-feed em { grid-column: 2; }
  .tour-block-head { align-items: flex-start; }
  .tour-block-head > span { white-space: normal; text-align: center; }
  .tour-workflow-line i { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .tour-panel { animation: none; }
}
