.service-upload-shell{width:min(1200px,calc(100% - 40px));margin:0 auto;padding:32px 0 60px;color:var(--theme-text,#17251d)}
.service-upload-shell [hidden]{display:none!important}
.service-upload-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:24px}
.service-upload-heading h1{margin:3px 0 8px;font-size:2.1rem;line-height:1.15}
.service-upload-heading p{margin:0;color:var(--theme-muted,#607066)}
.service-upload-heading .upload-eyebrow{font-size:.76rem;font-weight:800;letter-spacing:.11em;text-transform:uppercase;color:var(--theme-accent,#3e7a3a)}
.upload-campus{padding:10px 14px;border:1px solid var(--theme-border,#d4dfd4);border-radius:10px;font-size:.9rem;white-space:pre-line;text-align:right}
.upload-campus:empty{display:none}
.upload-card{padding:22px;border:1px solid var(--theme-border,#d4dfd4);border-radius:16px;background:var(--theme-surface,#fff);margin-bottom:18px}
.upload-card h2{font-size:1.12rem;line-height:1.35;margin:0 0 12px}
.upload-card p{line-height:1.5}
.upload-pickers{display:grid;grid-template-columns:2fr 1fr;gap:20px}
.service-upload-shell label{display:block;font-size:.88rem;font-weight:650;color:var(--theme-text,#17251d)}
.app-navigation-header .app-admin-utility:not([aria-current]){color:var(--theme-text,#17251d)}
.app-mobile-page-context,.app-mobile-page-context a{color:var(--theme-text,#17251d)}
.service-upload-shell input,.service-upload-shell select,.service-upload-shell button,.upload-button{font:inherit}
.service-upload-shell input:not([type=checkbox]),.service-upload-shell select{width:100%;min-height:44px;padding:10px 11px;box-sizing:border-box;margin-top:6px;border:1px solid var(--theme-border,#cbd9ce);border-radius:8px;background:var(--theme-canvas,#f7f9f6);color:var(--theme-text,#17251d)}
.service-upload-shell button,.upload-button{display:inline-flex;min-height:44px;align-items:center;justify-content:center;gap:6px;padding:10px 16px;border:1px solid var(--theme-border,#cbd9ce);border-radius:9px;background:var(--theme-surface,#fff);color:var(--theme-text,#17251d);font-size:.88rem;font-weight:650;text-decoration:none;cursor:pointer;line-height:1.3}
.service-upload-shell .upload-primary{background:#34763b;border-color:#34763b;color:#fff}
.service-upload-shell button:disabled,.service-upload-drop[aria-disabled=true] .upload-button{opacity:.48;cursor:default}
.service-upload-shell :focus-visible{outline:3px solid var(--theme-accent,#367845);outline-offset:3px}
.service-upload-drop{display:flex;align-items:center;justify-content:space-between;gap:22px;margin-top:22px;padding:25px 22px;border:2px dashed var(--theme-border,#cbd9ce);border-radius:12px;background:var(--theme-canvas,#f5f8f3)}
.service-upload-drop strong{font-size:1.08rem}.service-upload-drop p{margin:6px 0 0;color:var(--theme-muted,#607066);font-size:.88rem}
.service-upload-drop.dragging{border-color:#3e7a3a;background:var(--theme-surface,#edf6ee)}
.service-upload-drop .upload-button{position:relative;flex:0 0 auto;background:var(--theme-surface,#fff)}
.service-upload-drop input[type=file]{position:absolute;width:1px;height:1px;min-height:0;opacity:0;padding:0;margin:0;overflow:hidden}
.service-upload-drop .upload-button:focus-within{outline:3px solid var(--theme-accent,#367845);outline-offset:3px}
.service-upload-shell .upload-note{margin:12px 0 0;font-size:.83rem;line-height:1.55;color:var(--theme-muted,#607066)}
.upload-status{border-left:4px solid #3e7a3a;padding:14px 18px;margin:0 0 18px;background:var(--theme-surface,#fff);border-radius:0 10px 10px 0;line-height:1.5}
.upload-status.is-error{border-color:#b84633;color:var(--theme-text,#74251a)}
#upload-reload{margin-bottom:18px}.upload-parse-notes{border-color:#c8a653}.upload-parse-notes ul{margin:0;padding-left:20px;font-size:.87rem;line-height:1.5}.upload-parse-notes li+li{margin-top:7px}
.upload-review-grid{display:grid;grid-template-columns:minmax(280px,.8fr) minmax(0,1.45fr);gap:18px;align-items:start}
.upload-source{position:sticky;top:14px}.upload-source-name{overflow-wrap:anywhere;font-size:.84rem;color:var(--theme-muted,#607066)}
#upload-source-unavailable{font-size:.9rem;color:var(--theme-muted,#607066)}
#upload-pdf-canvas{display:block;width:100%;height:auto;background:#fff;border:1px solid var(--theme-border,#d4dfd4)}
.upload-pdf-controls{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:12px;font-size:.75rem}
.upload-pdf-controls button{font-size:.74rem;min-height:38px;padding:6px 9px}
.upload-section-heading{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:8px}.upload-section-heading h2{margin-bottom:0}
.upload-state{color:var(--theme-muted,#607066);font-size:.78rem}
.upload-service{margin-top:22px;padding-top:18px;border-top:1px solid var(--theme-border,#d4dfd4)}
.upload-service h3{margin:0 0 12px;font-size:1rem}
.upload-timeline-row{display:grid;grid-template-columns:145px minmax(100px,1fr) 73px 38px;gap:8px;align-items:start;margin-top:12px;padding-bottom:12px;border-bottom:1px solid var(--theme-border,#d4dfd4)}
.upload-timeline-row label{font-size:.74rem}.upload-timeline-row input:not([type=checkbox]){font-size:.84rem;padding:8px 6px}
.upload-timeline-row .upload-key{display:flex;grid-column:1/4;gap:8px;align-items:center;justify-content:flex-start;font-weight:500;color:var(--theme-muted,#607066)}
.service-upload-shell input[type=checkbox]{accent-color:#367845;width:18px;min-width:18px;max-width:18px;height:18px;min-height:18px;flex:0 0 18px;margin:0}
.upload-timeline-row .upload-remove{grid-column:4;grid-row:1;min-height:42px;margin-top:23px;padding:6px;font-size:1.25rem}
.upload-add-row{margin-top:12px}.upload-save-row{display:flex;align-items:center;gap:14px;margin-top:24px}.upload-save-row span{font-size:.8rem;color:var(--theme-muted,#607066)}
.upload-publish-panel{margin-top:22px;padding-top:20px;border-top:1px solid var(--theme-border,#d4dfd4)}
.service-upload-shell .upload-confirm-label{display:flex;align-items:flex-start;justify-content:flex-start;gap:10px;font-size:.88rem;line-height:1.5}.upload-confirm-label input{margin-top:2px}
.upload-publish-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}
.upload-published h3{font-size:1rem;margin:14px 0 4px}.upload-current-meta{color:var(--theme-muted,#607066);font-size:.88rem}
.upload-current-services{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:12px}.upload-current-services h4{font-size:.87rem;margin:0 0 10px}
.upload-current-services ol{list-style:none;margin:0;padding:0}.upload-current-services li{display:grid;grid-template-columns:88px 1fr;gap:10px;font-size:.84rem;line-height:1.5;padding:8px 0;border-bottom:1px solid var(--theme-border,#d4dfd4)}
.upload-current-services time{color:var(--theme-muted,#607066);font-variant-numeric:tabular-nums}.upload-current-services .is-key{font-weight:700}
.upload-history summary{font-weight:700;cursor:pointer}.upload-history-entry{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:16px 0;border-top:1px solid var(--theme-border,#d4dfd4);margin-top:12px}
.upload-history-entry strong,.upload-history-entry span{display:block}.upload-history-entry span{font-size:.8rem;color:var(--theme-muted,#607066);margin-top:5px}
@media(max-width:1050px){.upload-review-grid{grid-template-columns:minmax(0,1fr)}.upload-source{position:static}.upload-source canvas{max-width:640px;margin-inline:auto}.upload-pdf-controls{max-width:640px;margin-inline:auto}.upload-source{order:2}}
@media(max-width:759px){.service-upload-shell{width:calc(100% - 24px);padding-top:22px}.service-upload-heading{align-items:flex-start;gap:14px}.service-upload-heading h1{font-size:1.7rem}.service-upload-heading>div>p:last-child{font-size:.9rem}.upload-campus{font-size:.76rem;max-width:42%;padding:7px 9px}.upload-card{padding:17px;border-radius:12px}.upload-pickers{grid-template-columns:1fr;gap:14px}.service-upload-drop{flex-direction:column;align-items:flex-start;padding:20px 16px;gap:15px}.upload-current-services{grid-template-columns:1fr}.upload-save-row{align-items:flex-start;flex-direction:column}.upload-timeline-row{grid-template-columns:minmax(145px,1fr) 64px 30px;gap:6px}.upload-timeline-row>label:nth-child(1){grid-column:1;grid-row:1}.upload-timeline-row>label:nth-child(2){grid-column:1/-1;grid-row:2}.upload-timeline-row>label:nth-child(3){grid-column:2;grid-row:1}.upload-timeline-row .upload-remove{grid-column:3;grid-row:1;padding:4px}.upload-timeline-row .upload-key{grid-column:1/-1;grid-row:3}.upload-history-entry{align-items:flex-start;flex-direction:column}.upload-pdf-controls{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){.service-upload-shell *{scroll-behavior:auto}}

.upload-timeline-row.has-error { outline: 2px solid #b43e30; outline-offset: 3px; }
.upload-row-error { grid-column: 1 / -1; color: #b43e30; margin: 4px 0; }
.upload-error-jump { margin: 4px 8px; }
[aria-invalid="true"] { border-color: #b43e30; }
