.sheet-edit-intro{margin:20px 0}.sheet-edit-intro h1{font-size:28px;line-height:1.2}.sheet-edit-intro>p{max-width:860px;line-height:1.6}.sheet-edit-status{font-size:13px;font-weight:600;color:var(--muted)}
.sheet-edit-print-error{display:none}
.sheet-edit-bottom-actions{display:flex;justify-content:flex-end;margin:24px 0}
.sheet-edit-layout{display:grid;grid-template-columns:minmax(260px,340px) minmax(0,1fr);gap:24px;align-items:start}.sheet-edit-panel{padding:18px;border:1px solid var(--line,#ccd4d0);border-radius:12px;background:var(--surface,#fff);min-width:0}.sheet-edit-actions{display:flex;gap:8px;flex-wrap:wrap}.sheet-edit-actions .btn{white-space:normal;font-size:12px}.sheet-edit-hint{font-size:12px;line-height:1.5;color:var(--muted)}.sheet-edit-errors{padding:12px;border:1px solid #a34040;border-radius:8px;background:#fff2ed;color:#742626;font-size:13px;line-height:1.5;margin-bottom:14px}.sheet-edit-errors[hidden]{display:none}.sheet-edit-group{border-top:1px solid var(--line,#ccd4d0);padding:12px 0}.sheet-edit-group summary{cursor:pointer;font-weight:650;line-height:1.5}.sheet-edit-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:14px}.sheet-edit-field{display:flex;flex-direction:column;gap:6px;min-width:0;font-size:12px;line-height:1.4}.sheet-edit-field:has(input[type=text]),.sheet-edit-field:has(select),.sheet-edit-wide,.sheet-edit-check{grid-column:1/-1}.sheet-edit-field input,.sheet-edit-field textarea,.sheet-edit-field select{font:inherit;color:var(--ink,#21352d);background:var(--paper,#fff);width:100%;min-width:0;border:1px solid var(--line,#aab9b0);border-radius:6px;padding:8px}.sheet-edit-field textarea{resize:vertical;min-height:78px}.sheet-edit-field input[aria-invalid=true]{outline:2px solid #ac4545}.sheet-edit-check{font-size:12px;line-height:1.5}.sheet-edit-portrait .portrait-upload{display:block;padding:12px;margin:16px 0}.sheet-edit-portrait .uploaded-preview{width:85px;height:95px;margin-bottom:12px}.sheet-edit-portrait .btn{font-size:12px;padding:9px}.sheet-edit-preview{min-width:0}.sheet-edit-preview .original-sheet-stack{margin-top:0}.sheet-edit-preview .clean-sheet{min-width:0}.sheet-edit-preview .clean-columns{gap:10px}.sheet-edit-preview .clean-stat{font-size:11px}.sheet-edit-preview .clean-header h2{font-size:26px}
@media(min-width:1600px){.sheet-edit-layout{grid-template-columns:360px minmax(0,1fr)}}
@media(max-width:1100px){.sheet-edit-layout{grid-template-columns:1fr}.sheet-edit-panel{max-width:none}.sheet-edit-fields{grid-template-columns:repeat(3,minmax(0,1fr))}.sheet-edit-field:has(input[type=text]),.sheet-edit-field:has(select){grid-column:auto}.sheet-edit-wide,.sheet-edit-check{grid-column:1/-1}.sheet-edit-preview{max-width:850px;width:100%;margin:auto}.sheet-edit-portrait .portrait-upload{display:flex;align-items:center;gap:18px}.sheet-edit-group{padding:12px 0}}
@media(max-width:600px){.sheet-edit-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.sheet-edit-field:has(input[type=text]),.sheet-edit-field:has(select){grid-column:1/-1}.sheet-edit-layout{gap:16px}.sheet-edit-intro h1{font-size:23px}.sheet-edit-panel{padding:14px}.sheet-edit-preview .clean-columns{grid-template-columns:1fr 1fr}.sheet-edit-preview .clean-stat{font-size:10px}.sheet-edit-preview .clean-sheet{padding:4%}.sheet-edit-preview .clean-dots{gap:1px}.sheet-edit-preview .clean-dots i{width:5px;height:5px}}
@media print{.sheet-edit-intro,.sheet-edit-panel{display:none!important}.sheet-edit-layout,.sheet-edit-preview{display:block!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important}.sheet-edit-preview .clean-columns{grid-template-columns:repeat(3,minmax(0,1fr))}.sheet-edit-preview .clean-stat{font-size:11px}.sheet-edit-preview .clean-sheet{padding:2mm 0 0}.sheet-edit-preview .clean-dots{gap:2px}.sheet-edit-preview .clean-dots i{width:7px;height:7px}.sheet-edit-preview .clean-header h2{font-size:25px}.sheet-edit-preview .clean-continuation .clean-block p{min-height:24px}}
@media print{.sheet-edit-bottom-actions{display:none!important}.sheet-edit-invalid .sheet-edit-preview{display:none!important}.sheet-edit-invalid .sheet-edit-print-error{display:block!important;border:1px solid #333;padding:8mm;background:white!important;color:black!important;font:12pt/1.5 'Segoe UI',sans-serif;break-inside:avoid}.sheet-edit-print-error h1{color:black!important;font:700 20pt/1.3 'Segoe UI',sans-serif!important;margin:0 0 6mm}.sheet-edit-print-error p,.sheet-edit-print-error li{color:black!important;overflow-wrap:anywhere}}
