/* BMAP-MATCHES-X03 – Golden Reference adoption for /match-erfassen/.
 * Presentation only. Native form/action/nonce/runtime authority is untouched.
 */
.btc977-page[data-btc-family="matches"][data-btc-subpage="match-create"]{
  --btc-x03-act:#18d7e5;
  --btc-x03-review:#4b9df8;
  --btc-x03-analyze:#4bcbd9;
  --btc-x03-commit:#39cdbf;
  --btc-x03-surface:#0b141d;
  --btc-x03-surface-2:#0f1c29;
  --btc-x03-border:rgba(82,161,214,.28);
}
.btc977-page[data-btc-family="matches"][data-btc-subpage="match-create"] .btc977-shell{max-width:1540px}
.btc977-page[data-btc-family="matches"][data-btc-subpage="match-create"] .btc-matches-subpage-master{display:grid;gap:16px;margin-top:16px}
.btc-matches-subpage-context{display:flex;align-items:center;justify-content:space-between;gap:28px;min-height:92px;padding:20px 28px;border:1px solid var(--btc-x03-border);border-left:4px solid var(--btc-x03-act);border-radius:18px;background:linear-gradient(105deg,rgba(12,31,46,.98),rgba(8,17,27,.98));box-shadow:inset 0 1px rgba(255,255,255,.02)}
.btc-matches-subpage-context .btc-eyebrow{display:block;margin-bottom:5px;color:#7f9fbe;font-size:12px;letter-spacing:.14em;text-transform:uppercase}
.btc-matches-subpage-context h1{margin:0;color:#f5f8fc;font-size:clamp(26px,2.4vw,38px);line-height:1.05}
.btc-matches-subpage-context p{max-width:620px;margin:0;color:#9eb3ca;font-size:15px;text-align:right}
.btc-match-create-phase-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.btc-match-create-phase-strip article{position:relative;min-height:94px;padding:17px 18px 15px;border:1px solid var(--btc-x03-border);border-radius:16px;background:linear-gradient(145deg,rgba(14,27,40,.98),rgba(9,18,27,.98));overflow:hidden}
.btc-match-create-phase-strip article:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:var(--phase,var(--btc-x03-act))}
.btc-match-create-phase-strip article[data-btc-phase="DEFINE"]{--phase:var(--btc-x03-act)}
.btc-match-create-phase-strip article[data-btc-phase="CONTEXT"]{--phase:var(--btc-x03-review)}
.btc-match-create-phase-strip article[data-btc-phase="PERFORMANCE"]{--phase:var(--btc-x03-analyze)}
.btc-match-create-phase-strip article[data-btc-phase="COMMIT"]{--phase:var(--btc-x03-commit)}
.btc-match-create-phase-strip span{display:block;margin-bottom:5px;color:#9db7d4;font-size:12px;font-weight:800;letter-spacing:.12em}
.btc-match-create-phase-strip strong{display:block;color:#f5f8fc;font-size:15px}
.btc-match-create-phase-strip small{display:block;margin-top:4px;color:#8fa7c0;font-size:12px}
.btc-match-create-workspace{min-width:0}
.btc-match-create-native-boundary{position:relative;min-width:0;padding:0;border-radius:20px}
/* duplicate legacy cross-module navigation is only hidden after X03 JS proves destination overlap */
.btc-match-create-native-boundary [data-btc-bmap-legacy-cross-nav="redundant"]{display:none!important}
/* redundant native presentation headings: source text remains untouched; visual authority is the X03 context zone */
.btc-match-create-native-boundary [data-btc-bmap-redundant-heading="1"]{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
/* Native form visual adoption without structural reparenting. */
.btc-match-create-native-boundary form[data-btc-bmap-match-form="primary"]{border:1px solid rgba(39,153,186,.34)!important;border-radius:20px!important;background:linear-gradient(145deg,rgba(8,27,29,.94),rgba(8,18,27,.98))!important;box-shadow:0 18px 46px rgba(0,0,0,.24),inset 0 1px rgba(255,255,255,.025)!important}
.btc-match-create-native-boundary [data-btc-bmap-field-phase]{transition:border-color .18s ease,background-color .18s ease,box-shadow .18s ease}
.btc-match-create-native-boundary [data-btc-bmap-field-phase="DEFINE"]{--btc-field-phase:#18d7e5}
.btc-match-create-native-boundary [data-btc-bmap-field-phase="CONTEXT"]{--btc-field-phase:#4b9df8}
.btc-match-create-native-boundary [data-btc-bmap-field-phase="PERFORMANCE"]{--btc-field-phase:#4bcbd9}
.btc-match-create-native-boundary [data-btc-bmap-field-phase="COMMIT"]{--btc-field-phase:#39cdbf}
.btc-match-create-native-boundary [data-btc-bmap-field-phase] label{color:#dce8f4!important}
.btc-match-create-native-boundary input:not([type="checkbox"]):not([type="radio"]),
.btc-match-create-native-boundary select,
.btc-match-create-native-boundary textarea{border-color:rgba(118,157,190,.38)!important;outline:none}
.btc-match-create-native-boundary input:not([type="checkbox"]):not([type="radio"]):focus,
.btc-match-create-native-boundary select:focus,
.btc-match-create-native-boundary textarea:focus{border-color:var(--btc-field-phase,var(--btc-x03-act))!important;box-shadow:0 0 0 3px color-mix(in srgb,var(--btc-field-phase,var(--btc-x03-act)) 18%,transparent)!important}
.btc-match-create-native-boundary [data-btc-bmap-primary-submit="1"]{border-color:var(--btc-x03-act)!important;background:linear-gradient(135deg,#13d4e1,#24c7d8)!important;color:#031116!important;font-weight:800!important;box-shadow:0 8px 24px rgba(24,215,229,.18)!important}
.btc-match-create-native-boundary [data-btc-bmap-primary-submit="1"]:hover{filter:brightness(1.06)}
.btc-match-create-native-boundary [data-btc-bmap-primary-submit="1"]:focus-visible{outline:3px solid rgba(24,215,229,.34)!important;outline-offset:3px}
@media (max-width:1024px){.btc-match-create-phase-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.btc-matches-subpage-context{align-items:flex-start}.btc-matches-subpage-context p{text-align:left}}
@media (max-width:680px){.btc-matches-subpage-context{display:block;padding:18px}.btc-matches-subpage-context p{margin-top:8px}.btc-match-create-phase-strip{grid-template-columns:1fr}.btc-match-create-phase-strip article{min-height:auto}.btc-match-create-native-boundary{border-radius:14px}}
@media (prefers-reduced-motion:reduce){.btc-match-create-native-boundary [data-btc-bmap-field-phase]{transition:none}}
