.sheet-main { max-width: 1120px; padding: 28px 24px; margin: auto; text-align: left; }
.sheet-intro { max-width: 720px; margin: 0 auto 24px; text-align: center; font-size: 19px; }
.sheet-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.sheet-actions button { width: auto; flex: 1 1 170px; margin: 0; }
.sheet-page button.secondary { background: var(--panel); color: var(--wine); border: 1px solid var(--line); }
.sheet-page button:disabled { opacity: .65; cursor: wait; }
#sheet-status { color: var(--wine-dark); font-weight: 700; min-height: 25px; }
.sheet-help, .sheet-credit { font-size: 15px; line-height: 1.5; color: #574a3d; }
.sheet-guide { padding: 14px 18px; border: 1px solid var(--line); margin: 18px 0; border-radius: 6px; }
.sheet-page summary { cursor: pointer; min-height: 44px; padding: 10px 0; font-weight: 700; }
.sheet-search-label { display: block; margin: 20px 0 6px; }
#sheet-search { width: 100%; padding: 12px; margin-bottom: 20px; }
.sheet-section { background: var(--panel); border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: 8px; margin-bottom: 14px; padding: 0 20px 12px; }
.sheet-section > summary { font-family: Georgia, serif; font-size: 22px; color: var(--wine-dark); padding: 16px 0; }
.sheet-row { border: 1px solid var(--line); border-radius: 6px; margin: 0 0 12px; padding: 0 14px 12px; background: #faf6ed; }
.sheet-row > summary { color: var(--wine-dark); }
.sheet-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 16px; }
.sheet-field { min-width: 0; }
.sheet-field label { display: block; margin: 0 0 5px; font-size: 16px; }
.sheet-field input, .sheet-field select, .sheet-field textarea { width: 100%; min-height: 44px; padding: 10px; margin: 0; font: inherit; font-size: 16px; }
.sheet-field textarea { resize: vertical; min-height: 76px; }
.sheet-field.wide { grid-column: 1 / -1; }
.sheet-field.check { display: flex; align-items: center; gap: 10px; }
.sheet-field.check input { width: 24px; min-height: 24px; accent-color: var(--wine); }
.sheet-field.check label { margin: 0; }
.sheet-page [hidden] { display: none !important; }
.sheet-credit { border-top: 1px solid var(--line); padding-top: 20px; margin-top: 30px; }
.sheet-page dialog { max-width: min(460px, calc(100% - 32px)); padding: 24px; border: 1px solid var(--gold); border-radius: 8px; background: var(--paper); color: var(--ink); }
.sheet-page dialog::backdrop { background: #30251f99; }
@media (max-width: 650px) { .sheet-main { padding: 20px 12px; } .sheet-section { padding: 0 12px 8px; } .sheet-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .sheet-row { padding: 0 10px 12px; } .sheet-section > summary { font-size: 20px; } }
@media (max-width: 360px) { .sheet-fields { grid-template-columns: minmax(0, 1fr); } }
