/* Shared interaction styles for the six PDF-to-Excel landing pages. */
.excel-landing [hidden]{display:none!important}
.excel-landing .convert-card{scroll-margin-top:110px;overflow-anchor:none}
.excel-landing .convert-card:focus,.excel-landing #convertResultTitle:focus{outline:none}
.excel-landing .excel-flow-steps{display:flex;gap:24px;list-style:none;margin:0 0 24px;padding:0;color:#94a3b8;font-size:13px;font-weight:650}
.excel-landing .excel-flow-steps li{display:flex;align-items:center;gap:8px}
.excel-landing .excel-flow-steps span{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#f1f5f9}
.excel-landing .excel-flow-steps .is-current{color:#c2410c}
.excel-landing .excel-flow-steps .is-current span{color:#fff;background:#ea580c}
.excel-landing .excel-flow-steps .is-done{color:#15803d}
.excel-landing .excel-flow-steps .is-done span{background:#dcfce7}
.excel-landing .convert-drop{cursor:pointer}
.excel-landing .convert-drop:focus-visible,.excel-landing button:focus-visible{outline:3px solid #38bdf8;outline-offset:4px}
.excel-landing .convert-file-meta{min-width:0}
.excel-landing .convert-file-name{overflow-wrap:anywhere}
.excel-landing .convert-file-remove:disabled{opacity:.5;cursor:wait}
.excel-landing .convert-feedback{margin:0 0 16px;padding:14px 16px;border:1px solid #fecaca;border-radius:14px;color:#991b1b;background:#fef2f2;font-size:14px;line-height:1.6;overflow-wrap:anywhere}
.excel-landing .convert-progress{margin:0;padding:30px;border:1px solid #fed7aa;border-radius:20px;background:#fffaf5}
.excel-landing .conversion-working-label{font-size:22px;font-weight:800;margin:0 0 10px}
.excel-landing .conversion-working-file{margin:0 0 24px;color:#64748b;font-size:14px;overflow-wrap:anywhere}
.excel-landing .convert-result{margin:0;padding:24px;background:linear-gradient(130deg,#f0fdf4,#fff 70%);border:1px solid #bbf7d0;border-radius:20px;text-align:left}
.excel-landing .convert-result h3{font-size:26px;margin:12px 0 0;line-height:1.25}
.excel-landing #convertResultText{overflow-wrap:anywhere;margin-top:6px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.excel-landing .result-plan{padding:14px 18px;margin-top:18px;background:rgba(255,255,255,.85)}
.excel-landing .result-plan-price{font-size:22px}
.excel-landing .result-actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-top:18px}
.excel-landing .result-actions .convert-primary{width:auto;min-width:280px;padding:0 24px}
.excel-landing .result-actions .convert-secondary{width:auto;padding:0 16px}
.excel-landing .result-payment-note{margin-top:12px}
.excel-landing .result-login{display:inline-block;margin-top:10px;padding:2px 0;border:0;background:transparent;color:#475569;cursor:pointer;text-align:left;line-height:1.6;font-size:13px;text-decoration:underline;text-underline-offset:3px}
.excel-landing .result-entitled{margin:16px 0 0;color:#166534;font-size:14px;font-weight:650}
.excel-landing #conversionPaymentStatus{margin:16px 0 0!important;padding:12px 14px!important;border-radius:12px!important;overflow-wrap:anywhere}
.excel-landing #conversionPaymentStatus button{border:1px solid #bfdbfe;border-radius:8px;background:#fff;color:#1e40af;font-weight:650;font-size:13px}
.excel-landing .excel-task-dock{position:fixed;z-index:9998;bottom:16px;left:50%;transform:translateX(-50%);width:min(760px,calc(100% - 32px));display:flex;align-items:center;gap:24px;padding:16px 20px;border:1px solid #bbf7d0;border-radius:18px;background:#fff;box-shadow:0 12px 44px #0f172a26}
.excel-landing .excel-task-dock-copy{flex:1;min-width:0}
.excel-landing .excel-task-dock strong{display:block;font-size:15px;color:#166534}
.excel-landing .excel-task-dock p{margin:4px 0 0;color:#64748b;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.excel-landing .excel-task-dock button{flex-shrink:0;width:auto;min-height:44px;height:auto;padding:12px 20px;font-size:14px}
.excel-landing.has-excel-task .promo-sticky{display:none!important}
.excel-landing.has-excel-dock{padding-bottom:108px!important}
.excel-landing .excel-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.excel-landing .site-nav-menu.is-open .site-nav-dropdown{display:block}
.excel-landing .site-nav-menu:not(.is-open) .site-nav-dropdown{display:none}
@media(max-width:640px){
 .excel-landing .excel-flow-steps{gap:16px;font-size:12px;margin-bottom:18px}
 .excel-landing .excel-flow-steps li{gap:5px}
 .excel-landing .convert-result,.excel-landing .convert-progress{padding:18px}
 .excel-landing .convert-result h3{font-size:23px}
 .excel-landing .result-plan{padding:12px}
 .excel-landing .result-plan-price{font-size:20px}
 .excel-landing .result-actions{gap:8px;margin-top:14px}
 .excel-landing .result-actions .convert-primary{width:100%;min-width:0;height:auto;min-height:48px;padding:12px;font-size:14px}
 .excel-landing .result-actions .convert-secondary{height:40px;padding:0 10px}
 .excel-landing .excel-task-dock{gap:12px;padding:12px;bottom:max(12px,env(safe-area-inset-bottom))}
 .excel-landing .excel-task-dock button{padding:10px 12px;font-size:12px}
 .excel-landing .site-tabs{order:3;width:100%;justify-content:center}
 .excel-landing .site-topbar-inner{gap:10px}
 .excel-landing .site-nav-dropdown{left:auto;right:0;width:min(360px,calc(100vw - 32px))}
}
@media(prefers-reduced-motion:reduce){.excel-landing .convert-bar>i{transition:none}}

/* Preview uses the completed conversion without changing the full-download flow. */
.excel-landing .excel-preview-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-width:0;min-height:48px;max-width:100%;padding:10px 18px;border:1px solid #fb923c;border-radius:12px;background:#fff;color:#c2410c;font:inherit;font-size:14px;font-weight:700;line-height:1.4;white-space:normal;overflow-wrap:anywhere;cursor:pointer}
.excel-landing .excel-preview-button:hover{background:#fff7ed;border-color:#ea580c}
.excel-landing .excel-preview-button:disabled{opacity:.55;cursor:wait}
.excel-landing .excel-preview-button svg{width:20px;height:20px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.excel-landing .excel-preview-spinner{display:block;box-sizing:border-box;width:20px;height:20px;flex-shrink:0;border:2px solid #fed7aa;border-top-color:#ea580c;border-radius:50%;animation:excel-preview-spin .8s linear infinite}
.excel-landing .excel-preview-status{min-width:0;max-width:100%;margin:10px 0 0;color:#64748b;font-size:13px;line-height:1.6;white-space:normal;overflow-wrap:anywhere}
.excel-landing .excel-preview-status.is-error{color:#b91c1c}
@keyframes excel-preview-spin{to{transform:rotate(360deg)}}
@media(max-width:640px){
 .excel-landing .excel-preview-button{min-height:40px;padding:9px 12px;font-size:13px}
}
@media(prefers-reduced-motion:reduce){.excel-landing .excel-preview-spinner{animation:none}}

/* Confirmation shown before downloading the partial Excel preview. */
.excel-landing.has-excel-preview-notice{overflow:hidden}
.excel-landing .excel-preview-notice{position:fixed;z-index:10020;inset:0;display:flex;align-items:center;justify-content:center;padding:20px}
.excel-landing .excel-preview-notice-backdrop{position:absolute;inset:0;width:100%;height:100%;padding:0;border:0;background:rgba(15,23,42,.55);backdrop-filter:blur(6px);cursor:default}
.excel-landing .excel-preview-notice-panel{position:relative;width:100%;max-width:440px;overflow:hidden;border-radius:24px;background:#fff;box-shadow:0 28px 70px rgba(15,23,42,.28);color:#0f172a;text-align:left}
.excel-landing .excel-preview-notice-panel:focus{outline:none}
.excel-landing .excel-preview-notice-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 20px;border-bottom:1px solid var(--line)}
.excel-landing .excel-preview-notice-head h3{margin:0;color:#0f172a;font-size:18px;line-height:1.3}
.excel-landing .excel-preview-notice-close{display:grid;place-items:center;flex:0 0 auto;width:34px;height:34px;padding:0;border:0;border-radius:999px;background:#f1f5f9;color:#0f172a;font:inherit;font-size:18px;line-height:1;cursor:pointer}
.excel-landing .excel-preview-notice-close:hover{background:#e2e8f0}
.excel-landing .excel-preview-notice-body{padding:20px}
.excel-landing .excel-preview-notice-body>p{margin:0 0 18px;padding:12px 14px;border:1px solid #fed7aa;border-radius:12px;background:linear-gradient(90deg,#fff7ed,#fef2f2);color:#9a3412;font-size:13px;font-weight:600;line-height:1.6;text-align:center}
.excel-landing .excel-preview-notice-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.08fr);gap:10px}
.excel-landing .excel-preview-notice-actions button{min-height:52px;padding:11px 12px;border-radius:14px;font:inherit;font-size:14px;font-weight:700;line-height:1.35;cursor:pointer}
.excel-landing .excel-preview-notice-secondary{border:1px solid #cbd5e1;background:#fff;color:#0f172a}
.excel-landing .excel-preview-notice-secondary:hover{background:#f8fafc;border-color:#94a3b8}
.excel-landing .excel-preview-notice-primary{border:0;background:linear-gradient(90deg,#dc2626,#f97316);color:#fff;box-shadow:0 10px 24px rgba(220,38,38,.28)}
.excel-landing .excel-preview-notice-primary:hover{box-shadow:0 12px 28px rgba(220,38,38,.34)}
@media(max-width:640px){
 .excel-landing .excel-preview-notice{padding:16px}
 .excel-landing .excel-preview-notice-actions{grid-template-columns:1fr;gap:10px}
 .excel-landing .excel-preview-notice-actions button{width:100%}
}
@media(prefers-reduced-motion:reduce){.excel-landing .excel-preview-notice-backdrop{backdrop-filter:none}}
