/* Shared Diggy Help; baseline appearance moved from board_files.css. */

.diggy-help-button{display:inline-grid;place-items:center;width:34px;height:34px;flex:0 0 auto;border:1px solid #c9d6e8;border-radius:50%;background:#fff;color:var(--primary,#1557d6);font:700 18px/1 system-ui,sans-serif;cursor:pointer}
.diggy-help-button:hover{background:#edf4ff;border-color:#9db9e3}
.diggy-help-button:focus-visible{outline:2px solid var(--primary,#1557d6);outline-offset:2px}
.diggy-help-dialog{width:min(720px,calc(100vw - 32px));max-height:min(82vh,760px);padding:0;border:1px solid #d6e0ef;border-radius:16px;background:#fff;color:inherit;box-shadow:0 24px 70px #14223b3d;overflow:hidden}
.diggy-help-dialog::backdrop{background:#12223b66;backdrop-filter:blur(2px)}
.diggy-help-dialog__header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 22px;border-bottom:1px solid #e1e7f0}
.diggy-help-dialog__header h2{margin:0;font-size:1.25rem}
.diggy-help-dialog__close{width:36px;height:36px;display:grid;place-items:center;flex:none;border:0;border-radius:9px;background:transparent;color:inherit;font-size:24px;line-height:1;cursor:pointer}
.diggy-help-dialog__close:hover,
.diggy-help-dialog__close:focus-visible{background:#edf3ff;outline:2px solid #bfd0ed}
.diggy-help-dialog__body{padding:22px;overflow:auto;max-height:calc(min(82vh,760px) - 78px);line-height:1.75}
.diggy-help-dialog__body h3{margin:24px 0 8px;font-size:1.05rem}
.diggy-help-dialog__body h3:first-child{margin-top:0}
.diggy-help-dialog__body p{margin:8px 0}
.diggy-help-dialog__body ul{margin:10px 0;padding-left:1.5rem}
.diggy-help-dialog__summary{margin:0 0 20px;padding:16px 18px;border:1px solid #cfe0f6;border-radius:12px;background:#f3f8ff}
.diggy-help-dialog__summary ul{margin:0}
.diggy-help-dialog__note{padding:12px 14px;border-left:3px solid var(--primary,#1557d6);background:#f7f9fc}@media(max-width:600px){
.diggy-help-button{width:32px;height:32px}
.diggy-help-dialog__header{padding:16px}
.diggy-help-dialog__body{padding:18px}
.diggy-help-dialog__summary{padding:14px}}


.diggy-help-dialog__body .google-group-help__address-row{
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}
.diggy-help-dialog__body .google-group-help__address{
    display: inline-block;
    max-width: 100%;
    padding: 0.55rem 0.7rem;
    border: 1px solid #d1d5db;
    border-radius: 0.45rem;
    background: #f8fafc;
    word-break: break-all;
}
.diggy-help-dialog__body .role-help-list{
    margin: 0.5rem 0 0.8rem 1rem;
    padding: 0;
}
.diggy-help-dialog__body .role-help-list li{
    margin-bottom: 0.55rem;
}
.diggy-help-dialog__body .role-help-list li:last-child{
    margin-bottom: 0;
}
/* The dialog is in the native top layer; no z-index competition with page UI. */
.diggy-help-button{box-sizing:border-box;padding:0;vertical-align:middle}
.diggy-help-button > span{pointer-events:none}
.diggy-help-dialog{box-sizing:border-box;text-align:left}
.diggy-help-dialog:not([open]){display:none}
.diggy-help-dialog__body{overscroll-behavior:contain;overflow-wrap:anywhere}
.diggy-help-dialog__header [data-diggy-help-title]:focus{outline:none}
@media(prefers-reduced-motion:reduce){.diggy-help-dialog::backdrop{backdrop-filter:none}}
