/* Accepted concept 02: Forest header. Scoped for reuse in workspace pages. */
.workspace-dialog{--dialog-width:560px;--dialog-ink:#193c2e;--dialog-muted:#526b5e;--dialog-line:#cbded2;--dialog-green:#146d42;border:0;padding:0;background:transparent;color:var(--dialog-ink);width:min(var(--dialog-width),calc(100vw - 32px));max-width:none;max-height:none;overflow:visible;margin:auto;font:16px/1.5 system-ui,sans-serif}
.workspace-dialog,.workspace-dialog *{box-sizing:border-box}
.workspace-dialog::backdrop{background:#122d2566;backdrop-filter:blur(3px)}
.workspace-dialog__surface{display:flex;flex-direction:column;max-height:calc(100dvh - 40px);background:#fff;border:1px solid var(--dialog-line);border-top:5px solid var(--dialog-green);border-radius:12px;box-shadow:0 18px 56px #183c2e26;overflow:hidden}
.workspace-dialog__header{position:relative;flex-shrink:0;padding:26px 64px 18px 26px;margin-bottom:20px;background:#eaf6ef}
.workspace-dialog__kicker{display:block;color:var(--dialog-green);font-size:1.2rem;font-weight:750;letter-spacing:1px;margin-bottom:8px}
.workspace-dialog__title{margin:0;font-size:2.4rem;line-height:1.25;font-weight:700;overflow-wrap:anywhere}
.workspace-dialog__close{position:absolute;top:12px;right:12px;display:grid;place-items:center;width:44px;height:44px;border:0;border-radius:8px;background:transparent;color:inherit;cursor:pointer}
.workspace-dialog__close:hover{background:#dceee2}.workspace-dialog__close svg{display:block;width:20px;height:20px}
.workspace-dialog__body{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:0 26px 24px;color:var(--dialog-muted);overflow-wrap:anywhere}
.workspace-dialog__body p{margin:0 0 16px}.workspace-dialog__body p:last-child{margin-bottom:0}
.workspace-dialog__footer{display:flex;flex-wrap:wrap;justify-content:flex-end;flex-shrink:0;gap:10px;padding:18px 26px;border-top:1px solid var(--dialog-line);background:#f7faf8}
.workspace-dialog__button{max-width:100%;min-height:44px;padding:9px 16px;border:1px solid #9bbba8;border-radius:9px;background:#fff;color:var(--dialog-ink);font:650 16px/1.5 system-ui,sans-serif;overflow-wrap:anywhere;cursor:pointer}
.workspace-dialog__button:hover{background:#eaf6ef}.workspace-dialog__button--primary{background:var(--dialog-green);border-color:var(--dialog-green);color:#fff}.workspace-dialog__button--primary:hover{background:#105a36}
.workspace-dialog a.workspace-dialog__button{display:inline-flex;align-items:center;justify-content:center;text-decoration:none}
html body .workspace-dialog .workspace-dialog__button{border:1px solid #9bbba8;background:#fff;color:var(--dialog-ink)}
html body .workspace-dialog .workspace-dialog__button:hover{background:#eaf6ef}
html body .workspace-dialog .workspace-dialog__button--primary{border-color:var(--dialog-green);background:var(--dialog-green);color:#fff}
html body .workspace-dialog .workspace-dialog__button--primary:hover{background:#105a36}
.workspace-dialog :focus-visible{outline:3px solid #b97722;outline-offset:3px}.workspace-dialog__title:focus{outline:none}
html:has(.workspace-dialog[open]){overflow:hidden;scrollbar-gutter:stable}
.workspace-dialog[open]{animation:workspace-dialog-reveal .18s ease-out}
@keyframes workspace-dialog-reveal{from{opacity:0;transform:translateY(8px) scale(.99)}to{opacity:1;transform:none}}
@media(max-width:650px){.workspace-dialog__surface{max-height:calc(100dvh - 32px)}.workspace-dialog__header{padding:22px 62px 16px 20px}.workspace-dialog__body{padding:0 20px 20px}.workspace-dialog__footer{padding:16px 20px}.workspace-dialog__button{flex:1 1 120px}}
@media(prefers-reduced-motion:reduce){.workspace-dialog[open]{animation:none}.workspace-dialog::backdrop{backdrop-filter:none}}
