/* Co-op Weave R4.2 — scoped style for staging, mobile-first, no global overrides */
.cw-page{color:#dbeaf6;display:grid;gap:15px;padding-bottom:10px;line-height:1.55}.cw-page *{box-sizing:border-box}.cw-page button,.cw-page select,.cw-page input{font:inherit}.cw-hero{position:relative;overflow:hidden;border:1px solid #35698c;border-radius:16px;min-height:240px;padding:32px clamp(18px,4%,45px) 22px;background:linear-gradient(94deg,#06192bf2 6%,#102d47d9 66%,#082b4865),url('assets/expedition.webp') center right / cover}.cw-hero h1{font-size:clamp(29px,4.2vw,53px);line-height:1.08;letter-spacing:-.035em;font-weight:850;margin:15px 0;color:#f1f9ff}.cw-hero h1 em{font-style:normal;color:#74cfff}.cw-hero>p{max-width:680px;color:#b9d4e7;font-size:14px}.cw-hero-bottom{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:9px;margin-top:32px;font-size:10px;font-weight:700;letter-spacing:.06em;color:#91b4ca}.cw-state{display:inline-block;border:1px solid #416c83;border-radius:25px;background:#062538;padding:7px 13px;color:#a9e4ff}.cw-overline{font-size:10px;color:#8bccef;letter-spacing:.18em;font-weight:800}.cw-toolbar{display:flex;flex-wrap:wrap;gap:10px;justify-content:space-between;align-items:center}.cw-role-switch{display:flex;gap:6px;background:#091d30;border:1px solid #284a64;border-radius:12px;padding:4px}.cw-btn{appearance:none;border:1px solid #38607c;background:#12314b;border-radius:9px;color:#d1eafb;padding:10px 15px;min-height:40px;text-align:center;font-weight:700;font-size:12px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;text-decoration:none!important;line-height:1.3}.cw-btn:hover:not(:disabled){border-color:#69baf1;background:#174369}.cw-btn.primary,.cw-btn.active{background:linear-gradient(110deg,#2671a2,#13456e);border-color:#4e9ccc;color:white}.cw-btn.ghost{background:#09243a}.cw-btn.full{width:100%;margin-top:15px}.cw-btn:disabled{cursor:not-allowed;opacity:.48}.cw-btn:focus-visible,.cw-cap:focus-within,.cw-check:focus-within,.cw-field:focus-visible{outline:2px solid #9cddff;outline-offset:3px}.cw-track{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.cw-step{background:#081b2c;border:1px solid #26415a;border-radius:11px;padding:12px;display:flex;gap:10px;align-items:center;color:#6c90aa;min-width:0}.cw-step span{font-size:18px;font-weight:900;color:#476a84}.cw-step strong{font-size:11px;font-weight:700}.cw-step.on{color:#b9daed;border-color:#39769e}.cw-step.on span{color:#8ccfff}.cw-step.current{background:linear-gradient(120deg,#103954,#0b1f34);border-color:#65c6f5}.cw-panel{background:linear-gradient(130deg,#0a2237,#081b2d);border:1px solid #2b4e6a;border-radius:14px;padding:clamp(16px,2.5vw,24px);min-width:0;margin-bottom:12px}.cw-panel p{font-size:12px;color:#a7c4d7;line-height:1.65;margin:12px 0}.cw-panel h3{font-size:21px;color:#f3faff;line-height:1.2;margin:8px 0}.cw-panel h4{font-size:17px;color:#eff8ff;margin:8px 0}.cw-panel-head{display:flex;flex-wrap:wrap;gap:8px;align-items:flex-start;justify-content:space-between}.cw-badge{font-size:10px;border:1px solid #326782;color:#a6d8f1;background:#10354b;padding:5px 9px;border-radius:25px;font-weight:700}.cw-badge.warn{border-color:#805d39;background:#3a2b19;color:#f3d6a9}.cw-badge.ok{color:#b9edce;border-color:#346949;background:#193c2e}.cw-roles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:16px}.cw-role{background:#091b2c;border:1px solid #294c69;border-radius:10px;padding:16px;display:grid;gap:9px}.cw-role strong{color:#eff7ff}.cw-role small{font-size:11px;color:#91b5cc}.cw-ok{color:#b9efd4;font-size:13px;background:#103a30;border:1px solid #34785a;border-radius:10px;padding:11px 14px;margin-top:12px}.cw-cols{display:grid;grid-template-columns:1fr 1fr;gap:14px;min-width:0}.cw-cols>div{min-width:0}.cw-blocked{border-style:dashed;background:#081a29}.cw-lock{font-size:30px;color:#7eaccb}.cw-cap-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.cw-cap{border:1px solid #2a506b;border-radius:9px;background:#071b2d;display:flex;gap:8px;align-items:center;cursor:pointer;padding:10px;font-size:11px;color:#b3d3e5}.cw-cap.selected{background:#133955;border-color:#67b8e6;color:#f7fcff}.cw-cap input,.cw-check input{accent-color:#2ca3e8;width:16px;height:16px;flex-shrink:0}.cw-check{display:flex;gap:10px;align-items:flex-start;padding:13px;background:#0b2940;border:1px solid #386283;border-radius:10px;color:#c1dbea;font-size:12px;cursor:pointer}.cw-label{display:block;font-weight:700;font-size:11px;color:#bfe7ff;margin:12px 0 6px}.cw-field{width:100%;padding:10px 12px;background:#071929;border:1px solid #38607d;color:#e2f5ff;border-radius:8px;font-size:13px;min-height:42px}.cw-field option{color:#f1fbff;background:#0d2a41}.cw-scenario{margin:13px 0;border:1px solid #2d526d;border-radius:12px;background:#0d2b43;padding:16px}.cw-scenario p{margin:8px 0}.cw-meta{display:flex;flex-wrap:wrap;gap:7px}.cw-meta span{display:inline-block;border:1px solid #355f78;border-radius:25px;padding:5px 9px;font-size:10px;color:#bedced}.cw-fallback{border-left:3px solid #569dbe;padding-left:11px}.cw-check-resource{color:#b8e9d2;background:#133b35;border-radius:8px;padding:9px 11px;margin:12px 0;font-size:11px}.cw-small{font-size:10px!important;color:#86a7bd!important}.cw-offer{border:1px solid #355877;background:#081d30;border-radius:11px;padding:15px;margin-top:10px}.cw-offer-head{display:flex;justify-content:space-between;align-items:center;gap:8px}.cw-offer-head strong{font-size:13px}.cw-offer p{font-size:11px}.cw-actions{display:flex;flex-wrap:wrap;gap:8px}.cw-empty{border:1px dashed #3b6179;border-radius:10px;padding:16px}.cw-thread-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:15px 0}.cw-thread-grid>div{background:#0b2a40;border:1px solid #305875;border-radius:10px;padding:13px;display:flex;gap:4px;align-items:center;flex-direction:column;text-align:center}.cw-thread-grid span{font-size:20px;color:#8bd5ff}.cw-thread-grid strong{font-size:12px}.cw-thread-grid small{font-size:10px;color:#91aec2}.cw-chapters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.cw-chapters>div{display:grid;grid-template-columns:auto 1fr;gap:1px 10px;padding:10px;background:#071929;border:1px solid #28445f;border-radius:9px}.cw-chapters span{font-size:16px;font-weight:850;color:#71bce7;grid-row:span 2}.cw-chapters strong{font-size:11px}.cw-chapters small{font-size:10px;color:#85a5bc}.cw-disclaimer{margin:0;font-size:11px;color:#98b6cb;text-align:center}.cw-notice{background:#483118;border:1px solid #b17b4d;border-radius:9px;padding:12px;color:#ffddb1;font-size:12px}
@media(max-width:930px){.cw-cols{grid-template-columns:1fr}.cw-hero{min-height:225px}}
@media(max-width:600px){.cw-hero{padding:22px 17px;background-position:60% center}.cw-hero>p{font-size:12px}.cw-hero-bottom{font-size:9px}.cw-track{grid-template-columns:repeat(2,minmax(0,1fr))}.cw-step{padding:8px;gap:7px}.cw-step span{font-size:15px}.cw-step strong{font-size:10px}.cw-roles,.cw-cap-grid,.cw-chapters{grid-template-columns:1fr}.cw-panel{padding:15px}.cw-thread-grid{gap:4px}.cw-thread-grid>div{padding:9px 3px}.cw-thread-grid strong{font-size:10px}.cw-thread-grid small{font-size:9px}.cw-toolbar{align-items:stretch}.cw-btn{padding:9px 10px}.cw-role-switch{flex:1}.cw-role-switch .cw-btn{flex:1}}
@media(prefers-reduced-motion:reduce){.cw-page *{transition:none!important;animation:none!important}}
