.capture-video-wrap {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}

.capture-video-wrap video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.capture-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.capture-thumb {
    position: relative;
    width: 84px;
    height: 84px;
}

.capture-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.capture-thumb button {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    line-height: 1;
    cursor: pointer;
}


/* The note. One field whether it was typed or dictated. Interim dictation is
   greyed because the engine is still revising those words — they change under
   you, and that reads as a bug unless the styling says "not settled yet". */
.capture-note {
    display: block;
    width: calc(100% - 24px);
    margin: 10px 12px 0;
    padding: 8px 10px;
    font-size: 15px;
    line-height: 1.45;
    font-family: inherit;
    color: #1c1c1e;
    background: #fff;
    border: 1px solid #d1d1d6;
    border-radius: 8px;
    resize: vertical;
}
.capture-note.is-interim {
    color: #6b6b70;
    font-style: italic;
}


/* What kind of thing this is. Above the print toggle because it changes what the
   label will say, so it has to be chosen before deciding whether to print it. */
.capture-profile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 12px 12px 0;
    font-size: 15px;
    color: #1c1c1e;
}
.capture-profile-select {
    /* 44px is the smallest comfortable touch target, and this gets used one-handed
       while holding the item in the other. 16px stops iOS zooming the page on focus. */
    flex: 1;
    min-height: 44px;
    padding: 0 10px;
    font-size: 16px;
    color: inherit;
    background: #fff;
    border: 1px solid #c7c7cc;
    border-radius: 8px;
}

/* Print-now toggle. Sits under the buttons because it describes what happens
   after Save, not another thing to press. */
.capture-print {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 12px 12px 0;
    font-size: 15px;
    color: #1c1c1e;
}
.capture-print input { width: 20px; height: 20px; }
