/* The personal ordering dialog does not change the calendar drag controls. */
.daily-order-panel{min-width:0;max-width:100%;color:#233d34;font-size:16px;line-height:1.65}.daily-order-intro strong{display:block;color:#174c3c;font-size:18px;margin-bottom:10px}.daily-order-intro p{margin:0 0 12px;overflow-wrap:anywhere}.daily-order-help{font-size:14px;color:#627159;margin:16px 0}.daily-order-status{border:1px solid #dce5d1;background:#f1f6e9;color:#49623b;padding:13px 15px;border-radius:10px;font-size:15px;line-height:1.65;margin:16px 0;overflow-wrap:anywhere}.daily-order-status[hidden]{display:none}.daily-order-status[data-kind=error]{background:#fff1e9;border-color:#efd5c5;color:#81583f}.daily-order-status[data-kind=warning]{background:#fff8e9;border-color:#ecdbb3;color:#795f2d}.daily-order-list{list-style:none;padding:2px;margin:18px 0 0;display:flex;flex-direction:column;gap:11px;max-height:52vh;max-height:min(52dvh,520px);overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;min-width:0;touch-action:pan-y}.daily-order-row{display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:12px;min-width:0;padding:14px 12px;background:#fff;border:1px solid #dfe6d7;border-radius:12px;touch-action:pan-y}.daily-order-row.is-dragging{background:#f0f5e6;border-color:#96ae71;box-shadow:0 3px 10px #24453012}.daily-order-grip,.daily-order-move{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:44px;min-height:44px;border:1px solid #dce4d3;border-radius:8px;background:#f7f9f2;color:#48613b;font:inherit;font-size:14px;font-weight:600;padding:9px;cursor:pointer}.daily-order-grip{width:44px;height:44px;touch-action:none;cursor:grab}.daily-order-grip:active{cursor:grabbing}.daily-order-grip:disabled,.daily-order-move:disabled{opacity:.42;cursor:default}.daily-order-grip:hover:not(:disabled),.daily-order-move:hover:not(:disabled){background:#eaf1df}.daily-order-grip:focus-visible,.daily-order-move:focus-visible,.daily-order-reload:focus-visible{outline:3px solid #98ba69;outline-offset:3px}.daily-order-task{display:grid;grid-template-columns:27px minmax(0,1fr);align-items:start;gap:5px 9px;min-width:0}.daily-order-position{font-size:12px;font-weight:650;line-height:24px;min-width:24px;height:24px;text-align:center;background:#eaf0e1;color:#526b40;border-radius:6px;margin-top:2px}.daily-order-task strong{font-size:16px;font-weight:620;line-height:1.6;overflow-wrap:anywhere;word-break:break-word}.daily-order-state{grid-column:2;font-size:13px;line-height:1.6;color:#6a745f;overflow-wrap:anywhere}.daily-order-moves{display:flex;align-items:center;gap:7px}.daily-order-move svg{flex-shrink:0}.daily-order-empty{font-size:15px;line-height:1.7;color:#65725b;margin:20px 0}.daily-order-conflict{margin-top:15px}.daily-order-reload{min-height:44px;padding:9px 0;border:0;background:transparent;color:#536f3f;text-decoration:underline;text-underline-offset:4px;font:inherit;font-size:14px;text-align:left;white-space:normal}.daily-order-reload[hidden]{display:none}.daily-order-footer{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-wrap:wrap;border-top:1px solid #e2e8dc;padding-top:20px;margin-top:21px}.daily-order-footer .btn{min-height:47px;font-size:15px;white-space:normal;max-width:100%}
@media(max-width:600px){.daily-order-row{grid-template-columns:44px minmax(0,1fr);gap:11px;padding:13px 11px}.daily-order-grip{grid-row:1/3;align-self:start}.daily-order-moves{grid-column:2;justify-content:flex-end;min-width:0}.daily-order-move{flex:1;min-width:0;min-height:44px;padding:9px 7px;font-size:13px}.daily-order-task{grid-template-columns:25px minmax(0,1fr);gap:4px 7px}.daily-order-task strong{font-size:16px}.daily-order-state{font-size:13px}.daily-order-intro strong{font-size:17px}.daily-order-panel{font-size:16px}.daily-order-list{max-height:47vh;max-height:47dvh}.daily-order-status{padding:12px;font-size:14px}.daily-order-footer{gap:10px}.daily-order-footer .btn{flex:1;min-width:0;padding:11px 12px;font-size:14px}}
@media(max-width:360px){.daily-order-row{gap:9px;padding:12px 9px}.daily-order-task{grid-template-columns:22px minmax(0,1fr);gap:4px 6px}.daily-order-position{font-size:11px;min-width:22px}.daily-order-move{font-size:12px;gap:4px}.daily-order-move svg{width:15px;height:15px}.daily-order-help{font-size:14px}}
.daily-order-entry{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:16px 18px;margin:18px 0 22px;border:1px solid #dfe7d4;border-radius:12px;background:#f3f7eb;min-width:0}.daily-order-entry>p{flex:1;min-width:min(220px,100%);font-size:14px;line-height:1.65;color:#617153;margin:0;overflow-wrap:anywhere}.daily-order-entry .btn{min-height:44px;white-space:normal;flex-shrink:0}@media(max-width:600px){.daily-order-entry{align-items:stretch;padding:15px;gap:11px}.daily-order-entry>p{min-width:0;flex-basis:100%}.daily-order-entry .btn{width:100%;flex-shrink:1}}
.daily-order-panel{display:flex;flex-direction:column;max-height:calc(90vh - 150px);max-height:calc(90dvh - 150px)}.daily-order-intro,.daily-order-help,.daily-order-status,.daily-order-footer,.daily-order-empty,.daily-order-conflict{flex-shrink:0}.daily-order-list{flex:1;min-height:120px;max-height:520px}.daily-order-list:empty{min-height:0;margin-top:0}.daily-order-footer{background:#fff}.daily-order-panel>[data-daily-order-status]:not([hidden]){margin-top:8px}@media(max-width:600px){.daily-order-list{max-height:47dvh}.daily-order-panel{max-height:calc(90dvh - 142px)}}
