:root{--roy:#de080c;--roy-dark:#8f070a;--roy-soft:#fff1f1;--roy-border:#f5c7c8}
body.business-lesson{--ink:var(--roy-dark);--blue:var(--roy);--cyan:#ff777a;--green:var(--roy);--accent:#f59e0b;--border:#ead6d7;background:linear-gradient(180deg,#fff5f5 0%,#fff 42%,#fff3f3 100%)}
.business-lesson .lesson-header{border-bottom-color:var(--roy-border)}
.business-lesson .academy-back,.business-lesson .course-level-pill{border-color:var(--roy-border);color:var(--roy-dark);box-shadow:0 10px 24px rgba(222,8,12,.08)}
.business-lesson .course-level-pill{background:linear-gradient(135deg,#fff,#fff0f0)}
.business-lesson .access-badge.free{color:var(--roy-dark);background:#fff0f0;border-color:var(--roy-border)}
.business-lesson .progress-fill{background:linear-gradient(90deg,var(--roy-dark),var(--roy),#ff777a)}
.business-lesson .slide{border-color:var(--roy-border);box-shadow:0 24px 80px rgba(143,7,10,.08)}
.business-lesson .slide::before{background-image:linear-gradient(rgba(222,8,12,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(222,8,12,.035) 1px,transparent 1px)}
.business-lesson .lesson-kicker{display:inline-flex;margin-bottom:10px;color:var(--roy);font-size:12px;font-weight:950;letter-spacing:.08em}
.business-lesson .lead-strong{color:var(--roy-dark)}
.business-lesson .goal-item,.business-lesson .body-card{border-color:#eddcdd}
.business-lesson .visual-card{border-color:var(--roy-border);background:linear-gradient(180deg,#fff 0%,#fff0f0 100%)}
.business-lesson .floating-note{border-color:var(--roy-border);color:var(--roy-dark)}
.business-lesson .floating-note.roy-note{display:flex;align-items:center;min-height:82px;padding-left:94px}
.business-lesson .floating-note.roy-note::before{content:"";position:absolute;left:16px;top:50%;width:64px;height:64px;border-radius:50%;background:#fff url('/mascot/mascot-roy.png?v=20260806a') center/contain no-repeat;border:1px solid var(--roy-border);transform:translateY(-50%);box-shadow:0 8px 18px rgba(143,7,10,.12)}
.business-lesson .roy-pop{position:absolute;right:-8px;bottom:-28px;width:250px;max-width:58%;filter:drop-shadow(0 20px 30px rgba(85,8,10,.16))}
.business-lesson .orbit-pill{border-color:#f5b9ba;color:var(--roy-dark)}
.business-lesson .roy-visual>.lesson-orbit{flex-direction:column;align-items:flex-start;max-width:150px}
.business-lesson .step-list li::before{background:linear-gradient(135deg,var(--roy-dark),var(--roy))}
.case-mini{position:absolute;left:22px;right:22px;top:118px;display:grid;grid-template-columns:1fr auto 1fr;gap:8px;align-items:center;padding:18px;border:1px solid var(--roy-border);border-radius:20px;background:#fff}.case-mini strong,.case-mini span{text-align:center}.case-mini strong{color:var(--roy);font-size:13px}.case-mini span{color:#334155;font-size:12px;font-weight:800}.case-mini b{grid-row:1/3;grid-column:2;color:var(--roy);font-size:22px}.case-mini strong:nth-of-type(2){grid-column:3}.case-mini span:nth-of-type(1){grid-column:1}.case-mini span:nth-of-type(2){grid-column:3}
.single-narrow{max-width:900px;width:100%;margin:0 auto;text-align:left}.single-narrow>h2{text-align:center}.business-formula{margin:18px 0;padding:24px;border:1px solid var(--roy-border);border-radius:22px;background:linear-gradient(135deg,var(--roy-dark),#b10a0d);color:#fff;text-align:center;font-size:clamp(17px,2.1vw,25px);font-weight:950;line-height:1.7;box-shadow:0 16px 34px rgba(143,7,10,.18)}
.factor-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:16px}.factor-grid>div{padding:14px;border:1px solid var(--roy-border);border-radius:16px;background:#fff}.factor-grid strong,.factor-grid span{display:block}.factor-grid strong{color:var(--roy);font-size:13px}.factor-grid span{margin-top:4px;color:#64748b;font-size:11px;font-weight:800;line-height:1.55}
.roy-inline{display:grid;grid-template-columns:70px 1fr;gap:14px;align-items:center;margin:18px 0 0;padding:14px 18px;border:1px solid var(--roy-border);border-radius:20px;background:#fff5f5}.roy-inline-speaker{display:grid;justify-items:center;align-content:center}.roy-inline-speaker img{width:70px;height:70px;object-fit:contain}.roy-inline-speaker strong{margin-top:2px;color:var(--roy-dark);font-size:10px}.roy-inline p{position:relative;margin:0;padding:12px 15px;border-radius:16px;background:linear-gradient(135deg,var(--roy-dark),#5f1315);color:#fff;font-size:15px;font-weight:900;line-height:1.7}.roy-inline p::before{content:"";position:absolute;left:-8px;top:34%;width:16px;height:16px;background:var(--roy-dark);transform:translateY(-50%) rotate(45deg)}.roy-inline.wide{max-width:720px;margin:22px auto 0}.roy-inline.summary-callout{max-width:720px;margin:18px auto 0;text-align:left}
.segment-stack{display:grid;gap:12px}.segment-stack article{padding:16px 18px;border:1px solid var(--roy-border);border-radius:18px;background:#fff}.segment-stack article>span{display:inline-flex;margin-right:8px;padding:3px 9px;border-radius:999px;background:var(--roy);color:#fff;font-size:11px;font-weight:950}.segment-stack strong{color:var(--roy-dark)}.segment-stack p{margin:7px 0 0;color:#64748b;font-size:13px;font-weight:750;line-height:1.65}
.decision-board{position:absolute;left:24px;right:24px;top:120px;display:grid;gap:8px}.decision-board span{padding:13px;border:1px solid var(--roy-border);border-radius:14px;background:#fff;color:var(--roy-dark);text-align:center;font-size:13px;font-weight:900}.decision-board b{text-align:center;color:var(--roy);font-size:18px}
.delivery-list{margin-bottom:14px}.business-link{display:inline-flex;padding:10px 16px;border:1px solid var(--roy-border);border-radius:999px;background:#fff;color:var(--roy);font-size:13px;font-weight:900}.delivery-flow{position:absolute;left:20px;right:20px;top:122px;display:grid;grid-template-columns:1fr auto 1fr;gap:8px;align-items:center}.delivery-flow span{padding:12px 8px;border:1px solid var(--roy-border);border-radius:14px;background:#fff;color:var(--roy-dark);text-align:center;font-size:13px;font-weight:950}.delivery-flow b{color:var(--roy);text-align:center}.delivery-flow span:nth-of-type(n+3){margin-top:4px}.delivery-flow span:nth-of-type(3){grid-column:1}.delivery-flow b:nth-of-type(3){grid-column:2}.delivery-flow span:nth-of-type(4){grid-column:3}
.evidence-track{display:grid;grid-template-columns:repeat(7,1fr);gap:7px;margin-top:18px}.evidence-track span{position:relative;display:grid;place-items:center;min-height:82px;padding:10px 8px;border:1px solid var(--roy-border);border-radius:15px;background:linear-gradient(180deg,#fff,#fff5f5);color:#334155;text-align:center;font-size:11px;font-weight:900;line-height:1.5}.evidence-track span::after{content:"→";position:absolute;right:-10px;z-index:2;color:var(--roy);font-size:15px}.evidence-track span:last-child{background:linear-gradient(135deg,var(--roy-dark),var(--roy));color:#fff}.evidence-track span:last-child::after{display:none}
.worksheet-wrap{max-width:840px;width:100%;margin:0 auto;text-align:left}.worksheet-wrap>h2{text-align:center}.business-worksheet{display:grid;gap:13px;margin-top:16px}.business-worksheet label,.proof-field{display:grid;gap:6px;color:#172033;font-size:13px;font-weight:900}.worksheet-columns{display:grid;grid-template-columns:1fr 1fr;gap:12px}.business-worksheet input,.business-worksheet textarea,.proof-field textarea{width:100%;padding:13px 14px;border:1px solid #e3cfd0;border-radius:14px;background:#fff;color:#172033;font:inherit;font-size:14px;line-height:1.6;outline:none}.business-worksheet textarea,.proof-field textarea{min-height:92px;resize:vertical}.business-worksheet input:focus,.business-worksheet textarea:focus,.proof-field textarea:focus{border-color:var(--roy);box-shadow:0 0 0 3px rgba(222,8,12,.09)}
.business-lesson .checkbox-task:hover{border-color:var(--roy)}.business-lesson .checkbox-task input:checked+.custom-check{background:var(--roy);border-color:var(--roy)}.business-lesson .task-mini-btn{border-color:var(--roy-border);background:#fff5f5;color:var(--roy-dark)}
.prompt-box.is-roy{border-color:var(--roy-border);background:#fff7f7}.prompt-box.is-roy .prompt-box-title{background:linear-gradient(135deg,var(--roy-dark),var(--roy));color:#fff}.prompt-box.is-roy .prompt-send{border:1px solid rgba(255,255,255,.55);border-radius:999px;background:#fff;color:var(--roy-dark);padding:6px 12px;font-size:11px;font-weight:950;cursor:pointer}.proof-field{margin-top:16px}.worksheet-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:14px}.copy-work{padding:11px 18px;border:0;border-radius:999px;background:var(--roy);color:#fff;font-size:13px;font-weight:900;cursor:pointer}.status-message{color:var(--roy-dark);font-size:12px;font-weight:850}
.ai-workshop-routes{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:16px}.ai-route-card{display:flex;flex-direction:column;gap:12px;padding:18px;border:1px solid var(--roy-border);border-radius:20px;background:#fff}.ai-route-card.roy-route{background:linear-gradient(145deg,#fff0f0,#fff)}.ai-route-card.own-ai-route{border-color:#d9e1e7;background:linear-gradient(145deg,#f5f7f8,#fff)}.ai-route-head{display:flex;align-items:center;gap:12px}.ai-route-head>img{width:54px;height:54px;object-fit:contain;border-radius:50%;background:#fff}.ai-route-head span{display:block;color:#64748b;font-size:10px;font-weight:900}.ai-route-head h3{margin:2px 0 0;color:#172033;font-size:18px}.ai-logo-stack{display:flex;flex:0 0 auto}.ai-logo-stack img{width:36px;height:36px;padding:5px;border:1px solid #e2e8f0;border-radius:50%;background:#fff;object-fit:contain}.ai-logo-stack img+img{margin-left:-9px}.ai-route-card p{flex:1;margin:0;color:#526177;font-size:12px;font-weight:750;line-height:1.65}.ai-route-button{width:100%;padding:12px 14px;border:0;border-radius:999px;color:#fff;font-size:13px;font-weight:950;cursor:pointer}.roy-button{background:linear-gradient(135deg,var(--roy-dark),var(--roy))}.own-ai-button{background:#101820}.ai-prompt-details{margin:14px 0;border:1px solid #d9e1e7;border-radius:16px;background:#fff;overflow:hidden}.ai-prompt-details summary{padding:13px 16px;color:#334155;font-size:12px;font-weight:900;cursor:pointer;list-style-position:inside}.ai-prompt-details[open] summary{border-bottom:1px solid #e2e8f0;background:#f8fafc}.ai-prompt-details pre{max-height:260px;margin:0;padding:15px 16px;overflow:auto;white-space:pre-wrap;color:#334155;font:700 11px/1.7 "Noto Sans JP",sans-serif}.prompt-copy-button{margin:0 16px 15px;padding:9px 14px;border:1px solid #cbd5e1;border-radius:999px;background:#fff;color:#334155;font-size:11px;font-weight:900;cursor:pointer}.ai-workshop-status{min-height:18px;margin:0 0 8px;text-align:center}.decision-record{margin:8px 0 16px;padding:18px;border:1px solid var(--roy-border);border-radius:22px;background:linear-gradient(180deg,#fff8f8,#fff)}.decision-record-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-end}.decision-record-head span{color:var(--roy);font-size:10px;font-weight:950}.decision-record-head h3{margin:2px 0 0;color:#172033;font-size:20px}.decision-record-head p{max-width:360px;margin:0;color:#64748b;font-size:11px;font-weight:750;line-height:1.6}.decision-fields{margin-top:14px}.print-work-button{display:block;width:100%;margin-top:16px;padding:12px 16px;border:0;border-radius:999px;background:linear-gradient(135deg,var(--roy-dark),var(--roy));color:#fff;font-size:13px;font-weight:950;cursor:pointer}.print-hint{margin:8px 0 0;color:#64748b;font-size:10px;font-weight:750;text-align:center}.print-worksheet{display:none}
.business-lesson .summary-status{border-color:var(--roy-border);background:#fff5f5}.business-lesson [data-summary-complete-only].is-active{color:var(--roy-dark)}
.business-lesson .badge-progress{background:linear-gradient(90deg,var(--roy-dark),var(--roy))}.business-lesson .business-clear-card h2{color:var(--roy-dark)}.business-lesson .next-lesson-box{border-color:var(--roy-border);background:linear-gradient(180deg,#fff5f5,#fff)}.business-lesson .next-lesson-label{background:#ffe5e5;color:var(--roy-dark)}.business-lesson .clear-cta.primary,.business-lesson .nav-btn.next{background:var(--roy-dark);box-shadow:0 14px 32px rgba(143,7,10,.22)}.business-lesson .clear-cta.secondary{color:var(--roy);border-color:var(--roy-border)}.business-lesson .nav-btn.next:hover,.business-lesson .nav-btn.next.is-complete{background:var(--roy)}
.business-lesson .mnk-avatar{border-color:var(--roy);box-shadow:0 10px 26px rgba(143,7,10,.26)}.business-lesson .mnk-head{background:var(--roy-dark)}.business-lesson .mnk-bar{background:linear-gradient(135deg,var(--roy-dark),var(--roy));box-shadow:0 10px 26px rgba(143,7,10,.28)}.business-lesson .mnk-row.me .mnk-bub{background:var(--roy)}
@media(max-width:760px){.business-lesson .lesson-header{padding:10px 12px}.business-lesson .academy-back{max-width:none}.business-lesson .lesson-header-main{padding-right:0;gap:7px}.business-lesson .course-level-pill{flex:0 0 auto}.business-lesson .lesson-header-main>.progress-bar{min-width:76px}.business-lesson .later-close-wrap{right:10px;top:10px}.business-lesson .lesson-shell{padding-top:18px}.factor-grid{grid-template-columns:1fr 1fr}.evidence-track{grid-template-columns:1fr}.evidence-track span{min-height:54px}.evidence-track span::after{right:auto;bottom:-15px;transform:rotate(90deg)}.worksheet-columns{grid-template-columns:1fr}.business-formula{padding:18px 14px}.roy-inline{grid-template-columns:54px 1fr;padding:11px}.roy-inline img{width:54px;height:54px}.roy-inline p{font-size:13px}.visual-card.roy-visual{min-height:330px}.visual-card.diagram-visual{min-height:390px}.business-lesson .floating-note.roy-note{left:16px;right:16px;min-height:92px;padding:12px 12px 12px 78px;font-size:13px}.business-lesson .floating-note.roy-note::before{left:12px;width:54px;height:54px}.business-lesson .roy-pop{width:185px;right:-10px}.case-mini,.delivery-flow,.decision-board{top:142px}.business-lesson .prompt-box pre{font-size:12px;max-height:260px;overflow:auto}.prompt-box.is-roy .prompt-box-title{align-items:flex-start;flex-direction:column}.ai-workshop-routes{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.ai-route-card{min-width:0;padding:10px;gap:8px;text-align:center}.ai-route-head{min-width:0;flex-direction:column;gap:6px;text-align:center}.ai-route-head>img{width:42px;height:42px}.ai-route-head h3{font-size:15px;white-space:nowrap}.ai-route-head span{font-size:9px}.ai-logo-stack{justify-content:center;height:42px;align-items:center}.ai-logo-stack img{width:29px;height:29px}.ai-route-card p{font-size:10px;line-height:1.45}.ai-route-button{padding:10px 5px;font-size:11px;white-space:nowrap}.decision-record{padding:14px}.decision-record-head{display:block}.decision-record-head p{margin-top:7px}.summary-callout{margin-bottom:10px}}

@media print{
  @page{size:A4;margin:12mm}
  body.business-lesson{display:block!important;background:#fff!important;color:#111!important}
  body.business-lesson> *{display:none!important}
  body.business-lesson>.print-worksheet{display:block!important}
  .print-worksheet{width:100%;font-family:"Noto Sans JP",sans-serif;color:#111}
  .print-worksheet header{padding-bottom:5mm;border-bottom:2px solid #a3080b}
  .print-worksheet header span{color:#a3080b;font-size:9pt;font-weight:900;letter-spacing:.08em}
  .print-worksheet h1{margin:2mm 0 1mm;font-size:21pt;line-height:1.25}
  .print-worksheet header p{margin:0;color:#555;font-size:9pt;font-weight:700}
  .print-field{min-height:27mm;margin-top:4mm;padding:4mm;border:1px solid #bbb;border-radius:3mm;break-inside:avoid}
  .print-field strong{display:block;margin-bottom:2mm;color:#8f070a;font-size:10pt}
  .print-field p{margin:0;white-space:pre-wrap;color:#111;font-size:11pt;line-height:1.65}
  .print-field-wide{min-height:23mm}.print-field-tall{min-height:35mm}
  .print-two-columns{display:grid;grid-template-columns:1fr 1fr;gap:4mm}
  .print-worksheet footer{display:flex;justify-content:space-between;align-items:center;margin-top:5mm;padding:4mm;border-radius:3mm;background:#8f070a;color:#fff;font-size:9pt}
  .print-worksheet footer strong{font-size:11pt}
}
