.trial-tools { margin: 32px 0 0; border-top: 1px solid var(--line); padding-top: 16px; font-size: 14px; }
.trial-line { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.trial-line > span { font-family: Georgia, 'Times New Roman', serif; font-size: 18px; font-weight: bold; }
.trial-tools summary { cursor: pointer; padding: 14px 0; min-height: 44px; color: var(--muted); }
.trial-tools p { color: #495247; margin: 10px 0; line-height: 1.6; }
.trial-toggle { display: flex; align-items: center; gap: 10px; font-weight: bold; }
.trial-toggle input { width: 20px; height: 20px; accent-color: var(--green); flex-shrink: 0; }
.trial-status { font-size: 14px; min-height: 22px; line-height: 1.5; }
#feedback-status:empty { min-height: 0; margin: 0; }
.paper-dialog { width: min(480px, calc(100% - 28px)); max-height: calc(100dvh - 36px); border: 1px solid #899787; border-radius: 8px; padding: 24px; background: var(--paper); color: var(--ink); overflow-y: auto; }
.paper-dialog::backdrop { background: rgb(20 32 25 / 48%); }
.dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.paper-dialog h2 { font: bold 25px/1.2 Georgia, 'Times New Roman', serif; margin: 0; }
.dialog-close { width: 44px; height: 44px; border: 0; border-radius: 5px; font-size: 27px; background: transparent; color: var(--ink); cursor: pointer; flex-shrink: 0; }
.dialog-close:hover { background: var(--tile); }
.dialog-intro { font-size: 14px; color: #495247; line-height: 1.6; margin: 10px 0 16px; }
.paper-dialog fieldset { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.paper-dialog legend, .comment-label { font-size: 14px; font-weight: bold; margin-bottom: 8px; }
.field-note { font-weight: normal; color: var(--muted); font-size: 14px; }
.trial-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.trial-options.ratings { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.trial-options label { position: relative; cursor: pointer; }
.trial-options input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.trial-options span { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 7px 4px; border: 1px solid #899787; border-radius: 5px; font-size: 14px; text-align: center; }
.trial-options input:checked + span { background: var(--green); color: white; border-color: var(--green); }
.trial-options input:focus-visible + span { outline: 3px solid #a44322; outline-offset: 2px; }
.comment-label { display: block; }
.paper-dialog textarea { font-size: 16px; border-color: #899787; }
.trial-honey { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.save-bar { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 4px; margin-top: 9px; }
#browser-link { font-size: 14px; overflow-wrap: anywhere; }
#browser-copy-status:empty { min-height: 0; margin: 0; }
.save-bar .button { font-size: 12px; border: 0; padding: 6px 8px; min-height: 36px; }
.save-bar + .puzzle-heading { margin-top: 13px; }
.save-steps { padding-left: 22px; font-size: 16px; line-height: 1.6; }
.save-steps li { margin-bottom: 10px; }
.paper-dialog kbd { border: 1px solid #899787; border-radius: 3px; padding: 2px 5px; font: inherit; font-size: 14px; white-space: nowrap; }
.save-link { overflow-wrap: anywhere; color: var(--green); font-size: 14px; }
@media (max-width: 440px) { .paper-dialog { padding: 18px; } .trial-line > span { font-size: 16px; } }
