/* New operation page (/events/:id). Home adaptive card outside, soft floating chips inside. */
/* Cards follow the Home's adaptive recipe: tinted by the active scene (--scene-rgb comes from the background's
   data-tone, the same rule the Home uses). */
.co-op-page {
  --g: linear-gradient(125deg, rgba(var(--scene-rgb, 111, 130, 100), 0.085), rgba(var(--scene-rgb, 111, 130, 100), 0.025)), #0a0c0da3;
  --g-line: rgba(var(--scene-rgb, 111, 130, 100), 0.09);
  --g-float: linear-gradient(125deg, rgba(var(--scene-rgb, 111, 130, 100), 0.16), rgba(var(--scene-rgb, 111, 130, 100), 0.05)), #0b0e0cf0;
  /* Soft lift: a wide faint shadow plus a short contact shadow (floating, not heavy). */
  --g-shadow: 0 16px 36px -14px #000000a6, 0 4px 12px -6px #00000066, inset 0 1px 0 #ffffff0a;
  --c-line: #ffffff0d;
  --c-bg: #ffffff08;
  --c-shadow: 0 4px 10px -6px #0008, 0 1px 2px #0003, inset 0 1px 0 #ffffff08;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  display: flow-root; /* the cover's negative top margin must not move the page itself */
  color: var(--text);
}
.co-op-page.has-cta { padding-bottom: 104px; }
/* The Home's scene (same images, tones and rotation), blurred for card contrast and covering the whole screen at
   every width. It is drawn 40 px past each edge so the blur never shows soft borders; the app's own
   .dynamic-background rules (Home sizes, right-side variant on wide screens) are overridden on purpose. */
.dynamic-background.co-scene-bg {
  position: fixed !important; z-index: 0; inset: auto !important; top: -40px !important; left: -40px !important;
  width: calc(100vw + 80px) !important; height: calc(100lvh + 80px) !important; max-width: none !important; max-height: none !important;
  object-fit: cover !important; object-position: center 20%; opacity: 0.85; filter: blur(22px) brightness(0.62) saturate(0.95); transform: none !important; pointer-events: none;
  -webkit-mask-image: linear-gradient(#000 0% 55%, #0000 100%) !important; mask-image: linear-gradient(#000 0% 55%, #0000 100%) !important; -webkit-mask-composite: source-over; mask-composite: add;
}
.co-op-page > :not(.co-scene-bg):not(.co-op-layer) { position: relative; z-index: 1; }
/* Phone: the cover runs edge to edge and up behind the app's top bar (--co-op-lift = how far the page starts
   below the top of the screen). Wider screens (side menu): a cover inside the content column. */
.co-op-hero { position: relative; min-height: 340px; margin: 0 calc(50% - 50vw); overflow: hidden; }
@media (max-width: 767px) {
  .co-op-hero { margin-top: calc(-1 * var(--co-op-lift, 0px)); min-height: calc(340px + var(--co-op-lift, 0px)); }
  .co-op-hero__top { top: calc(var(--co-op-lift, 0px) + 14px) !important; }
  html:has(.co-op-hero) .topbar { position: relative; z-index: 3; }
}
@media (min-width: 768px) { .co-op-hero { max-width: 640px; margin: 0 auto; border-radius: 26px 26px 0 0; } }
.co-op-hero__img.is-empty .co-op-map-art { opacity: 0.9; }
/* The cover dissolves into the blurred scene instead of ending in a solid band. */
.co-op-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; -webkit-mask-image: linear-gradient(180deg, #000 45%, #000000b3 70%, #0000 100%); mask-image: linear-gradient(180deg, #000 45%, #000000b3 70%, #0000 100%); }
.co-op-hero__img.is-empty { background: radial-gradient(120% 90% at 70% 20%, rgba(var(--scene-rgb, 111, 130, 100), 0.22), #0a0c0d40 70%); }
/* No hard bottom edge: the shade darkens behind the title, then fades out with the cover into the scene. */
.co-op-hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, #0007 0%, #0000 32%, #0a0c0d73 62%, #0a0c0d40 84%, #0a0c0d00 100%); }
.co-op-hero__top { position: absolute; top: 14px; left: 16px; right: 16px; display: flex; justify-content: space-between; z-index: 2; }
.co-op-round {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid #ffffff1a;
  background: #0d100ea6; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--text); cursor: pointer;
}
.co-op-hero__copy { position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 2; }
.co-op-date { display: inline-grid; place-items: center; width: 54px; padding: 6px 0; margin: 0 0 12px; border: 1px solid #ffffff1f; border-radius: 13px; background: #0d100ecc; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.co-op-date small { font-size: 9.5px; font-weight: 700; letter-spacing: 1px; color: var(--accent); }
.co-op-date b { font-size: 22px; line-height: 1.05; }
.co-op-date span { font-size: 10px; color: var(--muted); }
.co-op-hero h1 { margin: 0; font-size: clamp(24px, 6.4vw, 30px); font-weight: 600; letter-spacing: -0.4px; line-height: 1.15; text-shadow: 0 2px 14px #000a; overflow-wrap: anywhere; }
.co-op-hero__copy > p { margin: 6px 0 0; font-size: 13.5px; color: #dde2d7; text-shadow: 0 1px 8px #0008; }
.co-op-status { display: inline-flex; align-items: center; gap: 7px; margin-top: 10px; padding: 6px 11px; border: 1px solid; border-radius: 999px; font-size: 12.5px; font-weight: 600; box-shadow: var(--c-shadow); }
.co-op-status i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.co-op-status.is-ok { color: #d6e4a8; background: #c3d58f1c; border-color: #c3d58f2b; }
.co-op-status.is-warn { color: #f0dca0; background: #e7c66b1c; border-color: #e7c66b2b; }
.co-op-status.is-bad { color: #f3c3b9; background: #e9a08f1f; border-color: #e9a08f2b; }
.co-op-status.is-mute { color: #d8ddd2; background: #ffffff0d; border-color: #ffffff14; }

.co-op-main { max-width: 640px; margin: 0 auto; }
.co-op-lens { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 14px 0 0; font-size: 12px; color: var(--muted); }
.co-op-lens button { flex: none; padding: 7px 12px; border: 1px solid #ffffff14; border-radius: 999px; background: var(--c-bg); box-shadow: var(--c-shadow); color: var(--text); font: inherit; font-weight: 600; font-size: 12.5px; cursor: pointer; }
.co-op-tabs {
  position: sticky; top: 8px; z-index: 5; display: flex; gap: 4px; margin: 14px 0; padding: 4px; border: 1px solid var(--g-line); border-radius: 16px;
  background: linear-gradient(125deg, rgba(var(--scene-rgb, 111, 130, 100), 0.12), rgba(var(--scene-rgb, 111, 130, 100), 0.04)), #0a0c0de0; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: var(--g-shadow);
}
.co-op-tabs button { position: relative; flex: 1; padding: 10px 6px; border: 0; border-radius: 12px; background: none; color: var(--muted); font: inherit; font-weight: 600; font-size: 13.5px; cursor: pointer; }
.co-op-tabs button.is-on { background: #ffffff10; color: var(--text); box-shadow: var(--c-shadow); }
.co-op-dot { position: absolute; top: 7px; right: 12px; width: 7px; height: 7px; border-radius: 50%; background: #e7c66b; }

.co-op-card { margin: 0 0 12px; padding: 16px; border: 1px solid var(--g-line); border-radius: 20px; background: var(--g); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: var(--g-shadow); }
.co-op-card > h3 { margin: 0 0 12px; font-size: 15px; font-weight: 600; }
.co-op-desc { margin: 0; font-size: 14px; line-height: 1.6; color: #dde2d7; white-space: pre-line; }
.co-op-eyebrow { margin: 0 0 6px; font-size: 10.5px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--accent); }
.co-op-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.co-op-facts > div { min-width: 0; padding: 11px 12px; border: 1px solid var(--c-line); border-radius: 14px; background: var(--c-bg); box-shadow: var(--c-shadow); }
.co-op-facts small { display: block; font-size: 11px; color: var(--muted); }
.co-op-facts b { display: block; margin-top: 3px; font-size: 15px; font-weight: 600; overflow-wrap: anywhere; }
.co-op-facts span { display: block; margin-top: 2px; font-size: 11.5px; color: var(--muted); }
.co-op-bar { display: block; height: 4px; margin-top: 7px; border-radius: 4px; background: #ffffff14; overflow: hidden; }
.co-op-bar > i { display: block; height: 100%; border-radius: 4px; background: var(--accent); }
.co-op-line { display: flex; align-items: center; gap: 12px; width: 100%; margin: 0 0 8px; padding: 12px 14px; border: 1px solid var(--c-line); border-radius: 14px; background: var(--c-bg); box-shadow: var(--c-shadow); color: var(--text); font: inherit; text-align: left; text-decoration: none; box-sizing: border-box; }
.co-op-line:last-child { margin-bottom: 0; }
.co-op-line.is-action { cursor: pointer; transition: transform 0.2s var(--ease), border-color 0.2s; }
.co-op-line.is-action:hover { transform: translateY(-1px); border-color: #c3d58f2e; }
.co-op-line__icon { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 11px; background: #c3d58f14; color: var(--accent); }
.co-op-line.is-bad .co-op-line__icon { background: #e9a08f1f; color: #e9a08f; }
.co-op-line__copy { flex: 1; min-width: 0; }
.co-op-line__copy b { display: block; font-size: 14px; font-weight: 600; }
.co-op-line__copy small { display: block; margin-top: 2px; font-size: 12px; color: var(--muted); }
.co-op-line__act { flex: none; font-size: 13px; font-weight: 600; color: var(--accent); }
.co-op-dayhead { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; padding: 12px 14px; border: 1px solid #c3d58f26; border-radius: 14px; background: #c3d58f14; box-shadow: var(--c-shadow); }
.co-op-dayhead b { display: block; font-size: 15px; }
.co-op-dayhead small { display: block; margin-top: 2px; font-size: 12px; color: var(--muted); }
.co-op-steps { display: grid; }
.co-op-step { position: relative; display: grid; grid-template-columns: 70px 30px 1fr; gap: 8px; align-items: start; padding: 0 0 14px; }
.co-op-step:last-child { padding-bottom: 0; }
.co-op-step:not(:last-child)::after { content: ""; position: absolute; left: 92px; top: 30px; bottom: 2px; width: 2px; border-radius: 2px; background: #ffffff14; }
.co-op-step.is-done:not(:last-child)::after { background: #c3d58f66; }
.co-op-step__time { padding-top: 5px; text-align: right; font-size: 12px; font-weight: 600; color: var(--muted); }
.co-op-step__dot { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--c-line); border-radius: 10px; background: var(--c-bg); box-shadow: var(--c-shadow); color: var(--accent); }
.co-op-step.is-done .co-op-step__dot { background: #c3d58f1c; }
.co-op-step.is-now .co-op-step__dot { background: #e7c66b24; border-color: #e7c66b40; box-shadow: 0 0 0 4px #e7c66b1a; }
.co-op-step__copy b { display: block; font-size: 14px; }
.co-op-step__copy small { display: block; margin-top: 2px; font-size: 12px; color: var(--muted); }
.co-op-step__copy em { margin-left: 6px; padding: 1px 6px; border-radius: 6px; background: #e7c66b; color: #1b2110; font-size: 11px; font-style: normal; }
.co-op-who { display: flex; align-items: center; gap: 12px; }
.co-op-who p { margin: 0; font-size: 13.5px; color: #dde2d7; }
.co-op-avs { display: flex; flex: none; }
.co-op-av { display: grid; place-items: center; width: 34px; height: 34px; margin-left: -8px; border: 2px solid #121811; border-radius: 50%; background: linear-gradient(135deg, #3b4a33, #24301f); color: #e9eedf; font-size: 11px; font-weight: 600; }
.co-op-av:first-child { margin-left: 0; }
.co-op-av.is-count { background: #c3d58f24; color: var(--accent); }
.co-op-classic { display: block; margin: 6px 0 4px; text-align: center; font-size: 12.5px; color: var(--muted); text-decoration: underline; }

/* Briefing entry */
.co-op-entry { padding: 0; overflow: hidden; }
.co-op-entry__cover { position: relative; height: 160px; background: radial-gradient(120% 90% at 70% 20%, #2c3826, #10140f 70%); }
.co-op-entry__cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.co-op-entry__cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #0002, #0f120ef0); }
.co-op-entry__cover > span { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1; }
.co-op-entry__cover small { font-size: 10.5px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--accent); }
.co-op-entry__cover b { display: block; margin-top: 2px; font-size: 20px; }
.co-op-entry__body { display: grid; gap: 10px; padding: 14px 16px 16px; }
.co-op-entry__note { margin: 0; font-size: 13px; color: var(--muted); }
.co-op-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.co-op-chip { padding: 5px 10px; border: 1px solid var(--c-line); border-radius: 999px; background: var(--c-bg); font-size: 12px; color: #d8ddd2; }
.co-op-chip.is-ok { color: #d6e4a8; background: #c3d58f1c; border-color: #c3d58f2b; }
.co-op-chip.is-warn { color: #f0dca0; background: #e7c66b1c; border-color: #e7c66b2b; }
.co-op-locked { position: relative; margin: 0 0 12px; }
.co-op-locked__blur { filter: blur(5px); opacity: 0.55; pointer-events: none; }
.co-op-locked__msg { position: absolute; inset: 0; display: grid; place-items: center; padding: 20px; text-align: center; }
.co-op-locked__msg > div { padding: 14px 16px; border: 1px solid var(--g-line); border-radius: 16px; background: #0d100ed9; box-shadow: var(--g-shadow); font-size: 13px; line-height: 1.45; color: #dde2d7; }
.co-op-locked__msg b { display: flex; justify-content: center; align-items: center; gap: 6px; margin-bottom: 3px; font-size: 14.5px; color: var(--text); }

/* Manager */
.co-op-pipe { display: flex; gap: 4px; margin: 0 0 10px; }
.co-op-pipe i { flex: 1; height: 4px; border-radius: 4px; background: #ffffff14; }
.co-op-pipe i.is-done { background: var(--accent); }
.co-op-pipe i.is-now { background: #e7c66b; }
.co-op-pipe__label { display: flex; justify-content: space-between; margin: 0 0 12px; font-size: 11.5px; color: var(--muted); }
.co-op-pipe__label b { color: var(--text); font-weight: 600; }
.co-op-next { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid #e7c66b2b; border-radius: 16px; background: #e7c66b17; box-shadow: var(--c-shadow); }
.co-op-next > span { flex: 1; min-width: 0; }
.co-op-next b { display: block; font-size: 14.5px; }
.co-op-next small { display: block; margin-top: 2px; font-size: 12px; color: var(--muted); }
.co-op-next__go { flex: none; padding: 9px 12px; border-radius: 11px; background: #e7c66b; color: #1b2110; font-size: 13px; font-weight: 600; text-decoration: none; }
.co-op-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.co-op-tile { min-width: 0; padding: 12px; border: 1px solid var(--c-line); border-radius: 14px; background: var(--c-bg); box-shadow: var(--c-shadow); color: var(--text); font: inherit; text-align: left; }
button.co-op-tile { cursor: pointer; }
.co-op-tile small { display: block; font-size: 11.5px; color: var(--muted); }
.co-op-tile b { display: block; margin-top: 4px; font-size: 20px; }
.co-op-tile span { display: block; margin-top: 2px; font-size: 11.5px; color: var(--muted); }
.co-op-tile.is-warn { background: #e7c66b17; border-color: #e7c66b26; }
.co-op-tile.is-warn span { color: #e7c66b; }
.co-op-tile.is-ok span { color: #d6e4a8; }

/* App components embedded in cards: inherit the card, no second frame. */
.co-op-embed > * { margin: 0 !important; }
.co-op-embed :is(section, article, details, .operations-form) { border-color: var(--c-line) !important; background: transparent !important; box-shadow: none !important; }
.co-op-brief-inline .oc-primary, .co-op-brief-inline > section > .oc-map-options, .co-op-brief-inline > section > .oc-eyebrow { display: none !important; }

/* Fixed single action, right above the bottom navigation. No band behind it. */
.co-op-cta { position: fixed; left: 0; right: 0; bottom: var(--co-op-nav, 0px); z-index: 40; max-width: 640px; margin: 0 auto; padding: 10px 16px 12px; pointer-events: none; text-align: center; }
.co-op-cta > * { pointer-events: auto; }
.co-op-cta small { display: inline-block; margin-top: 6px; padding: 2px 8px; border-radius: 8px; background: #0d100ecc; font-size: 11.5px; color: var(--muted); }
.co-op-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 50px; padding: 0 16px; border: 0; border-radius: 14px; font: inherit; font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer; box-sizing: border-box; box-shadow: 0 8px 20px -10px #000b, 0 1px 3px #0005; }
.co-op-btn.is-primary { background: var(--accent); color: #1b2110; }
.co-op-btn.is-warn { background: #e7c66b; color: #1b2110; }
.co-op-btn.is-glass { border: 1px solid #ffffff14; background: #151a16e6; color: var(--text); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.co-op-btn:disabled { opacity: 0.6; cursor: default; }

/* Floating layers over the blurred page (briefing, confirmation, check-in). */
html.co-op-layer .bottom-nav, html.co-op-layer .co-op-cta { visibility: hidden; }
.co-op-layer { position: fixed; inset: 0; z-index: 1000; animation: co-op-fade 0.25s ease both; }
.co-op-layer__scrim { position: absolute; inset: 0; background: #0d100e80; -webkit-backdrop-filter: blur(14px) saturate(1.1); backdrop-filter: blur(14px) saturate(1.1); }
.co-op-layer__close { position: absolute; top: calc(14px + env(safe-area-inset-top)); right: 14px; z-index: 3; }
.co-op-layer__foot { position: absolute; left: 0; right: 0; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 3; display: flex; justify-content: center; pointer-events: none; }
.co-op-layer__foot .co-op-btn { width: auto; min-height: 44px; border-radius: 999px; pointer-events: auto; }
.co-op-brief { position: absolute; inset: 0; z-index: 2; overflow-y: auto; scrollbar-width: none; padding: calc(64px + env(safe-area-inset-top)) 12px calc(24px + env(safe-area-inset-bottom)); opacity: 0; transition: opacity 0.3s; }
.co-op-brief::-webkit-scrollbar { display: none; }
.co-op-brief.is-ready { opacity: 1; }
.co-op-brief.is-hidden { visibility: hidden; }
.co-op-brief { display: flex; flex-direction: column; }
.co-op-brief__stack { width: 100%; max-width: 640px; margin: auto; }
.co-op-brief__foot { display: flex; justify-content: center; margin-top: 14px; animation: co-op-float 0.5s var(--ease) 0.16s both; }
.co-op-brief__foot .co-op-btn { width: auto; min-height: 46px; padding: 0 22px; border-radius: 999px; font-size: 14.5px; }
.co-op-btn.is-outline { border: 1px solid #c3d58f73; background: #c3d58f1f; color: var(--accent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
/* Only the briefing's outer wrapper is touched (its title/version header and the accept button, which the
   confirmation drives). The GUIDED17 map and control cards keep their own design; they only float. */
.co-op-brief__stack > section { background: transparent !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; }
.co-op-brief__stack > section > :is(.oc-map-options, .oc-eyebrow, h3, p, .oc-map-description, .oc-primary) { display: none !important; }
.co-op-brief .oc-participant-briefing { margin: 0 !important; }
.co-op-brief .oc-participant-briefing > * { box-shadow: 0 18px 40px -12px #000c, 0 2px 6px #0006; animation: co-op-float 0.5s var(--ease) both; }
.co-op-brief .oc-participant-briefing > * + * { animation-delay: 0.08s; }
/* Immersion: the page itself blurs behind the briefing (backdrop-filter alone is clipped by the app container). */
html.co-op-layer .co-op-page > :not(.co-op-layer), html.co-op-layer header:not(.co-op-hero) { filter: blur(12px) brightness(0.65); transition: filter 0.3s ease; }
.co-op-float {
  position: absolute; left: 50%; top: 50%; z-index: 4; width: min(400px, calc(100% - 24px)); max-height: calc(100% - 40px); overflow-y: auto; scrollbar-width: none; box-sizing: border-box;
  padding: 22px 16px 16px; border: 1px solid var(--g-line); border-radius: 26px; background: var(--g-float); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: var(--g-shadow), 0 18px 40px -14px #0009; transform: translate(-50%, -50%); animation: co-op-card 0.4s var(--ease) both;
}
.co-op-float::-webkit-scrollbar { display: none; }
.co-op-float h2 { margin: 0 0 6px; font-size: 22px; }
.co-op-float__lead { margin: 0 0 14px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.co-op-float__close { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; }
.co-op-float > .co-op-btn + .co-op-btn { margin-top: 8px; }
.co-op-float.is-done { text-align: center; padding-top: 30px; }
.co-op-ck { display: flex; align-items: center; gap: 12px; width: 100%; margin: 0 0 8px; padding: 13px 14px; border: 1px solid var(--c-line); border-radius: 16px; background: var(--c-bg); box-shadow: var(--c-shadow); color: var(--text); font: inherit; text-align: left; cursor: pointer; transition: border-color 0.2s, background 0.2s; }
.co-op-ck.is-on { border-color: #c3d58f40; background: #c3d58f14; }
.co-op-ck__box { display: grid; place-items: center; flex: none; width: 24px; height: 24px; border: 1.5px solid #4a5043; border-radius: 8px; color: #1b2110; transition: background 0.2s; }
.co-op-ck__box svg { display: block; }
.co-op-ck.is-on .co-op-ck__box { background: var(--accent); border-color: var(--accent); animation: co-op-pop 0.3s cubic-bezier(0.22, 1.6, 0.36, 1); }
.co-op-ck b { display: block; font-size: 14.5px; }
.co-op-ck small { display: block; margin-top: 3px; font-size: 12.5px; line-height: 1.4; color: var(--muted); }
.co-op-error { margin: 4px 0 10px; font-size: 13px; color: #f3c3b9; }
.co-op-done { display: grid; place-items: center; width: 84px; height: 84px; margin: 0 auto 16px; border-radius: 50%; background: #c3d58f24; color: var(--accent); box-shadow: 0 0 0 10px #c3d58f12, 0 0 40px #c3d58f33; animation: co-op-pop 0.6s cubic-bezier(0.22, 1.6, 0.36, 1); }
.co-op-note { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0; padding: 12px 14px; border: 1px solid var(--c-line); border-radius: 14px; background: var(--c-bg); text-align: left; font-size: 12.5px; color: var(--muted); }
.co-op-float.is-pass { padding-top: 26px; }
@keyframes co-op-fade { from { opacity: 0; } }
@keyframes co-op-card { from { opacity: 0; transform: translate(-50%, calc(-50% + 16px)) scale(0.97); } }
@keyframes co-op-float { from { opacity: 0; transform: translateY(16px) scale(0.98); } }
@keyframes co-op-pop { from { opacity: 0; transform: scale(0.5); } }
@media (prefers-reduced-motion: reduce) { .co-op-layer, .co-op-float, .co-op-brief *, .co-op-ck__box, .co-op-done { animation: none !important; } }

/* "Próximo passo": the single action, in the page flow under the hero (replaces the fixed bottom button). */
.co-op-step-next { display: flex; align-items: center; gap: 14px; margin-top: 14px; }
.co-op-step-next__copy { flex: 1; min-width: 0; }
.co-op-step-next__copy small { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--accent); }
.co-op-step-next__copy b { display: block; margin-top: 3px; font-size: 16px; font-weight: 600; }
.co-op-step-next__copy span { display: block; margin-top: 2px; font-size: 12.5px; color: var(--muted); }
.co-op-step-next .co-op-btn { flex: none; width: auto; min-height: 44px; padding: 0 18px; border-radius: 12px; font-size: 14px; box-shadow: 0 6px 14px -8px #000b; }

/* Briefing entry without a photo: a drawn map, shorter. */
.co-op-entry__cover.is-drawn { height: 132px; background: radial-gradient(120% 120% at 80% 0%, #2a3824, #121810 70%); }
.co-op-entry__cover.is-drawn::after { background: linear-gradient(180deg, #0000 30%, #0f120ed9); }
.co-op-map-art { position: absolute; inset: 0; width: 100%; height: 100%; }

.co-op-selfcheck { display: grid; gap: 8px; }
.co-op-selfcheck .oc-secondary { min-height: 46px; border: 1px solid #c3d58f73; border-radius: 14px; background: #c3d58f1f; color: var(--accent); font: inherit; font-weight: 600; cursor: pointer; }
