/* Reference console skin; deliberately scoped to the student workstation. */
.cad-area-row{display:block!important;margin-top:8px}.cad-area-row>label{display:block;margin-bottom:6px!important}.cad-area-row input{width:100%}
.topbar #startShift,#phoneCall{background:linear-gradient(#08c443,#008528)!important;border-color:#69f698!important}
.topbar #endShift,#phoneEnd{background:linear-gradient(#ff3131,#c00000)!important;border-color:#ff9797!important}
.topbar .secondary,.topbar a{background:linear-gradient(#1489dc,#075493)!important;border-color:#75c9ff!important}
.topbar #shiftRecordButton{background:linear-gradient(#b435d8,#6921a4)!important;border-color:#d89cff!important}
.clockbar #date{font-size:20px;font-weight:800;color:white}
.map-legend{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:7px;width:100%;padding:10px 0;font-size:12px!important}
[data-tone='fire_ems']{background:linear-gradient(#13a9ff,#006ed5)!important;border:1px solid #72d4ff!important}
[data-tone='attention']{background:linear-gradient(#ff9b12,#ed6400)!important;border:1px solid #ffd17b!important}
[data-tone='emergency'],.transmit{background:linear-gradient(#ff2929,#bd0000)!important;border:1px solid #ff9b9b!important}
.ui-symbol{width:20px;height:20px;display:inline-block;vertical-align:middle;margin-right:7px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.map-panel .panel-title:before{content:none}
.calendar-field{position:relative;min-width:0}.calendar-field input:first-child{width:100%;padding-right:30px}.calendar-button{position:absolute;right:3px;top:3px;width:26px;height:24px;padding:0;background:transparent;border:0;color:#111;font-size:22px;cursor:pointer}.cad-panel .calendar-picker{position:absolute;width:1px;height:1px;min-height:0;opacity:0;pointer-events:none;bottom:0;right:0}
body{background:#10171e;color:#fff;font-family:'Segoe UI',Arial,sans-serif}
main{background:radial-gradient(ellipse at top,#26313b,#10171c 70%)}
.brand h1{font-size:28px}.sub{font-size:14px}
.panel{background:linear-gradient(120deg,#1c252b,#10171c);border:1px solid #abb8c2;border-radius:8px}
.panel-title,.radio-title,.tones-panel h3,.phone-panel h3,.calls-service-heading{background:linear-gradient(#185989,#05315a);border:1px solid #7cabc8;color:white;font-weight:750;font-size:22px;padding:8px 12px;border-radius:6px 6px 0 0}
.panel-title:before{content:'▣';margin-right:12px}.calls-panel .panel-title:before,.phone-panel h3:before{content:'☎';margin-right:12px}.map-panel .panel-title:before{content:none;display:none}.radio-title:before,.tones-panel h3:before{content:'◉';margin-right:12px}
.cad-field-row{grid-template-columns:32% minmax(0,1fr);gap:8px;margin:5px 0;min-height:33px}
.cad-panel .cad-field-row>label,.cad-panel label{font-size:18px;font-weight:700;line-height:1.15}
.cad-panel input,.cad-panel textarea{background:linear-gradient(#fff,#eef0f4)!important;color:#121820!important;border:1px solid #bac3cb;min-height:30px;height:30px;font-size:16px;padding:4px 8px;border-radius:5px}
.cad-field-control{grid-template-columns:minmax(0,1fr) 88px;gap:8px}
.cad-panel .search-button{font-size:13px;white-space:nowrap;min-width:0;padding:5px 8px;height:30px;background:linear-gradient(#087aca,#004887);border:1px solid #63b3ee;border-radius:5px}
.location-heading{grid-template-columns:minmax(0,1fr) auto}.location-heading>label{white-space:nowrap;font-size:17px!important}
.cad-field-row:has(#deskCity),.cad-field-row.notes-row{display:block;margin-top:8px}
.cad-field-row:has(#deskCity)>label,.notes-row>label{display:block;margin-bottom:6px;padding:0!important}
.cad-panel #cadNotes{height:76px;min-height:76px;width:100%}
.record-number-line{justify-content:flex-end;gap:6px;background:none;border:0;padding:0 4px 6px;color:#fff;font-weight:700}.record-number-line strong{font:800 18px 'Segoe UI',sans-serif;color:#ffed00}
.cad-panel .save-button{font-size:18px;background:linear-gradient(#078823,#005711);border:1px solid #29cf50;padding:8px 15px;margin:8px 0;border-radius:5px}
.record-actions{display:block;border-top:1px solid #aab7bf;padding-top:8px}.record-actions>label{display:block;margin-bottom:7px}.record-actions .cad-field-control{grid-template-columns:minmax(0,1fr) 96px 132px}
.calls-service{border:1px solid #abb8c2;border-radius:8px;padding:10px;margin-top:12px;background:transparent}.calls-service-heading{margin:-10px -10px 8px;padding:6px 10px}.calls-service-heading h3{font-size:21px}.calls-service-heading a{font-size:12px;color:white}.calls-service-heading h3:before{content:'☎';margin-right:10px}
.service-table-wrap th{background:linear-gradient(#476d87,#243f54);font-size:14px;color:white}.service-table-wrap td{font-size:13px}.service-table-wrap .no-service-calls{background:#e9edf3;color:#101820;height:70px;font-size:16px}
.calls-panel .queue-empty{min-height:260px;background:linear-gradient(120deg,#f1f4f9,#e2e7ee);font-size:17px;display:flex;flex-direction:column;gap:20px;border-radius:6px}
.calls-panel .queue-empty:before{content:'☎';display:grid;place-items:center;width:72px;height:72px;border-radius:50%;background:#727d88;color:white;font-size:46px}
.transmit{background:linear-gradient(#df1616,#a80000);border:1px solid #ff9b9b;min-height:52px}.phone-keypad button,.phone-edit-actions button{background:linear-gradient(#566572,#35434f);border:1px solid #788895;font-size:20px;padding:2px}.agency-select{background:#f4f5f7;color:#101820}.phone-actions button{font-size:16px}.phone-display{font-size:24px;font-weight:800}.channel-log{background:#f4f5f7;color:#101820}.tracker-button{font-size:18px;padding:12px;background:#ffed00;color:#000}
.topbar button,.topbar a{background:linear-gradient(#4a5966,#23313d);font-size:13px;border:1px solid #91a1ad}.topbar .green{background:linear-gradient(#008e24,#005c0b)}.topbar .red{background:linear-gradient(#ca2b2b,#861010)}
.right{overflow-x:hidden}.right .panel{min-width:0}.right audio{max-width:100%}.clockbar #clock{color:#fff;font-size:22px}
@media(min-width:1100px){main{max-width:1800px;width:calc(100% - 24px)}.desk{grid-template-columns:minmax(410px,1fr) minmax(410px,1fr) minmax(300px,.65fr)}.calls-panel{flex:0 0 auto;min-height:0}.map-panel{flex:1 0 auto}.cad-panel{padding:12px}.center{gap:10px}}
@media(max-width:1200px){.cad-panel .cad-field-row>label,.cad-panel label{font-size:15px}.location-heading>label{font-size:14px!important}}
@media(min-width:1100px){
  /* Keep the complete right rail inside the normal 100% workstation view. */
  .right{gap:4px;overflow:hidden}
  .right .panel{padding:6px}
  .right .radio-title,.right .tones-panel h3,.right .phone-panel h3{margin:-6px -6px 5px;padding:5px 7px;font-size:16px}
  .right .radio-title:before,.right .tones-panel h3:before,.right .phone-panel h3:before{margin-right:7px}
  .right .transmit{min-height:52px;padding:6px 8px;font-size:12px}.right .transmit .ui-symbol{width:20px;height:20px}.right .transmit small{font-size:8px}
  .right .radio-status,.right .phone-status{font-size:9px;margin:2px 0;min-height:10px}
  .right .radio-mode-status{padding:3px 5px!important;margin:2px 0!important;font-size:8px!important}
  .right .radio-mode-controls{gap:3px!important;margin:2px 0!important}.right .radio-mode-controls button{font-size:8px;padding:3px 4px}
  .right .audio-player{height:24px;margin:2px 0}
  .right h4{font-size:9px;margin:3px 0}
  .right .channel-log{height:30px;max-height:30px;padding:3px;font-size:9px;line-height:1.2;margin:2px 0}
  .right .tone{height:27px;min-height:27px;padding:3px;font-size:9px;margin:2px 0}.right .tone .ui-symbol{width:14px;height:14px;margin-right:3px}
  .right label{font-size:9px;margin:2px 0}.right #toneVolume{height:25px;padding:2px 4px;font-size:10px}
  .right .agency-select{height:27px;padding:2px 5px;font-size:10px}.right .phone-display{height:28px;min-height:28px;padding:3px;font-size:19px}
  .right .phone-actions{gap:4px}.right .phone-actions button{height:27px;padding:2px;font-size:10px}
  .right .phone-keypad{gap:2px;margin-top:3px}.right .phone-keypad button{height:25px;min-height:25px;padding:1px;font-size:14px}
  .right .phone-edit-actions{gap:3px;margin-top:3px}.right .phone-edit-actions button{height:24px;padding:1px;font-size:10px}
  .right .phone-panel .channel-log{height:28px;max-height:28px}
  /* Let incoming calls use the open center space; anchor the map to the bottom edge. */
  .center{display:flex;flex-direction:column;gap:6px;min-height:0;overflow:hidden}
  .center .calls-panel{flex:1 1 auto;min-height:120px;overflow:auto}
  .center .map-panel{flex:0 0 auto;margin-top:auto;align-self:stretch;overflow:hidden;padding-bottom:5px}
  .center .map-panel .map{height:320px;min-height:320px}
  /* Preserve large, usable dispatch controls while keeping the rail compact. */
  .right .tone{height:43px;min-height:43px;padding:6px 7px;margin:2px 0;font-size:11px;font-weight:900;box-shadow:inset 0 0 0 1px #ffffff30,0 2px 0 #08131b}
  .right .tone .ui-symbol{width:17px;height:17px;margin-right:5px}
  .right .phone-keypad{gap:2px;margin-top:3px}
  .right .phone-keypad button{height:30px;min-height:30px;padding:1px;font-size:15px}
  .right .phone-edit-actions button{height:28px;min-height:28px;font-size:10px}
  .right .last-transmitting{min-height:22px;margin-top:3px;padding:4px 6px;font-size:10px;color:#dcecf1;background:#172d39;border:1px solid #456777;border-radius:3px}
  .center .calls-panel{display:flex;flex-direction:column;min-height:0}
  .center .calls-panel #incomingCalls{flex:1 1 auto;min-height:0;overflow:auto}
  .center .calls-panel .queue-empty{height:100%;min-height:0}
}
