:root {
  font-family: "Instrument Sans", system-ui, sans-serif;
  color: #262920;
  background: #f6f5ee;
  line-height: 1.5;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
header { border-bottom: 1px solid #dedfd0; padding: 1.2rem max(6vw, 1.25rem); }
header a { color: inherit; font-size: 1.12rem; font-weight: 750; text-decoration: none; }
header span { display: inline-grid; place-items: center; width: 2rem; height: 2rem; margin-right: .45rem; background: #dce8a6; border-radius: 50%; }
main { max-width: 52rem; padding: clamp(2rem, 8vw, 6rem) 1.25rem; margin: auto; }
h1 { font-family: Georgia, serif; font-weight: 500; font-size: clamp(2.8rem, 8vw, 6rem); line-height: 1; letter-spacing: -.055em; margin: 0; }
p { color: #535747; max-width: 37rem; }
#start p { font-size: 1.2rem; margin: 1.5rem 0 2rem; }
button { background: #283626; color: white; border: 0; border-radius: .5rem; padding: .85rem 1.1rem; font: inherit; font-weight: 650; cursor: pointer; }
button:hover { background: #40503c; }
button:disabled { opacity: .6; cursor: progress; }
button span { margin-left: .75rem; }
.session-header { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.session-header h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
.session-header p { margin: .5rem 0 0; }
#link { width: 100%; margin-top: 1rem; padding: .6rem; font: inherit; }
#drop { position: relative; display: grid; justify-items: center; gap: .35rem; text-align: center; cursor: pointer; border: 2px dashed #a9b68a; border-radius: 1rem; background: #eef1e0; padding: 2rem 1rem; }
#drop:hover, #drop.dragging, #drop:focus-within { background: #e4ecc7; border-color: #455a39; }
#picker { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.upload-icon { display: grid; place-items: center; border-radius: 50%; background: #dce8a6; width: 2.8rem; height: 2.8rem; font-size: 1.4rem; }
#drop small { margin-top: .45rem; color: #535747; }
#files { padding: 0; list-style: none; }
#files li { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid #dedfd0; }
#files strong { overflow-wrap: anywhere; }
#files small { display: block; color: #535747; }
#files a { color: #304729; font-weight: 650; }
#status { overflow-wrap: anywhere; }
progress { width: 100%; margin-top: .8rem; accent-color: #40503c; }

.duration { display: grid; gap: .35rem; width: fit-content; margin-bottom: 1rem; font-weight: 650; }
.duration select { color: inherit; background: white; border: 1px solid #a9b68a; border-radius: .5rem; padding: .65rem; font: inherit; }

.share { position: relative; }
.share summary { background: #283626; color: white; border-radius: .5rem; padding: .85rem 1.1rem; font-weight: 650; cursor: pointer; }
.share summary:hover { background: #40503c; }
.share-options { position: absolute; z-index: 1; right: 0; top: calc(100% + .35rem); min-width: 100%; display: grid; padding: .25rem; background: white; border: 1px solid #dedfd0; border-radius: .5rem; box-shadow: 0 .25rem 1rem #26292020; }
.share-options a, .share-options button { display: block; padding: .6rem .85rem; background: transparent; color: inherit; border-radius: .3rem; text-align: left; text-decoration: none; font-weight: 650; }
.share-options a:hover, .share-options button:hover { background: #eef1e0; }
