/* MediaFlex shop pages, on top of the site's own site.css (colours, fonts, buttons, nav, modal). */
.shop-links { margin-left: auto; }
.shop { max-width: var(--max); margin: 0 auto; padding: 120px 24px 40px; }
.shop-hero { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: center; min-height: 60vh; }
.shop-hero h1 { font-size: clamp(36px, 6vw, 64px); margin: 0 0 18px; }
.shop-hero .lede { color: var(--dim); font-size: 18px; max-width: 620px; margin: 0 0 26px; }
.shop-hero .hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.shop-hero .hero-facts { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 22px 0 0; color: var(--dim); font-size: 14px; }
.shop-hero .hero-facts li::before { content: "✓ "; color: var(--mint); }
.shop-hero-art { display: grid; place-items: center; }
.shop-hero-art img { width: min(260px, 60vw); border-radius: 48px; box-shadow: 0 40px 100px -30px rgba(214, 51, 132, .6); }
/* PDF Pro's promo video, in a phone-shaped frame */
.promo { position: relative; margin: 0; width: min(340px, 82vw); aspect-ratio: 9 / 16; border-radius: 38px; overflow: hidden; background: #0A0A0E; box-shadow: 0 0 0 8px #1C1C24, 0 0 0 9px var(--line-2), 0 50px 110px -30px rgba(91, 61, 245, .65); }
.promo video { display: block; width: 100%; height: 100%; object-fit: cover; }
.promo-sound { position: absolute; right: 14px; bottom: 24px; border: 0; border-radius: 999px; padding: 9px 15px 9px 36px; font: 600 13.5px/1 inherit; font-family: inherit; color: #fff; cursor: pointer;
  background: rgba(10, 10, 14, .62) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 5 6 9H2v6h4l5 4z'/%3E%3Cpath d='m22 9-6 6M16 9l6 6'/%3E%3C/svg%3E") 13px 50% / 16px no-repeat; backdrop-filter: blur(8px); }
.promo-sound[aria-pressed="true"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 5 6 9H2v6h4l5 4z'/%3E%3Cpath d='M15.5 8.5a5 5 0 0 1 0 7M19 5a10 10 0 0 1 0 14'/%3E%3C/svg%3E"); }
.promo-sound:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.walkers { position: absolute; left: 0; pointer-events: none; z-index: 5; image-rendering: pixelated; }

.shop-section { padding: 56px 0 8px; }
.shop-section > h2 { font-size: clamp(26px, 4vw, 38px); margin: 0 0 26px; }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; max-width: 900px; }
.plan { border-radius: 24px; padding: 28px; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-2); display: flex; flex-direction: column; }
.plan.hot { box-shadow: inset 0 0 0 1px rgba(255, 122, 77, .55), 0 40px 100px -40px rgba(214, 51, 132, .55); }
.plan h3 { font-size: 20px; margin: 0 0 10px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 24px; flex: 1; }
.plan li { padding: 6px 0 6px 26px; position: relative; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--mint); font-weight: 700; }
.plan li.muted { color: var(--dim); }
.plan li.muted::before { content: "•"; color: var(--faint); }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.steps li { counter-increment: s; padding: 24px; border-radius: 20px; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); color: var(--dim); }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; margin: 0 0 12px; background: var(--grad-btn); color: #fff; font: 700 15px var(--display); }
.steps b { color: var(--text); display: block; }
.faq details { max-width: 820px; border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { color: var(--dim); margin: 10px 0 0; }

/* Buy dialog */
.buy-icon { margin: 0 auto 12px; border-radius: 16px; }
.buy-price { text-align: center; font: 800 26px var(--display); margin: 8px 0 18px; }
.buy-price span { display: block; font: 500 13px var(--body); color: var(--dim); margin-top: 4px; }
#buy-form label { display: block; font-size: 13px; color: var(--dim); margin: 0 0 12px; }
#buy-form input[type=text], #buy-form input[type=email], #buy-form input:not([type]) { display: block; width: 100%; margin-top: 5px; height: 46px; padding: 0 14px; border-radius: 12px; border: 0; background: var(--ink-1); color: var(--text); font: 15px var(--body); box-shadow: inset 0 0 0 1px var(--line-2); }
#buy-form input:focus { outline: 2px solid var(--amber); outline-offset: 1px; }
.g-box { margin: 0 0 8px; } .g-label { font-size: 13px; color: var(--dim); margin: 0 0 6px; }
.g-who { margin: 4px 0; font-weight: 600; color: var(--mint); }
.fine { font-size: 12.5px; color: var(--faint); margin: 2px 0 14px; }
.pay-methods { display: grid; gap: 8px; margin: 0 0 16px; }
.pay-methods label { display: flex !important; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: var(--ink-1); box-shadow: inset 0 0 0 1px var(--line-2); cursor: pointer; color: var(--text) !important; margin: 0 !important; }
.pay-methods label:has(input:checked) { box-shadow: inset 0 0 0 1.5px var(--ember-2); }
.pay-methods small { display: block; color: var(--dim); font-size: 12.5px; }
.form-error { color: #FF8A7A; font-size: 14px; min-height: 1em; margin: 10px 0 0; }

/* Order page */
.shop-narrow { max-width: 600px; margin: 0 auto; padding: 110px 20px 80px; }
.card { border-radius: 24px; padding: 32px; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-2), 0 40px 100px -40px rgba(214,51,132,.5); }
.card h1 { font-size: 32px; text-align: center; margin: 10px 0 6px; }
.status { display: flex; justify-content: center; margin: 0 0 6px; }
.badge { padding: 5px 14px; border-radius: 999px; font: 700 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.badge.pending { background: rgba(255,181,71,.14); color: var(--amber); box-shadow: inset 0 0 0 1px rgba(255,181,71,.4); }
.badge.paid { background: rgba(61,220,151,.14); color: var(--mint); box-shadow: inset 0 0 0 1px rgba(61,220,151,.4); }
.badge.cancelled { background: rgba(255,255,255,.06); color: var(--dim); }
.summary { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; margin: 24px 0; padding: 18px 20px; border-radius: 16px; background: var(--ink-1); box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; }
.summary dt { color: var(--dim); } .summary dd { margin: 0; text-align: right; font-weight: 600; overflow-wrap: anywhere; }
.ref { font: 700 18px var(--mono); color: var(--amber); letter-spacing: .06em; }
.bank h2, .pcs-title { font-size: 18px; margin: 26px 0 10px; }
.pcs-title span { font: 500 13px var(--body); color: var(--dim); margin-left: 8px; letter-spacing: 0; }
.copy { cursor: pointer; border: 0; background: none; color: var(--dim); font: 12px var(--body); padding: 0 0 0 8px; }
.copy:hover { color: var(--text); }
.note { color: var(--dim); font-size: 14px; text-align: center; margin: 14px 0 0; }
.note.warn { color: var(--amber); }
.big-ok { width: 72px; height: 72px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; font-size: 36px; background: rgba(61,220,151,.14); box-shadow: 0 0 0 8px rgba(61,220,151,.06); }
.pc { display: flex; align-items: center; gap: 14px; justify-content: space-between; padding: 14px 16px; border-radius: 14px; background: var(--ink-1); box-shadow: inset 0 0 0 1px var(--line); margin: 0 0 8px; }
.pc small { display: block; color: var(--dim); font-size: 12.5px; }

@media (max-width: 820px) {
  .shop-hero { grid-template-columns: 1fr; min-height: 0; }
  .shop-hero-art { order: -1; }
  .shop-hero-art:has(.promo) { order: 0; } /* a tall video goes under the buy buttons, not above them */
  .plans, .steps { grid-template-columns: 1fr; }
  .shop-links { display: none; }
}
@media (max-width: 480px) {
  .shop, .shop-narrow { padding-left: 16px; padding-right: 16px; }
  .card { padding: 22px 18px; }
  .pc { flex-direction: column; align-items: stretch; }
}

/* Client portal (/account) */
.acct { max-width: 720px; }
/* Signed in: full-width page, a small account card up top, licences and PCs on a white board that fills the screen. */
.acct-page { min-height: 100vh; display: flex; flex-direction: column; }
.acct-wrap { max-width: var(--max); margin: 0 auto; }
.shop.acct-wrap { width: 100%; padding-bottom: 36px; }
.acct-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.acct-top h1 { font-size: clamp(30px, 4.5vw, 46px); margin: 6px 0 6px; }
.acct-top .kicker { margin: 0; }
.acct-top .note { text-align: left; margin: 0; }
.acct-me { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 18px; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-2); max-width: 420px; min-width: 0; }
.acct-me > div { min-width: 0; }
.acct-me b { display: block; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct-me small { display: block; color: var(--dim); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct-me form { flex: none; margin-left: 6px; }
.acct-avatar { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--grad-btn); color: #fff; font: 700 17px var(--display); }
.acct-board { flex: 1; background: #FFFFFF; color: var(--text); padding: 44px 0 64px; }
.acct-board > .acct-wrap { padding: 0 24px; }
.acct-board > .acct-wrap > .note { text-align: left; }
.acct-board .note.ok { color: #0F7A52; }
.acct-board .note.warn { color: #B45309; }
.acct-board .btn-ghost:hover { background: var(--ink-3); }
.acct-board .lic { margin: 0 0 22px; padding: 24px; border-radius: 22px; background: var(--ink-1); box-shadow: inset 0 0 0 1px var(--line); }
.acct-board .lic-head { margin: 0 0 16px; }
.acct-board .lic > .note { text-align: left; margin: 0 0 12px; }
.pcs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 12px; }
.acct-board .pc > div > b:first-child { font-size: 15.5px; }
.acct-board .pc small { margin-top: 2px; }
.acct-board .pc form { padding-top: 12px; border-top: 1px solid var(--line); }
.pcs:empty { display: none; }
.acct-board .pc { margin: 0; background: var(--ink-2); flex-direction: column; align-items: stretch; justify-content: space-between; padding: 16px 18px; box-shadow: inset 0 0 0 1px var(--line), 0 10px 26px -20px rgba(11,12,16,.35); }
.acct-board .dot.on { background: #16A36B; box-shadow: 0 0 0 3px rgba(22,163,107,.18); }
@media (max-width: 720px) {
  .acct-top { flex-direction: column; align-items: stretch; }
  .acct-me { max-width: none; }
  .acct-board { padding: 28px 0 48px; }
  .acct-board > .acct-wrap { padding: 0 16px; }
  .acct-board .lic { padding: 18px 16px; }
}
.acct-empty { margin: 24px 0 0; text-align: center; }
.lic { margin: 26px 0 0; }
.lic-head { display: flex; align-items: center; gap: 14px; margin: 0 0 12px; }
.lic-head img { border-radius: 12px; flex: none; }
.lic-head > div { flex: 1; min-width: 0; }
.lic-head h2 { font-size: 18px; margin: 0; }
.lic-head small { color: var(--dim); font-size: 13px; }
.lic-head small a, .note a { color: inherit; text-decoration: underline; }
.pc small.faint { color: var(--faint); }
.pc form { flex: none; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--faint); margin: 0 7px 1px 0; }
.dot.on { background: var(--mint); box-shadow: 0 0 0 3px rgba(61,220,151,.18); }
.note.ok { color: var(--mint); }
.g-center { display: flex; justify-content: center; gap: 8px; }
#dev-login input { padding: 8px 12px; border-radius: 10px; border: 0; }
@media (max-width: 560px) {
  .lic-head { flex-wrap: wrap; }
}

/* White sections: full-width bands that switch the page's colour tokens to light. */
.shop-section.light, .acct-board {
  --ink-1: #F5F6F9; --ink-2: #FFFFFF; --ink-3: #EEF0F4;
  --line: rgba(11, 12, 16, .08); --line-2: rgba(11, 12, 16, .14);
  --text: #0B0C10; --dim: #4A5163; --faint: #7A8194;
}
.shop-section.light {
  background: #FFFFFF; color: var(--text);
  margin: 56px calc(50% - 50vw) 0; padding: 72px calc(50vw - 50%) 72px;
}
.shop-section.light + .shop-section.light { margin-top: 0; padding-top: 8px; }
.shop-section.light .kicker { color: #C2410C; }
.shop-section.light .steps li { box-shadow: inset 0 0 0 1px var(--line-2), 0 12px 30px -18px rgba(11,12,16,.25); }
.pdf-features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.feature { padding: 24px; border-radius: 18px; background: var(--ink-1); box-shadow: inset 0 0 0 1px var(--line); }
.feature h3 { font-size: 18px; margin: 12px 0 6px; letter-spacing: -.015em; }
.feature p { margin: 0; color: var(--dim); font-size: 15px; }
.feature-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #FFFFFF; box-shadow: inset 0 0 0 1px var(--line-2); color: #C2410C; }
.pro-tag { display: inline-block; vertical-align: middle; margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: var(--grad-btn); color: #fff; font: 700 11px var(--body); letter-spacing: .04em; }
.trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 28px 0 0; }
.trust div { padding: 0 0 0 16px; border-left: 3px solid #FF7A4D; }
.trust b { display: block; font: 700 16px var(--display); }
.trust span { color: var(--dim); font-size: 14.5px; }
@media (max-width: 820px) {
  .pdf-features, .trust { grid-template-columns: 1fr; }
  .shop-section.light { padding-top: 52px; padding-bottom: 52px; }
}

/* PDF Pro page: reader + free + Pro side by side */
.plans.three { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: none; }
.nav .shop-cta { margin-left: 4px; }
@media (max-width: 1000px) { .plans.three { grid-template-columns: 1fr; max-width: 480px; } }
@media (max-width: 820px) { .nav .shop-cta { display: inline-flex; margin-left: auto; } }
.plan li.lead { padding-left: 0; color: var(--dim); }
.plan li.lead::before { content: none; }
@media (max-width: 1000px) and (min-width: 821px) { .pdf-features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Two-step sign-in */
.acct-board .twofa .twofa-icon { flex: none; border-radius: 12px; }
.acct-board .twofa > .note, .acct-board .twofa > .fine { text-align: left; margin: 0 0 10px; }
.code-form { display: flex; flex-direction: column; align-items: center; gap: 12px; margin: 22px 0 6px; }
.code-form.row { flex-direction: row; flex-wrap: wrap; justify-content: flex-start; margin: 4px 0 8px; }
.code-input { width: 220px; max-width: 100%; height: 50px; padding: 0 14px; border: 0; border-radius: 12px; background: var(--ink-1); color: var(--text);
  font: 600 20px var(--mono); letter-spacing: .12em; text-align: center; box-shadow: inset 0 0 0 1px var(--line-2); }
.code-form.row .code-input { height: 40px; font-size: 16px; width: 230px; }
.code-form .form-error:empty { display: none; }
.code-input::placeholder { font: 500 15px var(--body); letter-spacing: 0; color: var(--faint); }
.acct-board .twofa { margin-top: 28px; }
.twofa-card h1 { font-size: 28px; }
.twofa-steps { margin: 22px 0 0; padding-left: 22px; color: var(--text); font-size: 15px; }
.twofa-steps li { margin: 0 0 18px; padding-left: 4px; }
.twofa-steps small { display: block; color: var(--dim); font-size: 13px; margin-top: 4px; }
.twofa-steps .code-form { align-items: flex-start; margin: 12px 0 0; }
.qr { width: 220px; height: 220px; margin: 12px 0 8px; padding: 0; border-radius: 16px; overflow: hidden; background: #fff; }
.qr svg { display: block; width: 100%; height: 100%; }
.secret { font: 600 14px var(--mono); color: var(--text); letter-spacing: .06em; overflow-wrap: anywhere; }
.recovery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 18px; list-style: none; margin: 22px 0 24px; padding: 18px 20px; border-radius: 16px;
  background: var(--ink-1); box-shadow: inset 0 0 0 1px var(--line); font: 600 17px var(--mono); letter-spacing: .08em; text-align: center; }
@media (max-width: 480px) { .recovery { grid-template-columns: 1fr; } }

/* MediaFlex Link: approve on the phone */
.push-box { display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 22px 0 4px; }
.acct-board .push-box { align-items: flex-start; margin: 14px 0 6px; }
.push-number { margin: 0; color: var(--text); font-size: 15px; }
.push-number b { display: inline-block; min-width: 2.4ch; margin: 0 4px; padding: 4px 12px; border-radius: 10px; background: var(--ink-1);
  box-shadow: inset 0 0 0 1px var(--line-2); font: 700 26px var(--mono); letter-spacing: .06em; text-align: center; }
.push-status { margin: 0; color: var(--dim); font-size: 14px; min-height: 1.2em; }
.push-status:empty { display: none; }
.or-line { margin: 18px 0 0; text-align: center; color: var(--faint); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.acct-board .twofa .pcs { margin: 6px 0 10px; }

/* Digital signing certificates */
.acct-board .certs { margin-top: 28px; }
.acct-board .certs > .fine { margin: 12px 0 0; }
.acct-board .pc.off { opacity: .6; }

/* Privacy notice */
.privacy .card { text-align: left; }
.privacy h1 { text-align: left; }
.privacy h2 { font-size: 18px; margin: 24px 0 8px; }
.privacy p, .privacy li { color: var(--dim); font-size: 15px; line-height: 1.6; }
.privacy ul { padding-left: 20px; margin: 0; }
.privacy li { margin: 0 0 8px; }
.privacy .note { text-align: left; }
.privacy a { color: inherit; text-decoration: underline; }

/* The Android app's download pop-up (PublicPages.ApkModal, assets/apk.js) */
.apk-modal { max-width: 360px; text-align: center; }
.apk-lede { color: var(--dim); margin: 6px 0 16px; }
.apk-qr { width: 200px; margin: 0 auto 14px; background: #fff; border-radius: 14px; padding: 8px; line-height: 0; }
.apk-qr svg { width: 100%; height: auto; display: block; }
.apk-fine { font-size: 12.5px; color: var(--faint); margin: 2px 0 10px; }

/* Client portal: licences, who has each one, buying more */
.acct-board .lic-buy { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 14px; margin: 0 0 18px; padding: 14px 16px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.acct-board .lic-buy label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--dim); }
.acct-board .lic-buy input { width: 90px; }
.acct-board .lic-item { padding: 14px 0 6px; border-top: 1px solid var(--line); }
.acct-board .lic-item.off { opacity: .6; }
.acct-board .lic-who { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 0 0 10px; }
.acct-board .lic-who span { color: var(--dim); font-size: 14px; }
.acct-board .lic-give { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.acct-board .lic-give form { display: flex; gap: 8px; flex-wrap: wrap; }
.acct-board .lic-give input[type=email] { min-width: 0; width: 240px; max-width: 100%; }

/* Client portal sign-in: the icons of the programs with licences */
.acct-icons { display: flex; justify-content: center; gap: 12px; margin: 0 0 12px; }
.acct-icons img { border-radius: 14px; }
/* Flex-Backup's icon has see-through corners: a soft glow in its own colours instead of the square shadow */
[data-product="flex-backup"] .shop-hero-art img { border-radius: 0; box-shadow: none; filter: drop-shadow(0 30px 50px rgba(79, 91, 245, .45)); }
/* A form button that reads as a link ("No Android phone? Use an authenticator app instead") */
.linkish { background: none; border: 0; padding: 0; font: inherit; color: var(--accent, #5B3DF5); text-decoration: underline; cursor: pointer; }
/* mediaflex.co.za/link (LinkPage.cs) */
.link-page h2 { margin: 26px 0 10px; font-size: 20px; }
.link-page .steps { grid-template-columns: 1fr; gap: 10px; }
.link-page .steps li { padding: 16px 18px; }
.link-get { display: flex; gap: 22px; align-items: center; margin: 22px 0 6px; }
.link-get .apk-qr { width: 150px; margin: 0; flex: none; }
@media (max-width: 560px) { .link-get { flex-direction: column; align-items: stretch; text-align: center; } .link-get .apk-qr { display: none; } }

/* Web apps (ClearBooks family): product art and feature list */
.biz-art { display: grid; place-items: center; color: #8b6cf0; }
.biz-art svg { width: 200px; height: 200px; padding: 36px; border-radius: 36px; background: rgba(139,108,240,.12); }
.biz-list { columns: 2; column-gap: 40px; max-width: 900px; padding-left: 20px; line-height: 1.9; }
@media (max-width: 700px) { .biz-list { columns: 1; } }
.period-pick { margin-bottom: 14px; }
/* Client portal: web apps */
.biz-state { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; }
.biz-state.ok { background: #e3f6ea; color: #17673a; }
.biz-state.warn { background: #fff1d6; color: #8a5300; }
.biz-state.off { background: #fde4e4; color: #a12424; }
.biz-countdown { font-weight: 800; color: #a12424; }
.members { list-style: none; padding: 0; margin: 10px 0; display: grid; gap: 6px; }
.members li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 12px; border: 1px solid rgba(0,0,0,.08); border-radius: 10px; background: #fff; }
.members form { margin: 0; }
.lic-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 10px 0; }
.lic-actions form { display: flex; gap: 8px; align-items: center; margin: 0; }

/* Product cards run the full width of the screen (2026-11-19) */
.acct-board > .acct-wrap { max-width: none; padding: 0 24px; }
@media (max-width: 480px) { .acct-board > .acct-wrap { padding: 0 16px; } }

/* Account page (2026-11-19): thin header, Sign out in the top bar, taskbar above a thin footer */
.shop.acct-wrap { padding-top: 88px; padding-bottom: 16px; }
.acct-top { align-items: center; }
.acct-top h1 { font-size: clamp(22px, 2.6vw, 28px); margin: 0 0 2px; }
.acct-top .note { font-size: 14px; }
.acct-me { padding: 8px 12px; border-radius: 14px; }
.acct-avatar { width: 34px; height: 34px; font-size: 15px; }
.nav .acct-out { margin: 0 0 0 auto; }
.acct-apps { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 8px 16px; background: var(--ink-2); border-top: 1px solid var(--line); }
.acct-app { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px var(--line); transition: background .15s ease, transform .15s ease; }
.acct-app img { display: block; width: 32px; height: 32px; border-radius: 8px; }
.acct-app:hover { background: rgba(255,255,255,.12); transform: translateY(-1px); }
.acct-app:focus-visible { outline: 2px solid var(--hot); outline-offset: 2px; }
.acct-board section.lic { scroll-margin-top: 90px; }
.acct-page ~ .footer { max-width: none; padding: 8px 24px; gap: 4px 20px; font-size: 13px; line-height: 1.4; }
.acct-page ~ .footer .footer-links { gap: 14px; }
@media (max-width: 720px) { .shop.acct-wrap { padding-top: 80px; } .acct-page ~ .footer { padding: 8px 16px; } }
@media (prefers-reduced-motion: reduce) { .acct-app { transition: none; } .acct-app:hover { transform: none; } }

/* Taskbar opens one card at a time; hover label; Free software card (2026-11-19) */
.acct-card[hidden] { display: none !important; }
.acct-app { position: relative; }
.acct-app.on { background: rgba(255,255,255,.16); box-shadow: inset 0 0 0 1.5px var(--hot); }
.acct-app::after { content: attr(data-name); position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); padding: 5px 10px; border-radius: 8px; background: #0B0C10; color: #fff; font: 600 12.5px/1.2 var(--body); white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity .12s ease; box-shadow: 0 6px 18px -8px rgba(0,0,0,.6); z-index: 5; }
.acct-app:hover::after, .acct-app:focus-visible::after { opacity: 1; }
.acct-free .free-app { flex-direction: row; align-items: center; gap: 12px; }
.acct-free .free-name { display: flex; align-items: center; gap: 12px; min-width: 0; flex: 1; }
.acct-free .free-name img, .acct-free .free-letter { flex: none; width: 32px; height: 32px; border-radius: 8px; }
.acct-free .free-letter { display: grid; place-items: center; background: var(--grad-btn); color: #fff; font: 700 15px var(--display); }

/* Account top bar holds the header now: bigger logo, title in the middle, name + Sign out right (2026-11-19) */
.nav.nav-acct { border-radius: 22px; padding: 8px 12px 8px 20px; gap: 20px; }
.nav-acct .brand { font-size: 29px; flex: none; }
.nav-title { flex: 1; min-width: 0; text-align: center; }
.nav-title h1 { margin: 0; font-size: 19px; line-height: 1.25; }
.nav-title .note { margin: 2px 0 0; font-size: 13px; line-height: 1.35; color: var(--dim); text-align: center; }
.nav-me { flex: none; display: flex; align-items: center; gap: 12px; text-align: right; }
.nav-me > div { min-width: 0; line-height: 1.25; }
.nav-me b { display: block; font-size: 14.5px; white-space: nowrap; }
.nav-me small { display: block; font-size: 12.5px; color: var(--dim); white-space: nowrap; }
.nav-me .acct-out { margin: 0; }
.acct-nav-moved > .shop.acct-wrap { padding: 0; height: 88px; }
.acct-nav-moved .acct-top { display: none; }
/* bigger taskbar buttons */
.acct-apps { gap: 12px; padding: 12px 16px; }
.acct-app { width: 62px; height: 62px; border-radius: 16px; }
.acct-app img { width: 44px; height: 44px; border-radius: 11px; }
@media (max-width: 1000px) { .nav-title .note { display: none; } .acct-nav-moved > .shop.acct-wrap { height: 84px; } }
@media (max-width: 720px) {
  .nav-acct .brand { font-size: 24px; }
  .nav-title, .nav-me > div { display: none; }
  .nav-me { margin-left: auto; }
  .acct-nav-moved > .shop.acct-wrap { height: 76px; }
}
.acct-page ~ .footer .footer-links { flex-wrap: wrap; row-gap: 4px; }

/* Desktop layout (2026-11-19): header, empty space, one card at a time, taskbar always on screen */
.acct-apps { position: sticky; bottom: 0; z-index: 40; }
.acct-board { min-height: calc(100vh - 88px - 86px); }
.acct-pick { margin: 18vh 0 0; text-align: center; color: var(--faint); font-size: 15px; }
.acct-pick[hidden] { display: none; }
.acct-card > .note:last-child { margin: 16px 0 0; text-align: left; }

/* "Buy more licences" under Download; the buy form only shows when asked for (2026-11-19) */
.lic-head > .lic-side { margin-left: auto; display: flex; flex-direction: column; align-items: stretch; gap: 6px; flex: 0 0 auto; width: max-content; min-width: 170px; justify-self: end; }
.lic-side .btn { justify-content: center; text-align: center; }
form.lic-buy[hidden] { display: none !important; }

/* MediaFlex TV inside its product card (2026-11-19) */
.tv-panel { margin: 0 0 18px; padding: 18px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.tv-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin: 0 0 12px; }
.tv-head h3 { margin: 0; font-size: 17px; }
.tv-head small { color: var(--dim); font-size: 13px; }
.tv-head a { color: inherit; }
.tv-note { margin: 0 0 12px; color: var(--dim); font-size: 14px; text-align: left; }
.tv-note.warn { color: #B45309; }
.tv-stream { padding: 14px 0 0; border-top: 1px solid var(--line); margin-top: 12px; }
.tv-stream:first-of-type { border-top: 0; margin-top: 0; padding-top: 0; }
.tv-stream-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 8px 16px; margin: 0 0 10px; }
.tv-stream-head h3 { margin: 0; font-size: 16px; }
.tv-stream-head small { color: var(--dim); font-size: 13px; }
.tv-key { text-align: right; } .tv-key small { display: block; color: var(--faint); font-size: 11.5px; } .tv-key b { font: 700 15px var(--mono, monospace); letter-spacing: .04em; }
.tv-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; margin: 0 0 12px; padding: 10px 12px; border-radius: 12px; background: var(--ink-1); font-size: 14px; }
.tv-bar.changed { background: #FFF6E5; box-shadow: inset 0 0 0 1px #F5D9A8; }
.tv-bar-btns { display: flex; gap: 8px; }
.tv-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.tv-item { display: flex; flex-direction: column; gap: 6px; padding: 8px; border-radius: 14px; background: var(--ink-1); box-shadow: inset 0 0 0 1px var(--line); min-width: 0; }
.tv-item.bad { box-shadow: inset 0 0 0 1.5px #E5484D; }
.tv-thumb-wrap { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #0B0C10; }
.tv-thumb { display: block; width: 100%; height: 100%; object-fit: contain; }
.tv-missing { display: grid; place-items: center; color: #fff; font-size: 13px; }
.tv-badge { position: absolute; left: 6px; bottom: 6px; padding: 2px 7px; border-radius: 6px; background: rgba(11,12,16,.72); color: #fff; font-size: 11.5px; }
.tv-item-name { font-size: 13.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tv-item-row { display: flex; align-items: center; justify-content: space-between; gap: 6px; font-size: 13px; color: var(--dim); }
.tv-dur input { width: 58px; padding: 3px 6px; border-radius: 8px; border: 1px solid var(--line-2); font: inherit; }
.tv-item-btns { display: flex; gap: 4px; }
.tv-ib { width: 28px; height: 28px; border: 0; border-radius: 8px; background: #fff; box-shadow: inset 0 0 0 1px var(--line-2); cursor: pointer; font-size: 15px; line-height: 1; color: var(--text); }
.tv-ib:disabled { opacity: .35; cursor: default; }
.tv-ib.tv-del:hover:not(:disabled) { background: #FDECEC; color: #B42318; }
.tv-add { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 160px; padding: 12px; border: 2px dashed var(--line-2); border-radius: 14px; background: transparent; color: var(--text); font: 600 14px var(--body); cursor: pointer; text-align: center; }
.tv-add b { font-size: 28px; line-height: 1; }
.tv-add small { color: var(--faint); font-weight: 500; font-size: 12px; }
.tv-add:hover { border-color: var(--hot); }
.tv-ups { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 6px; font-size: 13.5px; }
.tv-ups li { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tv-ups li.err small { color: #B42318; }
.tv-prog { position: relative; flex: 0 0 180px; height: 8px; border-radius: 99px; background: var(--ink-3); display: flex; align-items: center; }
.tv-prog i { display: block; height: 100%; border-radius: 99px; background: var(--grad-btn, #D63384); }
.tv-prog small { position: absolute; right: -42px; color: var(--dim); }
.tv-gsi { min-height: 44px; }
.tv-dur { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; } .tv-dur input { width: 52px; }

/* TV card: TVs table and the rest of the TV account (2026-11-19) */
.tv-table-wrap { overflow-x: auto; margin: 0 0 12px; }
.tv-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.tv-table th { text-align: left; font-weight: 600; color: var(--dim); font-size: 12.5px; padding: 6px 10px; border-bottom: 1px solid var(--line-2); white-space: nowrap; }
.tv-table td { padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tv-table td small { color: var(--dim); }
.tv-table .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #B8C2D6; vertical-align: 1px; }
.tv-table .dot.on { background: #16A36B; box-shadow: 0 0 0 3px rgba(22,163,107,.18); }
.tv-sec { margin: 18px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); }
.tv-sec h4 { margin: 0 0 10px; font-size: 15px; }
.tv-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.tv-list li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; padding: 8px 10px; border-radius: 10px; background: var(--ink-1); font-size: 13.5px; }
.tv-list small { color: var(--dim); }
.tv-list-btns { display: flex; align-items: center; gap: 10px; }
.tv-msg { display: block !important; } .tv-msg p { margin: 4px 0 0; color: var(--text); white-space: pre-wrap; }
.tv-fields { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px 18px; margin: 0 0 10px; }
.tv-field small { display: block; color: var(--faint); font-size: 12px; } .tv-field span { font-size: 14px; overflow-wrap: anywhere; }
.tv-since { font-size: 12.5px !important; margin: 0 0 10px !important; }
.tv-form { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px 14px; margin: 10px 0 0; }
.tv-in { display: flex; flex-direction: column; gap: 4px; font-size: 12.5px; color: var(--dim); }
.tv-in input, .tv-in textarea { font: 14px var(--body); color: var(--text); padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line-2); background: #fff; }
.tv-wide { grid-column: 1 / -1; }
.tv-check { font-size: 13.5px; color: var(--text); }
.tv-form-btns { display: flex; gap: 8px; }
.tv-item-row { flex-wrap: wrap; } .tv-item-btns { margin-left: auto; }

/* TV card: movie player, calendar, schedule editor (2026-11-19) */
.tv-seg { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--ink-3); gap: 2px; }
.tv-seg button { border: 0; background: transparent; padding: 6px 12px; border-radius: 999px; font: 600 13px var(--body); color: var(--dim); cursor: pointer; }
.tv-seg button.on { background: #fff; color: var(--text); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.tv-pv { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(220px, 1fr); gap: 16px; align-items: start; margin: 0 0 14px; }
.tv-pv-stage { display: grid; place-items: center; padding: 14px; border-radius: 14px; background: #0B0C10; }
.tv-pv-wall { width: 100%; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; background: #000; box-shadow: 0 0 0 6px #1C1C24, 0 0 0 7px #2A2A33; position: relative; }
.tv-pv-wall.portrait { width: auto; height: 420px; max-height: 60vh; aspect-ratio: 9 / 16; }
.tv-pv-frame { position: absolute; inset: 0; }
.tv-pv-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; animation: tv-fade .3s ease; }
@keyframes tv-fade { from { opacity: 0; } to { opacity: 1; } }
.tv-pv-empty { position: absolute; inset: 0; display: grid; place-items: center; color: #8A92A6; font-size: 14px; }
.tv-pv-side { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.tv-pv-now { margin: 4px 0 0; font-weight: 600; font-size: 14px; }
.tv-pv-side .tv-note { margin: 0; }
@media (max-width: 760px) { .tv-pv { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .tv-pv-media { animation: none; } }
.tv-cal-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 8px; }
.tv-cal-nav { display: flex; align-items: center; gap: 8px; } .tv-cal-nav b { min-width: 150px; text-align: center; }
.tv-month { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.tv-wd { font-size: 12px; color: var(--faint); text-align: center; padding: 2px 0; }
.tv-day { min-height: 86px; padding: 4px; border-radius: 8px; background: var(--ink-1); display: flex; flex-direction: column; gap: 3px; cursor: pointer; min-width: 0; }
.tv-day:hover { box-shadow: inset 0 0 0 1px var(--line-2); }
.tv-day.dim { opacity: .45; } .tv-day.today { box-shadow: inset 0 0 0 2px var(--hot); }
.tv-dn { font-size: 12px; color: var(--dim); }
.tv-day > small { font-size: 11px; color: var(--dim); }
.tv-chip { display: block; width: 100%; border: 0; border-radius: 6px; padding: 2px 6px; text-align: left; font: 600 11.5px var(--body); color: #fff; cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tv-chip b { font-weight: 600; } .tv-chip small { display: block; font-weight: 500; opacity: .9; }
.tv-chip.draft { background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.25) 0 6px, transparent 6px 12px); }
.tv-chip.c0, .tv-swatch.c0 { background-color: #0E9F9A; } .tv-chip.c1, .tv-swatch.c1 { background-color: #6D4AE0; }
.tv-chip.c2, .tv-swatch.c2 { background-color: #D63384; } .tv-chip.c3, .tv-swatch.c3 { background-color: #C77700; }
.tv-swatch { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: 0; }
.tv-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.tv-wcol { min-height: 160px; padding: 6px; border-radius: 10px; background: var(--ink-1); display: flex; flex-direction: column; gap: 4px; cursor: pointer; min-width: 0; }
.tv-wcol.today { box-shadow: inset 0 0 0 2px var(--hot); }
.tv-wcol header { display: flex; align-items: baseline; gap: 6px; margin-bottom: 2px; } .tv-wcol header small { color: var(--dim); }
.tv-faint { color: var(--faint); font-size: 12px; }
.tv-click { cursor: pointer; } .tv-click:hover td { background: var(--ink-1); }
.tv-warn { color: #B45309; }
@media (max-width: 760px) { .tv-day { min-height: 54px; } .tv-chip { font-size: 10px; padding: 1px 4px; } .tv-week { grid-template-columns: 1fr; } .tv-wcol { min-height: 0; } }
.tv-dialog { width: min(520px, calc(100vw - 32px)); border: 0; border-radius: 18px; padding: 22px; background: #fff; color: #0B0C10; box-shadow: 0 30px 80px -20px rgba(0,0,0,.5);
  --ink-1: #F5F6F9; --ink-3: #EEF0F4; --line: rgba(11,12,16,.08); --line-2: rgba(11,12,16,.14); --text: #0B0C10; --dim: #4A5163; --faint: #7A8194; }
.tv-dialog::backdrop { background: rgba(5,6,8,.6); }
.tv-dialog h3 { margin: 0 0 4px; font-size: 18px; }
.tv-dialog select { font: 14px var(--body); color: var(--text); padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line-2); background: #fff; }
.tv-dlg-btns { justify-content: space-between; flex-wrap: wrap; }
.tv-danger { color: #B42318 !important; }

/* ClearBooks: Small + Full plans side by side */
.plans.plans-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1200px; }
.plan-small .btn[disabled] { opacity: .6; cursor: default; }
@media (max-width: 820px) { .plans.plans-3 { grid-template-columns: 1fr; } }
