/* Public demo only: these rules never change the authenticated application. */
.demo-tour{--muted:#526e8d;font-size:13px;color:#173b66}
.demo-tour .app-shell{grid-template-columns:236px minmax(0,1fr)}
.demo-tour .side{padding:23px 14px;overflow-y:auto;overscroll-behavior:contain}
.demo-tour .brand{margin-left:10px}.demo-tour .brand b{font-size:43px}.demo-tour .brand span{font-size:23px}
.demo-tour .center-switch{margin:24px 0 22px}.demo-tour .side nav{gap:3px}
.demo-tour .side nav a{font-size:11px;line-height:1.35;padding:10px 12px;min-height:40px;gap:10px}
.demo-tour .nav-label{font-size:9px;color:#576f8a;letter-spacing:1.2px}
.demo-tour .tour-module-label{margin-top:23px}.demo-tour .side-footer{padding:20px 10px 0;margin-top:10px}
.demo-tour .side-footer a{font-size:10px;color:#456481}
.demo-tour .topbar{height:70px;padding:0 28px}.demo-tour .demo-banner{padding:10px 28px}
.demo-tour .tour-top-actions{display:flex;gap:12px;align-items:center;flex-shrink:0}
.demo-tour main{padding:26px 28px;max-width:1400px;min-width:0}
.demo-tour h1{font-size:24px;line-height:1.25;letter-spacing:-.5px;margin:0 0 8px}
.demo-tour h2{font-size:15px;line-height:1.4;letter-spacing:-.2px}
.demo-tour h3{font-size:13px;line-height:1.4;margin:0 0 7px}
.demo-tour p{line-height:1.6}.demo-tour button:disabled{cursor:default}
.demo-tour .primary,.demo-tour .secondary{font-size:11px;min-height:40px;padding:10px 14px;line-height:1.4}
.demo-tour .icon-button{min-width:40px;min-height:40px}
.demo-tour .tour-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:22px;flex-wrap:wrap}
.demo-tour .tour-heading p{font-size:12px;color:var(--muted);margin:0;max-width:670px}
.demo-tour .tour-heading h2{margin-bottom:5px}
.demo-tour .kpis{gap:14px;margin-bottom:20px}.demo-tour .kpi{padding:17px;border-radius:12px}
.demo-tour .kpi strong{font-size:27px;margin-top:10px}.demo-tour .kpi h2{font-size:11px}
.demo-tour .kpi p{font-size:10px;color:#526e8d}
.demo-tour .overview-grid{gap:18px}.demo-tour .panel{padding:20px;box-shadow:none}
.demo-tour .room-name small,.demo-tour .arrival-row small{color:#5a7490}
.demo-tour .arrival-row{min-height:62px}.demo-tour .arrival-row time{color:#54708e}
.demo-tour .panel-heading a{font-size:11px}.demo-tour .room-row{min-height:65px}
.demo-tour .tour-modules-section{margin-top:28px}
.demo-tour .tour-module-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.demo-tour .tour-module-card{display:flex;align-items:flex-start;gap:12px;padding:18px;background:#fff;border:1px solid #e0e9f4;border-radius:12px;min-width:0;transition:border-color .15s,box-shadow .15s}
.demo-tour .tour-module-card:hover{border-color:#91bfe9;box-shadow:0 3px 13px #2453870c}
.demo-tour .tour-module-card .tile{width:32px;height:32px;border-radius:9px}.demo-tour .tour-module-card .tile svg{width:19px;height:19px}
.demo-tour .tour-module-card h3{font-size:12px;margin:0 0 5px}.demo-tour .tour-module-card p{font-size:11px;color:var(--muted);margin:0}
.demo-tour .tour-module-card>span:last-child{margin-left:auto;color:#527795;font-size:18px}
.demo-tour .tour-panel,.demo-tour .tour-card{background:#fff;border:1px solid #e0e9f4;border-radius:12px;padding:20px;min-width:0}
.demo-tour .tour-panel{margin-bottom:18px}.demo-tour .tour-card{padding:16px}
.demo-tour .tour-panel>h2,.demo-tour .tour-panel>h3{margin-bottom:14px}
.demo-tour .tour-panel>p,.demo-tour .tour-card>p{font-size:12px;color:#526e8d}
.demo-tour .tour-grid,.demo-tour .tour-grid-three{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}
.demo-tour .tour-grid-three{grid-template-columns:repeat(3,minmax(0,1fr))}
.demo-tour .tour-grid>.tour-panel,.demo-tour .tour-grid-three>.tour-panel{margin-bottom:0}
.demo-tour .tour-grid,.demo-tour .tour-grid-three{margin-bottom:18px}
.demo-tour .tour-tabs{display:flex;gap:6px;flex-wrap:wrap;align-items:center;padding:8px;border:1px solid #e0e9f4;border-radius:12px;background:#fff;margin:0 0 20px}
.demo-tour .tour-tabs a,.demo-tour .tour-tabs button{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:10px 13px;font-size:12px;font-weight:500;line-height:1.35;color:#526e8d;background:transparent;border:1px solid transparent;border-radius:8px}
.demo-tour .tour-tabs .is-active,.demo-tour .tour-tabs [aria-selected=true],.demo-tour .tour-tabs [aria-pressed=true]{background:#ecf6ff;border-color:#d1e7fd;color:#006bbf}
.demo-tour .tour-filters{display:flex;flex-wrap:wrap;gap:14px;align-items:end;padding:16px;background:#fff;border:1px solid #e0e9f4;border-radius:12px;margin:0 0 20px}
.demo-tour .tour-filters label{display:grid;gap:7px;min-width:140px;flex:1;font-size:11px;color:#526e8d;font-weight:400}
.demo-tour input,.demo-tour select,.demo-tour textarea{max-width:100%;min-width:0;color:#23496f;background:#fff;border:1px solid #cddfef;border-radius:8px;padding:10px 12px;font:inherit;font-size:12px;min-height:40px}
.demo-tour input[type=checkbox]{min-height:18px;width:18px;height:18px;accent-color:#0879de;flex-shrink:0}
.demo-tour textarea{min-height:80px;resize:vertical}
.demo-tour .search-field input{border:0;padding-left:0}.demo-tour .filters select{font-size:11px}
.demo-tour .tour-table-wrap{overflow-x:auto;max-width:100%;overscroll-behavior-x:contain}
.demo-tour .tour-table-wrap table{font-size:12px;white-space:normal;min-width:500px}
.demo-tour .tour-table-wrap th,.demo-tour .tour-table-wrap td{font-size:11px;padding:13px 12px}
.demo-tour .tour-table-wrap th{color:#526e8d}.demo-tour .tour-table-wrap td strong{font-size:12px;font-weight:600}
.demo-tour .tour-table-wrap td small{display:block;margin-top:5px;font-size:10px;color:#526e8d}
.demo-tour .tour-facts{display:grid;gap:0;margin:12px 0 0}
.demo-tour .tour-facts>div{display:flex;justify-content:space-between;align-items:baseline;gap:16px;padding:12px 0;border-bottom:1px solid #edf2f7;min-width:0}
.demo-tour .tour-facts>div:last-child{border-bottom:0}
.demo-tour .tour-facts dt{font-size:11px;font-weight:400;color:#526e8d}
.demo-tour .tour-facts dd{font-size:12px;margin:0;text-align:right;overflow-wrap:anywhere}
.demo-tour .tour-row{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap}
.demo-tour .tour-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-top:16px}
.demo-tour .tour-list{display:grid;gap:12px;padding:0;list-style:none;margin:14px 0}
.demo-tour .tour-badge{display:inline-flex;align-items:center;gap:5px;font-size:10px;font-weight:500;color:#486989;background:#eff5fb;border-radius:7px;padding:6px 9px;line-height:1.4}
.demo-tour .tour-badge.green{color:#216943;background:#e8f7ee}.demo-tour .tour-badge.blue{color:#166194;background:#eaf5ff}.demo-tour .tour-badge.orange{color:#885814;background:#fff5df}.demo-tour .tour-badge.purple{color:#704593;background:#f3eafa}
.demo-tour .tour-note{font-size:11px;color:#526e8d;line-height:1.6;margin:12px 0}
.demo-tour .tour-empty{text-align:center;padding:28px 15px;color:#526e8d;font-size:12px;grid-column:1/-1}
.demo-tour .tour-stat{padding:18px;background:#fff;border:1px solid #e0e9f4;border-radius:12px;min-width:0}
.demo-tour .tour-stat>strong{display:block;font-size:22px;line-height:1.3;margin-top:8px}.demo-tour .tour-stat p,.demo-tour .tour-stat small{font-size:11px;color:#526e8d}
.demo-tour .tour-timeline{list-style:none;margin:16px 0;padding:0;display:grid;gap:10px}
.demo-tour .tour-timeline>li,.demo-tour .tour-timeline>div{border-left:2px solid #d5e8fa;padding:9px 14px;font-size:12px}
.demo-tour .tour-timeline p{font-size:12px;margin:6px 0}.demo-tour .tour-timeline time,.demo-tour .tour-timeline small{font-size:11px;color:#526e8d}
.demo-tour .tour-classroom h2{margin:15px 0 4px}.demo-tour .tour-classroom>p{margin:0 0 12px;font-size:11px}
.demo-tour .tour-classroom .tour-actions{display:grid;gap:9px}
.demo-tour .tour-pagination{display:flex;justify-content:flex-end;align-items:center;gap:12px;margin-top:16px;font-size:11px;color:#526e8d}
.demo-tour .tour-student-header{display:flex;align-items:center;gap:18px;margin-top:20px}
.demo-tour .tour-student-header>.avatar{width:68px;height:68px;border-radius:15px;font-size:23px}
.demo-tour .tour-student-header>.tour-badge{margin-left:auto}.demo-tour .tour-student-header h1{font-size:22px}
.demo-tour .tour-student-header p{margin:5px 0 0;font-size:12px;color:#526e8d}
.demo-tour .tour-student-header .tour-eyebrow{font-size:10px;margin:0 0 8px;color:#526e8d;text-transform:uppercase;letter-spacing:.7px}
.demo-tour .tour-back{display:inline-flex;align-items:center;min-height:40px;font-size:12px;color:#0870c7}
.demo-tour dialog{width:min(640px,calc(100vw - 32px));padding:24px;font-size:12px}
.demo-tour dialog h2{font-size:19px}.demo-tour dialog h3{font-size:13px}
.demo-tour .tour-dialog-body{margin-top:18px}.demo-tour dialog>.wide{margin-top:18px}
.demo-tour .tour-skip{position:fixed;left:12px;top:-100px;z-index:50;background:#fff;color:#0b4d88;padding:14px;border-radius:8px;box-shadow:0 3px 10px #1234}
.demo-tour .tour-skip:focus{top:10px}
.demo-tour .main-footer{color:#526e8d}.demo-tour .results-count{color:#526e8d}
@media(max-width:1180px){.demo-tour .app-shell{grid-template-columns:218px minmax(0,1fr)}.demo-tour main{padding:24px}.demo-tour .tour-module-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.demo-tour .tour-grid-three{grid-template-columns:repeat(2,minmax(0,1fr))}.demo-tour .tour-module-card{padding:16px}}
@media(max-width:900px){.demo-tour .kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.demo-tour .overview-grid{grid-template-columns:1fr}.demo-tour .tour-grid{grid-template-columns:1fr}.demo-tour .tour-student-header{flex-wrap:wrap}}
@media(max-width:760px){.demo-tour .app-shell{grid-template-columns:minmax(0,1fr)}.demo-tour .side{width:260px}.demo-tour .topbar{padding:0 16px;height:66px;gap:8px}.demo-tour main{padding:22px 16px}.demo-tour .demo-banner{padding:10px 16px}.demo-tour .tour-top-actions{gap:2px}.demo-tour .crumb{font-size:10px;min-width:0}.demo-tour .crumb>span{margin:0 5px}.demo-tour .topbar .primary{padding:8px 10px;font-size:10px}.demo-tour h1{font-size:22px}.demo-tour .tour-heading{margin-bottom:18px}.demo-tour .tour-heading p{font-size:12px}.demo-tour .tour-panel{padding:17px}.demo-tour .tour-student-header h1{font-size:20px}.demo-tour .tour-tabs{gap:4px;padding:6px}.demo-tour .tour-tabs a,.demo-tour .tour-tabs button{font-size:11px;padding:8px 10px}.demo-tour .tour-module-card{gap:10px}.demo-tour .tour-module-card>span:last-child{display:none}.demo-tour .tour-filters label{flex-basis:100%}.demo-tour .tour-facts>div{gap:12px}.demo-tour .tour-pagination{justify-content:space-between;gap:7px}.demo-tour .tour-pagination .secondary{padding:8px 11px}.demo-tour .tour-student-header>.tour-badge{margin-left:0}.demo-tour .tour-dialog-body .tour-facts>div{flex-wrap:wrap}.demo-tour .tour-dialog-body .tour-facts dd{text-align:left}}
@media(max-width:530px){.demo-tour .tour-module-grid,.demo-tour .tour-grid-three{grid-template-columns:1fr}.demo-tour .tour-top-actions #notifications{display:none}.demo-tour .tour-module-card{align-items:center}.demo-tour .tour-module-card .tile{width:36px;height:36px}.demo-tour .tour-module-card>span:last-child{display:block}.demo-tour .tour-heading>.secondary{width:100%}.demo-tour .tour-actions>.primary,.demo-tour .tour-actions>.secondary{flex:1}.demo-tour .tour-top-actions{margin-left:auto}}
@media(prefers-reduced-motion:reduce){.demo-tour *{transition:none!important;scroll-behavior:auto!important}}
.demo-tour .tour-panel>.tour-filters{border:0;padding:0;border-radius:0;margin-bottom:14px}
.demo-tour .tour-panel>.tour-tabs:last-child{margin-bottom:0}
.demo-tour .tour-stats-four{grid-template-columns:repeat(4,minmax(0,1fr))}
.demo-tour .tour-stat>span{font-size:11px;color:#526e8d}
.demo-tour .tour-stat>small{display:block;margin-top:5px}
@media(max-width:1000px){.demo-tour .tour-stats-four{grid-template-columns:repeat(2,minmax(0,1fr))}}
.demo-tour .table-scroll{position:relative}
@media(max-width:530px){.demo-tour .filters label:not(.search-field){flex:1 1 calc(50% - 4px);min-width:0}.demo-tour .filters select{padding-right:24px;font-size:11px}.demo-tour .filters .text-button{margin-left:auto}}
/* The public example preserves the compact scale of the actual report. */
.demo-tour .tour-report{box-sizing:border-box;background:#fff;border:1px solid #dae6f3;border-radius:14px;padding:24px;max-width:840px;min-width:0;margin:20px auto;color:#193b65;font:13px/1.5 Arial,Helvetica,sans-serif;overflow-wrap:anywhere}
.demo-tour .tour-report *{box-sizing:border-box}
.demo-tour .tour-report .report-header{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:0 0 18px;padding:0 0 16px;border-bottom:1px solid #e5edf6}
.demo-tour .tour-report .report-brand{min-width:0;color:#153866;font-size:13px;font-weight:600}
.demo-tour .tour-report .report-state{font-size:11px;line-height:1.4;font-weight:500;color:#55799c;background:#eff6fd;padding:5px 9px;border-radius:6px;text-align:center}
.demo-tour .tour-report .report-title{font-size:18px;font-weight:700;line-height:1.3;letter-spacing:-.3px;margin:0 0 16px;color:#153866}
.demo-tour .tour-report .report-student{padding:15px 16px;border:1px solid #e2ecf7;border-radius:10px;background:#f8fbff;margin:0 0 20px}
.demo-tour .tour-report .report-label,.demo-tour .tour-report dt{display:block;font-size:11px;font-weight:400;line-height:1.4;color:#617c98;margin:0 0 4px}
.demo-tour .tour-report .report-student-name{font-size:16px;font-weight:600;line-height:1.4;margin:0;color:#193b65;letter-spacing:0}
.demo-tour .tour-report .report-facts{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px 24px;margin:14px 0 0;padding-top:13px;border-top:1px solid #e2ecf7}
.demo-tour .tour-report .report-facts>div{min-width:0}
.demo-tour .tour-report dd{font-size:12px;font-weight:500;line-height:1.5;margin:0;color:#365978}
.demo-tour .tour-report .report-table-wrap{max-width:100%;margin:0 0 16px}
.demo-tour .tour-report table{display:table;table-layout:fixed;border-collapse:collapse;width:100%;margin:0;white-space:normal;text-align:left}
.demo-tour .tour-report th,.demo-tour .tour-report td{padding:10px 9px;border-bottom:1px solid #e3ebf5;text-align:left;font-size:12px;line-height:1.5;vertical-align:top;min-width:0;color:#466481}
.demo-tour .tour-report th{background:#f4f8fd;color:#617c98;font-size:11px;font-weight:500}
.demo-tour .tour-report .report-date-column,.demo-tour .tour-report .report-result-column{width:24%}
.demo-tour .tour-report th:last-child,.demo-tour .tour-report td:last-child{text-align:right}
.demo-tour .tour-report td strong{font-size:12px;font-weight:600;color:#244b71}
.demo-tour .tour-report td small{display:block;font-size:11px;font-weight:400;line-height:1.5;margin:3px 0 0;color:#687f98}
.demo-tour .tour-report .report-average{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:13px 15px;background:#eef6ff;border:1px solid #e0edfa;border-radius:9px}
.demo-tour .tour-report .report-average-label{font-size:12px;font-weight:600;color:#28577f}
.demo-tour .tour-report .report-average-value{font-size:13px;line-height:1.4;font-weight:500;white-space:nowrap;color:#28577f}
.demo-tour .tour-report .report-average-value.is-pending{font-size:12px;color:#687f98;background:#fff;padding:5px 9px;border-radius:6px;border:1px solid #dfebf6}
.demo-tour .tour-report .report-method{font-size:11px;line-height:1.5;color:#617c98;margin:7px 0 0;white-space:normal}
.demo-tour .tour-report .report-observation{margin:18px 0;padding:14px 15px;border:1px solid #e3ebf5;border-radius:9px}
.demo-tour .tour-report .report-observation h3{font-size:12px;line-height:1.5;font-weight:600;letter-spacing:0;margin:0 0 7px;color:#315777}
.demo-tour .tour-report .report-observation p{font-size:12px;line-height:1.65;font-weight:400;margin:0;color:#466481}
.demo-tour .tour-report .report-observation small{display:block;font-size:10px;line-height:1.5;color:#6b8198;margin-top:9px}
.demo-tour .tour-report .report-footer{display:block;border-top:1px solid #e5edf6;padding:12px 0 0;margin:0;background:none}
.demo-tour .tour-report .report-footer p,.demo-tour .tour-report .report-footer small{display:block;font-size:10px;font-weight:400;line-height:1.5;color:#6b8198;margin:0 0 4px}
@media(max-width:520px){
 .demo-tour .tour-report{padding:16px;margin:16px auto}
 .demo-tour .tour-report .report-header{gap:10px;margin-bottom:16px;padding-bottom:13px}
 .demo-tour .tour-report .report-title{font-size:17px}
 .demo-tour .tour-report .report-student{padding:12px}
 .demo-tour .tour-report .report-facts{gap:12px 16px}
 .demo-tour .tour-report th,.demo-tour .tour-report td{padding:9px 5px;font-size:11px}
 .demo-tour .tour-report td strong{font-size:11px}
 .demo-tour .tour-report .report-date-column{width:28%}
 .demo-tour .tour-report .report-result-column{width:25%}
 .demo-tour .tour-report .report-average,.demo-tour .tour-report .report-observation{padding:12px}
}
