/* Opaque surfaces and segmented controls shared with the portal theme. */
#scudPage .scud-history{margin-top:20px;padding:22px}#scudPage .scud-history h2{font-size:18px;margin:0 0 8px}#scudPage .scud-history p{font-size:13px;line-height:1.6}#scudPage .scud-history-controls{display:flex;align-items:end;flex-wrap:wrap;gap:12px}#scudPage .scud-history-controls label{display:grid;gap:8px;font-size:13px;min-width:160px}#scudPage .scud-history-controls label:last-child{flex:1}#scudPage .scud-history-controls input,#scudPage .scud-history-controls select{min-height:42px;width:100%}#scudPage #scudPeriod{font-size:16px;line-height:1.5}
#scudPage{max-width:1440px;margin-inline:auto}
#scudPage>.page-head{display:flex;flex-direction:column;align-items:flex-start;gap:20px;margin-bottom:24px}
#scudPage>.page-head>div{max-width:800px}
#scudPage .page-head h1{margin:6px 0 10px;font-size:34px;letter-spacing:-.04em}
#scudPage .page-head p{line-height:1.6}
#scudPage .scud-upload-panel{display:block;padding:0;overflow:hidden;border-radius:22px}
#scudPage .panel-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:22px 24px}
#scudPage .panel-head h2{margin:0 0 6px}
#scudPage .panel-head p{margin:0;color:var(--muted);font-size:13px;line-height:1.5}
#scudPage .scud-file-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:24px}
#scudPage .scud-file-grid label{position:relative;display:grid;gap:20px;min-width:0;padding:22px;border:1px solid #e5e5ea;border-radius:17px;background:#f8f8fb;color:#1c1c1e;font-size:14px;font-weight:600;transition:border-color .15s,background .15s}
#scudPage .scud-file-grid label:focus-within{border-color:#007aff;background:#f2f7ff}
#scudPage .scud-file-grid label>span{display:flex;align-items:center;gap:12px;line-height:1.5}
#scudPage .scud-file-grid label>span::before{content:'↑';display:grid;place-items:center;flex:0 0 40px;height:40px;border-radius:12px;background:#e5efff;color:#007aff;font-size:23px;font-weight:500}
#scudPage .scud-file-grid label:nth-child(2)>span::before{background:#eeedff;color:#5856d6}
#scudPage input[type=file]{width:100%;min-width:0;padding:0;background:transparent;border:0;border-radius:0;box-shadow:none;color:#64646d;font:inherit;font-size:13px;font-weight:400;cursor:pointer}
#scudPage input[type=file]::file-selector-button{margin-right:12px;padding:10px 14px;border:1px solid #dedee7;border-radius:10px;background:white;color:#0069df;font:inherit;font-weight:600;cursor:pointer}
#scudPage input[type=file]::file-selector-button:hover{background:#eaf2ff}
#scudPage .scud-actions{display:flex;align-items:center;gap:16px;padding:0 24px 24px}
#scudPage #scudStatus{font-size:13px;line-height:1.5;overflow-wrap:anywhere}
#scudPage .scud-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:20px 0}
#scudPage .scud-stats article{display:grid;gap:12px;padding:20px 22px;border:1px solid #e5e5ea;border-radius:18px}
#scudPage .scud-stats span{font-size:12px;font-weight:500;color:#64646d}
#scudPage .scud-stats strong{font-size:28px;line-height:1.2;letter-spacing:-.03em}
#scudPage .scud-report-panel{display:block;padding:20px;border-radius:22px;min-width:0}
#scudPage .scud-tabs{display:flex;flex-wrap:wrap;width:fit-content;max-width:100%;gap:4px;background:#e9e9ef;padding:4px;margin-bottom:20px;border-radius:13px}
#scudPage .scud-tabs .button{background:transparent;color:#64646d;min-height:36px;padding:8px 16px;border:0;border-radius:10px;font-size:13px}
#scudPage .scud-tabs .button.active{background:white;color:#1c1c1e;box-shadow:0 2px 5px #00000010}
#scudPage .scud-table-wrap{width:100%;max-height:65vh;overflow:auto;border:1px solid #e5e5ea;border-radius:14px}
#scudPage .scud-table-wrap .empty-state{display:grid;place-content:center;min-height:180px;padding:28px;text-align:center;background:#f8f8fb;color:#64646d;font-size:14px;line-height:1.6}
#scudPage .scud-table-wrap table{width:100%;min-width:900px;border-collapse:separate;border-spacing:0;font-size:13px}
#scudPage .scud-table-wrap th{position:sticky;top:0;z-index:1;background:#f2f2f7;color:#64646d;font-size:12px;font-weight:600;text-align:left;white-space:nowrap}
#scudPage .scud-table-wrap th,#scudPage .scud-table-wrap td{padding:13px 16px;border-right:0;border-bottom:1px solid #ededf1;vertical-align:middle}
#scudPage .scud-table-wrap tbody tr:nth-child(even){background:#fafafd}
#scudPage .scud-table-wrap tbody tr:hover{background:#f0f6ff}
#scudPage .scud-table-wrap td:nth-child(2){font-weight:600}
#scudPage .scud-table-wrap tbody tr:last-child td{border-bottom:0}
#scudPage .scud-staff-report-note {
  margin: 0 0 14px;
  font-size: 13px;
}
#scudEditName {
  margin-bottom: 14px;
}
#scudPage .scud-table-wrap tbody .scud-division-row {
  background: #dceaff;
  color: #153b69;
  font-weight: 700;
}
#scudPage .scud-table-wrap .scud-division-row td {
  background: #dceaff;
  border-top: 8px solid #f2f2f7;
  border-bottom: 2px solid #a9c6ed;
  padding-block: 16px;
}
#scudPage .scud-table-wrap .scud-division-row:first-child td {
  border-top-width: 0;
}
#scudPage .scud-table-wrap td.scud-hours-yellow {
  background: #fff3bd;
  color: #705300;
  font-weight: 600;
}
#scudPage .scud-table-wrap td.scud-hours-orange {
  background: #ffdfbd;
  color: #874100;
  font-weight: 600;
}
#scudPage .scud-table-wrap td.scud-hours-green {
  background: #d8f1df;
  color: #146338;
  font-weight: 600;
}
#scudPage .scud-table-wrap td.scud-hours-red {
  background: #fbdcde;
  color: #9d2633;
  font-weight: 600;
}
@media(max-width:760px){#scudPage .page-head h1{font-size:28px}#scudPage .scud-file-grid{grid-template-columns:1fr;padding:18px}#scudPage .panel-head{padding:18px;flex-wrap:wrap}#scudPage .scud-actions{padding:0 18px 18px;align-items:flex-start;flex-direction:column}#scudPage .scud-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}#scudPage .scud-stats article{padding:16px}#scudPage .scud-report-panel{padding:14px}#scudPage .scud-tabs{display:grid;grid-template-columns:1fr 1fr;width:100%}#scudPage .scud-tabs .button{padding:9px;font-size:12px}}
