/* MS-SHELL-V2 skin-41-v3-bundles — V3-B1 (16.11.2026), screens «bundles» / «mybundles» / «bundle».
   Markup: View/Theme/Default/BundlesV3.php (printed only with cookie msv2=on|dev). Every selector starts with
   html.msv2 .v3b — nothing else on the site is touched. Colours from skin-00 tokens with fallbacks.
   Buttons: one shape (radius 10px, height 44px). No display:none on native content, no logic. */
html.msv2 .v3b{--v3b-navy:var(--ms-navy,#123a5c);--v3b-ink:var(--ms-navy-ink,#173b5b);--v3b-text:var(--ms-ink,#173b5b);--v3b-muted:var(--ms-muted,#63788e);--v3b-line:var(--ms-border,#dce5ed);--v3b-soft:var(--ms-soft,#edf3f8);--v3b-panel:var(--ms-surface,#fff);--v3b-orange:var(--ms-orange,#d65c0b);--v3b-orange-ink:var(--ms-orange-ink,#b64d08);
  display:block;color:var(--v3b-text);font-size:14px;line-height:1.5;padding:4px 0 40px;background:transparent}
html.msv2 .v3b *{box-sizing:border-box}
html.msv2 .v3b .v3b-inner{max-width:1280px;margin:0 auto}
html.msv2 .v3b h1{font-size:20px;line-height:1.35;font-weight:500;margin:0 0 5px;color:var(--v3b-ink);letter-spacing:0}
html.msv2 .v3b h2{font-size:16px;line-height:1.4;font-weight:500;margin:0 0 8px;color:var(--v3b-ink);letter-spacing:0}
html.msv2 .v3b p{margin:0 0 12px}
html.msv2 .v3b .v3b-sub{color:var(--v3b-muted);font-size:12px;line-height:1.5}
html.msv2 .v3b .v3b-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:0 0 18px}
html.msv2 .v3b .v3b-head p{margin:0}

/* one button shape */
html.msv2 .v3b .v3b-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;height:auto;padding:9px 14px;border:1px solid var(--v3b-line);border-radius:10px;background:var(--v3b-panel);color:var(--v3b-text);font-size:13px;font-weight:500;line-height:1.35;text-align:center;text-decoration:none;white-space:nowrap;word-break:normal;overflow-wrap:normal;hyphens:none;max-width:100%;flex-shrink:0;cursor:pointer;box-shadow:none;text-transform:none;letter-spacing:0;transition:border-color .15s ease,background-color .15s ease}
html.msv2 .v3b .v3b-btn:hover{border-color:var(--v3b-navy);color:var(--v3b-ink);text-decoration:none}
html.msv2 .v3b .v3b-btn:focus-visible{outline:2px solid var(--v3b-orange);outline-offset:2px}
html.msv2 .v3b .v3b-primary,html.msv2 .v3b .v3b-tabs .is-on{background:var(--v3b-navy);border-color:var(--v3b-navy);color:#fff}
html.msv2 .v3b .v3b-primary:hover,html.msv2 .v3b .v3b-tabs .is-on:hover{color:#fff}
html.msv2 .v3b .v3b-buy{background:var(--v3b-orange);border-color:var(--v3b-orange);color:#fff}
html.msv2 .v3b .v3b-buy:hover{background:var(--v3b-orange-ink);border-color:var(--v3b-orange-ink);color:#fff}
html.msv2 .v3b .v3b-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}

html.msv2 .v3b .v3b-tabs{display:flex;gap:7px;flex-wrap:wrap;margin:0 0 18px}

/* notes */
html.msv2 .v3b .v3b-note{padding:14px 16px;border-radius:10px;background:var(--v3b-soft);color:var(--v3b-text);margin:0 0 18px;font-size:13px;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
html.msv2 .v3b .v3b-note>span{flex:1 1 320px;min-width:0}
html.msv2 .v3b .v3b-note.is-warn{background:#fff5e4;color:#7a500b}
html.msv2 .v3b .v3b-rules{flex:0 0 auto;max-width:100%}
html.msv2 .v3b .v3b-rules>summary{list-style:none}
html.msv2 .v3b .v3b-rules>summary::-webkit-details-marker{display:none}
html.msv2 .v3b .v3b-rules>summary::after{content:"";width:7px;height:7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg) translateY(-2px);margin-left:4px}
html.msv2 .v3b .v3b-rules[open]>summary::after{transform:rotate(-135deg) translateY(-1px)}
html.msv2 .v3b .v3b-rules ul{margin:12px 0 0;padding:12px 14px 12px 30px;background:var(--v3b-panel);border:1px solid var(--v3b-line);border-radius:10px;max-width:520px}
html.msv2 .v3b .v3b-rules li{padding:3px 0}
html.msv2 .v3b .v3b-rules[open]{flex-basis:100%}

/* cards */
html.msv2 .v3b .v3b-card{background:var(--v3b-panel);border:1px solid var(--v3b-line);border-radius:12px;min-width:0;overflow:hidden;box-shadow:none}
html.msv2 .v3b .v3b-pad{padding:20px}
html.msv2 .v3b .v3b-cardhead{padding:17px 20px;border-bottom:1px solid var(--v3b-line)}
html.msv2 .v3b .v3b-cardhead h2{margin:0}
html.msv2 .v3b .v3b-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
html.msv2 .v3b .v3b-bcard{padding:20px;display:flex;flex-direction:column}
html.msv2 .v3b .v3b-bcard h2{margin-top:2px;min-height:44px;overflow-wrap:anywhere}
html.msv2 .v3b .v3b-tags{display:flex;gap:6px;flex-wrap:wrap;margin:0 0 12px}
html.msv2 .v3b .v3b-tag{display:inline-flex;align-items:center;padding:4px 8px;border-radius:6px;font-size:11px;line-height:1.4;font-weight:500;background:var(--v3b-soft);color:var(--v3b-muted);white-space:nowrap;text-transform:none;letter-spacing:0}
html.msv2 .v3b .v3b-tag.is-feat{background:var(--v3b-navy);color:#fff}
html.msv2 .v3b .v3b-tag.is-warn{background:#fff5e4;color:#8c5c0d}
html.msv2 .v3b .v3b-tag.is-good{background:#eaf7ef;color:#18764f}
html.msv2 .v3b .v3b-price{font-size:28px;line-height:1.2;font-weight:500;margin:8px 0;color:var(--v3b-ink);font-variant-numeric:tabular-nums}
html.msv2 .v3b .v3b-price small{font-size:12px;font-weight:400;color:var(--v3b-muted)}
html.msv2 .v3b .v3b-price s,html.msv2 .v3b .v3b-sub s{opacity:.6}
html.msv2 .v3b .v3b-list{margin:6px 0 16px;padding-left:19px;flex:1}
html.msv2 .v3b .v3b-list li{padding:4px 0;overflow-wrap:anywhere}
html.msv2 .v3b .v3b-bcard .v3b-actions{margin-top:auto}
html.msv2 .v3b .v3b-foot{margin:18px 0 0;font-size:13px}
html.msv2 .v3b .v3b-foot a{color:var(--v3b-navy);text-decoration:underline;text-underline-offset:3px}

/* rows (my bundles + bundle details) */
html.msv2 .v3b .v3b-rows{margin:0;padding:0;list-style:none}
html.msv2 .v3b .v3b-row,html.msv2 .v3b .v3b-native-items>li{padding:14px 20px;display:flex;align-items:center;justify-content:space-between;gap:14px;border-bottom:1px solid var(--v3b-line);min-width:0;flex-wrap:wrap;margin:0}
html.msv2 .v3b .v3b-row:last-child,html.msv2 .v3b .v3b-native-items>li:last-child{border-bottom:0}
html.msv2 .v3b .v3b-row-main{min-width:150px;flex:1}
html.msv2 .v3b .v3b-row-main strong{display:block;font-weight:600;color:var(--v3b-ink);overflow-wrap:anywhere}
html.msv2 .v3b .v3b-row-main small{display:block;color:var(--v3b-muted);font-size:12px;overflow-wrap:anywhere}
html.msv2 .v3b .v3b-meta{padding-bottom:4px;margin:0}
html.msv2 .v3b .v3b-purchase{margin:0 0 18px}
html.msv2 .v3b .v3b-purchase .v3b-note{margin:0}
/* native course rows (Bundles.php $tariff_items): name left, native price text right */
html.msv2 .v3b .v3b-native-items .bcourse-name{display:flex;align-items:flex-start;gap:8px;min-width:0;flex:1;font-weight:600;color:var(--v3b-ink);overflow-wrap:anywhere}
html.msv2 .v3b .v3b-native-items .bcheck{color:var(--v3b-navy);font-style:normal;font-weight:600}
html.msv2 .v3b .v3b-native-items .bcourse-price{white-space:nowrap;font-size:13px;color:var(--v3b-text);font-variant-numeric:tabular-nums}
html.msv2 .v3b .v3b-native-items .bcourse-price del{color:var(--v3b-muted);margin-right:6px}

/* details split */
html.msv2 .v3b .v3b-split{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:20px;align-items:start}
html.msv2 .v3b .v3b-rule{font-size:12px;color:var(--v3b-muted);background:var(--v3b-soft);padding:12px;border-radius:10px;margin:14px 0}
html.msv2 .v3b .v3b-stack{display:grid;grid-template-columns:minmax(0,1fr)}
html.msv2 .v3b .v3b-stack .v3b-btn{white-space:normal;width:100%}

/* empty / error */
html.msv2 .v3b .v3b-empty{text-align:center;padding:42px 24px}
html.msv2 .v3b .v3b-empty p{color:var(--v3b-muted);max-width:520px;margin:0 auto 16px}
html.msv2 .v3b .v3b-empty .v3b-actions{justify-content:center}

@media (max-width:1100px){html.msv2 .v3b .v3b-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:900px){html.msv2 .v3b .v3b-split{grid-template-columns:minmax(0,1fr)}}
@media (max-width:650px){
  html.msv2 .v3b{padding:0 0 28px}
  html.msv2 .v3b h1{font-size:18px}
  html.msv2 .v3b .v3b-grid{grid-template-columns:minmax(0,1fr);gap:14px}
  html.msv2 .v3b .v3b-bcard,html.msv2 .v3b .v3b-pad{padding:16px}
  html.msv2 .v3b .v3b-cardhead,html.msv2 .v3b .v3b-row,html.msv2 .v3b .v3b-native-items>li{padding:13px 15px}
  html.msv2 .v3b .v3b-bcard h2{min-height:0}
  html.msv2 .v3b .v3b-price{font-size:24px}
  html.msv2 .v3b .v3b-bcard .v3b-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  html.msv2 .v3b .v3b-head>.v3b-actions{width:100%}
  html.msv2 .v3b .v3b-row .v3b-actions{width:100%}
  html.msv2 .v3b .v3b-row .v3b-actions .v3b-btn{flex:1 1 auto}
  html.msv2 .v3b .v3b-note .v3b-actions,html.msv2 .v3b .v3b-rules{width:100%}
  html.msv2 .v3b .v3b-note .v3b-btn,html.msv2 .v3b .v3b-rules>summary{width:100%}
}
@media (max-width:360px){html.msv2 .v3b .v3b-bcard .v3b-actions{grid-template-columns:minmax(0,1fr)}html.msv2 .v3b .v3b-btn{white-space:normal}}
