/* v0.22 website-only rules. Never imported by PDF/email composers. */
@media screen {
 .website-region-settings{display:block!important;position:relative;max-width:100%}.website-region-toggle{box-sizing:border-box;width:138px;height:44px;min-height:44px;border:0;border-radius:20px;background:linear-gradient(#EAF6FF,#EAF6FF) center/100% 32px no-repeat;font:400 14px/20px KSIQSans,Arial,sans-serif;padding:4px 8px;white-space:normal}
 #website-region-panel{width:min(358px,calc(100vw - 32px));max-width:100%;box-sizing:border-box;font:400 14px/20px KSIQSans,Arial,sans-serif;overflow-wrap:anywhere}#website-region-panel[hidden],#website-region-panel [hidden]{display:none!important}#website-region-panel h2{font-size:18px}#website-region-panel label{font-size:14px}#website-region-panel select{max-width:100%;width:100%;font-size:14px}.website-region-views{display:flex;flex-wrap:wrap;gap:8px}.website-region-views button{font-size:14px;white-space:normal}
 body>header{height:80px;min-height:80px;padding:0 32px;align-items:center;flex-wrap:nowrap;gap:24px}
 body>header>a{flex:0 0 190px;min-width:190px;margin:0}body>header>a>img{width:190px}
 body>header nav{gap:24px}body>header .website-routine-actions{gap:24px;margin:0}
 body>header .website-create-action{width:auto;padding:0;border:0;gap:6px;height:44px;font-size:16px}
 body>header .website-header-plus{box-sizing:border-box;background:transparent;color:#82B2DF;width:16px;height:16px;flex-basis:16px;font-size:18px;border:1.5px solid #82B2DF;border-radius:50%;line-height:12px}
 body>header .website-discount-ticket{width:76px;min-width:76px;flex-basis:76px;gap:6px}
 body>header .website-ticket-outline{display:none}body>header .website-ticket-phone{display:block;width:18px;height:18px;color:#82B2DF;order:-1}
 body>header .website-ticket-words{display:block;font-size:16px}
 body>header .website-header-join{width:84px;flex-basis:84px;height:44px;min-height:44px;border:0;background:linear-gradient(#254E91,#254E91) center/100% 32px no-repeat;border-radius:22px}
 body>header a:focus-visible,body>header summary:focus-visible{outline:2px solid #254E91;outline-offset:3px}
 .website-home-free{display:flex;align-items:center;justify-content:center;width:178px;height:44px;margin:12px auto;font:700 13px/20px KSIQSans,Arial,sans-serif;color:#fff;text-decoration:none;background:linear-gradient(#254E91,#254E91) center/100% 32px no-repeat;border-radius:22px}
 #main .website-method-description,#main .website-build-navigation>span{font:400 16px/24px KSIQSans,Arial,sans-serif}
 #main .website-method-title strong{font-size:16px;font-weight:700}
 #main .website-build-navigation>button,#main button[data-action="back"],#main button[data-subs="question-back"]{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;flex:0 0 85px;width:85px;min-width:85px;max-width:85px;height:44px;min-height:44px;padding:0;border-radius:24px;font:700 16px/24px KSIQSans,Arial,sans-serif}
 #main .website-level-choices{display:grid;grid-template-columns:repeat(3,184px);gap:12px;width:576px;max-width:100%}
 #main .website-level-choices>button{width:184px;height:128px;padding:12px;border:1px solid #82B2DF;border-radius:10px;background:white;text-align:left;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:8px;white-space:normal;color:#535B64;font:400 16px/22px KSIQSans,Arial,sans-serif}
 #main .website-level-choices strong{font-size:16px;font-weight:700}#main .website-level-choices [aria-pressed=true]{background:#EAF6FF;outline:2px solid #254E91;outline-offset:-2px}
 #main .website-level-choices button:focus-visible{outline:2px solid #254E91;outline-offset:3px}
 #main .website-membership-plans{display:flex;gap:12px;flex-wrap:wrap}#main .website-membership-plans>section{box-sizing:border-box;width:290px;height:138px;padding:16px;border:1px solid #C7D9EB;border-radius:10px}
 #main .website-membership-plans h2{font:700 18px/22px KSIQSans,Arial,sans-serif;margin:0 0 4px;padding:0;border:0}
 #main .website-membership-plans p{font:400 14px/22px KSIQSans,Arial,sans-serif;margin:0}
 #main .website-membership-plans .website-plan-price{font-size:20px;font-weight:700;white-space:nowrap}
 #main [data-website-stage=private-annual-checkout]>h1{font-size:24px;font-weight:700}
 #main .website-private-terms p{font:400 16px/24px KSIQSans,Arial,sans-serif;margin:0 0 8px}
 #main [data-routine-section]>h2,#main .website-routine-toolbar h2{border-bottom:1px solid #C7D9EB}
 #main .subscriber-output-actions{display:flex;flex-wrap:wrap;gap:12px}
 #main .subscriber-output-actions>button{box-sizing:border-box;height:44px;min-height:44px;padding:6px 0;border:0;background:transparent;color:white;font:700 16px/20px KSIQSans,Arial,sans-serif;border-radius:22px}
 #main .subscriber-output-actions [data-choice=email]{width:224px;background:transparent}#main .subscriber-output-actions [data-choice=download]{width:138px}#main .subscriber-output-actions [data-choice=both]{width:188px}
 #main .subscriber-output-actions .website-pill-face{box-sizing:border-box;display:flex;align-items:center;justify-content:center;min-height:32px;height:32px;width:100%;padding:0;border-radius:22px;background:#254E91;color:white;font:inherit;white-space:nowrap}
 #main .subscriber-output-actions [data-choice=email] .website-pill-face{background:#254E91;color:white}
 #main .subscriber-output-actions>button:hover .website-pill-face{background:#3D6BAB;outline:1px solid #254E91}
 #main .subscriber-output-actions>[data-choice=email]:hover .website-pill-face{background:#3D6BAB;outline:1px solid #254E91}
 #main .subscriber-output-actions>button:active .website-pill-face,#main .subscriber-output-actions[aria-busy=true] [data-choice] .website-pill-face{background:#15305B;outline:2px solid #82B2DF;outline-offset:2px}
 #main .subscriber-output-actions>button:focus-visible{outline:2px solid #254E91;outline-offset:3px}
 #main .subscriber-routine-output{padding:16px 0;border:0;background:transparent}#main .subscriber-routine-output>h2{font-size:22px}
 #main [data-subs-edit-warning],#main .website-output-processing{font:400 14px/20px KSIQSans,Arial,sans-serif}
 #main .website-next-refresh{font:400 14px/20px KSIQSans,Arial,sans-serif}#main [data-subs-allowance]{font:400 16px/24px KSIQSans,Arial,sans-serif}
 #main .subscriber-routine-output [data-subs-allowance]{font:400 16px/24px KSIQSans,Arial,sans-serif}#main .subscriber-routine-output .website-next-refresh{font:400 14px/20px KSIQSans,Arial,sans-serif}
 .website-status-spinner{display:inline-block;width:14px;height:14px;box-sizing:border-box;border:2px solid #C7D9EB;border-top-color:#254E91;border-radius:50%;vertical-align:middle;margin-right:6px;animation:website-spec-spin 1s linear infinite}
 @keyframes website-spec-spin{to{transform:rotate(360deg)}}
 @media(prefers-reduced-motion:reduce){.website-status-spinner{animation:none}}
 #main .subscriber-step-controls{display:flex;gap:8px;align-items:center;flex-wrap:wrap;min-height:44px}
 #main .subscriber-step-controls>button,#main .subscriber-step-controls>label{box-sizing:border-box;border:1px solid #82B2DF;border-radius:22px;min-height:28px;height:28px;padding:0 10px;background:white;color:#535B64;font:700 13px/18px KSIQSans,Arial,sans-serif;display:inline-flex;align-items:center;justify-content:center;gap:4px}
 #main .subscriber-step-controls [data-subs=alternatives]{width:78px}#main .subscriber-step-controls [data-subs=remove]{width:82px}
 #main .subscriber-step-controls label:has([data-subs-move]){width:88px}#main .subscriber-step-controls label:has([data-subs-strength]){width:188px}
 #main .subscriber-step-controls select{width:auto;min-width:0;max-width:100%;height:26px;min-height:26px;padding:0;border:0;font:400 13px/18px KSIQSans,Arial,sans-serif;background:transparent}
 #main .subscriber-step-controls .website-pill-face{padding:0;background:none;color:inherit;font:inherit}
 #main .subscriber-step-controls>button,#main .subscriber-step-controls>label{height:44px;min-height:44px;border:0;position:relative;background:transparent}
 #main .subscriber-step-controls>button .website-pill-face{box-sizing:border-box;display:flex;align-items:center;justify-content:center;position:absolute;left:0;right:0;top:8px;height:28px;border:1px solid #82B2DF;border-radius:22px;background:white}
 #main .subscriber-step-controls>label:before{content:"";position:absolute;inset:8px 0;border:1px solid #82B2DF;border-radius:22px;pointer-events:none}
 body>header .website-header-join{background:none!important;border-radius:0;padding:0}body>header .website-header-join>span{display:flex;align-items:center;justify-content:center;width:100%;height:32px;background:#254E91;border-radius:999px}
 #main .website-home-free{background:none;border-radius:0}#main .website-home-free>span{display:flex;align-items:center;justify-content:center;width:100%;height:32px;background:#254E91;border-radius:999px}
 @media(width < 960px){
  body>header .website-create-action>span:last-child{white-space:nowrap;text-align:left;flex:0 0 auto}
  body>header{height:124px;min-height:124px;padding:16px;align-items:flex-start;gap:0}
  body>header>a{position:absolute;left:16px;top:18px;width:140px;min-width:140px;margin:0}body>header>a>img{width:140px}
  body>header nav{margin:0;gap:0}body>header .site-menu{position:absolute;right:16px;top:12px}
  body>header .website-discount-ticket{position:absolute;right:68px;top:12px}body>header .website-ticket-words{font:700 14px/20px KSIQSans,Arial,sans-serif}
  body>header .website-routine-actions{position:absolute;top:80px;left:16px;right:auto;width:274px;gap:12px}
  body>header .website-create-action{flex:0 0 123px;width:123px;height:44px;padding:0;justify-content:flex-start;white-space:normal;font:700 16px/20px KSIQSans,Arial,sans-serif}
  body>header .website-create-action:nth-child(2){flex-basis:139px;width:139px}
  body>header .website-header-join{position:absolute;top:80px;left:calc(100% - 76px);width:60px;min-width:60px;height:44px;background-size:100% 28px;font:700 16px/20px KSIQSans,Arial,sans-serif}
  body>header .website-header-join>span{height:28px}
  body>header .menu-panel{top:44px;width:min(358px,calc(100vw - 32px))}
 }
 @media(width < 380px){
  body>header>a,body>header>a>img{width:120px;min-width:120px}
  body>header .website-routine-actions{width:204px}
  body>header .website-create-action{flex-basis:92px;width:92px}body>header .website-create-action:nth-child(2){flex-basis:100px;width:100px}
  body>header .website-create-action>span:last-child{max-width:70px;white-space:normal;flex:0 1 auto;text-align:center}
  body>header .website-header-join{left:calc(100% - 88px)}
 }
 @media(max-width:700px){
  #main{padding-left:16px!important;padding-right:16px!important}
  #main .ks-home-art{margin-left:-16px!important;margin-right:-16px!important;width:calc(100% + 32px)!important}
  #main .ks-home-copy h1{white-space:normal}#main .ks-home-copy h1 span{display:block}
  #main .website-level-choices{grid-template-columns:1fr;width:min(304px,100%)}#main .website-level-choices>button{width:100%;height:96px}
  #main .website-level-question h1{font-size:24px;max-width:none}#main .website-level-question h1>span{display:block}
  #main .website-membership-plans{display:grid;grid-template-columns:1fr;gap:16px}#main .website-membership-plans>section{width:100%;height:138px}
  #main .subscriber-output-actions{width:334px;max-width:100%;gap:0 8px}#main .subscriber-output-actions [data-choice=email]{margin-right:110px}
  #main .subscriber-routine-output>h2{font-size:20px}
  #main .subscriber-step-controls{column-gap:6px;row-gap:0;align-items:center;padding:0}
  #main .subscriber-step-controls [data-subs=alternatives]{width:66px}#main .subscriber-step-controls [data-subs=remove]{width:72px}#main .subscriber-step-controls label:has([data-subs-move]){width:80px}
  #main .subscriber-step-controls label:has([data-subs-move]){padding-left:4px;padding-right:4px}
  #main .subscriber-step-controls label:has([data-subs-strength]){flex-basis:188px;margin-right:calc(100% - 188px)}
 }
 @media(max-width:360px){#main .subscriber-output-actions{width:100%;display:flex;flex-direction:column;gap:0}#main .subscriber-output-actions [data-choice=email]{margin-right:0}}
}

@media screen and (min-width:960px){#main .ks-home-copy .ks-copy>p:last-child{width:min(1200px,calc(100vw - 80px));max-width:none}}

@media screen {
 .website-region-toggle{display:inline-flex;align-items:center;justify-content:center;gap:8px}.website-region-toggle img{flex:none;border-radius:50%}
 #main .website-routine-icon{width:20px;height:20px;object-fit:contain;display:inline-block;vertical-align:middle;margin-right:8px;flex:none}
 #main .website-product-identity{display:grid;grid-template-columns:72px minmax(0,1fr);column-gap:16px;align-items:start}
 #main .website-product-image{position:relative;width:72px;height:72px;min-width:72px;overflow:visible}
 #main .website-product-photo{display:block;width:72px;height:72px;max-width:none;object-fit:contain;margin:0;position:static;transform:none}
 #main .website-product-copy{min-width:0;padding-top:6.889952px;margin:0;overflow-wrap:anywhere}
 #main .website-step-badge{position:absolute;right:66px;left:auto;top:6.889952px;min-width:0;width:auto;height:auto;border:0;background:none;padding:0;margin:0;font:700 12px/16px KSIQSans,Arial,sans-serif;border-radius:0;color:#535B64;transform:none}
}

@media screen {
 .website-region-toggle{padding:0;background:transparent;position:relative}
 .website-region-face{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:8px;width:138px;height:32px;border:1px solid #D4DFEB;border-radius:16px;background:white;color:#254E91;font:700 14px/20px KSIQSans,Arial,sans-serif;white-space:nowrap}
 body>header .website-region-toggle img{width:20px!important;height:20px!important;max-width:20px;min-width:20px;object-fit:contain;flex:none;border-radius:50%}
}

/* Owner clarified15November: Add/Reset targets remain per section. */
@media screen {
 #main .website-section-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:12px;row-gap:4px;margin:0 0 6px;padding:12px 0 6px;align-items:center}
 #main .website-section-toolbar h2{grid-column:1;grid-row:1;margin:0;min-width:0;overflow-wrap:anywhere}
 #main .website-section-toolbar>.website-directions-controls{grid-column:1 / -1;grid-row:2;margin:0;display:flex;gap:8px}
 #main .website-section-buttons{grid-column:2;grid-row:1;display:flex;align-items:center;gap:12px}
 #main .website-section-buttons>button{box-sizing:border-box;min-height:44px;height:44px;border:0;border-radius:20px;background:linear-gradient(#254E91,#254E91) center/100% 28px no-repeat;color:white;padding:0;font:700 13px/18px KSIQSans,Arial,sans-serif;white-space:nowrap}
 #main .website-section-buttons>[data-subs=reset-order]{width:104px;min-width:104px}
 #main .website-section-buttons>[data-subs=owned]{width:128px;min-width:128px}
 #main .website-section-buttons>button:focus-visible{outline:2px solid #254E91;outline-offset:3px}
}
@media screen and (max-width:700px) {
 #main .website-section-toolbar{grid-template-columns:minmax(0,1fr) 148px;column-gap:8px;align-items:end}
 #main .website-section-toolbar h2{font:700 20px/26px KSIQSans,Arial,sans-serif;overflow-wrap:normal}
 #main .website-section-toolbar>.website-directions-controls{grid-column:2;grid-row:1;align-self:end;align-items:center;gap:8px;height:26px;padding:0}
 #main .website-section-toolbar .website-directions-controls>button{font:400 13px/18px KSIQSans,Arial,sans-serif;height:24px;min-height:24px;padding:0;white-space:nowrap;flex:none}
 #main .website-section-toolbar .website-directions-controls>button:first-child{width:72px}
 #main .website-section-toolbar .website-directions-controls>button:last-child{width:68px}
 #main .website-section-buttons{grid-column:1 / -1;grid-row:2;justify-self:end;gap:6px;width:218px;height:24px}
 #main .website-section-buttons>button{min-height:24px;height:24px;background-size:100% 24px}
 #main .website-section-buttons>[data-subs=reset-order]{width:96px;min-width:96px}
 #main .website-section-buttons>[data-subs=owned]{width:116px;min-width:116px}
}

@media screen and (max-width:700px){#main .website-member-routine-title{font:700 20px/26px KSIQSans,Arial,sans-serif;overflow-wrap:anywhere}}

@media screen {
 #main .website-section-toolbar .website-section-buttons>button[data-subs]{display:flex;align-items:center;justify-content:center;background:transparent;border:0;padding:0}
 #main .website-section-toolbar .website-section-buttons>button>.website-pill-face{box-sizing:border-box;display:flex;align-items:center;justify-content:center;width:100%;height:28px;min-height:28px;border:0;border-radius:14px;background:#254E91;color:white;padding:0;font:700 13px/18px KSIQSans,Arial,sans-serif}
 #main .website-section-toolbar h2{justify-self:start;max-width:100%}
 #main h2:has(>.website-routine-icon){display:flex;align-items:center;gap:8px}
 #main h2>.website-routine-icon{margin:0}
}
@media screen and (max-width:700px){
 #main .website-section-toolbar .website-section-buttons>button>.website-pill-face{height:24px;min-height:24px;border-radius:12px}
}

@media screen and (max-width:700px){
 #main .website-section-toolbar{align-items:last baseline}
 #main .website-section-toolbar h2{align-items:baseline;align-self:last baseline}
 #main .website-section-toolbar h2>.website-routine-icon{align-self:center}
 #main .website-section-toolbar>.website-directions-controls{align-self:last baseline;height:auto;align-items:baseline}
}

/* QA V022-F1: an open Region panel owns its approved width, not the narrow menu content box. */
@media screen {
 body>header .menu-panel:has(#website-region-panel:not([hidden])){box-sizing:border-box;width:min(358px,calc(100vw - 32px));max-width:none;padding:0;border:0}
 body>header .menu-panel:has(#website-region-panel:not([hidden]))>.menu-preferences{padding:0}
 body>header .menu-panel:has(#website-region-panel:not([hidden]))>.menu-preferences>.website-region-settings{box-sizing:border-box;width:100%;max-width:none}
 body>header .menu-panel:has(#website-region-panel:not([hidden])) #website-region-panel{box-sizing:border-box;width:100%;max-width:none;padding:0 14px 14px}
 body>header .menu-panel:has(#website-region-panel:not([hidden])) .website-region-toggle{margin-left:14px}
 @media(width < 380px){
  /* V022-F2: preserve full-width positions; shrink only the flexible Member target when a classic scrollbar consumes width. */
  body>header .website-routine-actions{width:min(204px,calc(100% - 116px))}
  body>header .website-create-action:nth-child(2){flex-shrink:1;min-width:0}
 }
}

/* V022-F1 residual: phone menu uses physical viewport coordinates, including a classic scrollbar gutter. */
@media screen and (width < 960px){
 body>header .menu-panel:has(#website-region-panel:not([hidden])){position:fixed;top:56px;left:max(16px,calc(100vw - 374px));right:auto}
}

/* Owner's post-release correction: keep the two mobile rows close, with44px targets. */
@media screen and (width < 960px) {
 body>header{height:104px;min-height:104px}
 body>header>a{top:12px;height:44px;display:flex;align-items:center}
 body>header .website-routine-actions,body>header .website-header-join{top:60px}
}
/* Free only: a closed arrow occupies the existing row, not a second empty row. */
@media screen {
 #main .website-free-card:has(>.website-directions:not([open])){position:relative}
 #main .website-free-card>.website-directions:not([open]){position:absolute;right:0;bottom:2px;float:none;margin:0}
 #main .website-free-card:has(>.website-directions:not([open])) .website-product-copy{padding-right:44px}
}

/* Paid optional extras only; regular paid rows retain their accepted layout. */
@media screen {
 #main .subscriber-extra .website-extra-card:has(>.website-directions:not([open])){position:relative}
 #main .subscriber-extra .website-extra-card>.website-directions:not([open]){position:absolute;right:0;bottom:2px;float:none;margin:0}
 #main .subscriber-extra .website-extra-card:has(>.website-directions:not([open])) .website-product-copy{padding-right:44px}
}

/* 5A: preserve plan-card geometry; expose keyboard and selected state. */
.website-membership-plans .website-plan-choice{cursor:pointer}
.website-membership-plans .website-plan-choice[aria-pressed="true"]{outline:2px solid #254E91;outline-offset:2px}
.website-membership-plans .website-plan-choice:focus-visible{outline:3px solid #254E91;outline-offset:3px}

/* 5ABC-I1: retain the full allowed name and existing typography on narrow accounts. */
#main .subscriber-account-heading h1{min-width:0;overflow-wrap:anywhere}
