:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;display:flex;place-items:center;min-width:320px;min-height:100vh}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media (prefers-color-scheme: light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}:root{--base-color: #3C4C20;--base-contrast: #f5f7ef;--accent: #86a34a}html,body,#root{height:100%;width:100%}body{margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;background:var(--base-contrast);color:#1a1a1a;display:block}.app-shell{display:grid;grid-template-columns:280px 1fr;grid-template-rows:160px 1fr;grid-template-areas:"banner banner" "sidebar content";height:100%;width:100%}.sidebar{grid-area:sidebar;background:var(--base-color);color:var(--base-contrast);padding:16px;box-shadow:inset -1px 0 #0003}.sidebar h2{margin:0 0 12px;font-size:18px;letter-spacing:.5px}.menu,.menu-section{display:flex;flex-direction:column;gap:8px}.menu-section-title{font-weight:700;font-size:16px;color:var(--base-contrast);opacity:.85;text-transform:uppercase;letter-spacing:.04em}.menu-items{display:flex;flex-direction:column;gap:6px}.menu-items button{text-align:left}.menu-items .menu-link{display:inline-block;text-decoration:none;background:transparent;color:var(--base-contrast);border:1px solid rgba(255,255,255,.3);border-radius:6px;padding:10px 12px}.menu-items .menu-link:hover{background:#ffffff1f}.menu button{background:transparent;color:var(--base-contrast);border:1px solid rgba(255,255,255,.3);border-radius:6px;padding:10px 12px;text-align:left;cursor:pointer}.menu button.active,.menu button:hover{background:#ffffff1f}.banner{grid-area:banner;position:relative;background:var(--base-color);padding:0;overflow:hidden}.banner-img-wrapper{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:0}.banner:after{content:"";position:absolute;inset:0;background:linear-gradient(to bottom,#00000026,#00000073);pointer-events:none}background: rgba(60,76,32,.75); backdrop-filter: blur(2px); color: var(--base-contrast); border-radius: 6px; font-weight: 600; letter-spacing: .5px; } .content{grid-area:content;padding:16px;width:100%;height:100%;box-sizing:border-box;overflow-y:auto;display:flex;flex-direction:column}.panel{background:#fff;border:1px solid #e3e3e3;border-radius:8px;padding:16px;box-shadow:0 1px 2px #0000000d;width:100%}.panel-full-width{grid-column:1 / -1}.festival-results-section{margin-bottom:20px}.festival-documents-section{margin-top:30px;border-top:1px solid #e3e3e3;padding-top:20px}.festival-document-add{margin-bottom:20px;padding:16px;background:#f9f9f9;border-radius:6px}.error-message{color:#dc143c}.collapsible-header{display:flex;align-items:center;gap:8px;cursor:pointer;-webkit-user-select:none;user-select:none;margin:0 0 12px}.collapsible-header:hover{opacity:.7}.collapse-arrow{display:inline-block;font-size:12px;transition:transform .2s ease}.collapse-arrow.collapsed{transform:rotate(-90deg)}.form-row{display:grid;grid-template-columns:200px 1fr;align-items:center;gap:12px;margin-bottom:12px}.form-row input,.form-row select,.form-row textarea{padding:8px 10px;border:1px solid #cfcfcf;border-radius:6px;width:100%;box-sizing:border-box}.form-row input[type=checkbox]{width:auto;justify-self:start;padding:0}.form-row-pair{display:flex;gap:12px;margin-bottom:12px}.form-row-pair>.form-row{flex:1;margin-bottom:0}.actions{display:flex;gap:10px}.btn-primary{background:var(--base-color);color:var(--base-contrast);border:none;border-radius:6px;padding:10px 14px;cursor:pointer}.btn-secondary{background:transparent;color:var(--base-color);border:1px solid var(--base-color);border-radius:6px;padding:10px 14px;cursor:pointer}.btn-danger{background:#b00020;color:#fff;border:none;border-radius:6px;padding:10px 14px;cursor:pointer}.btn-danger:disabled{opacity:.6;cursor:default}.logo{height:6em;padding:1.5em;will-change:filter;transition:filter .3s}.logo:hover{filter:drop-shadow(0 0 2em #646cffaa)}.logo.react:hover{filter:drop-shadow(0 0 2em #61dafbaa)}@keyframes logo-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media (prefers-reduced-motion: no-preference){a:nth-of-type(2) .logo{animation:logo-spin infinite 20s linear}}.card{padding:2em}.read-the-docs{color:#888}.banner{display:block}html,body,#root,.app-shell{max-width:100vw}html,body{overflow-x:hidden}.panel{box-sizing:border-box}.bands-page{flex:1;min-height:0;display:flex;flex-direction:column;height:100%}.bands-layout{display:flex;width:100%;flex:1;min-height:0;overflow:hidden}.bands-content{padding-left:8px;display:flex;flex-direction:column;flex:1;min-height:0;overflow-y:auto}.bands-selector{border-right:1px solid #333;padding:12px 0 12px .5rem;display:flex;flex-direction:column;min-height:100vh;background-color:#2f2f2f;color:#f5f5f5;align-self:stretch;min-width:250px;max-width:250px;max-height:100vh;overflow-y:auto}.bands-list{margin-top:8px;overflow-y:auto;flex:1;min-height:0}.bands-list-item{display:block;width:100%;text-align:left;padding:6px 8px;border:none;background:transparent;border-radius:4px;cursor:pointer;color:inherit}.bands-list-item:hover{background:#ffffff14}.band-school{font-weight:600}.band-name{font-size:13px}.band-town{font-size:12px;opacity:.75;color:#ddd}.bands-detail{width:100%;display:flex;flex-direction:column;min-height:0;overflow-y:auto}.bands-menu{max-width:520px}.bands-menu-tabs{display:flex;gap:.5rem;border-bottom:1px solid #ccc}.bands-menu-tab{background-color:#2f2f2f;border:none;padding:.5rem 1rem;cursor:pointer;border-radius:4px 4px 0 0;color:#f5f5f5;opacity:.7}.bands-menu-tab.active{opacity:1;border-bottom:2px solid #f5f5f5}.bands-menu-tabpanel{padding:1rem 0}.bands-menu-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;margin-top:16px}.bands-menu-item{padding:10px 12px;border-radius:6px;border:1px solid #ccc;background:#2f2f2f;cursor:pointer;text-align:left;font-weight:500}.bands-menu-item:hover{background:#f0f0f0}.bands-detail-header{display:flex;align-items:center;gap:12px;margin-bottom:16px}.back-button{border-radius:4px;border:1px solid #ccc;padding:4px 8px;background:#2f2f2f;cursor:pointer}.back-button:hover{background:#eee}.bands-detail-body{padding-top:8px;padding-right:10px}.bands-detail-body>*+*{margin-top:10px}.bands-detail-row{display:flex;gap:10px}.bands-detail-row>*{flex:1}.bands-filter-input{width:100%;box-sizing:border-box;margin:.25rem 0 .5rem;padding:.25rem .75rem .25rem .5rem}.arrow{border:solid white;border-width:0 3px 3px 0;display:inline-block;padding:3px;color:#fff}.left{transform:rotate(135deg);-webkit-transform:rotate(135deg)}.festivals-page{flex:1;min-height:0;display:flex;flex-direction:column;height:100%}.festivals-layout{display:flex;width:100%;flex:1;min-height:0;overflow:hidden}.festivals-content{padding-left:8px;display:flex;flex-direction:column;flex:1;min-height:0;overflow-y:auto}.festivals-selector{border-right:1px solid #333;padding:12px 0 12px .5rem;display:flex;flex-direction:column;min-height:100vh;background-color:#2f2f2f;color:#f5f5f5;align-self:stretch;min-width:280px;max-width:280px;max-height:100vh;overflow-y:auto}.festivals-filter-controls{display:flex;flex-direction:column;gap:8px;padding-right:10px;margin-bottom:8px}.festivals-filter-controls select,.festivals-filter-controls input{width:100%;box-sizing:border-box;padding:6px 10px;border-radius:4px;border:1px solid #555;background:#1a1a1a;color:#f5f5f5}.festivals-list{margin-top:8px;overflow-y:auto;flex:1;min-height:0}.festivals-list-item{display:block;width:100%;text-align:left;padding:8px;border:none;background:transparent;border-radius:4px;cursor:pointer;color:inherit}.festivals-list-item:hover{background:#ffffff14}.festival-name{font-weight:600;font-size:14px}.festival-year{font-size:13px;color:#86a34a;font-weight:600}.festival-location{font-size:12px;opacity:.75;color:#ddd}.festivals-detail{width:100%;display:flex;flex-direction:column;min-height:0;overflow-y:auto}.festivals-menu{max-width:600px}.festivals-menu-tabs{display:flex;gap:.5rem;border-bottom:1px solid #ccc}.festivals-menu-tab{background-color:#2f2f2f;border:none;padding:.5rem 1rem;cursor:pointer;border-radius:4px 4px 0 0;color:#f5f5f5;opacity:.7}.festivals-menu-tab.active{opacity:1;border-bottom:2px solid #f5f5f5}.festivals-menu-tabpanel{padding:1rem 0}.festivals-detail-header{display:flex;align-items:center;gap:12px;margin-bottom:16px}.festivals-detail-body{padding-top:8px;padding-right:10px}.festivals-detail-body>*+*{margin-top:10px}.festivals-detail-row{display:flex;gap:10px;flex-wrap:wrap}.festivals-detail-row>*{flex:1;min-width:400px}.schedule-table,.score-table{width:100%;border-collapse:collapse;margin-top:12px}.schedule-table th,.schedule-table td,.score-table th,.score-table td{text-align:left;padding:8px;border-bottom:1px solid #e3e3e3}.schedule-table th,.score-table th{background:#f5f5f5;font-weight:600;font-size:14px}.schedule-table button,.score-table button{padding:6px 12px;margin-right:6px;border:none;border-radius:4px;background:#2f2f2f;color:#f5f5f5;cursor:pointer;font-size:13px;font-weight:500}.schedule-table button:hover,.score-table button:hover{background:#3f3f3f}.schedule-table button.btn-danger,.score-table button.btn-danger{background:#b00020;color:#fff}.schedule-table button.btn-danger:hover,.score-table button.btn-danger:hover{background:#8f001a}.table-actions{display:flex;align-items:center;gap:6px;white-space:nowrap}.band-selector{display:flex;flex-direction:column;gap:8px}.band-selector-mode{display:flex;gap:12px;margin-bottom:6px}.band-selector-mode label{display:flex;align-items:center;gap:4px;cursor:pointer;font-size:13px;line-height:1.2}.band-selector-mode input[type=radio]{cursor:pointer;width:14px;height:14px;margin:0}.band-selector select,.band-selector input[type=text]{padding:8px 10px;border:1px solid #cfcfcf;border-radius:6px}
