.wt-plan-link-overlay[hidden], .mt-plan-link-row[hidden] { display: none !important; }
.wt-plan-link-overlay { position: fixed; inset: 0; z-index: 100020; display: grid; place-items: center; padding: 12px; background: rgba(2,10,14,.82); }
.wt-plan-link-card { box-sizing: border-box; width: min(570px,100%); max-height: calc(100dvh - 24px); overflow-y: auto; padding: clamp(16px,3vw,26px); border: 1px solid rgba(217,190,136,.44); border-radius: 16px; background: #0b1a20; color: #eee8d9; font-size: .88rem; line-height: 1.6; }
.wt-plan-link-card h2 { color: #ead6aa; font-size: 1.3rem; margin-top: 0; }
#wtPlanLinkList { display: grid; gap: .5rem; max-height: min(38dvh,320px); overflow-y: auto; margin-block: .8rem; }
.wt-plan-link-card button { min-height: max(44px,2.35rem); padding: .4rem .75rem; border: 1px solid rgba(217,190,136,.45); border-radius: 999px; background: rgba(20,38,39,.9); color: #eee8d9; font: inherit; cursor: pointer; white-space: normal; }
.wt-plan-link-card button:disabled { opacity: .48; cursor: not-allowed; }
.wt-plan-link-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
#wtPlanLinkStatus { min-height: 1.5em; color: #e4c791; }
.wt-plan-link-card :is(button):focus-visible { outline: 2px solid #e9d099; outline-offset: 2px; }
.mt-plan-link-row { display: flex; justify-content: center; margin: .6rem auto; }
.mt-plan-link-row button { min-height: max(44px,2.35rem); padding: .35rem .8rem; border: 1px solid rgba(217,190,136,.4); border-radius: 999px; background: rgba(9,25,30,.65); color: #e7d2a6; font: inherit; font-size: .78rem; cursor: pointer; }
.bf-plan-link-row { text-align: center; margin: .25rem auto; }
.bf-plan-link-row button { min-height: max(44px,2.35rem); padding: .35rem .8rem; border: 1px solid rgba(217,190,136,.4); border-radius: 999px; background: rgba(9,25,30,.65); color: #e7d2a6; font: inherit; font-size: .78rem; cursor: pointer; }
@media(max-width:430px) { .wt-plan-link-overlay { padding: 6px; } .wt-plan-link-card { max-height: calc(100dvh - 12px); padding: 14px; } .wt-plan-link-actions button { flex: 1 1 100%; } }
