/* Every layout rule is confined to the new award workspace and its dialogs. */
#electronic-awards-workspace{display:grid;gap:1rem;min-width:0}
.award-tabs,.award-actions{display:flex;gap:.6rem;align-items:center;flex-wrap:wrap}
.award-filter-form{display:flex;flex-wrap:wrap;gap:.7rem;align-items:end}.award-filter-form label{display:grid;gap:.3rem;flex:1 1 10rem;min-width:0}.award-filter-form select,.award-filter-form input{width:100%;min-width:0}
.award-history{margin-block:1rem}.award-history summary,.award-optional-fields summary{cursor:pointer;font-weight:700;padding-block:.5rem}.award-history-text{white-space:pre-wrap;overflow-wrap:anywhere}.award-history-list{padding-inline-start:1.3rem}.award-optional-fields>.award-grid{padding-block:.7rem}
.award-tabs{padding-bottom:.7rem;border-bottom:1px solid var(--border,#d7dce4)}
.award-tabs [aria-current="page"]{background:var(--primary,#6554c9);color:#fff}
.award-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,20rem),1fr));gap:1rem}
.award-card{min-width:0;padding:1.2rem}.award-card h2{font-size:1.15rem;margin:0}
.award-card-heading{display:flex;align-items:center;justify-content:space-between;gap:.7rem;flex-wrap:wrap}
.award-card p,.award-card strong{overflow-wrap:anywhere}.award-card>button{margin-top:.3rem}
.award-dialog{width:min(46rem,calc(100vw - 1.5rem));max-height:calc(100dvh - 2rem);padding:1.3rem;border:1px solid var(--border,#d7dce4);border-radius:1.1rem;background:var(--surface,#fff);color:var(--text,#172536);overflow:auto}
.award-dialog-wide{width:min(76rem,calc(100vw - 1.5rem))}.award-dialog>.panel-heading{padding-right:3.2rem;min-height:2.8rem;margin-bottom:1rem}.award-dialog h2{font-size:1.4rem;margin:0}.award-dialog-body{min-width:0}
.award-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.award-full-width{grid-column:1/-1}
.award-dialog label,.award-departments label{display:grid;gap:.4rem;min-width:0}.award-dialog input,.award-dialog select,.award-dialog textarea,.award-departments select{min-width:0;width:100%}
.award-details{display:grid;grid-template-columns:minmax(8rem,1fr) minmax(0,3fr);gap:.65rem 1rem}.award-details dt{font-weight:700}.award-details dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}
.award-student-picker{display:flex;gap:.6rem;align-items:end}.award-student-picker label{flex:1}.award-student-results{display:grid;gap:.4rem;max-height:15rem;overflow:auto}.award-student-results button{text-align:left;justify-content:start}
.award-document-image{display:block;width:auto;max-width:100%;height:auto;max-height:75dvh;margin:1rem auto;object-fit:contain;background:white}
.award-review-form{border-top:1px solid var(--border,#d7dce4);padding-top:1rem;margin-top:1rem}
.award-template-form{display:grid;gap:1rem}.award-editor-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(15rem,19rem);gap:1rem;align-items:start}
.award-editor-stage{min-width:0;background:#e4e8ee;border-radius:.5rem;padding:.75rem;overflow:hidden}.award-editor-board{position:relative;isolation:isolate;width:100%;aspect-ratio:595.28/841.89;background-color:#fff;background-size:100% 100%;background-repeat:no-repeat;box-shadow:0 2px 8px #15243930;touch-action:none}
.award-editor-tools{display:grid;gap:.65rem}.award-editor-tools label.award-check{display:flex;align-items:center;gap:.6rem}.award-editor-tools .award-check input{width:1.1rem;height:1.1rem}.award-editor-tools input[type="color"]{height:2.5rem;padding:.25rem}
.award-editor-field{position:absolute;box-sizing:border-box;border:1px dashed #8c83cb;background:#e9e4ff30;line-height:1.3;white-space:pre-wrap;overflow-wrap:anywhere;cursor:move;touch-action:none;min-width:0;user-select:none}.award-editor-field.selected{border:2px solid #6554c9;background:#e9e4ff55;z-index:2}.award-editor-field:focus-visible{outline:3px solid #147bb5;outline-offset:1px}.award-editor-field-text{display:block;width:100%;height:100%;overflow:hidden;pointer-events:none}.award-editor-resize{position:absolute;bottom:-1px;right:-1px;display:grid;place-items:center;width:1.2rem;height:1.2rem;background:#6554c9;color:#fff;cursor:nwse-resize;font:16px sans-serif}.award-editor-positions{gap:.5rem}.award-editor-positions input{padding:.45rem}
.award-department-rows{display:grid;gap:.8rem}.award-department-row{display:grid;grid-template-columns:1fr 1fr auto;align-items:end;gap:.6rem}
.award-received-dialog{width:min(35rem,calc(100vw - 1.5rem));max-height:calc(100dvh - 2rem);padding:1.7rem;text-align:center;border:1px solid var(--border,#d7dce4);border-radius:1.4rem;background:var(--surface,#fff);color:var(--text,#172536)}
.award-received-dialog>.panel-heading{display:block;padding:0 2.5rem}.award-received-dialog h2{font-size:1.55rem}.award-received-dialog h2>.section-symbol{display:none}.award-received-symbol{display:grid;place-items:center;width:7rem;height:7rem;margin:1rem auto;border-radius:50%;font-size:4.5rem;color:#ab7c1d;background:linear-gradient(145deg,#fff4cc,#ead6ff)}.award-received-event{font-size:1.15rem;font-weight:700;overflow-wrap:anywhere}.award-received-dialog>.award-actions{justify-content:center}
@media(max-width:750px){.award-editor-layout{grid-template-columns:1fr}.award-editor-tools{grid-template-columns:repeat(2,minmax(0,1fr))}.award-editor-tools>small,.award-editor-positions{grid-column:1/-1}.award-department-row{grid-template-columns:1fr}.award-details{grid-template-columns:1fr;gap:.2rem}.award-details dd{margin-bottom:.65rem}}
@media(max-width:450px){.award-grid{grid-template-columns:1fr}.award-dialog{padding:1rem}.award-dialog h2{font-size:1.2rem}.award-tabs{gap:.4rem}.award-tabs button{font-size:.85rem;padding:.5rem}.award-student-picker{align-items:stretch;flex-direction:column}.award-editor-tools{grid-template-columns:1fr}.award-received-dialog{padding:1.2rem}.award-received-dialog h2{font-size:1.25rem}.award-received-dialog>.panel-heading{padding:0 2rem}.award-actions>.button{max-width:100%;white-space:normal}}
