/* Generic controls shared by the native V2 modules (Inbox, Contacts): icon buttons, CTA/ghost buttons, menus,
 * modal dialogs, form fields, toast. Prefix wk- = "WhatSell kit". */
.wk-i { width: 18px; height: 18px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.wk-ibtn { display: inline-grid; place-items: center; width: 36px; height: 36px; flex: none; border: 0; border-radius: 50%; background: none; color: #555; cursor: pointer; }
.wk-ibtn:hover { background: var(--mint); }
.wk-ibtn.sm { width: 28px; height: 28px; }
.wk-ibtn.sm .wk-i { width: 16px; height: 16px; }
.wk-cta { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 18px; border: 0; border-radius: 10px; background: var(--green); color: #fff; font-weight: 600; cursor: pointer; }
.wk-cta:disabled { opacity: .5; cursor: not-allowed; }
.wk-ghost { display: inline-flex; align-items: center; gap: 4px; border: 0; background: none; color: var(--deep); font-weight: 600; font-size: 12.5px; cursor: pointer; padding: 6px 8px; border-radius: 8px; }
.wk-ghost:hover { background: var(--mint); }
.wk-menuwrap { position: relative; display: inline-block; }
.wk-menu { position: absolute; right: 0; top: 100%; z-index: 20; min-width: 190px; background: #fff; border-radius: 10px; box-shadow: 0 6px 24px rgba(0, 0, 0, .18); padding: 6px; display: grid; }
.wk-menu.up { top: auto; bottom: 100%; left: 0; right: auto; }
.wk-menu button { display: flex; align-items: center; gap: 10px; border: 0; background: none; padding: 9px 10px; border-radius: 8px; cursor: pointer; text-align: left; font-size: 13.5px; }
.wk-menu button:hover { background: var(--mint); }
.wk-menu .danger { color: #b3261e; }
.wk-modal { border: 0; border-radius: 14px; padding: 0; width: min(520px, 94vw); max-height: 88vh; overflow: auto; color: var(--ink); }
.wk-modal::backdrop { background: rgba(20, 30, 20, .45); }
.wk-mhead { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: 15px; }
.wk-mbody { padding: 14px; display: grid; gap: 12px; } .wk-mfoot { padding: 0 14px 14px; display: flex; justify-content: flex-end; gap: 8px; }
.wk-err { color: #b3261e; margin: 0; } .wk-hint { color: var(--muted); font-size: 13px; margin: 0; background: #eaf3fb; padding: 8px 10px; border-radius: 10px; }
.wk-two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; } .wk-stack { display: grid; gap: 8px; } .wk-fieldrow { display: flex; gap: 6px; align-items: center; }
.wk-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; font-size: 13px; z-index: 80; }
.wk-field { width: 100%; border: 1px solid var(--line); border-radius: 10px; background: #fff; font: inherit; color: var(--ink); padding: 9px 12px; }
.wk-field:focus { outline: 2px solid var(--green); outline-offset: 0; }
.wk-empty { padding: 24px; text-align: center; color: var(--muted); }
