/* S37A: the Guard app panel in Ops (requests, clock-ins, uniform). Rides on .bell-panel from schedule-s3.css. */
.gr-btn .i{width:20px;height:20px}
.gr-panel{width:min(460px,calc(100vw - 32px))}
.gr-tabs button{display:inline-flex;align-items:center;gap:6px}
.gr-tabs .i{width:15px;height:15px}
.gr-tabs .count{margin-left:2px}
.gr-panel #gr-msg{margin:0 16px 8px}
.gr-list{padding:0 12px 14px;gap:8px}
.gr-empty{padding:18px 6px;text-align:center}
.gr-lead{margin:2px 4px 4px}
.gr-sub{display:flex;gap:6px;margin:0 2px 4px}
.gr-sub button[aria-pressed="true"]{border-color:var(--accent);background:var(--accent-soft)}
.gr-panel .bp-head>button{align-self:flex-start;flex:none}
.gr-tog[aria-pressed="true"]{border-color:var(--good);background:var(--good-soft)}
.gr-sub .i{width:15px;height:15px}
.gr-item{display:grid;gap:8px;padding:12px;border:1px solid var(--line-2);border-radius:12px;background:var(--panel)}
.gr-top{display:flex;align-items:flex-start;gap:10px}
.gr-top>div{display:flex;flex-direction:column;min-width:0;flex:1}
.gr-top small{color:var(--fog);font-size:12.5px}
.gr-ic{width:34px;height:34px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;flex:none;background:var(--amber-soft);color:var(--amber)}
.gr-ic.claim{background:var(--good-soft);color:var(--good)}
.gr-ic .i{width:18px;height:18px}
.gr-change{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;font-size:14px}
.gr-change .i{width:14px;height:14px;vertical-align:-2px}
.gr-change s{color:var(--fog)}
.gr-k{font-weight:700}
.gr-why{margin:0;padding:8px 10px;border-left:3px solid var(--line-2);background:var(--bg);border-radius:0 8px 8px 0;font-size:13.5px}
.gr-ban{margin:0;display:flex;align-items:center;gap:6px;padding:6px 10px;border-radius:8px;background:var(--amber-soft);color:var(--amber);font-size:13px;font-weight:600}
.gr-ban .i{width:15px;height:15px;flex:none}
.gr-acts{display:grid;gap:8px}
.gr-acts input{width:100%;min-height:38px;padding:7px 10px;border-radius:9px;border:1px solid var(--line-2);background:var(--bg);color:var(--white);font:inherit;font-size:13.5px}
.gr-btns{display:flex;gap:8px;justify-content:flex-end}
.gr-btns button{flex:1;max-width:160px}
.gr-btns .i,.gr-follow .i,.gr-in .i{width:15px;height:15px}
.gr-done{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px}
.gr-note-read{margin:0;width:100%;font-size:13px;color:var(--fog)}
.gr-own{margin:0}
.gr-pager{padding-top:6px}
.gr-day{display:flex;align-items:center;justify-content:center;gap:14px;margin:0 0 4px}
.gr-live{grid-template-columns:88px 1fr;align-items:start}
.gr-photo{width:88px;height:110px;border-radius:10px;overflow:hidden;background:var(--bg);border:1px solid var(--line-2);display:flex;align-items:center;justify-content:center;color:var(--fog)}
.gr-photo img{width:100%;height:100%;object-fit:cover;display:block}
.gr-live-body{display:flex;flex-direction:column;gap:5px;min-width:0}
.gr-live-body small{color:var(--fog);font-size:12.5px}
.gr-in{display:flex;flex-wrap:wrap;align-items:center;gap:6px;font-size:13px}
.chip-k.gps{display:inline-flex;align-items:center;gap:4px;color:var(--white);background:var(--panel-2)}
.chip-k.gps .i{width:12px;height:12px}
.gr-wear{display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding:6px 8px;border-radius:10px;border:1px solid var(--line-2)}
.gr-wear.ok{border-color:rgba(84,199,154,.45);background:var(--good-soft)}
.gr-wear.no{border-color:rgba(245,166,35,.5);background:var(--amber-soft)}
.gr-top-ic{display:inline-flex;flex-direction:column;align-items:center;gap:1px;min-width:48px;font-size:10.5px;color:var(--fog)}
.gr-top-ic .i{width:24px;height:24px;color:var(--white)}
.gr-search{display:flex;align-items:center;gap:8px;min-height:40px;padding:0 10px;border:1px solid var(--line-2);border-radius:10px;background:var(--bg);color:var(--fog)}
.gr-search input{flex:1;min-width:0;border:0;background:none;color:var(--white);font:inherit;font-size:13.5px;outline:none}
.gr-tops{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}
.gr-tog{flex-direction:column;gap:3px;min-height:64px;padding:6px 2px;font-size:11px;font-weight:600;text-align:center}
.gr-tog .i{width:24px;height:24px}
.gr-tog[aria-pressed="true"] .i{color:var(--good)}
.gr-follow{display:inline-flex;align-items:center;gap:6px;justify-self:start}
.gr-nets{border:1px solid var(--line-2);border-radius:12px;padding:8px 12px;background:var(--panel)}
.gr-nets summary{display:flex;align-items:center;gap:8px;cursor:pointer;font-weight:700;font-size:13.5px;min-height:32px}
.gr-nets summary .i{width:16px;height:16px}
.gr-net{display:grid;gap:6px;padding:8px 0;border-top:1px solid var(--line)}
@media (max-width:520px){.gr-panel{top:58px;right:8px;width:calc(100vw - 16px)}.gr-tabs button{padding:5px 9px}.gr-live{grid-template-columns:72px 1fr}.gr-photo{width:72px;height:92px}}
