/* Mollie the sheepdog: Report to Mollie (udder-mollie-report-kit-v1).
   Sits in the bottom-right corner of the Farm Board, never over the notes. */
body{padding-bottom:120px}
.mollie-dock{
  position:fixed;right:max(12px,env(safe-area-inset-right));bottom:max(10px,env(safe-area-inset-bottom));
  z-index:40;display:flex;align-items:flex-end;gap:6px;
  background:none;border:0;padding:0;cursor:pointer;font:inherit;
}
.mollie-dock img{width:104px;height:104px;object-fit:contain;filter:drop-shadow(2px 4px 4px #0004);transition:transform .2s}
.mollie-dock:hover img,.mollie-dock:focus-visible img{transform:translateY(-4px) rotate(-3deg)}
.mollie-dock .bubble{
  order:-1;margin-bottom:52px;background:#fff9e8;color:#123624;border:2px solid #6b3f1f;
  border-radius:14px 14px 4px 14px;padding:7px 11px;font-weight:800;font-size:13px;box-shadow:2px 3px 0 #0002;white-space:nowrap
}
.mollie-dock:focus-visible{outline:3px solid #b9ef72;outline-offset:4px;border-radius:12px}
.mollie-shade{position:fixed;inset:0;background:#0007;z-index:50;display:none}
.mollie-shade.on{display:block}
.mollie-panel{
  position:fixed;z-index:51;right:16px;bottom:16px;width:min(420px,calc(100vw - 24px));max-height:calc(100vh - 32px);overflow:auto;
  background:#fff9e8;color:#241d19;border:3px solid #6b3f1f;border-radius:16px;box-shadow:4px 6px 0 #0003;padding:18px 18px 16px;display:none
}
.mollie-panel.on{display:block}
.mollie-panel .mp-head{display:flex;gap:12px;align-items:center;margin-bottom:8px}
.mollie-panel .mp-head img{width:64px;height:64px;object-fit:contain;flex:none}
.mollie-panel h2{margin:0;color:#173d2c;font-size:20px}
.mollie-panel p.mp-sub{margin:2px 0 0;font-size:13px;color:#526758;line-height:1.45}
.mollie-panel label{display:block;font-weight:700;font-size:13px;margin:12px 0 4px;color:#173d2c}
.mollie-panel select,.mollie-panel textarea{width:100%;background:#fffdf6;border:1px solid #e4d09a;border-radius:8px;padding:10px 12px;font:inherit;font-size:15px}
.mollie-panel textarea{min-height:84px;resize:vertical}
.mollie-panel .mp-row{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px;align-items:center}
.mollie-panel .mp-btn{background:#b9ef72;color:#123624;border:0;border-radius:11px;padding:11px 16px;font-weight:800;cursor:pointer;font:inherit;font-weight:800}
.mollie-panel .mp-btn.ghost{background:transparent;border:1px solid #c9b27a;color:#173d2c}
.mollie-panel .mp-btn[disabled]{opacity:.6;cursor:default}
.mollie-panel .mp-msg{margin-top:10px;padding:10px 12px;background:#e0f5d1;border-radius:8px;color:#123624;font-size:14px}
.mollie-panel .mp-msg.err{background:#f8e8e8;color:#8a2f2f}
.mollie-panel .mp-fine{font-size:12px;color:#526758;margin:10px 0 0;line-height:1.45}
@media(max-width:1399px){
  /* Below wide desktops Mollie sits in the page flow above the footer, so she never covers a note. */
  body{padding-bottom:0}
  .mollie-dock{position:static;margin:10px auto 0;justify-content:center;width:100%}
}
@media(max-width:600px){
  /* On phones Mollie sits in the page flow above the footer, so she never covers a note. */
  body{padding-bottom:0}
  .mollie-dock{position:static;margin:6px auto 0;justify-content:center;width:100%}
  .mollie-dock img{width:84px;height:84px}
  .mollie-dock .bubble{margin-bottom:38px;font-size:13px;padding:6px 10px}
  .mollie-panel{right:12px;left:12px;bottom:12px;width:auto}
}
@media(prefers-reduced-motion:reduce){.mollie-dock img{transition:none}}
