/* R6: compact product controls, readable migration panels and a bounded newsletter row. */
body.tfuk-modern .plan-controls-r6{margin:0 0 24px;position:relative;z-index:4}
body.tfuk-modern .plan-controls-primary-r6{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(160px,.75fr) auto;align-items:end;gap:14px;padding:18px 20px;border:1px solid var(--line,#d8dfed);border-radius:12px;background:var(--surface,#fff)}
body.tfuk-modern .plan-controls-primary-r6[data-r6-single-group]{grid-template-columns:minmax(170px,280px) auto;justify-content:space-between}
body.tfuk-modern .plan-controls-primary-r6 :is(.billing-field,.plan-category-field-r6){display:flex;flex-direction:column;gap:7px;min-width:0;max-width:none;width:auto;margin:0}
body.tfuk-modern .plan-controls-primary-r6 label{font-size:13px!important;line-height:1.5!important;color:var(--muted,#596579)}
body.tfuk-modern .plan-controls-primary-r6 :is(select,input){font-size:16px!important;line-height:1.5!important;min-height:48px;width:100%;border:1px solid var(--line,#c4cddc);border-radius:7px;padding:10px 12px;background:var(--surface,#fff);color:var(--ink,#333)}
body.tfuk-modern .plan-controls-status-r6{padding-top:12px;font-size:14px;line-height:1.5;color:var(--muted,#596579)}
body.tfuk-modern .plan-controls-status-r6 p{margin:0;font-size:14px!important}
body.tfuk-modern [data-r6-original-groups][hidden]{display:none!important}
body.tfuk-modern .plan-extra-filters-r6{position:static;min-width:0;align-self:end}
body.tfuk-modern .plan-extra-filters-r6>summary{display:flex;align-items:center;justify-content:center;gap:8px;list-style:none;cursor:pointer;min-height:48px;padding:10px 15px;border:1px solid var(--line,#c4cddc);border-radius:7px;background:var(--soft,#f4f6fb);color:var(--ink,#333);font-size:14px!important;font-weight:600;white-space:nowrap}
body.tfuk-modern .plan-extra-filters-r6>summary::-webkit-details-marker{display:none}
body.tfuk-modern .plan-extra-filters-r6>summary:after{content:'+';font-size:18px;font-weight:400;line-height:1}
body.tfuk-modern .plan-extra-filters-r6[open]>summary:after{content:'−'}
body.tfuk-modern .plan-extra-filters-r6:not([open])>.plan-extra-panel-r6{display:none!important}
body.tfuk-modern [data-r6-extra-count]{display:grid;place-items:center;min-width:21px;height:21px;padding:0 5px;border-radius:20px;background:#1a2b5d;color:#fff;font-size:12px}
body.tfuk-modern [data-r6-extra-count][hidden]{display:none}
body.tfuk-modern .plan-extra-panel-r6{position:absolute;top:calc(100% + 9px);right:0;z-index:15;width:min(650px,100%);display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:17px;padding:20px;border:1px solid var(--line,#d8dfed);border-radius:10px;background:var(--surface,#fff);box-shadow:0 12px 32px #10254b1a}
body.tfuk-modern .plan-extra-panel-r6 .product-search{grid-column:auto;min-width:0}
body.tfuk-modern .plan-extra-panel-r6 .product-search>div{display:flex;align-items:center;position:relative}
body.tfuk-modern .plan-extra-panel-r6 .product-search .icon{position:absolute;left:12px;width:17px;height:17px;color:var(--muted,#596579)}
body.tfuk-modern .plan-extra-panel-r6 .product-search input{padding-left:37px}
body.tfuk-modern .plan-extra-panel-r6 :is(.product-search,.product-sort){display:flex;flex-direction:column;gap:7px;min-width:0}
body.tfuk-modern .plan-extra-options-r6{grid-column:1/-1;display:flex;align-items:center;flex-wrap:wrap;gap:12px 20px;padding-top:15px;border-top:1px solid var(--line,#d8dfed)}
body.tfuk-modern .plan-extra-options-r6>button{background:transparent;color:var(--ink,#333);border:0;font-size:14px!important;min-height:35px;padding:5px 0}
body.tfuk-modern .plan-extra-options-r6>.view-toggle{margin-right:auto;grid-column:auto;justify-self:auto}
body.tfuk-modern .plan-controls-r6 :is(input,select,button,summary):focus-visible{outline:3px solid #dd9933;outline-offset:3px}

/* The migration panel deliberately uses a dark brand surface in both appearances. */
body.tfuk-modern section.tuk-migration-r6{padding-block:64px;background-color:#0c2346!important;color:#fff}
body.tfuk-modern .tuk-migration-panel-r6{display:grid!important;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:clamp(26px,5vw,72px);align-items:start;border:1px solid #7c9ac344;border-top:3px solid #dd9933;border-radius:14px;padding:clamp(26px,4vw,48px);background:linear-gradient(125deg,#122c56,#1a3e6b);min-width:0}
body.tfuk-modern .tuk-migration-panel-r6>div{min-width:0}
body.tfuk-modern .tuk-migration-panel-r6 .section-intro{margin-bottom:26px;max-width:none}
body.tfuk-modern .tuk-migration-panel-r6 .eyebrow{color:#f4bd70!important;margin:0 0 20px;font-size:13px!important}
body.tfuk-modern .tuk-migration-panel-r6 :is(h2,h3,h4){color:#fff!important}
body.tfuk-modern .tuk-migration-panel-r6 h2{font-size:clamp(29px,3vw,42px)!important;line-height:1.2!important;max-width:19ch;margin-bottom:20px}
body.tfuk-modern .tuk-migration-panel-r6 :is(p,li,.prose,.lead){color:#e2eaf8!important;font-size:16px!important;line-height:1.75!important}
body.tfuk-modern .tuk-migration-panel-r6 .prose{max-width:none;padding-top:8px}
body.tfuk-modern .tuk-migration-panel-r6 .prose h3{font-size:23px!important;line-height:1.35!important;margin:0 0 20px}
body.tfuk-modern .tuk-migration-panel-r6 .prose ul{display:grid;gap:15px;list-style:none;padding:0;margin:0}
body.tfuk-modern .tuk-migration-panel-r6 .prose li{position:relative;padding-left:25px;margin:0;overflow-wrap:anywhere}
body.tfuk-modern .tuk-migration-panel-r6 .prose li:before{content:'✓';position:absolute;left:0;top:0;color:#f4bd70;font-weight:700}
body.tfuk-modern .tuk-migration-panel-r6 .button.secondary{color:#fff!important;border-color:#f4bd7080!important;background:#ffffff06!important;min-height:50px}
body.tfuk-modern .tuk-migration-panel-r6 .button.secondary:hover{color:#15294f!important;background:#f4bd70!important;border-color:#f4bd70!important}
body.tfuk-modern .tuk-migration-panel-r6 .button:focus-visible{outline:3px solid #f4bd70;outline-offset:4px}
body.tfuk-modern .editorial-split:not(:has(>figure.media-frame)){grid-template-columns:minmax(0,1fr)!important;gap:0!important}
body.tfuk-modern .editorial-split:not(:has(>figure.media-frame))>div{max-width:920px}

/* Authored process panels replace repeated editorial photographs. */
body.tfuk-modern .r6-information-visual{box-sizing:border-box;display:flex;flex-direction:column;justify-content:center;gap:20px;min-width:0;width:100%;min-height:340px;padding:34px;border:1px solid #dd99334d;border-radius:13px;background:radial-gradient(ellipse at 100% 0,#dd993325,transparent 55%),linear-gradient(145deg,#11274d,#1a3e6b);color:#fff;overflow-wrap:anywhere}
body.tfuk-modern .r6-information-visual .r6-visual-kicker{color:#f4bd70!important;font-size:12px!important;line-height:1.5!important;font-weight:650;letter-spacing:.1em;text-transform:uppercase;margin:0}
body.tfuk-modern .r6-information-visual .r6-visual-title{color:#fff!important;font-size:clamp(24px,2.5vw,32px)!important;line-height:1.25!important;letter-spacing:-.035em;margin:0;max-width:23ch}
body.tfuk-modern .r6-visual-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;min-width:0;margin:0}
body.tfuk-modern .r6-visual-step{display:flex;flex-direction:column;align-items:flex-start;gap:9px;padding:17px;border:1px solid #d4e2fc24;border-radius:9px;background:#ffffff09;min-width:0}
body.tfuk-modern .r6-visual-step .r6-visual-number{display:inline-flex;align-items:center;justify-content:center;width:27px;height:27px;flex:none;border-radius:7px;background:#dd9933;color:#14274a!important;font-size:12px!important;font-weight:750;line-height:1}
body.tfuk-modern .r6-visual-step strong{color:#fff!important;font-size:16px!important;line-height:1.4!important;font-weight:650}
body.tfuk-modern .r6-visual-step p{color:#dae6f8!important;font-size:14px!important;line-height:1.65!important;margin:0!important}
body.tfuk-modern :is(.media-frame,.p-photo-panel):has(>.r6-information-visual){height:auto!important;min-height:340px!important;display:flex;align-items:stretch;background:transparent!important;overflow:visible}
body.tfuk-modern :is(.media-frame,.p-photo-panel)>.r6-information-visual{border-radius:inherit}
body.tfuk-modern .solution-image:has(>.r6-information-visual){height:auto!important;min-height:220px!important;display:flex;align-items:stretch;background:transparent!important}
body.tfuk-modern .solution-image>.r6-information-visual{min-height:220px;padding:22px;gap:15px;border-radius:0}
body.tfuk-modern .solution-image .r6-visual-title{font-size:23px!important}
body.tfuk-modern .solution-image .r6-visual-step{padding:12px;gap:7px}
body.tfuk-modern .solution-image .r6-visual-step strong{font-size:15px!important}
body.tfuk-modern .solution-image .r6-visual-step p{font-size:13px!important}
body.tfuk-modern .photo-band-bg.r6-brand-grid{background-image:radial-gradient(ellipse at 85% 15%,#dd993332,transparent 58%),linear-gradient(135deg,#11274d,#1a3e6b)!important;background-color:#11274d!important;background-size:cover!important}

/* Reset the inherited 300/340px flex bases: they become heights in the mobile column. */
body.tfuk-modern .footer-newsletter{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);align-items:center!important;gap:24px!important;padding:26px!important;min-width:0;max-width:100%;height:auto!important;min-height:0!important}
body.tfuk-modern .footer-newsletter>div{flex:none!important;width:auto;min-width:0;min-height:0!important;height:auto!important}
body.tfuk-modern .footer-newsletter :is(h3,p){margin-top:0}
body.tfuk-modern .footer-newsletter h3{font-size:21px!important;line-height:1.35!important;margin-bottom:9px}
body.tfuk-modern .footer-newsletter p{margin-bottom:0;line-height:1.65!important}
body.tfuk-modern .footer-newsletter form{flex:none!important;display:grid!important;grid-template-columns:minmax(0,1fr) 50px;grid-auto-rows:auto;align-items:start!important;align-content:start!important;gap:12px 8px;width:100%!important;min-width:0;min-height:0!important;height:auto!important;margin:0}
body.tfuk-modern .footer-newsletter form>input[type=email]{grid-column:1;grid-row:auto;display:block!important;box-sizing:border-box!important;width:100%!important;min-width:0!important;height:50px!important;min-height:50px!important;max-height:50px!important;flex:none!important;align-self:start;resize:none;padding:12px 14px!important;line-height:24px!important;font-size:16px!important;border:1px solid #acbbd3;border-radius:7px;background:#fff!important;color:#1a2b5d!important}
body.tfuk-modern .footer-newsletter form>input[type=email]::placeholder{color:#586a86;opacity:1}
body.tfuk-modern .footer-newsletter form>button[type=submit]{grid-column:2;grid-row:auto;box-sizing:border-box;display:flex;align-items:center;justify-content:center;width:50px!important;height:50px!important;min-width:50px!important;min-height:50px!important;max-height:50px!important;padding:12px!important;margin:0!important;border-radius:7px;color:#142546!important;background:#dd9933!important;border-color:#dd9933!important;align-self:start}
body.tfuk-modern .footer-newsletter .tuk-form-consent{grid-column:1/-1;display:block;min-width:0;width:100%;margin:0!important;color:#d5e2f5!important;font-size:13px!important;line-height:1.65!important;overflow-wrap:anywhere}
body.tfuk-modern .footer-newsletter .tuk-form-consent input[type=checkbox]{width:16px!important;min-width:16px!important;height:16px!important;min-height:16px!important;max-height:16px!important;vertical-align:middle;margin:0 5px 2px 0!important;padding:0!important;accent-color:#dd9933}
body.tfuk-modern .footer-newsletter .tuk-form-consent a{color:#edf3ff!important;text-underline-offset:3px}
body.tfuk-modern .footer-newsletter .tuk-form-status{grid-column:1/-1;min-height:0;margin:0!important;font-size:14px!important;line-height:1.6!important;overflow-wrap:anywhere;color:#d5e2f5}
body.tfuk-modern .footer-newsletter .tuk-form-status.is-error{color:#ffb3b3!important}
body.tfuk-modern .footer-newsletter :is(input,button,a):focus-visible{outline:3px solid #f4bd70;outline-offset:3px}
html[data-theme=dark] body.tfuk-modern .plan-extra-filters-r6>summary{border-color:#536483;background:#20324e;color:#edf3ff}
html[data-theme=dark] body.tfuk-modern .plan-extra-panel-r6{border-color:#536483;box-shadow:0 12px 32px #0005}

@media(max-width:900px){
 body.tfuk-modern .tuk-migration-panel-r6{grid-template-columns:minmax(0,1fr)!important;gap:30px;padding:30px}
 body.tfuk-modern .tuk-migration-panel-r6 h2{max-width:24ch}
 body.tfuk-modern .footer-newsletter{grid-template-columns:minmax(0,1fr)!important;gap:20px!important}
}
@media(max-width:600px){
 body.tfuk-modern .plan-controls-primary-r6{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:13px;padding:15px}
 body.tfuk-modern .plan-controls-primary-r6[data-r6-single-group]{grid-template-columns:minmax(0,1fr) auto!important}
 body.tfuk-modern .plan-controls-primary-r6 :is(select,input){min-height:46px;font-size:15px!important;padding:9px 10px}
 body.tfuk-modern .plan-extra-filters-r6{grid-column:1/-1}
 body.tfuk-modern .plan-controls-primary-r6[data-r6-single-group] .plan-extra-filters-r6{grid-column:auto}
 body.tfuk-modern .plan-extra-filters-r6>summary{min-height:42px}
 body.tfuk-modern .plan-extra-panel-r6{position:static;width:auto;grid-template-columns:minmax(0,1fr);margin-top:12px;padding:15px;box-shadow:none}
 body.tfuk-modern .plan-extra-panel-r6 .product-search{grid-column:auto}
 body.tfuk-modern .plan-extra-options-r6{gap:12px 16px}
 body.tfuk-modern section.tuk-migration-r6{padding-block:40px}
 body.tfuk-modern .tuk-migration-panel-r6{padding:24px 21px;gap:26px;border-radius:11px}
 body.tfuk-modern .tuk-migration-panel-r6 h2{font-size:30px!important;max-width:none}
 body.tfuk-modern .tuk-migration-panel-r6 .prose h3{font-size:21px!important}
 body.tfuk-modern .tuk-migration-panel-r6 :is(p,li,.prose,.lead){font-size:15px!important;line-height:1.75!important}
 body.tfuk-modern .tuk-migration-panel-r6 .button{width:100%;padding-inline:14px!important;gap:13px}
 body.tfuk-modern .footer-newsletter{padding:22px 18px!important;gap:18px!important}
 body.tfuk-modern .footer-newsletter h3{font-size:21px!important}
 body.tfuk-modern .footer-newsletter form{gap:12px 8px}
 body.tfuk-modern .r6-information-visual{padding:25px 21px;min-height:0}
 body.tfuk-modern .r6-visual-grid{grid-template-columns:minmax(0,1fr);gap:10px}
 body.tfuk-modern .r6-information-visual .r6-visual-title{font-size:26px!important;max-width:none}
 body.tfuk-modern .r6-visual-step{padding:15px}
 body.tfuk-modern :is(.media-frame,.p-photo-panel):has(>.r6-information-visual){min-height:0!important}
 body.tfuk-modern .solution-image .r6-information-visual{min-height:0;padding:22px}
}
@media(prefers-reduced-motion:reduce){body.tfuk-modern .plan-extra-filters-r6 *{transition:none!important}}
