﻿/* REPER: six linked records, chapter controls and isolated training workspace. */
.pin-293{left:14.322%;top:66.31%}
.pin-148{left:91.756%;top:36.694%}
.ticket-selector.is-enhanced{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))}
.ticket-selector button{display:block;min-width:0}
.ticket-selector b{display:block;margin-bottom:5px}
.ticket-selector span{overflow-wrap:anywhere}
#showcase .showcase-toolbar{display:block;padding:0;border:0;margin-bottom:16px}
#showcase .chapter-tabs.is-enhanced{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;background:none;padding:0;border-radius:0}
#showcase .chapter-tabs button{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:5px;min-height:116px;padding:16px 20px;text-align:left;white-space:normal;background:#fff;border:1px solid var(--border);border-radius:12px;overflow:hidden;box-shadow:none}
#showcase .chapter-tabs button[aria-selected=true]{background:#e6f1fc;border-color:var(--blue);color:var(--navy)}
.chapter-index{display:flex;justify-content:space-between;align-items:center;width:100%;font-size:11px;color:var(--muted);letter-spacing:.07em}
.chapter-current{visibility:hidden;font-size:10px;font-weight:700;letter-spacing:0}
[aria-selected=true] .chapter-current{visibility:visible;color:var(--blue)}
.chapter-title{font-size:18px;font-weight:700;line-height:1.2;color:var(--navy)}
.chapter-benefit{font-size:13px;color:var(--muted)}
.chapter-progress{position:absolute;left:0;right:0;bottom:0;height:3px;background:transparent}
.chapter-progress i{display:block;height:100%;background:var(--blue);transform:scaleX(0);transform-origin:left}
#showcase .slider-controls{margin:0 0 20px;gap:10px;flex-wrap:wrap}
#showcase #slide-counter{margin-right:auto;font-size:13px;letter-spacing:0;color:var(--navy)}
#showcase #carousel-state{font-size:12px;letter-spacing:0;margin-right:6px;max-width:340px}
#showcase #carousel-playback{width:auto;height:auto;min-height:48px;padding:10px 18px;border-radius:9px;font-size:14px;font-weight:700}
#showcase [data-slide-prev],#showcase [data-slide-next]{flex:none}
#roleplay{border-top:1px solid #ffffff26;padding-top:72px;margin-top:72px}
#roleplay .section-heading{align-items:flex-end}
#roleplay .section-heading h2{font-size:clamp(38px,4.3vw,62px)}
#roleplay .section-intro{max-width:295px}
.roleplay-disclaimer{display:flex;align-items:baseline;gap:22px;margin-bottom:20px;color:#d8e2ec;font-size:13px}
.roleplay-disclaimer strong{font-size:14px;color:#fff;white-space:nowrap}
#roleplay-interactive.is-enhanced{display:block!important}
.roleplay-board{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);grid-template-areas:'context workspace' 'history workspace';background:#fff;color:var(--text);border:1px solid var(--border);border-radius:18px;overflow:hidden}
.roleplay-context{grid-area:context;padding:28px 28px 24px;background:#f8fafc;border-right:1px solid var(--border)}
.roleplay-context h3{font-size:25px;line-height:1.2;margin:12px 0}
.roleplay-location{font-size:13px;color:var(--muted)}
.roleplay-source{margin-top:22px}
.roleplay-source img{width:100%;height:180px;object-fit:cover;object-position:50% 45%;border-radius:9px}
.roleplay-source figcaption{font-size:12px;color:var(--muted);margin-top:8px}
.roleplay-metadata{display:grid;gap:16px;margin-top:20px}
.roleplay-metadata dt{font-size:12px;color:var(--muted);margin-bottom:5px}
.roleplay-metadata dd{font-size:14px}
.roleplay-workspace{grid-area:workspace;padding:30px 34px;min-width:0}
.roleplay-role-label{font-size:13px;color:var(--muted);margin-bottom:12px}
.roleplay-roles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.roleplay-roles button{min-height:76px;padding:14px 16px;border:1px solid var(--border);border-radius:10px;background:#fff;text-align:left;line-height:1.3;min-width:0}
.roleplay-roles button>span{display:block;font-size:16px;font-weight:700}
.roleplay-roles small{display:block;font-size:12px;color:var(--muted);margin-top:5px}
.roleplay-roles button[aria-pressed=true]{background:var(--blue);border-color:var(--blue);color:#fff}
.roleplay-roles button[aria-pressed=true] small{color:#fff}
.roleplay-roles button[aria-pressed=true]>span:before{content:'\2713';margin-right:7px}
.roleplay-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;list-style:none;padding:0 0 24px;margin:26px 0;border-bottom:1px solid var(--border)}
.roleplay-steps li{font-size:12px;color:var(--muted);line-height:1.4;min-width:0}
.roleplay-steps li>span{display:inline-grid;place-items:center;width:25px;height:25px;background:var(--canvas);border-radius:50%;margin-right:5px;font-size:12px;font-weight:700}
.roleplay-steps li[aria-current=step]{color:var(--blue);font-weight:700}
.roleplay-steps li[aria-current=step]>span{background:var(--blue);color:#fff}
.roleplay-steps li.is-complete>span{background:#e6f1fc;color:var(--blue)}
#roleplay-task{font-size:30px;line-height:1.15;margin-bottom:16px;overflow-wrap:anywhere}
#roleplay-content{min-width:0;line-height:1.6}
#roleplay-content p{margin-bottom:16px}
.roleplay-hint{font-size:14px;color:var(--muted);line-height:1.6}
.roleplay-form{display:grid;gap:20px;margin-top:20px}
.roleplay-field{display:grid;gap:8px}
.roleplay-field label,.roleplay-field>span{font-size:14px;font-weight:700}
.roleplay-field textarea,#roleplay-content textarea{display:block;width:100%;min-height:112px;resize:vertical;border:1px solid #8b9bad;border-radius:8px;padding:12px 14px;font:16px/1.5 var(--body);color:var(--text);background:#fff}
.roleplay-field textarea:focus-visible{outline:3px solid #003264;outline-offset:3px}
.roleplay-field textarea[aria-invalid=true]{border-color:#a52616}
.roleplay-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:24px}
#roleplay-content button{min-height:44px;line-height:1.4;white-space:normal}
#roleplay-content .button{justify-content:center;gap:12px;text-align:center}
#roleplay-content .button:not(.button-blue):not(.button-dark){background:#fff;border:1px solid var(--border);color:var(--blue)}
#roleplay-content .text-button{padding:10px 12px}
.roleplay-evidence{padding:16px;border:1px solid var(--border);border-radius:10px;background:#f8fafc;margin-top:16px}
.roleplay-evidence img{width:100%;max-height:220px;object-fit:contain;background:#edf2f6;border-radius:6px}
.roleplay-evidence figcaption{font-size:12px;line-height:1.5;color:var(--muted);margin-top:10px}
.roleplay-handoff,.roleplay-review{padding:20px;background:#f3f7fb;border:1px solid var(--border);border-radius:10px;margin-top:20px;overflow-wrap:anywhere;white-space:pre-wrap}
.roleplay-review h4{font-size:18px;margin-bottom:12px}
.roleplay-success{padding:20px 0;color:var(--navy)}
.roleplay-success svg{color:var(--blue)}
.roleplay-error{color:#a52616;font-size:14px;font-weight:600;margin-top:8px}
.roleplay-history{grid-area:history;background:#f8fafc;border-right:1px solid var(--border);padding:0 28px 28px;min-width:0}
.roleplay-history h4{font-size:17px;margin-bottom:18px;padding-top:22px;border-top:1px solid var(--border)}
#roleplay-history-list{list-style:none;margin:0;padding:0 0 0 14px;border-left:1px solid var(--border)}
#roleplay-history-list li{position:relative;margin-bottom:18px;font-size:13px;line-height:1.5;overflow-wrap:anywhere;white-space:pre-wrap}
#roleplay-history-list li:last-child{margin-bottom:0}
#roleplay-history-list li:before{content:'';position:absolute;left:-18px;top:6px;width:7px;height:7px;background:var(--blue);border-radius:50%}
#roleplay-history-list strong{display:block;color:var(--navy);font-size:12px}
#roleplay-history-list p{margin-top:5px;color:var(--muted)}
#roleplay-fallback{padding:28px;background:#fff;color:var(--text);border-radius:14px;line-height:1.7}
@media(max-width:1100px){.ticket-selector.is-enhanced{grid-template-columns:repeat(2,minmax(0,1fr))}.roleplay-context{padding:24px 22px}.roleplay-workspace{padding:26px}.roleplay-history{padding-inline:22px}.roleplay-roles button{padding:12px}.roleplay-roles button>span{font-size:15px}}
@media(max-width:900px){.roleplay-board{grid-template-columns:1fr;grid-template-areas:'context' 'workspace' 'history'}.roleplay-context{display:grid;grid-template-columns:minmax(0,1fr) 180px;gap:20px;border-right:0;border-bottom:1px solid var(--border)}.roleplay-source{grid-column:2;grid-row:1/3;margin-top:0}.roleplay-source img{height:170px}.roleplay-metadata{margin-top:0;grid-template-columns:1fr 1fr}.roleplay-history{border-right:0;border-top:1px solid var(--border);padding:24px}.roleplay-history h4{border:0;padding-top:0}.roleplay-context h3{font-size:23px}#roleplay .section-heading{display:block}#roleplay .section-intro{margin-top:24px;max-width:500px}#showcase #carousel-state{flex-basis:100%;order:5;max-width:none}}
@media(max-width:760px){#showcase .chapter-tabs.is-enhanced{gap:8px}#showcase .chapter-tabs button{padding:12px 10px;min-height:100px;gap:9px}.chapter-title{font-size:14px;line-height:1.3}.chapter-benefit{display:none}.chapter-current{font-size:9px}.chapter-index{font-size:10px}#showcase .slider-controls{gap:8px}#showcase #slide-counter{flex:1;min-width:85px;font-size:12px}#showcase #carousel-playback{padding:10px 12px}#roleplay{margin-top:48px;padding-top:48px}#roleplay .section-heading h2{font-size:42px;overflow-wrap:anywhere}.roleplay-disclaimer{display:block;line-height:1.6}.roleplay-disclaimer p{margin-top:8px}.roleplay-workspace{padding:24px}.roleplay-steps{gap:6px}.roleplay-steps li>span{display:grid;margin-bottom:7px}.roleplay-context{grid-template-columns:minmax(0,1fr) 120px;gap:16px}.roleplay-source img{height:140px}.roleplay-metadata{grid-column:1/-1}.roleplay-context h3{font-size:22px}.roleplay-source{grid-row:1}#roleplay-task{font-size:27px}}
@media(max-width:400px){#showcase .chapter-tabs button{padding:12px 8px;min-height:112px}.chapter-current{display:none}[aria-selected=true] .chapter-index:after{content:'\2713';font-size:12px}.chapter-title{font-size:13px}#showcase #slide-counter{flex-basis:100%}#showcase #carousel-playback{margin-right:auto}#roleplay .section-heading h2{font-size:34px}.roleplay-context{padding:20px;grid-template-columns:minmax(0,1fr) 80px;gap:12px}.roleplay-context h3{font-size:20px}.roleplay-source img{height:116px}.roleplay-source figcaption{font-size:10px}.roleplay-metadata{grid-template-columns:1fr;gap:12px}.roleplay-workspace,.roleplay-history{padding:20px}.roleplay-roles{gap:8px}.roleplay-roles button{padding:10px 8px}.roleplay-roles button>span{font-size:13px;overflow-wrap:anywhere}.roleplay-roles small{font-size:11px}.roleplay-steps li{font-size:11px}#roleplay-task{font-size:25px}.roleplay-actions{align-items:stretch;flex-direction:column}.roleplay-actions button{width:100%}.roleplay-handoff,.roleplay-review,.roleplay-evidence{padding:14px}}
@media(prefers-reduced-motion:reduce){.chapter-progress i{transition:none!important}}
.roleplay-steps li.is-complete>span{font-size:0}
.roleplay-steps li.is-complete>span:after{content:'\2713';font-size:13px}
#roleplay-status[data-status=ASSIGNED_TO_CONTRACTOR],#roleplay-status[data-status=SUBMITTED_FOR_REVIEW]{background:#e6f1fc;color:#0054a8}
#roleplay-status[data-status=ASSIGNED_TO_CONTRACTOR]:before,#roleplay-status[data-status=SUBMITTED_FOR_REVIEW]:before{background:var(--blue)}
#roleplay-status[data-status=CLOSED]{background:#edf8e4;color:#356300}
#roleplay-status[data-status=CLOSED]:before{background:#4c840a}
#roleplay-content .button-primary{background:var(--blue);color:#fff;border-color:var(--blue)}
#roleplay-content p{white-space:pre-wrap;overflow-wrap:anywhere}
/* Rendered correction: preserve canvas continuity and narrow-screen reading order. */
#showcase .app-main{display:flex;flex-direction:column}
#showcase .app-workspace{flex:1}
.skip-link{opacity:0}
.skip-link:focus{opacity:1}
@media(max-width:360px){
 .roleplay-context{grid-template-columns:minmax(0,1fr)}
 .roleplay-source{grid-column:1;grid-row:auto}
 .roleplay-source img{height:160px;width:100%}
 .roleplay-source figcaption{font-size:12px}
 .roleplay-metadata{grid-column:1}
 .roleplay-roles{grid-template-columns:minmax(0,1fr)}
 .roleplay-roles button{padding:12px 14px;min-height:68px}
 .roleplay-roles button>span{font-size:15px;overflow-wrap:normal}
 .roleplay-roles small{font-size:12px}
}

/* Additional curated points on the original fourth-floor plan. */
.pin-287{left:17.009%;top:49.318%}
.pin-367{left:62.621%;top:47.976%}
.pin-198{left:55.248%;top:8.082%}
.pin-232{left:26.289%;top:6.236%}
.pin-238{left:38.321%;top:23.759%}
.pin-311{left:11.209%;top:92.239%}

@media(min-width:761px) and (max-width:1000px){.map-detail-layout{grid-template-columns:1fr}.ticket-detail{border-left:0;border-top:1px solid var(--border)}.ticket-detail .ticket-photo{aspect-ratio:16/9}}
