.cl025 { max-width: 1000px; margin: 0 auto; padding: 18px 12px calc(var(--bottom-h,72px) + env(safe-area-inset-bottom,0px) + 24px); color: #202c35; }
.cl025 button,.cl025 select,.cl025 textarea,.cl025 input { font: inherit; }
.cl025 button,.cl025-grid>a { border: 1px solid #e0cec0; border-radius: 9px; background: #fff; color: #673306; padding: 11px 14px; min-height: 44px; cursor: pointer; }
.cl025 button:disabled { opacity: .55; cursor: default; }
.cl025 select,.cl025 textarea,.cl025 input[type=date] { display: block; width: 100%; min-width: 0; padding: 11px; margin: 6px 0 12px; border: 1px solid #b7b7b7; border-radius: 8px; box-sizing: border-box; color: inherit; background: #fff; }
.cl025 textarea { min-height: 85px; resize: vertical; }
.cl025-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(230px,1fr)); gap: 12px; margin-top: 16px; }
.cl025-grid>a { display: flex; flex-direction: column; gap: 8px; text-decoration: none; padding: 18px; }
.cl025-stage-strip { display: flex; overflow-x: auto; gap: 8px; padding: 6px 2px 12px; margin: 12px 0; max-width: 100%; }
.cl025-stage-strip a { flex: 0 0 auto; display: block; color: #693d16; background: #fff; border: 1px solid #decbb9; border-radius: 9px; padding: 10px 12px; max-width: 270px; text-decoration: none; white-space: normal; }
.cl025-stage-strip a[aria-current=page] { color: #292017; background: #ff962f; border-color: #f37914; font-weight: 700; }
.cl025-sheet { touch-action: auto; padding: 20px; border: 1px solid #e2d9d0; border-radius: 14px; background: #fff; }
.cl025-sheet h1 { font-size: 27px; margin: 8px 0; }
.cl025-sheet h2 { font-size: 22px; }
.cl025-sheet header { display: block; padding: 0; margin: 0; background: transparent; color: inherit; }
.cl025-counter,.cl025-status { font-weight: 700; }
.cl025-items { padding-left: 24px; touch-action: pan-y; }
.cl025-items>li { padding: 12px 0 16px 6px; border-bottom: 1px solid #e8e2da; }
.cl025-items h3 { font-size: 17px; line-height: 1.45; margin: 0 0 10px; }
.cl025 fieldset { min-width: 0; border: 0; padding: 0; margin: 8px 0; }
.cl025-states { display: flex; gap: 8px 15px; flex-wrap: wrap; }
.cl025 .cl025-states label { display: flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 6px; }
.cl025 .cl025-states input { width: 20px; height: 20px; accent-color: #ed781b; }
.cl025-prior { padding: 10px; border-left: 3px solid #dc7d16; background: #fff7e9; white-space: pre-wrap; }
.cl025-outcome { margin-top: 22px; touch-action: pan-y; }
.cl025 .cl025-fix { background: #ff8b23; color: #251a10; font-weight: 700; }
.cl025-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 10px 0 16px; }
.cl025-neighbors { display: flex; justify-content: space-between; gap: 12px; margin: 18px 0; }
.cl025-neighbors>* { flex: 1; max-width: 49%; }
.cl025-neighbors button { text-align: left; }
.cl025-neighbors button:last-child { text-align: right; }
.cl025-error { padding: 14px; background: #fff0eb; border: 1px solid #e0ad98; border-radius: 9px; margin: 12px 0; }
.cl025-error button { margin: 8px; }
.cl025-print-only { display: none; }
.cl025 footer { margin-top: 20px; font-size: 12px; }
.cl025-confirm { max-width: 580px; width: calc(100% - 30px); max-height: 85vh; overflow-y: auto; border: 1px solid #dcc5b0; border-radius: 14px; padding: 22px; color: #202c35; }
.cl025-confirm::backdrop { background: #0008; }
.cl025-confirm button { min-height: 44px; padding: 10px 16px; font: inherit; }
.cl025 :focus-visible { outline: 3px solid #23618a; outline-offset: 3px; }
@media(max-width:600px) { .cl025 { padding-inline: 0; }.cl025-sheet{padding:16px 12px}.cl025-sheet h1{font-size:24px}.cl025-stage-strip a{max-width:210px}.cl025-states{flex-direction:column;gap:0}.cl025-neighbors button{font-size:14px;padding:10px} }
@media print {
 @page { size: A4; margin: 16mm 14mm; }
 body * { visibility: hidden !important; position: static !important; overflow: visible !important; max-height: none !important; }
 .cl025-sheet,.cl025-sheet * { visibility: visible !important; }
 .cl025-sheet { position: absolute !important; left: 0 !important; top: 0 !important; width: 100% !important; max-width: none !important; height: auto !important; max-height: none !important; overflow: visible !important; box-sizing: border-box; padding: 0 !important; margin: 0 !important; border: 0 !important; border-radius: 0 !important; background: #fff !important; color: #000 !important; font-size: 11pt; touch-action: auto; }
 .cl025-sheet .cl025-no-print,.cl025-no-print,.cl025-confirm { display: none !important; }
 .cl025-sheet .cl025-print-only { display: block !important; white-space: pre-wrap; }
 .cl025-sheet header { break-inside: avoid; }
 .cl025-sheet h2,.cl025-sheet h3 { break-after: avoid; }
 .cl025-sheet .cl025-items>li { break-inside: auto; margin: 0; padding-block: 8px; }
 .cl025-sheet .cl025-items { padding-left: 22px; }
 .cl025-sheet .cl025-outcome { break-inside: auto; }
 .cl025-sheet p { white-space: pre-wrap; }
 html,body,#root,main { height: auto !important; max-height: none !important; overflow: visible !important; }
}
.cl025-zone-controls { border: 1px solid #decbb9; padding: 14px; margin: 12px 0; border-radius: 10px; background: #fff8ef; }
.cl025-zone-controls input { display:block; box-sizing:border-box; width:100%; min-width:0; padding:11px; border:1px solid #b7b7b7; border-radius:8px; margin:8px 0; }
.cl025-zone-controls summary { cursor:pointer; padding:10px 0; }
.cl025-zone-name { font-size: 17px; }
.cl025-blank-lines { min-height: 80px; border-top: 1px solid #bbc1c6; border-bottom: 1px solid #bbc1c6; margin: 14px 0 20px; }

@media print {
 .cl025-sheet h1 { font-size:20pt; margin:2mm 0; }
 .cl025-sheet h2 { font-size:14pt; margin:3mm 0; }
 .cl025-sheet p { margin:2mm 0; line-height:1.3; }
 .cl025-sheet .cl025-items>li { padding:2mm 0; }
 .cl025-sheet footer { margin-top:2mm; break-before:avoid; }
}
