/* The supplied prototype.css is the visual baseline. Additions only support live data and the searchable city component. */
[hidden]{display:none!important}#toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);background:#17483d;color:#fff;border-radius:9px;padding:12px 18px;display:none;z-index:120;font-size:12px;max-width:90vw}canvas#wave{display:block;width:100%;height:62px;max-width:600px;margin:auto}.modal:focus{outline:none}.textcontent{overflow-wrap:anywhere}.ts-wrapper{font-size:11px}.ts-control{border:1px solid var(--line);border-radius:9px;min-height:39px;padding:10px 11px;box-shadow:none;color:#395247;background:#fff}.ts-wrapper.focus .ts-control{border-color:#91b9a8;box-shadow:0 0 0 3px #e9f3ed}.ts-dropdown{border:1px solid var(--line);border-radius:9px;box-shadow:var(--shadow);font-size:12px}.ts-dropdown .active{background:var(--green2);color:var(--green3)}.ts-dropdown .optgroup-header{font-size:10px;font-weight:700;color:var(--muted);background:#fafcfb}.ts-dropdown .option{padding:8px 12px}.ts-dropdown-content{max-height:220px}.ts-wrapper.single .ts-control:after{border-color:#7c8983 transparent transparent}.review-audio{cursor:pointer}.modalbg{overflow:auto}.modal .label{line-height:1.5}@media(max-width:700px){.toolbarleft{max-width:100%}.search{max-width:100%}}
.copy-code{background:transparent;color:var(--green);padding:0 2px;display:inline-flex;font-size:15px;line-height:1;border-radius:3px}.copy-code:hover{background:var(--green2)}.field[readonly],.field:disabled{background:#f6f8f6;color:#9aa69f;cursor:not-allowed}.ts-wrapper,.ts-dropdown{font-size:13px}
select.tomselected.ts-hidden-accessible{display:none!important}.modalhead{position:sticky;top:-22px;z-index:5;background:white;margin:-22px -22px 17px;padding:22px 22px 15px;border-bottom:1px solid var(--line)}.modalfoot{position:sticky;bottom:-22px;background:white;padding:14px 0;margin-bottom:-10px;z-index:4}.selected-file{font-size:18px;font-weight:750;color:var(--ink);overflow-wrap:anywhere;padding:3px 0 20px}.filebox.has-file{padding-top:22px}.redo-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#c56a57;vertical-align:top;margin-left:5px;box-shadow:0 0 0 3px #faeeec}.textblock #save-text,.textblock #cancel-text{font-size:14px;padding:10px 20px;min-height:40px}.audio-player{display:flex;align-items:center;gap:9px;background:#f0f6f2;border:1px solid var(--line);border-radius:10px;padding:8px 10px;min-width:200px;margin-top:10px}.audio-player audio{display:none}.audio-toggle{flex:none;width:30px;height:30px;border-radius:50%;background:var(--green);color:white;font-size:12px}.audio-seek{min-width:55px;width:100%;height:4px;accent-color:var(--green)}.audio-time{font-size:11px;color:var(--muted);font-variant-numeric:tabular-nums}.voice-orb{padding:8px 0 18px;display:grid;place-items:center}.voice-core{width:60px;height:60px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,#d5eddf,#eef8f1);color:#3e8b72;font-size:25px;box-shadow:0 0 0 10px #e7f3ed88;animation:breath 2s ease-in-out infinite}.voice-bars{display:flex;align-items:center;justify-content:center;gap:4px;height:62px;margin-top:16px}.voice-bars i{width:4px;height:8px;background:linear-gradient(#398b71,#aed5bf);border-radius:4px;animation:voice 0.9s ease-in-out infinite alternate;animation-delay:var(--delay)}@keyframes voice{to{height:var(--peak);opacity:.65}}@keyframes breath{50%{box-shadow:0 0 0 17px #e7f3ed55;transform:scale(1.04)}}@media(prefers-reduced-motion:reduce){.voice-core,.voice-bars i{animation:none}}@media(max-width:700px){.modalhead{top:-18px;margin:-18px -18px 17px;padding:18px}.modalfoot{bottom:-18px}}
.edit-icon{display:block;width:16px;height:16px;object-fit:contain}.file-icon{width:26px;height:30px;object-fit:contain;vertical-align:middle;margin-right:10px}.selected-file{display:flex;justify-content:center;align-items:center;gap:8px}.ts-wrapper.city-picker{border:0!important;padding:0!important;height:auto!important;min-height:0!important;background:transparent!important;box-shadow:none!important}.ts-wrapper.city-picker .ts-control{width:100%;margin:0}.ts-wrapper.city-picker input{border:0!important;box-shadow:none!important;background:transparent!important;outline:none!important;min-height:0!important;padding:0!important;margin:0!important}.region-cell{white-space:normal;min-width:150px;max-width:240px;line-height:1.7}.detail-row{display:grid;grid-template-columns:150px 1fr;gap:12px;border-bottom:1px solid var(--line);padding:10px 0;font-size:13px;line-height:1.7}.detail-row strong{color:var(--muted)}.detail-row div{white-space:pre-wrap;overflow-wrap:anywhere}.detail-json{white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px}.record-version{padding:10px;border:1px solid var(--line);border-radius:10px;margin-bottom:12px}@media(max-width:700px){.detail-row{grid-template-columns:110px 1fr}}
.playback-status{display:block;color:var(--red);font-size:12px;line-height:1.6;margin-top:5px}.playback-status:empty{display:none}.audio-player .audio-time{white-space:nowrap;min-width:72px}
/* Quark compatibility: use the browser's native player, not hidden audio + scripted play. */
.audio-player{padding:0;border:0;background:transparent;min-width:220px}.audio-player audio{display:block!important;width:100%;min-width:220px;height:42px}.audio-player .audio-toggle,.audio-player .audio-seek,.audio-player .audio-time{display:none!important}
.modal.category-modal{height:min(760px,90vh);min-height:min(680px,90vh);display:flex;flex-direction:column}.category-modal #category-fields{flex:1;min-height:270px}.category-modal .modalfoot{margin-top:auto;flex-shrink:0}.category-modal .ts-dropdown-content{max-height:320px}.category-modal .modalhead{flex-shrink:0}.audio-player audio{color-scheme:light;background:#fafcfc;border-radius:22px}@media(max-height:650px){.modal.category-modal{height:92vh;max-height:92vh;min-height:0}.category-modal #category-fields{min-height:220px}.category-modal .ts-dropdown-content{max-height:220px}}

/* Keep native media controls intact: Quark compatibility takes precedence over cosmetic shadow-DOM overrides. */
.audio-player audio{display:block!important;width:100%;height:54px;background:transparent;border-radius:0;color-scheme:light}
.audio-player.web-audio-player{padding:12px 14px;background:#f7faf8;border:1px solid #e2ebe5;border-radius:12px;gap:12px}.web-audio-player .audio-toggle{display:inline-flex!important;justify-content:center;align-items:center;width:36px;height:36px;background:#2f7567;color:#fff}.web-audio-player .audio-seek{display:block!important;flex:1;accent-color:#2f7567;background:#e5ede8;cursor:pointer;min-width:60px}.web-audio-player .audio-time{display:block!important;font-size:12px;min-width:82px;color:#597366}.audio-toggle:disabled{opacity:.5}
/* Borderless playback timeline; retain a keyboard-only focus indicator. */
.web-audio-player .audio-seek{border:0;box-shadow:none;padding:0;border-radius:4px;outline:none}.web-audio-player .audio-seek:focus-visible{outline:2px solid #91b9a8;outline-offset:4px}.audio-player.web-audio-player.review-player{border:0;box-shadow:none;background:transparent;padding:0;margin-top:0;border-radius:0}
/* Explicit timeline colors across Chromium and Firefox. */
.web-audio-player .audio-seek{appearance:none;-webkit-appearance:none;height:4px;background:linear-gradient(to right,#2f7567 0%,#2f7567 var(--played,0%),#e6e6e6 var(--played,0%),#e6e6e6 100%);border:0;border-radius:4px}.web-audio-player .audio-seek::-webkit-slider-runnable-track{height:4px;background:transparent;border:0;box-shadow:none}.web-audio-player .audio-seek::-webkit-slider-thumb{-webkit-appearance:none;width:12px;height:12px;border:0;border-radius:50%;background:#2f7567;margin-top:-4px}.web-audio-player .audio-seek::-moz-range-track{height:4px;background:transparent;border:0}.web-audio-player .audio-seek::-moz-range-progress{background:transparent}.web-audio-player .audio-seek::-moz-range-thumb{width:12px;height:12px;background:#2f7567;border:0;border-radius:50%}
@media(min-width:701px){.admin>.sidebar{position:sticky;top:68px;height:calc(100vh - 68px);height:calc(100dvh - 68px);align-self:flex-start;overflow-y:auto}}
