/* Arbeitsblaetter online ausfuellen (14.10.2026), gehoert zu assets/js/worksheet-fill.js.
   Felder wachsen mit dem Text, die Linie bleibt. Im Druck: Text dunkel, keine Bedienelemente. */
.fill{height:auto!important;min-height:20px;outline:none;cursor:text;font-size:10.5pt;line-height:1.45;color:#0c1512;white-space:pre-wrap;word-break:break-word}
.line.fill{min-height:14px}
.inline-schreib.fill{min-height:16px;padding:0 3px;white-space:pre-wrap;vertical-align:bottom}
table.raster td.fill{font-size:inherit}
.fill-kreuz{cursor:pointer;display:inline-flex;align-items:center;justify-content:center;position:relative}
/* Tippfläche 44 px, sichtbares Kästchen bleibt klein */
.fill-kreuz::before{content:"";position:absolute;left:50%;top:50%;width:44px;height:44px;transform:translate(-50%,-50%)}
.fill-kreuz.an{background:#C6FF01!important;border-color:#C6FF01!important}
.fill-kreuz.an::after{content:"\2715";font-weight:900;font-size:13px;line-height:1;color:#041615}
.striche>span.fill-kreuz.an::after{content:"/";font-size:15px}
.fill.fill-vorlage{min-height:0;white-space:normal}
.fill-bar{display:none}

@media screen{
  .fill{transition:background-color .15s ease}
  .fill:hover{background:#EFEFED}
  .fill:focus{background:#E4E8EA;box-shadow:inset 0 -2px 0 #5C7A12}
  .schreib.fill:empty:focus::before,.line.fill:empty:focus::before{content:"Hier tippen …";color:#8B9198;font-style:italic}
  table.raster td.fill:focus{box-shadow:inset 0 0 0 2px #5C7A12}
  .fill-kreuz:focus-visible{outline:3px solid #5C7A12;outline-offset:2px}
  .fill-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 18px;margin:0 0 22px;padding:14px 18px;border:1.5px dashed #5C7A12;border-radius:12px;background:#EFEFED}
  .fill-bar p{font-size:10pt;color:#333D44;line-height:1.5;flex:1 1 320px;margin:0}
  .fill-bar p b{color:#041615}
  .fill-status{display:inline-block;color:#5C7A12;font-weight:700;margin-left:4px}
  .fill-actions{display:flex;gap:10px;flex-wrap:wrap}
  .fill-actions button{font:inherit;font-size:10pt;font-weight:800;border-radius:999px;min-height:44px;padding:0 18px;cursor:pointer}
  .fill-print{background:#041615;color:#C6FF01;border:0}
  .fill-print:hover{background:#0c2822}
  .fill-reset{background:transparent;color:#333D44;border:1.5px solid #C6CBCE}
  .fill-reset:hover{border-color:#041615}
  @media (max-width:600px){.fill-actions{width:100%}.fill-actions button{flex:1}}
}
@media print{
  .fill-bar{display:none!important}
  .fill{background:none!important;box-shadow:none!important}
}
