/* The extra text button must not take space from the full date column. */
body.frost-dispatch.sheet-center .detail-sheet.sheet-fit-details.sheet-view-dispatch.has-task-share{--sheet-static-columns:212px}
body.frost-dispatch.sheet-center .detail-sheet.sheet-fit-details.sheet-view-dispatch.has-task-share.sheet-dispatch-selectable{--sheet-static-columns:244px}
body.frost-dispatch.sheet-center .detail-sheet.sheet-fit-details.sheet-view-dispatch.has-task-share col[data-sheet-col="share"]{width:68px}
body.frost-dispatch.sheet-center .detail-sheet .task-share-cell{padding-inline:3px;text-align:center}
body.frost-dispatch.sheet-center .detail-sheet .task-share-trigger{width:100%;min-width:0;min-height:26px;height:26px;padding:2px 3px;border:1px solid var(--line,#c8b89c);border-radius:4px;background:var(--brand-soft,#eee4d2);color:var(--brand,#654322);font-size:11.5px;font-weight:400;line-height:1.2;white-space:nowrap;touch-action:manipulation}
body.frost-dispatch.sheet-center .task-share-dialog{box-sizing:border-box;width:min(560px,calc(100vw - 24px));max-width:none;max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);margin:auto;padding:0;border:1px solid var(--line,#c8b89c);border-radius:10px;background:var(--panel,#fffaf2);color:var(--text,#2f281f);box-shadow:0 18px 60px #35281333}
body.frost-dispatch.sheet-center .task-share-dialog[open]{display:flex;flex-direction:column}
body.frost-dispatch.sheet-center .task-share-dialog::backdrop{background:#241b164d}
body.frost-dispatch.sheet-center .task-share-heading{display:flex;align-items:center;gap:10px;flex:none;padding:12px 16px;border-bottom:1px solid var(--line,#c8b89c);background:var(--brand-soft,#eee4d2)}
body.frost-dispatch.sheet-center .task-share-heading h2{margin:0;font-size:17px;line-height:1.4}
body.frost-dispatch.sheet-center .task-share-status{font-size:12px;color:var(--muted,#75694e)}
body.frost-dispatch.sheet-center .task-share-status.has-missing{color:#9b422a}
body.frost-dispatch.sheet-center .task-share-close{margin-left:auto;min-width:32px;min-height:32px;padding:0;border:0;background:transparent;color:inherit;font-size:22px;line-height:1}
body.frost-dispatch.sheet-center .task-share-text{box-sizing:border-box;flex:1 1 auto;display:block;width:100%;min-width:0;min-height:120px;max-height:65vh;margin:0;padding:16px;border:0!important;border-radius:0;background:#fff!important;color:#2f281f!important;font:inherit;font-size:15px!important;font-weight:600;line-height:1.7;resize:none;white-space:pre-wrap;overflow-wrap:anywhere;overflow-y:auto;overscroll-behavior:contain;-webkit-text-fill-color:#2f281f}
body.frost-dispatch.sheet-center .task-share-text:focus{outline:2px solid var(--brand,#654322);outline-offset:-3px}
body.frost-dispatch.sheet-center .task-share-language{display:flex;align-items:center;gap:6px;flex:none;padding:8px 16px;border-bottom:1px solid var(--line,#c8b89c)}
body.frost-dispatch.sheet-center .task-share-language button{min-height:36px;padding:6px 14px;border:1px solid var(--line,#c8b89c);border-radius:5px;background:transparent;color:inherit;font:inherit;font-size:13px;font-weight:400;white-space:nowrap;touch-action:manipulation}
body.frost-dispatch.sheet-center .task-share-language button[aria-pressed="true"]{background:var(--brand,#654322);border-color:var(--brand,#654322);color:#fff}
body.frost-dispatch.sheet-center .task-share-language-note{flex:none;margin:0;padding:8px 16px;font-size:12px;line-height:1.5;color:var(--muted,#75694e)}
body.frost-dispatch.sheet-center .task-share-language-note[hidden]{display:none}
@media(pointer:coarse){body.frost-dispatch.sheet-center .task-share-language button{min-height:40px}}
body.frost-dispatch.sheet-center .task-share-feedback{flex:none;margin:0;padding:8px 16px 0;font-size:12px;line-height:1.5}
body.frost-dispatch.sheet-center .task-share-feedback:empty{display:none}
body.frost-dispatch.sheet-center .task-share-footer{display:flex;justify-content:flex-end;gap:8px;flex:none;padding:10px 16px;border-top:1px solid var(--line,#c8b89c)}
body.frost-dispatch.sheet-center .task-share-footer button{min-height:36px;padding:7px 16px;border:1px solid var(--line,#c8b89c);border-radius:5px;background:transparent;color:inherit;font-size:13px;font-weight:400;touch-action:manipulation}
body.frost-dispatch.sheet-center .task-share-footer .task-share-copy{border-color:var(--brand,#654322);background:var(--brand,#654322);color:#fff}
body.frost-dispatch.sheet-center .task-share-footer [hidden]{display:none}
body.frost-dispatch.sheet-center .task-share-dialog button:focus-visible,
body.frost-dispatch.sheet-center .task-share-trigger:focus-visible{outline:2px solid var(--brand,#654322);outline-offset:2px}
@media(max-width:600px){
  body.frost-dispatch.sheet-center .task-share-heading{padding:10px 12px;gap:8px}
  body.frost-dispatch.sheet-center .task-share-text{padding:12px;max-height:64dvh;font-size:14px!important}
  body.frost-dispatch.sheet-center .task-share-footer{padding:10px 12px}
  body.frost-dispatch.sheet-center .task-share-footer button{flex:1;min-height:40px}
}
