/* v0.2: shared presentation layer. Module layouts and action contracts remain in place. */
:root {
  --navy: #152f43;
  --navy-dark: #102637;
  --ink: #203848;
  --muted: #637783;
  --bg: #f5f7f8;
  --line: #e1e8ec;
  --teal: #087f78;
  --teal-dark: #06675f;
  --radius: 16px;
}

/* Shell: quieter chrome, clear navigation, more room for the working surface. */
.sidebar { background: linear-gradient(170deg, #18394c, #122a3c 75%); padding-top: 28px; }
.brand { margin-bottom: 30px; font-size: 1rem; }
.brand-mark { background: #ffffff08; border-color: #75919f; border-radius: 14px; }
.workspace-label { color: #9cb5c2; font-size: .6rem; letter-spacing: .13em; }
.sidebar nav { gap: 7px; }
.nav-link { border-radius: 11px; min-height: 44px; }
.nav-link:hover, .nav-group>summary:hover { background: #ffffff0c; }
.nav-link.active { background: #255267; box-shadow: inset 3px 0 #6cddc6; }
.helpdesk-nav .module-current { background: #ffffff09; box-shadow: inset 0 0 0 1px #ffffff20; }
.helpdesk-subnav { border-left-color: #496271; margin-block: 7px 12px; }
.helpdesk-subnav .nav-link.active { background: #255267; box-shadow: inset 2px 0 #6cddc6; }
.sidebar-bottom { border-top: 1px solid #ffffff16; margin-top: auto; padding-top: 18px; }
.topbar { height: 70px; padding-inline: 32px; }
.school-label { font-size: .8rem; }
.identity-control { background: #f8fafb; border-color: #e5ebef; }
.identity-label select { font-weight: 600; }
main#content { padding: 28px 32px 24px; }
h1, .request-list h1 { font-size: 1.85rem; line-height: 1.25; letter-spacing: -.035em; }
h2 { font-size: 1.12rem; }
.page-head { margin-bottom: 24px; align-items: center; }
.eyebrow { font-size: .65rem; letter-spacing: .12em; margin-bottom: 7px; }
.subtitle { font-size: .88rem; line-height: 1.6; }
.request-breadcrumb { font-size: .76rem; gap: 10px; margin-bottom: 20px; }
footer { margin-inline: 32px; padding-block: 16px; }
footer .footer-author { display: block; margin-top: 5px; font-size: 12px; font-weight: 400; letter-spacing: normal; color: var(--muted); }

/* Controls share one rhythm; pills identify actions, rounded rectangles hold input. */
.button { min-height: 44px; padding: 10px 17px; font-weight: 650; border-radius: 999px; }
.button.primary { box-shadow: 0 2px 3px #123c3310; }
.button.primary:hover { box-shadow: 0 3px 8px #123c3320; }
.button.secondary { border-color: #d4dfe4; }
.button.secondary:hover { background: #f2f6f7; border-color: #b1c5cc; }
.button.small { min-height: 36px; padding: 6px 12px; }
.button:disabled { box-shadow: none; }
.account-logout { min-width: 40px; min-height: 40px; padding: 0; }
input, select, textarea { border-color: #cfdae0; border-radius: 10px; }
input:hover, select:hover, textarea:hover { border-color: #9eb6c0; }
input:focus, select:focus, textarea:focus { outline-color: var(--teal); }
label { font-size: .82rem; gap: 6px; }
.panel, .module-card, .help-option { box-shadow: none; }
.panel.compact, .form-panel { padding: 24px; }
.panel-title { padding: 17px 22px; }
.panel-title h2 { font-size: 1.05rem; }
.form-actions { gap: 10px; align-items: center; }
.form-actions .button { margin-block: 0; }
.notice { border-radius: 12px; }
.detail-layout { gap: 20px; grid-template-columns: minmax(0,1.8fr) minmax(260px,1fr); }
.ticket-status-row { gap: 10px; padding-bottom: 18px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.message { border-color: #e5ecef; border-radius: 12px; }
.metadata>div { padding-block: 12px; }
.quick-actions { margin-bottom: 20px; }

/* A single request surface: search and results belong together. */
.request-workspace { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.request-list .page-head { margin-bottom: 24px; }
.request-filters { padding: 20px 22px 0; margin: 0; }
.request-filterbar { max-width: none; gap: 14px; grid-template-columns: minmax(180px,1fr) minmax(150px,240px) auto; }
.request-filterbar input, .request-filterbar select, .request-filterbar>.button { min-height: 44px; }
.request-search input { background: #f7f9fa; }
.request-filterbar label { font-size: .76rem; color: var(--muted); }
.request-filter-extra { background: #f5f8f9; border-color: var(--line); padding: 18px; }
.request-results { margin: 0; padding: 18px 22px; gap: 14px; font-size: .82rem; }
.request-results>span { color: var(--muted); font-size: .76rem; padding-left: 14px; border-color: var(--line); }
.request-workspace .request-table { border: 0; border-top: 1px solid var(--line); border-radius: 0; margin-bottom: 0; }
.tickets-table { font-size: .82rem; }
.tickets-table th { background: #f7f9fa; color: #5f7480; padding: 12px 20px; font-size: .7rem; letter-spacing: .015em; }
.tickets-table td { padding: 17px 20px; }
.tickets-table tbody tr:hover { background: #f7fafb; }
.ticket-link { min-width: 150px; }
.ticket-link strong, .request-table .ticket-link strong { font-size: .86rem; line-height: 1.5; font-weight: 650; }
.status-chip, .priority-chip { font-size: .72rem; padding: 6px 10px; gap: 6px; }
.status-dot { width: 6px; height: 6px; }
.priority-chip { border-radius: 8px; }
.request-archive { margin-top: 16px; }
.metrics { gap: 12px; margin-bottom: 20px; }
.metric { display: grid; grid-template-columns: 36px minmax(0,1fr) auto; align-items: center; gap: 12px; padding: 18px; border-radius: 14px; }
.metric .metric-icon { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 11px; background: #edf3f6; color: #506e82; }
.metric .metric-label { font-size: .76rem; line-height: 1.45; }
.metric>strong { font-size: 1.8rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.metric.critical .metric-icon { background: #fff0ed; color: #a74539; }
.metric.high .metric-icon { background: #fff6e6; color: #936d26; }
.metric.success .metric-icon { background: #e8f5ef; color: #087464; }
.metric:hover { border-color: #afc7cd; background: #fcfefe; }

/* Home and administration use the same light surfaces and spacing. */
.hub-modules { gap: 16px; margin-bottom: 24px; }
.hub-modules .module-card { min-height: 0; padding: 24px; border-color: var(--line); }
.hub-modules .active-module:hover { border-color: #91beb6; box-shadow: 0 5px 18px #173c5008; }
.module-top .module-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: #eaf4f1; }
.module-top .module-icon svg { width: 24px; height: 24px; }
.hub-modules h2 { font-size: 1.2rem; margin-top: 18px; }
.future-module { background: #f1f4f6; border-style: dashed; }
.future-module .module-icon { background: #e8eef1; }
.helpdesk-contact { padding: 26px; }
.helpdesk-contact h2 { font-size: 1.45rem; margin-top: 12px; }
/* Short how-to guides use one native disclosure per symptom. */
.helpdesk-guides{min-width:0;padding:26px;border:1px solid #d5e6e0;border-radius:var(--radius);background:#eef5f3}
.helpdesk-guides-heading{display:flex;align-items:center;gap:12px;margin-bottom:16px}
.helpdesk-guides-heading .option-icon{display:grid;place-items:center;width:44px;height:44px;margin:0;flex-shrink:0;background:white;color:var(--teal);border-radius:12px}
.helpdesk-guides-heading h2{font-size:1.2rem;margin:0}
.helpdesk-guide-list{display:grid;gap:6px}
.helpdesk-guide-list details{min-width:0;border:1px solid #dbe8e3;border-radius:10px;background:#fff}
.helpdesk-guide-list summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;margin:0;padding:10px 12px;border-radius:9px;list-style:none}
.helpdesk-guide-list summary::-webkit-details-marker{display:none}
.helpdesk-guide-list summary:hover{background:#f5faf8}
.helpdesk-guide-list details[open]>summary{margin:0;color:var(--teal-dark);background:#f5faf8;border-radius:9px 9px 0 0}
.helpdesk-guide-chevron{flex-shrink:0;color:#526e64}
.helpdesk-guide-list details[open] .helpdesk-guide-chevron{transform:rotate(90deg)}
.helpdesk-guide-list ol{padding:0 14px 0 31px;margin:10px 0 12px;color:#354d58;font-size:.85rem;line-height:1.55;overflow-wrap:anywhere}
.helpdesk-guide-list li+li{margin-top:6px}
.helpdesk-guide-list kbd{background:#eef5f3;border:1px solid #d5e6e0;border-radius:4px;padding:0 .25em;font-size:.95em;font-weight:600}
.helpdesk-contact .help-report-link { background: var(--teal); }
.helpdesk-contact .help-report-link:hover { background: var(--teal-dark); }
.management-layout { gap: 20px; }
.management-nav { border: 0; background: #eaf0f3; }
.management-overview { gap: 14px; }
.admin-tool { padding: 20px; border-radius: 14px; }
.admin-tools .admin-tool { background: #fff; }
.admin-tool-icon { background: #eef5f3; }
.bulk-user-controls, .import-settings-panel, .resource-editor-panel { background: #f1f6f7; border-color: #c9dce0; }
.user-form[data-id] { padding: 20px; margin-bottom: 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }

/* Calendar: unified resource/week controls, light cells, stronger ownership. */
.reservation-page-heading { margin-bottom: 22px; }
.reservation-page-heading h1 { font-size: 1.85rem; line-height: 1.25; }
.reservation-calendar { border-color: var(--line); border-radius: 18px; }
.reservation-calendar .reservation-resources { padding: 16px 18px; margin: 0; gap: 8px; border-bottom: 1px solid var(--line); }
.reservation-resources .button { min-height: 48px; font-size: .9rem; padding: 12px 18px; }
.reservation-resources .button.secondary { background: #fff; border-color: #dce5e9; }
.reservation-resources .reservation-import-link { background: #eef2f4; color: #526571; border-color: #e0e7eb; }
.reservation-calendar .reservation-toolbar { background: #fbfcfc; padding: 12px 18px; gap: 8px 16px; }
.reservation-calendar .reservation-week-nav { width: 265px; grid-template-columns: 36px minmax(0,1fr) 36px; }
.reservation-calendar .reservation-week-nav strong { font-variant-numeric: tabular-nums; font-weight: 650; }
.reservation-calendar .reservation-week-nav .button { min-height: 36px; }
.reservation-calendar .reservation-resource-meta { color: var(--muted); }
.reservation-grid .reservation-slot { --slot-bg: #f9fcfa; --slot-ink: #30694e; --slot-border: #e5eee9; border-radius: 9px; }
.reservation-grid .state-mine { --slot-bg: #dff3eb; --slot-ink: #086757; --slot-border: #8bc4b2; border-left: 3px solid #087f78; }
.reservation-grid .state-teaching { --slot-bg: #edf3f9; --slot-ink: #3b5e80; --slot-border: #dce6f1; }
.reservation-grid .state-occupied { --slot-bg: #f9f0ef; --slot-ink: #8b4a43; --slot-border: #ead9d6; }
.reservation-grid .state-past { --slot-bg: #f3f5f6; --slot-ink: #697b86; --slot-border: #e8edef; }
.reservation-grid .state-blocked { --slot-bg: #fff6e7; --slot-ink: #806225; --slot-border: #eddfc5; }
.reservation-grid .slot-main { gap: 4px; }
.reservation-grid .slot-status { font-weight: 650; }
.reservation-grid .slot-status>span { display: flex; align-items: center; }
.reservation-grid .slot-capacity { font-weight: 500; }
.reservation-grid .slot-main:hover:not(:disabled) { background: #087f7808; }
.reservation-grid .state-free .slot-main:hover, .reservation-grid .state-mine .slot-main:hover { box-shadow: inset 0 0 0 1px #087f7870; }
#reservation-dialog { border-radius: 22px; border-color: #e2e9ed; box-shadow: 0 24px 80px #10263730; }
#reservation-dialog::backdrop { background: #122a3c66; backdrop-filter: blur(3px); }
.reservation-dialog-body { padding: 26px; }
.reservation-dialog-heading { margin-bottom: 14px; }
.reservation-dialog-heading h2 { font-size: 1.25rem; }
.reservation-dialog-heading>.button { width: 40px; min-height: 40px; padding: 0; }
.reservation-quantity { background: #f6f9f9; border-color: var(--line); border-radius: 12px; }

@media(min-width:1101px) {
  .reservation-calendar .reservation-grid { padding: 0 12px 12px; gap: 5px; grid-template-columns: 84px repeat(var(--period-count,8),minmax(0,1fr)); }
  .reservation-grid .schedule-corner, .reservation-grid .schedule-hour { background: #fff; padding: 14px 4px 12px; border-radius: 0; }
  .reservation-grid .schedule-corner { color: var(--muted); font-size: 11px; align-content: center; }
  .reservation-grid .schedule-hour strong { font-size: 13px; }
  .reservation-grid .schedule-hour small { color: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; }
  .reservation-grid .schedule-day { background: #f5f8f9; padding: 10px; border-radius: 9px; font-size: 12px; }
  .reservation-grid .schedule-day small { font-weight: 500; color: var(--muted); }
  .reservation-grid .reservation-slot { min-height: 82px; }
  .reservation-grid .slot-main { padding: 10px 8px; }
  .reservation-grid .slot-status { font-size: 12px; gap: 5px; }
  .reservation-grid .slot-status svg { width: 14px; height: 14px; }
  .reservation-grid .slot-capacity, .reservation-grid .slot-booking, .reservation-grid .state-mine .slot-booking.mine { font-size: 11px; }
  .reservation-grid .slot-hint { font-size: 11px; }
}
@media(min-width:651px) and (max-width:1250px) {
  .topbar { padding-inline: 24px; }
  main#content { padding: 26px 24px; }
  .metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media(max-width:1100px) {
  .reservation-calendar .reservation-toolbar { flex-wrap: wrap; }
  .reservation-calendar .reservation-mobile-days { padding: 12px; gap: 6px; }
  .reservation-calendar .reservation-mobile-days .button { border-color: transparent; min-height: 48px; font-size: 12px; }
  .reservation-calendar .reservation-mobile-days .button.secondary { background: #f2f6f7; }
  .reservation-calendar .reservation-agenda-heading { margin: 6px 16px 12px; color: var(--muted); font-size: .82rem; }
  .reservation-calendar .reservation-grid { padding: 0 12px 6px; }
  .reservation-grid .schedule-cell.mobile-selected { margin-bottom: 8px; }
  .reservation-grid .reservation-slot { min-height: 94px; }
  .reservation-grid .slot-main { padding: 14px; }
  .mobile-hour { font-size: 11px; opacity: .9; }
}
@media(max-width:950px) {
  .request-filterbar { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .request-filterbar>.button { grid-column: 1/-1; justify-self: start; }
  .detail-layout { grid-template-columns: 1fr; }
}
@media(max-width:650px) {
  .topbar { height: auto; min-height: 68px; padding: 10px 12px; }
  .identity-label>span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  main#content { padding: 24px 16px; }
  h1, .request-list h1, .reservation-page-heading h1 { font-size: 1.5rem; }
  .page-head { align-items: stretch; gap: 16px; margin-bottom: 20px; }
  .page-head .actions:empty { display: none; }
  .subtitle { font-size: .82rem; }
  .request-breadcrumb { font-size: .72rem; }
  .sidebar { padding: 24px 18px; }
  .sidebar .nav-link { border-radius: 10px; }
  .sidebar .brand { margin-bottom: 28px; }
  .panel.compact, .form-panel { padding: 20px; }
  .panel-title { padding: 16px 18px; }
  .request-filters { padding: 16px 16px 0; }
  .request-filterbar { gap: 12px; }
  .request-filterbar>.button { grid-column: auto; justify-self: stretch; font-size: .76rem; padding-inline: 10px; }
  .request-results { padding: 16px; gap: 8px; }
  .request-results>span { font-size: .72rem; }
  .request-table .tickets-table tr, .tickets-table tr { padding: 18px 16px; gap: 12px; }
  .tickets-table td { padding: 0; font-size: .8rem; }
  .ticket-link { min-width: 0; }
  .tickets-table td[data-label]:before { font-size: .68rem; }
  .status-chip, .priority-chip { font-size: .7rem; }
  .metrics { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .metric, .metric:last-child { grid-column: auto; display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 14px; }
  .metric .metric-icon { width: 30px; height: 30px; grid-column: 1; }
  .metric .metric-label { grid-column: 1/-1; grid-row: 2; font-size: .7rem; }
  .metric>strong { grid-column: 2; grid-row: 1; font-size: 1.6rem; }
  .hub-modules { gap: 10px; }
  .hub-modules .module-card {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    align-items: start;
    gap: 4px 12px;
    padding: 16px;
  }
  .hub-modules .module-top { display: contents; }
  .hub-modules .module-icon { grid-area: 1 / 1 / span 3; width: 38px; height: 38px; }
  .hub-modules h2 { grid-area: 1 / 2; margin: 0; }
  .hub-modules p { grid-area: 2 / 2; margin: 0; }
  .hub-modules .text-link { grid-area: 3 / 2; }
  .hub-modules .badge { grid-area: 4 / 2; justify-self: start; }
  .helpdesk-contact, .helpdesk-guides { padding: 22px; }
  .reservation-page-heading { margin-bottom: 18px; }
  .reservation-calendar { border-radius: 14px; }
  .reservation-calendar .reservation-resources { padding: 12px; gap: 8px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .reservation-resources .button { min-height: 48px; font-size: 13px; padding: 10px 8px; gap: 6px; }
  .reservation-resources .reservation-import-link { grid-column: 1/-1; margin-left: 0; justify-self: start; padding-inline: 14px; }
  .reservation-calendar .reservation-toolbar { padding: 10px 12px; }
  .reservation-calendar .reservation-date-controls { width: 100%; justify-content: space-between; }
  .reservation-calendar .reservation-week-nav { width: 100%; }
  .reservation-calendar .reservation-resource-meta { font-size: 11px; }
  .reservation-dialog-body { padding: 20px; }
  .reservation-dialog-heading h2 { font-size: 1.15rem; }
  footer { margin-inline: 16px; }
}
@media(max-width:380px) {
  .request-results>span { flex-basis: 100%; border: 0; padding-left: 0; }
}

/* Compact connected week selector, matching the school calendar reference. */
.reservation-calendar .reservation-toolbar{padding:8px 18px;background:#fcfcfc;gap:8px 16px}.reservation-calendar .reservation-date-controls{display:flex;flex-wrap:wrap;width:auto;gap:12px;justify-content:flex-start}.reservation-calendar .reservation-week-nav{display:flex;align-items:stretch;width:auto;max-width:100%;gap:0;border:1px solid #cdd4d3;border-radius:999px;overflow:hidden;background:white}.reservation-week-label{display:flex;align-items:center;justify-content:center;gap:7px;padding:0 10px;min-width:0}.reservation-calendar .reservation-week-nav strong{white-space:nowrap;font-size:12px}.reservation-week-label small{white-space:nowrap;color:#66716e;font-size:11px}.reservation-calendar .reservation-week-nav .button{width:36px;min-width:36px;min-height:36px;padding:0;border:0;border-radius:0;flex-shrink:0;box-shadow:none}.reservation-calendar .reservation-week-nav [data-offset="-7"]{border-right:1px solid #e3e7e6}.reservation-calendar .reservation-week-nav [data-offset="-7"] svg{transform:rotate(180deg)}.reservation-calendar .reservation-week-nav [data-offset="7"]{border-left:1px solid #d1e4df;background:#e1f5ed;color:#00836b}.reservation-calendar .reservation-week-nav .button:hover{background:#cdece1}.reservation-calendar .reservation-week-nav .button:focus-visible{outline-offset:-4px}.reservation-calendar [data-action=reservation-today]{min-height:36px;padding:6px 12px;gap:6px;color:#00836b;background:transparent;border:1px solid #cdd4d3;font-size:12px;white-space:nowrap}.reservation-calendar [data-action=reservation-today]:hover{background:#eaf6f1}.reservation-calendar .reservation-resource-meta{margin-left:auto}
@media(max-width:760px){.reservation-calendar .reservation-toolbar{padding:12px}.reservation-calendar .reservation-week-nav{max-width:100%}.reservation-calendar .reservation-week-label{gap:6px;padding:0 8px}.reservation-calendar .reservation-week-nav strong{font-size:13px}.reservation-calendar .reservation-week-label small{font-size:11px}.reservation-calendar .reservation-resource-meta{margin-left:0;width:100%}}
@media(max-width:380px){.reservation-calendar .reservation-week-label{flex-direction:column;gap:0;padding:3px 8px}.reservation-calendar .reservation-week-nav strong{white-space:normal;font-size:12px}.reservation-calendar .reservation-week-nav{border-radius:22px}}

@media(pointer:coarse),(max-width:760px){.reservation-calendar .reservation-week-nav .button{width:44px;min-width:44px;min-height:44px}.reservation-calendar [data-action=reservation-today]{min-height:44px}}

.reservation-calendar{scroll-margin-top:12px}

/* Report workspace: scoped to the IT form, retaining shared delivery controls. */
.report-panel{max-width:1180px;margin-inline:auto}
.report-panel .report-section{min-width:0;border:0;padding:0 0 24px;margin:0 0 24px;border-bottom:1px solid #dce6ee}
.report-section legend{display:flex;align-items:center;gap:12px;width:100%;padding:0;margin:0 0 20px;font-size:20px;font-weight:750;color:var(--navy,#16364c)}
.report-section legend svg{flex-shrink:0}
.report-panel .report-description-fields{display:grid;gap:18px}
.report-panel label{min-width:0;margin-bottom:0}.report-panel .report-section{border-radius:0}.report-panel input:not([type=radio]),.report-panel textarea,.report-panel select{font-weight:400}
.report-panel .report-title-count{text-align:right;margin-top:5px;font-size:12px}
.report-panel textarea{min-height:110px}
.report-context-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.report-urgency-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.report-panel .report-urgency{--severity-color:#526d87;--severity-tint:#f4f7fa;--severity-selected:#e6edf4;--severity-border:#c3d1df;display:flex;flex-direction:row;align-items:flex-start;gap:12px;padding:16px 14px;margin:0;border:1px solid var(--severity-border);border-radius:10px;cursor:pointer;background:var(--severity-tint);line-height:1.4}
.report-panel .report-urgency input{width:20px;height:20px;min-height:0;flex:0 0 20px;margin:2px 0 0;padding:0;accent-color:var(--severity-color)}
.report-urgency strong{display:flex;align-items:center;gap:7px;font-size:15px}
.report-severity-icon{flex-shrink:0;color:var(--severity-color)}
.report-panel .report-urgency[data-severity="2"]{--severity-color:#007e79;--severity-tint:#f0f9f8;--severity-selected:#dcefeb;--severity-border:#b4dbd5}
.report-panel .report-urgency[data-severity="3"]{--severity-color:#966000;--severity-tint:#fffaf0;--severity-selected:#ffedc5;--severity-border:#e9d4a4}
.report-panel .report-urgency[data-severity="4"]{--severity-color:#b43d3d;--severity-tint:#fff5f4;--severity-selected:#fbe2df;--severity-border:#e9c2bf}
.report-urgency small{display:block;margin-top:4px;font-size:13px;color:#576f80;font-weight:400}
.report-urgency:has(input:checked){border-color:var(--severity-color);background:var(--severity-selected);box-shadow:inset 0 0 0 1px var(--severity-color)}
.report-urgency:has(input:focus-visible){outline:3px solid var(--severity-color);outline-offset:3px}
.report-panel .advanced{margin:0;padding:0 0 22px;border:0;border-bottom:1px solid #dce6ee}
.report-panel .advanced .form-grid{margin-top:16px}
.report-submit{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:22px}
.report-submit .form-actions{margin:0;align-items:center;gap:12px}
.report-submit p{margin:0;color:#576f80;font-size:13px;line-height:1.6;text-align:right}
.report-panel .form-error:empty{display:none}
@media(max-width:1100px){.report-urgency-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.report-context-grid{gap:12px}.report-section legend{font-size:18px}}
@media(max-width:650px){.report-context-grid{grid-template-columns:1fr}.report-panel.form-panel{padding:22px 18px}.report-panel .report-section{padding-bottom:20px;margin-bottom:20px}.report-section legend{gap:8px;margin-bottom:16px}.report-submit{align-items:flex-start;flex-direction:column}.report-submit p{text-align:left}.report-submit .form-actions{width:100%;flex-wrap:wrap}.report-panel .report-urgency{padding:12px 10px;gap:8px}.report-urgency small{font-size:12px}}
@media(max-width:360px){.report-urgency-grid{grid-template-columns:1fr}.report-submit .button.primary{width:100%}}

.notification-more{padding:16px;display:flex;justify-content:center}.notification-more .button:disabled{opacity:.6}

/* Resource selector: integrated calendar tabs. Remove this block and the
   resource-tabs-design class to restore the previous pill selector. */
.resource-tabs-design.reservation-calendar .reservation-resources{display:flex;align-items:stretch;flex-wrap:wrap;gap:0;padding:0 20px;background:#f8faf9;border-bottom:1px solid #dbe5e1}
.resource-tabs-design .reservation-resources button[data-action=reservation-resource]{position:relative;min-height:62px;padding:17px 22px;gap:10px;border:0;border-radius:0;background:transparent;color:#536b73;box-shadow:none;font-size:.9rem;font-weight:600;white-space:nowrap;transition:background .16s,color .16s}
.resource-tabs-design .reservation-resources button[data-action=reservation-resource]::after{content:"";position:absolute;bottom:0;left:18px;right:18px;height:3px;border-radius:3px 3px 0 0;background:transparent}
.resource-tabs-design .reservation-resources button[aria-pressed=true]{background:#fff;color:#087f77}
.resource-tabs-design .reservation-resources button[aria-pressed=true]::after{background:#087f77}
.resource-tabs-design .reservation-resources button[data-action=reservation-resource]:hover{background:#edf4f1;color:#184d47}
.resource-tabs-design .reservation-resources button[data-action=reservation-resource]:focus-visible{outline:3px solid #087f77;outline-offset:-5px}
.resource-tabs-design .reservation-resources .reservation-import-link{align-self:center;margin-left:auto;min-height:36px;padding:8px 12px;font-size:.78rem}
@media(max-width:760px){.resource-tabs-design.reservation-calendar .reservation-resources{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:0 8px;gap:0}.resource-tabs-design .reservation-resources button[data-action=reservation-resource]{min-height:52px;padding:12px 8px;font-size:13px;gap:8px}.resource-tabs-design .reservation-resources button[data-action=reservation-resource]::after{left:8px;right:8px}.resource-tabs-design .reservation-resources .reservation-import-link{grid-column:1/-1;justify-self:start;margin:8px}}
@media(prefers-reduced-motion:reduce){.resource-tabs-design .reservation-resources button[data-action=reservation-resource]{transition:none}}

/* Week navigation follows the integrated resource tabs. */
.resource-tabs-design.reservation-calendar .reservation-toolbar{padding:12px 20px;background:#fff;gap:10px 20px}
.resource-tabs-design.reservation-calendar .reservation-date-controls{gap:12px}
.resource-tabs-design.reservation-calendar .reservation-week-nav{border:0;border-radius:0;gap:6px;overflow:visible;background:transparent}
.resource-tabs-design.reservation-calendar .reservation-week-nav .button{width:34px;min-width:34px;min-height:36px;border:1px solid #dbe5e1;border-radius:8px;background:#f8faf9;color:#365e57}
.resource-tabs-design.reservation-calendar .reservation-week-nav .button:hover{background:#eaf4ef;border-color:#90b6a7}
.resource-tabs-design.reservation-calendar .reservation-week-nav .button:focus-visible{outline:3px solid #087f77;outline-offset:2px}
.resource-tabs-design .reservation-week-label{flex-direction:row;flex-wrap:nowrap;gap:10px;padding:0 10px;justify-content:flex-start}
.resource-tabs-design .reservation-week-icon{display:flex;color:#52786b}
.resource-tabs-design .reservation-week-text{display:grid;gap:2px;text-align:left}
.resource-tabs-design.reservation-calendar .reservation-week-nav strong{font-size:14px;line-height:1.35;color:#193d42}
.resource-tabs-design .reservation-week-label small{font-size:11px;color:#5b746c;line-height:1.3}
.resource-tabs-design.reservation-calendar [data-action=reservation-today]{border:0;border-radius:8px;min-height:36px;padding:6px 10px;color:#286c59;background:#eef6f2;font-size:12px}
.resource-tabs-design.reservation-calendar .reservation-resource-meta{font-size:12px;color:#58706b;gap:16px}
@media(max-width:760px){.resource-tabs-design.reservation-calendar .reservation-toolbar{padding:12px;gap:10px}.resource-tabs-design.reservation-calendar .reservation-date-controls{gap:8px}.resource-tabs-design .reservation-week-label{padding:0 4px;gap:7px}.resource-tabs-design.reservation-calendar .reservation-week-nav strong{font-size:13px}.resource-tabs-design.reservation-calendar .reservation-resource-meta{gap:4px 14px;flex-wrap:wrap}}

@media(max-width:760px){.resource-tabs-design.reservation-calendar .reservation-week-nav .button{min-height:44px;width:36px}}
@media(max-width:760px){.resource-tabs-design .reservation-week-text{min-width:0}.resource-tabs-design.reservation-calendar .reservation-week-nav strong{white-space:normal}}

/* Date/week heading only; resource navigation and timetable retain their styles. */
.resource-tabs-design.reservation-calendar .week-heading-design{display:grid;grid-template-columns:minmax(0,1fr);padding:16px 20px 12px;gap:9px;background:#f4f8f6;border-bottom:1px solid #dbe6df}
.resource-tabs-design .week-heading-design .reservation-date-controls{display:flex;align-items:center;flex-wrap:wrap;gap:12px;width:100%}
.resource-tabs-design.reservation-calendar .week-heading-design .reservation-week-nav{display:flex;align-items:center;flex:1;gap:0;min-width:0;border:0;background:transparent;border-radius:0}
.resource-tabs-design .week-heading-design .reservation-week-label{order:-1;flex:1;margin-right:16px;padding:0;justify-content:flex-start;min-width:0}
.resource-tabs-design .week-heading-design .reservation-week-icon{display:none}
.resource-tabs-design .week-heading-design .reservation-week-text{display:flex;flex-direction:column-reverse;gap:5px;min-width:0;text-align:left}
.resource-tabs-design.reservation-calendar .week-heading-design .reservation-week-nav strong{font-size:19px;letter-spacing:-.02em;line-height:1.25;white-space:normal;color:#173d3c}
.resource-tabs-design .week-heading-design .reservation-week-label small{font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.09em;color:#597368}
.resource-tabs-design.reservation-calendar .week-heading-design .reservation-week-nav .button{background:#fff;border:1px solid #cdded5;border-radius:8px 0 0 8px;width:38px;min-width:38px;min-height:36px;color:#315e4d}
.resource-tabs-design.reservation-calendar .week-heading-design .reservation-week-nav .button:last-child{border-radius:0 8px 8px 0;border-left:0}
.resource-tabs-design.reservation-calendar .week-heading-design .reservation-week-nav .button:hover{background:#e3efe7}
.resource-tabs-design.reservation-calendar .week-heading-design [data-action=reservation-today]{background:transparent;border:1px solid #cdded5;border-radius:8px;color:#315e4d}
.resource-tabs-design.reservation-calendar .week-heading-design .reservation-resource-meta{margin:0;justify-content:flex-start;font-size:11px;color:#587065;gap:8px 20px}
@media(max-width:760px){.resource-tabs-design.reservation-calendar .week-heading-design{padding:14px 12px 10px;gap:8px}.resource-tabs-design.reservation-calendar .week-heading-design .reservation-week-nav strong{font-size:17px}.resource-tabs-design .week-heading-design .reservation-week-label{margin-right:10px}.resource-tabs-design.reservation-calendar .week-heading-design .reservation-week-nav .button{min-height:44px;width:36px;min-width:36px}.resource-tabs-design.reservation-calendar .week-heading-design [data-action=reservation-today]{min-height:36px}.resource-tabs-design .week-heading-design .reservation-week-nav{flex-basis:100%}}

/* Compact week heading; resource location stays at its upper right. */
.resource-tabs-design.reservation-calendar .week-heading-design{position:relative;padding:8px 20px;gap:0}
.resource-tabs-design.reservation-calendar .week-heading-design .reservation-date-controls{padding-top:14px;gap:8px}
.resource-tabs-design .week-heading-design .reservation-week-text{gap:2px}
.resource-tabs-design.reservation-calendar .week-heading-design .reservation-week-nav strong{font-size:15px;line-height:1.25}
.resource-tabs-design .week-heading-design .reservation-week-label small{font-size:10px;letter-spacing:.06em}
.resource-tabs-design.reservation-calendar .week-heading-design .reservation-resource-meta{position:absolute;top:6px;right:20px;width:auto;max-width:calc(100% - 190px);justify-content:flex-end;text-align:right;gap:4px 14px;font-size:11px;line-height:1.3}
@media(max-width:760px){.resource-tabs-design.reservation-calendar .week-heading-design{padding:7px 12px;gap:4px}.resource-tabs-design.reservation-calendar .week-heading-design .reservation-resource-meta{position:static;order:-1;justify-self:end;max-width:100%;width:auto;margin:0;justify-content:flex-end;font-size:10px;gap:2px 10px}.resource-tabs-design.reservation-calendar .week-heading-design .reservation-date-controls{padding-top:0;gap:6px}.resource-tabs-design.reservation-calendar .week-heading-design .reservation-week-nav strong{font-size:14px}.resource-tabs-design .week-heading-design .reservation-week-label small{font-size:9px}}

.skip-navigation {
 position: fixed;
 top: .5rem;
 left: .5rem;
 z-index: 100;
 transform: translateY(calc(-100% - 1rem));
 padding: .65rem 1rem;
 border: 2px solid currentColor;
 border-radius: .5rem;
 color: #173c50;
 background: white;
}
.skip-navigation:focus { transform: none; }
.navigation-open .skip-navigation { display: none; }
