.gj-agenda-summary{width:min(720px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:90dvh;padding:0;border:1px solid var(--border,#d6e3dc);border-radius:16px;background:var(--surface,#fff);color:var(--text,#234536);overflow:auto}
.gj-agenda-summary::backdrop{background:rgba(23,55,43,.18);backdrop-filter:none}
.gj-agenda-summary>header,.gj-agenda-summary>footer{display:flex;align-items:center;gap:12px;padding:16px 20px;background:#fff;position:sticky;z-index:1}
.gj-agenda-summary>header{top:0;justify-content:space-between;border-bottom:1px solid #d6e3dc}.gj-agenda-summary>header h2{margin:0;font-size:20px}
.gj-agenda-summary>footer{bottom:0;justify-content:flex-end;border-top:1px solid #d6e3dc;flex-wrap:wrap}
.gj-agenda-summary-body{padding:20px}.gj-agenda-summary-body h3{margin:0 0 12px}.gj-agenda-summary-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:20px 0}.gj-agenda-summary-grid dt{font-size:12px;color:#5d7268}.gj-agenda-summary-grid dd{margin:4px 0;overflow-wrap:anywhere}.gj-agenda-summary-body p{overflow-wrap:anywhere}
.gj-agenda-summary-pending{background:#f3f8f5;border-radius:12px;padding:16px}.gj-agenda-summary-pending-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:8px 0}.gj-agenda-summary-pending small{display:block;margin-top:12px;color:#5d7268}
@media(max-width:550px){.gj-agenda-summary-body{padding:14px}.gj-agenda-summary-grid{grid-template-columns:1fr}.gj-agenda-summary-pending-row{align-items:flex-start;flex-direction:column}.gj-agenda-summary .gjds-button{min-height:44px;white-space:normal}}

.workflow-context .workflow-related{margin-top:8px}.workflow-related>summary{cursor:pointer;font-weight:600;padding:8px 0;color:#365c4a}.workflow-related>p{font-size:13px;color:#5d7268;margin:8px 0}.workflow-related:not([open])>nav{display:none}

.gj-agenda-summary[open]>footer{align-items:center}.gj-agenda-summary[open]>footer>button:first-child{margin-right:auto}

#editorForm label.compact-site {
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto;
  gap:4px 6px;
  align-content:start;
  align-items:center;
  min-width:0;
}
#editorForm .compact-site select {grid-row:2;grid-column:1;min-width:0;width:100%}
#editorForm .compact-site button[data-add-client-site] {
  grid-row:2;grid-column:2;align-self:center;
  width:32px!important;min-width:32px!important;height:32px!important;min-height:32px!important;
  margin:0!important;padding:0!important;display:inline-grid;place-items:center;
}
#editorForm .compact-site button[data-add-client-site] svg {width:16px;height:16px}
@media(pointer:coarse){#editorForm .compact-site button[data-add-client-site]{width:44px!important;height:44px!important}}

#editorForm label.os-nature-field{display:flex;flex-direction:column;align-items:stretch;gap:6px;min-width:0}
#editorForm .os-nature-field output{display:block;box-sizing:border-box;padding:12px;min-height:44px;border:1px solid #d6e3dc;border-radius:8px;background:#f3f8f5;color:#234536;font-size:1rem;font-weight:600}

#editorForm .os-editor-footer{box-sizing:border-box!important;width:100%!important;max-width:100%;padding:8px 14px!important;margin:0!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;flex-wrap:wrap!important}
#editorForm .os-editor-footer>button{width:auto!important;max-width:100%!important;min-width:44px!important;white-space:normal!important;overflow-wrap:anywhere}
#editorForm .rh-schedule-warning{box-sizing:border-box;max-height:none!important;overflow:visible!important;padding:6px 10px;margin:8px!important}
#editorForm .rh-schedule-warning summary{white-space:normal}

#editorForm .os-editor-footer>.gj-os-actionbar{display:flex!important;flex-flow:row wrap!important;gap:6px!important;min-width:0;max-width:100%}
#editorForm .os-editor-footer .gj-os-actionbar button:not([hidden]){display:inline-flex!important;align-items:center;justify-content:center;gap:5px;width:auto!important;max-width:100%!important;min-width:0!important;height:auto!important;min-height:40px!important;padding:6px 10px!important;white-space:normal!important}
#editorForm .os-editor-footer .gj-os-actionbar .gj-secondary-label{display:inline!important;white-space:normal!important;font-size:13px!important}
#editorForm .os-editor-footer .gj-os-actionbar svg{flex:none}
@media(max-width:680px),(max-height:570px){#editorForm .os-editor-footer{max-height:35dvh;overflow-y:auto}}
#editorForm .os-editor-footer .gj-os-actionbar button:not([hidden]),#editorForm .os-editor-footer>button{flex:0 0 auto!important}

dialog.gj-agenda-summary[open]{box-sizing:border-box;width:min(1040px,94vw);max-width:94vw;height:min(78dvh,760px);max-height:calc(100dvh - 24px);margin:auto;display:flex;flex-direction:column;overflow:hidden;position:fixed;inset:0}
dialog.gj-agenda-summary[open]>.gj-agenda-summary-body{flex:1;min-height:0;overflow:auto;padding:18px 22px}
.gj-agenda-summary-tabs{position:sticky;top:-18px;z-index:2;display:flex;gap:8px;overflow:auto;padding:10px 0;background:#fff;border-bottom:1px solid #d6e3dc}
.gj-agenda-summary-tabs button{flex:none;white-space:nowrap}
.gj-agenda-summary-tabs button[aria-selected=true]{background:#176b48;color:#fff}
.gj-agenda-summary-tabpanel[hidden]{display:none!important}
.gj-agenda-summary-tabpanel>h3{margin:16px 0 8px}
.gj-agenda-summary-tabpanel>details{border:1px solid #d6e3dc;border-radius:10px;padding:12px}
.gj-agenda-summary-tabpanel>details>summary{cursor:pointer;font-weight:600}
.gj-agenda-summary-tabpanel>.gj-agenda-summary-pending{margin-top:12px}
@media(max-width:600px){dialog.gj-agenda-summary[open]{width:calc(100vw - 16px);max-width:calc(100vw - 16px);height:calc(100dvh - 16px);max-height:calc(100dvh - 16px)}dialog.gj-agenda-summary[open]>.gj-agenda-summary-body{padding:12px}.gj-agenda-summary-tabs{top:-12px}}
