.header-activity{display:flex;gap:8px;align-items:center;flex-shrink:0}.header-popover{position:relative;margin:0;padding:0;border:0;background:transparent}.header-icon{position:relative;display:grid;place-items:center;width:39px;height:39px;border:1px solid #dce6e3;border-radius:10px;background:#f4f8f6;color:#214c43;cursor:pointer;list-style:none;padding:9px}.header-icon::-webkit-details-marker{display:none}.header-icon::after{display:none!important}.header-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.header-count{position:absolute;right:-5px;top:-6px;min-width:19px;height:19px;padding:0 4px;border-radius:12px;display:grid;place-items:center;background:#d6f569;color:#18362e;font-size:10px;font-weight:800;border:2px solid white}.header-count[hidden]{display:none!important}.header-popover-panel{position:absolute;right:0;top:calc(100% + 12px);z-index:100;width:260px;max-width:calc(100vw - 24px);padding:18px;background:white;color:#193c34;border:1px solid #dce6e3;border-radius:12px;box-shadow:0 15px 45px #193c3425}.header-popover-panel p{font-size:12px;line-height:1.6;color:#678077;margin:10px 0}.header-popover-panel>a,.header-popover-panel button{display:block;width:100%;padding:10px 0;font-size:13px;text-align:left;color:#176855;background:transparent;border:0;font-weight:600;letter-spacing:0;text-transform:none}.activity-row{display:flex;gap:20px;justify-content:space-between;align-items:center;margin-top:16px}.activity-row p{font-size:12px}.staff-access-form{display:grid;gap:12px;margin:20px 0}.staff-access-form label{display:grid;gap:8px;font-size:14px}.staff-access-form input,.staff-access-form select{padding:12px;border:1px solid #d6e1df;border-radius:8px;width:100%;background:#fff;color:#173c35}.staff-checkbox,.staff-access-form .staff-checkbox{display:flex;align-items:flex-start;gap:10px;margin:14px 0;font-size:14px;line-height:1.6}.staff-checkbox input,.staff-access-form .staff-checkbox input{width:18px;height:18px;flex-shrink:0;margin-top:3px}.staff-member{padding:18px;border:1px solid #d9e5df;border-radius:10px;margin:16px 0}.staff-member summary{font-size:15px}.dinkryo-admin[data-admin-theme=dark] .header-icon{background:#20364b;color:#d7e4e6;border-color:#3a4e63}.dinkryo-admin[data-admin-theme=dark] .header-popover-panel{background:#172338;color:#e5edf7;border-color:#3a4e63}.dinkryo-admin[data-admin-theme=dark] .header-popover-panel a,.dinkryo-admin[data-admin-theme=dark] .header-popover-panel button{color:#8cddd1}.header-icon:focus-visible{outline:3px solid #259478;outline-offset:3px}
@media(max-width:900px){.header .nav{flex-wrap:wrap;gap:12px}.header .brand{margin-right:auto}.header .nav-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;width:100%;justify-content:flex-end;padding-bottom:8px}.header .nav-actions .signin{display:inline-flex!important;align-items:center;font-size:13px;white-space:nowrap}.header .nav-actions .button{font-size:12px;padding:10px 14px}.header .header-activity{margin-right:auto}.header-popover-panel{position:fixed;top:140px;right:12px;left:auto}.dinkryo-admin .header-popover-panel{top:75px}.dinkryo-admin .dx-toolbar-end{flex-wrap:wrap}.activity-row{align-items:flex-start;flex-direction:column}}@media(max-width:420px){.header .brand{font-size:19px}.header .brand small{font-size:9px}.header .brand img{width:36px;height:36px}.header .nav-actions{gap:10px}.header-icon{width:36px;height:36px}}

.topbar { position: relative; z-index: 20; padding-block: 5px; }
.topbar .wrap { align-items: center; gap: 12px; min-height: 23px; }
.topbar-right { position: relative; display: flex; align-items: center; gap: 12px; margin-left: auto; }
.topbar-right .header-activity { gap: 4px; padding-left: 9px; border-left: 1px solid #26432d66; }
.topbar-right .header-popover { position: static; }
.topbar-right .header-icon { width: 34px; height: 34px; padding: 7px; background: #fff7; border-color: transparent; color: #1e3b2b; }
.topbar-right .header-icon:hover, .topbar-right .header-popover[open] .header-icon { background: #fff; }
.topbar-right .header-count { top: -3px; right: -3px; border-color: var(--lime); background: #173b2d; color: #fff; }
.topbar-right .header-popover-panel {
    position: absolute;
    inset: calc(100% + 7px) 0 auto auto;
    width: min(260px, calc(100vw - 24px));
    font-size: .875rem;
    letter-spacing: normal;
    text-transform: none;
}
