/* Software display pricing: scoped card badges and the shared admin editor. */
#yk-portal-v2 .tp-badge,.yike-admin .tp-badge{display:inline-flex;align-items:center;justify-content:center;gap:5px;flex-shrink:0;white-space:nowrap;border:1px solid;font-size:12px;font-weight:650;line-height:1.4;letter-spacing:.04em;padding:5px 9px;border-radius:7px}
#yk-portal-v2 .tp-badge svg,.yike-admin .tp-badge svg{width:14px;height:14px;flex:none;stroke-width:1.8}
#yk-portal-v2 .tp-free,.yike-admin .tp-free{color:#21694e;background:linear-gradient(135deg,#fff,#edf8f2);border-color:#cfe5d8}
#yk-portal-v2 .tp-premium,.yike-admin .tp-premium{color:#855719;background:linear-gradient(135deg,#fffdf7,#fff0d3);border-color:#e8d1a4}
#yk-portal-v2 .yp-tool{position:relative}
#yk-portal-v2 .tp-card-badge{position:absolute;right:18px;top:18px;z-index:2;box-shadow:0 2px 8px rgba(25,43,56,.09);pointer-events:none}
#yk-portal-v2 .yp-tool .yp-thumb-tag{left:18px;right:auto;top:18px;max-width:calc(100% - 104px)}
#yk-portal-v2 .yp-compact-tool{position:relative;padding-right:51px}
#yk-portal-v2 .yp-compact-tool .tp-badge{position:absolute;right:0;top:12px;font-size:10px;padding:3px 6px;border-radius:5px}
#yk-portal-v2 .yp-topic-preview li{min-width:0}
#yk-portal-v2 .yp-topic-preview li>span:first-of-type{flex:1;min-width:0}
#yk-portal-v2 .yp-topic-preview .tp-badge{font-size:10px;padding:2px 5px;border-radius:5px;letter-spacing:0}
.yike-admin .tp-choice{border:0;padding:0;margin:0 0 22px;min-width:0}
.yike-admin .tp-choice legend{float:none;width:auto;font-size:13px;font-weight:650;line-height:1.5;margin:0 0 10px;padding:0;color:#193842}
.yike-admin .tp-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.yike-admin .tp-option{display:flex;align-items:center;gap:8px;min-width:0;border:1px solid #e0e6e8;border-radius:9px;padding:12px 10px;background:#fafbfc;cursor:pointer;transition:border-color .15s,background .15s,box-shadow .15s}
.yike-admin .tp-option input{width:15px;height:15px;flex:none;margin:0;accent-color:#2d665b;cursor:pointer}
.yike-admin .tp-option.tp-paid-option input{accent-color:#987133}
.yike-admin .tp-option:has(input:checked){border-color:#79b39f;background:#f0f8f4;box-shadow:0 0 0 1px #79b39f}
.yike-admin .tp-option.tp-paid-option:has(input:checked){border-color:#c3a46b;background:#fff8e9;box-shadow:0 0 0 1px #c3a46b}
.yike-admin .tp-option:focus-within{outline:3px solid rgba(42,99,87,.2);outline-offset:2px}
.yike-admin .tp-option strong{display:block;font-size:13px;line-height:1.5;color:#203d42}
.yike-admin .tp-option small{display:block;color:#718083;font-size:10px;line-height:1.5;margin-top:2px}
.yike-admin .tp-choice-help{font-size:11px;line-height:1.8;color:#78858a;margin:9px 0 0}
.yike-admin .tp-list-badge{font-size:10px;padding:2px 6px;border-radius:5px;margin-top:5px;letter-spacing:0}
@media(max-width:540px){#yk-portal-v2 .tp-card-badge{right:13px;top:13px;font-size:10px;gap:3px;padding:4px 6px;border-radius:6px}#yk-portal-v2 .tp-card-badge svg{width:12px;height:12px}#yk-portal-v2 .yp-tool .yp-thumb-tag{left:13px;top:13px;font-size:10px;padding:3px 5px;max-width:calc(100% - 78px)}}
