.office-pulse-strip {
  display: grid; grid-template-columns: minmax(0,1fr) auto; gap: .3rem 1rem; align-items: start;
  background: #f6f0df; border-block: 1px solid #cbbd9c; margin: .65rem 0 1rem;
  padding: .48rem clamp(.6rem,2vw,1rem); color: var(--ink);
}
.pulse-head { grid-column: 1; display:flex; align-items: baseline; gap: .4rem .85rem; flex-wrap: wrap; }
.pulse-head h3 { margin: 0; font-size: 1.18rem; }
.pulse-head summary {
  padding: .17rem 0; min-height: 32px; cursor: pointer; font: 700 .95rem/1.4 var(--body);
  text-decoration: underline; text-underline-offset: .15em;
}
.pulse-people { grid-column: 1; display: flex; align-items: start; gap: .35rem .7rem; flex-wrap: wrap; min-width: 0; }
.pulse-person { display: inline-flex; align-items: center; gap: .3rem; font: .85rem/1.1 var(--body); min-width: 0; }
.pulse-person-text { display: grid; overflow-wrap: anywhere; }
.pulse-people .pulse-more { min-height: 34px; font-size: .87rem; }
.pulse-person span { font-size: .83rem; }
.pulse-avatar { display: block; flex: 0 0 auto; object-fit: contain; border-radius: 50%; background: #fffdf5; }
.pulse-empty, .pulse-breaks p { font-size: .92rem; margin: 0; }
.pulse-breaks { grid-column: 2; grid-row: 1 / span 2; justify-self: end; }
.pulse-settings { position: relative; }
.pulse-pop {
  position: absolute; z-index: 5; top:100%; left:0; width: min(278px,76vw); padding: .65rem .75rem;
  border: 1px solid #92866f; border-radius: 5px; background: #fffdf7; box-shadow: 2px 4px 0 #c8baa2;
}
.pulse-pop p { font-size: .95rem; margin: 0 0 .45rem; }
.pulse-options,.pulse-buttons { display:flex; flex-wrap:wrap; gap:.35rem; }
.pulse-options .quiet-link { display:block; width:100%; text-align:left; min-height:35px; }
.pulse-choice {
  min-height: 38px; padding: .26rem .5rem; border: 1px solid #b3a58d; border-radius: 4px;
  color: var(--ink); background: #fbf5e7; font: 700 .93rem/1.2 var(--body);
}
.pulse-choice[aria-pressed=true] { background: #dcefe6; border-color: #375f51; box-shadow: inset 0 0 0 1px #375f51; }
.pulse-signals { display:flex; flex-wrap:wrap; gap:.45rem; margin: .2rem 0 .15rem; }
.pulse-signal { display:grid; border-left:3px solid #b37747; padding-inline-start:.42rem; overflow-wrap:anywhere; }
.pulse-signal span { font-size:.83rem; }
.pulse-notice { grid-column:1 / -1; font-size:.95rem; }
.pulse-notice:empty { display:none; }
.pulse-notice[data-error=true] { color:#742c1c; }
.office-draw-slip {
  margin:1.45rem auto .7rem; max-width:860px; padding: clamp(.9rem,3vw,1.35rem);
  border:1px solid #b3a68b; border-left:5px solid #6c8f76; border-radius:4px;
  color:var(--ink); background:#f7f4e6;
}
.office-draw-slip header,.pulse-winner { display:flex; align-items:center; gap:.65rem; }
.office-draw-slip header img { flex: 0 0 auto; }
.office-draw-slip h3 { font-size:clamp(1.3rem,3vw,1.8rem); margin:0; }
.office-draw-slip p { margin:.25rem 0; }
.pulse-draw-state { border-top:1px dashed #bcad90; margin-top:.7rem; padding-top:.55rem; }
.pulse-draw-state p { font-size:.98rem; }
.pulse-draw-action .button { margin-top:.5rem; }
@media(max-width:640px){
  .office-pulse-strip { grid-template-columns:minmax(0,1fr); }
  .pulse-breaks { grid-column:1; grid-row:auto; justify-self:start; }
  .pulse-head { justify-content:space-between; }
  .pulse-settings .pulse-pop { left:auto; right:0; }
  .pulse-head summary { min-height:40px; padding-block:.45rem; }
  .pulse-choice { min-height:42px; }
}

.pulse-symbol { display:inline-block; margin-inline-end:.27em; font-family:system-ui,sans-serif; }
.pulse-buttons { align-items:center; }
.pulse-signal-button {
  display:inline-flex; align-items:center; min-height:42px; padding:.32rem .65rem; border:1px solid #987a53;
  border-radius:7px; background:#fffcf5; color:#46331f; cursor:pointer; font:700 .96rem/1.2 var(--body);
}
.pulse-signal-button[data-signal=coffee] {
  border:1.5px solid #623720; background:#f6d6a6; box-shadow:0 2px 0 #754b34; color:#382314;
}
.pulse-signal-button:hover:enabled { background:#f5e9d6; }
.pulse-signal-button[data-signal=coffee]:hover:enabled { background:#ffdfa9; }
.pulse-signal-button:active:enabled { transform:translateY(1px); box-shadow:none; }
.pulse-signal-button:disabled { cursor:default; background:#f3eee3; color:#5d5240; box-shadow:none; border-style:dashed; }
.pulse-wheel { position:relative; flex:0 0 auto; display:grid; place-items:center; inline-size:clamp(54px,12vw,78px); aspect-ratio:1; }
.pulse-wheel-rim,.pulse-wheel-hub { grid-area:1 / 1; border-radius:50%; }
.pulse-wheel-rim { width:100%; height:100%; border:2px solid #594737;
  background:repeating-conic-gradient(from -22.5deg,#b75c46 0 45deg,#f1cb70 45deg 90deg,#527e68 90deg 135deg,#eeddb5 135deg 180deg);
  box-shadow:0 2px 0 #9a896d,inset 0 0 0 3px #fff2d8; }
.pulse-wheel::after { content:""; position:absolute; inset:0 auto auto 50%; width:11px; height:13px; transform:translate(-50%,-20%); background:#493726; clip-path:polygon(0 0,100% 0,50% 100%); }
.pulse-wheel-hub { z-index:1; width:53%; height:53%; display:grid; place-items:center; overflow:hidden; background:#fff8e8; border:1px solid #6e5844; }
.pulse-wheel-hub img { width:90%; height:90%; object-fit:contain; }
@keyframes pulse-prize-turn { from { transform:rotate(-360deg); } to { transform:rotate(0); } }
@media (prefers-reduced-motion:no-preference) {
  .pulse-wheel.is-revealed .pulse-wheel-rim { animation:pulse-prize-turn .9s cubic-bezier(.26,.1,.21,1); }
}

.pulse-settings summary .pulse-avatar { display:inline-block; vertical-align:middle; margin-inline-end:.3rem; }
.pulse-settings summary .pulse-avatar[hidden] { display:none; }
button.pulse-person { min-height:42px; text-align:left; padding:.1rem .4rem .1rem .18rem; border:1px solid #91836a; border-radius:7px; background:#fffaf0; color:var(--ink); cursor:pointer; }
button.pulse-person:hover,button.pulse-person:focus-visible { border-color:#365e4c; background:#e5f1e5; }
button.pulse-person::after { content:'✎'; padding-inline-start:.1rem; font-size:.95rem; color:#385746; }
