.language-picker{display:flex;align-items:center;gap:8px;font-size:.875rem;color:#52627a}.language-picker select{max-width:148px;border:1px solid var(--line);border-radius:10px;background:white;padding:7px;color:var(--ink);font-size:1rem}.billing-options{display:grid;gap:10px;margin:18px 0;padding:0;border:0}.billing-options legend{font-size:.9rem;margin-bottom:10px;color:#dce7f5}.billing-choice{display:flex;align-items:center;gap:12px;padding:14px;border:1px solid #7591b2;border-radius:12px;cursor:pointer;background:#ffffff09}.billing-choice:has(input:checked){border-color:var(--lime);background:#65ce0015}.billing-choice input{min-height:20px;width:20px;accent-color:var(--lime);flex-shrink:0}.billing-choice .cycle{flex:1;font-weight:700}.billing-choice strong{font-size:1.4rem;display:block;line-height:1.3}.billing-choice small{display:block;color:#dce7f5;font-size:.8rem;font-weight:400}.billing-discount{display:inline-block;padding:3px 7px;border-radius:6px;background:var(--lime);color:#092337;font-weight:800;font-size:.8rem;margin-top:5px}.plan-card .auth-message{color:#092337;min-height:48px;font-size:.9rem}.plan-card button:disabled{opacity:.6;cursor:not-allowed}.plan-card .btn.link{color:#9beb4d}.plan-card .auth-actions{align-items:stretch}.plan-card .auth-actions .btn{flex:1}.cloud-panel{background:#fff;border:1px solid var(--line);color:var(--ink);padding:16px;border-radius:14px;margin-top:20px}.cloud-panel[hidden]{display:none}.cloud-panel p{font-size:.9rem;color:#52627a}.cloud-panel .auth-actions .btn{font-size:.9rem}.auth-card .profile-local-note{margin-bottom:0}.topbar{gap:14px;flex-wrap:wrap}.top-actions{flex-wrap:wrap}.brand{white-space:nowrap}.accountMethods-actions{margin:0 0 18px}.app-tabs{max-width:100%;overflow-x:auto}.billing-choice:focus-within{outline:2px solid white;outline-offset:3px}@media(max-width:620px){.top-actions{width:100%;justify-content:flex-start}.language-picker{margin-right:auto}.language-picker span{display:none}.account-grid{gap:16px}.billing-choice{padding:12px}.account-card .grid{grid-template-columns:1fr}.plan-card .auth-actions{flex-direction:column}}@media print{.top-actions,.app-tabs,.install-card{display:none!important}}
.info-tooltip{position:fixed;z-index:2000;width:max-content;max-width:min(340px,calc(100vw - 20px));padding:9px 12px;border:1px solid #6c7789;border-radius:6px;background:#202734;color:#fff;font-size:.875rem;line-height:1.45;box-shadow:0 5px 18px #09233733;overflow-wrap:anywhere;pointer-events:auto}
.info-tooltip[hidden]{display:none}.info-tooltip::before{content:'';position:absolute;width:7px;height:7px;background:#202734;border-left:1px solid #6c7789;border-bottom:1px solid #6c7789;transform:rotate(45deg);left:-5px;top:calc(50% - 4px)}.info-tooltip[data-side=left]::before{left:auto;right:-5px;transform:rotate(225deg)}.info-tooltip[data-side=bottom]::before{top:-5px;left:15px;transform:rotate(135deg)}.info-tooltip[data-side=top]::before{top:auto;bottom:-5px;left:15px;transform:rotate(-45deg)}
.pro-badge{display:inline-flex;align-items:center;background:var(--ink);color:var(--lime);border:1px solid #425064;border-radius:5px;padding:2px 5px;font-size:.75rem;line-height:1.2;font-weight:800;vertical-align:middle;letter-spacing:.025em;white-space:nowrap}.app-tab .pro-badge{margin-left:5px}.feature-gate{padding:28px;max-width:650px}.feature-gate h2{margin:12px 0 8px}.feature-gate p{color:var(--muted)}.feature-gate.compact{padding:0;margin:0 0 15px}.feature-gate[hidden],#massCard[hidden],#alertControls[hidden]{display:none}.plain-fieldset{min-width:0;border:0;padding:0;margin:0}.plain-fieldset:disabled{opacity:.65}.quota-note{font-size:.875rem;color:var(--muted);margin:-6px 0 16px}.support-card{margin-top:18px}.support-card>p{color:var(--muted)}.support-card .grid{grid-template-columns:1fr 2fr}.support-message{margin-top:16px}.field textarea{font:inherit;width:100%;border:1px solid #cfd9e6;border-radius:10px;padding:12px;background:#fff;color:var(--ink);resize:vertical}.field textarea:focus{outline:2px solid var(--blue);outline-offset:2px}.support-request{border:1px solid var(--line);padding:12px 14px;border-radius:10px}.support-request summary{cursor:pointer}.support-request strong{font-weight:750}.support-request small{display:block;color:var(--muted);margin-top:5px}.support-request p{white-space:pre-wrap;overflow-wrap:anywhere;margin:12px 0 0}.premium-status:empty{display:none}.premium-status{font-size:.875rem;color:var(--muted)}
@media(max-width:620px){.support-card .grid{grid-template-columns:1fr}.info-tooltip{max-width:min(290px,calc(100vw - 20px))}.multi-toggle label{flex-wrap:wrap}}@media print{.info-tooltip,.feature-gate,.support-card,.pro-badge{display:none!important}}

/* Keep subscription controls separated at every card width. */
.plan-card .subscription-terms{margin:20px 0 16px;min-width:0}
.plan-card .subscription-terms>label{display:flex;align-items:flex-start;gap:10px;line-height:1.5}
.plan-card .subscription-terms>label input{flex:0 0 18px;width:18px;min-height:18px;margin:3px 0 0}
.plan-card .subscription-terms a{color:#9beb4d;text-underline-offset:3px}
.plan-card .subscription-actions,.plan-card>.auth-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
.plan-card .subscription-actions .btn,.plan-card>.auth-actions .btn{width:100%;min-width:0;min-height:44px;height:auto;margin:0;padding:12px 16px;white-space:normal;overflow-wrap:anywhere;line-height:1.45}
.plan-card .subscription-actions .btn.link{border:1px solid #7591b2;border-radius:12px}
.plan-card .subscription-actions [hidden],.plan-card>.auth-actions [hidden]{display:none!important}
.plan-card #startSubscription{min-height:44px;height:auto;white-space:normal;line-height:1.45}

/* Touch targets occupy layout space so adjacent controls cannot share a hit area. */
.toast{pointer-events:none}
@media screen and (any-pointer:coarse), screen and (max-width:620px){
  button,.btn,.store-chip,summary{touch-action:manipulation}
  button,.btn,.store-chip,summary{min-height:44px}
  .info-btn{width:44px;height:44px;min-width:44px;min-height:44px;margin-left:8px}
  .mini-btn,.info-close{min-width:44px;min-height:44px}
  .info-tooltip{pointer-events:none}
  .field label,.color-field label{line-height:1.45;flex-wrap:wrap;row-gap:4px}
  .auth-actions,.auth-account-actions,.data-item-actions{gap:12px}
  .auth-card .auth-actions,.auth-account-actions{align-items:stretch;flex-direction:column}
  .auth-card .auth-actions .btn,.auth-account-actions .btn{width:100%;white-space:normal;height:auto;line-height:1.45}
  .subscription-terms>label,.technology-options label,.switch,.include-design label,.multi-toggle label,.series-time-toggle label{min-height:44px;cursor:pointer}
  .data-item{flex-wrap:wrap}.data-item-actions{flex-wrap:wrap}
  input,select,textarea{font-size:16px}
}

.withdrawal-card[hidden],.withdrawal-card [hidden]{display:none!important}
.withdrawal-card fieldset{display:grid;gap:16px;border:0;padding:0;margin:0;min-width:0}
.withdrawal-card pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;padding:14px;border:1px solid var(--line);border-radius:12px}
.withdrawal-card .support-request{padding:16px;margin:12px 0;border:1px solid var(--line);border-radius:12px;overflow-wrap:anywhere}
.withdrawal-card .support-request .btn{margin:4px 8px 4px 0;min-height:44px;white-space:normal}
