.eyebrow > .copy-target { width: auto; height: auto; background: none; display: inline; flex: initial; }
.copy-target { overflow-wrap: anywhere; }
.copy-mode-toggle { border: 1px solid #a08b61; background: #fffaf0; color: #614b22; border-radius: 4px; padding: 6px 10px; font-size: 11px; margin-right: 5px; }
.copy-mode-toggle[aria-pressed=true] { background: var(--navy); border-color: var(--navy); color: white; }
#copy-mode-controls { position: fixed; right: 20px; bottom: 52px; z-index: 75; background: var(--navy); color: #fff; border: 1px solid #b49458; border-radius: 6px; box-shadow: 0 5px 25px #142f4c33; padding: 12px 15px; display: flex; align-items: center; gap: 16px; font-size: 11px; }
#copy-mode-finish { background: #fffaf0; color: var(--navy); border: 0; border-radius: 4px; min-height: 36px; padding: 7px 10px; font-size: 11px; }
.copy-mode .copy-target { display: inline-block; max-width: 100%; position: relative; cursor: pointer; outline: 1px dashed #ba8a43; outline-offset: 3px; border-radius: 1px; }
.copy-mode .copy-target:hover, .copy-mode .copy-target:focus-visible { background: #e6bb5f33; outline: 2px solid #ad7d2f; }
.copy-mode .copy-target:after { content: ' ✎'; font: normal 12px/1 var(--sans); color: #9e6d21; letter-spacing: 0; display: inline; }
.copy-mode .copy-target:empty { display: inline-block; width: 24px; min-height: 20px; }
.copy-mode .copy-target:empty:after { content: '✎'; }
#copy-editor { border: 1px solid #d4c4a4; border-radius: 10px; width: min(720px,calc(100vw - 32px)); max-height: calc(100dvh - 36px); padding: 30px; color: var(--ink); background: var(--paper); overflow: auto; box-shadow: 0 20px 100px #1027404d; }
#copy-editor::backdrop { background: #10274099; backdrop-filter: blur(3px); }
.copy-dialog-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.copy-dialog-head h2 { font-size: 30px; margin-bottom: 12px; }
.copy-dialog-head .overline { margin-bottom: 7px; }
.copy-close { border: 0; background: transparent; color: var(--navy); min-width: 40px; min-height: 40px; font-size: 28px; line-height: 1; }
.copy-dialog-help { font-size: 12px; color: var(--muted); line-height: 1.8; }
#copy-editor-message { font-size: 13px; color: #386047; }
#copy-editor-message.error { color: #a1392e; }
#copy-editor-form > label { font-size: 13px; font-weight: 600; }
#copy-editor-value { width: 100%; font-size: 16px; min-height: 170px; }
.copy-dialog-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 20px; }
.copy-dialog-actions .button { min-height: 44px; }
#copy-history { border-top: 1px solid var(--line); margin-top: 25px; padding-top: 22px; }
#copy-history h3 { font-size: 24px; }
.copy-revision { border: 1px solid var(--line); border-radius: 5px; padding: 15px; margin: 12px 0; background: #f7f4ed; }
.copy-revision summary { cursor: pointer; font-size: 12px; color: var(--navy); }
.copy-revision pre { white-space: pre-wrap; overflow-wrap: anywhere; font: 13px/1.8 var(--sans); max-height: 220px; overflow: auto; }
.copy-revision .button { font-size: 11px; }
.copy-search { display: grid; grid-template-columns: 1fr 220px; gap: 8px 22px; margin-bottom: 20px; }
.copy-search > label { font-size: 12px; font-weight: 600; }
.copy-search > label[for=copy-search] { grid-column: 1; grid-row: 1; }
.copy-search > input { grid-column: 1; grid-row: 2; margin: 0; }
.copy-search > label[for=copy-group] { grid-column: 2; grid-row: 1; }
.copy-search > select { grid-column: 2; grid-row: 2; margin: 0; }
.copy-manager-list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 22px; }
.copy-item { border: 1px solid var(--line); border-radius: 5px; background: var(--paper); padding: 22px; min-width: 0; }
.copy-item-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 15px; }
.copy-original { font-size: 11px; color: var(--muted); line-height: 1.7; margin-bottom: 13px; overflow-wrap: anywhere; }
.copy-current { font-size: 14px; line-height: 1.85; overflow-wrap: anywhere; max-height: 210px; overflow: auto; }
.copy-mode-note { font-size: 11px; }
@media(max-width:720px) {
  #copy-mode-controls { right: 12px; left: 12px; gap: 10px; justify-content: space-between; padding: 10px; font-size: 10px; }
  #copy-editor { padding: 22px 18px; }
  .copy-dialog-head h2 { font-size: 26px; }
  .copy-dialog-actions { gap: 10px; }
  .copy-dialog-actions .button { flex: 1; }
  .copy-dialog-actions .text-button { width: 100%; }
  .copy-manager-list { grid-template-columns: 1fr; }
  .copy-search { display: flex; flex-direction: column; gap: 8px; }
  .copy-search > select { margin-top: 0; }
  .copy-mode-toggle { margin-bottom: 6px; }
  .organizer-bar > .container > div { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; }
  .organizer-bar a { margin: 0; }
}

.copy-field-label { font-size: 20px; margin-bottom: 12px; }
