*{box-sizing:border-box}body{margin:0;background:var(--fn-bg-base);color:var(--fn-text-primary);font-family:var(--fn-font-family);font-size:14px;line-height:1.5}button,input{font:inherit}button{cursor:pointer}button:disabled{opacity:.55;cursor:default}button:focus-visible,input:focus-visible,summary:focus-visible{outline:2px solid var(--fn-accent);outline-offset:3px}[hidden]{display:none!important}.fp-topbar{border-bottom:1px solid var(--fn-border);background:var(--fn-bg-surface)}.fp-topbar-inner{max-width:1440px;margin:auto;padding:16px 36px;display:flex;align-items:center;justify-content:space-between;gap:20px}.fp-brand{display:flex;align-items:center;gap:10px;color:var(--fn-text-bright);font-size:20px;font-weight:700;letter-spacing:-.5px}.fp-brand svg{color:var(--fn-accent)}.fp-brand span{border-left:1px solid var(--fn-border);padding-left:16px;margin-left:8px;font-size:12px;font-weight:400;color:var(--fn-text-muted);letter-spacing:0}.fp-web{max-width:1440px;margin:auto;padding:0 36px 24px}.fp-page-header{display:flex;align-items:center;gap:20px;padding:28px 0 0}.fp-heading{min-width:0}.fp-heading h1{font-size:14px;margin:0;font-weight:600;color:var(--fn-text-secondary)}.fp-heading p{font-size:12px;color:var(--fn-text-muted);margin:5px 0 0}.fp-header-actions{display:flex;align-items:center;gap:16px;margin-left:auto}.fp-save-note{font-size:11px;color:var(--fn-text-muted)}.fp-button{display:inline-flex;gap:8px;align-items:center;justify-content:center;background:var(--fn-action-bg);border:1px solid var(--fn-action-bg);border-radius:8px;min-height:40px;padding:10px 18px;color:var(--fn-action-text);font-size:12px;font-weight:600;white-space:nowrap}.fp-button:hover:not(:disabled){background:var(--fn-action-hover)}.fp-button.secondary{min-height:34px;padding:6px 12px;background:var(--fn-bg-surface);border-color:var(--fn-border);color:var(--fn-text-secondary);font-size:11px;font-weight:500}.fp-button.secondary:hover{background:var(--fn-bg-surface-2)}.fp-notice{padding:12px 16px;background:var(--fn-info-subtle);border:1px solid var(--fn-border);border-left:3px solid var(--fn-info);color:var(--fn-text-primary);border-radius:8px;margin-top:20px;font-size:12px}.fp-notice.error{background:var(--fn-error-subtle);border-left-color:var(--fn-error)}.fp-loading{padding:56px 28px;display:flex;gap:20px;align-items:center;border:1px solid var(--fn-border);background:var(--fn-bg-surface);border-radius:12px;margin-top:30px}.fp-loading strong{font-size:18px;color:var(--fn-text-bright)}.fp-loading p{font-size:13px;color:var(--fn-text-muted);margin:10px 0;max-width:600px}.fp-loading small{font-size:11px;color:var(--fn-text-muted)}.fp-spinner{width:36px;height:36px;border:3px solid var(--fn-border);border-top-color:var(--fn-accent);border-radius:50%;animation:spin 1s linear infinite;flex-shrink:0}.fp-footer{display:flex;gap:18px;flex-wrap:wrap;font-size:11px;color:var(--fn-text-muted);padding:20px 0;border-top:1px solid var(--fn-border);margin-top:28px}.fp-footer>span:nth-child(2){margin-left:auto}.fp-footer details{width:100%;max-width:850px;line-height:1.8}.fp-footer summary{cursor:pointer}.fp-footer a{color:var(--fn-text-link)}@keyframes spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){*{animation:none!important}}@media(max-width:760px){.fp-web{padding:0 16px 16px}.fp-topbar-inner{padding:14px 16px}.fp-brand{font-size:18px}.fp-brand span{display:none}.fp-page-header{align-items:flex-start;padding-top:20px}.fp-heading h1{font-size:13px}.fp-heading p{font-size:11px}.fp-save-note{display:none}.fp-button{padding:9px 12px;min-height:38px;font-size:11px}.fp-footer>span:nth-child(2){margin-left:0}.fp-loading{padding:30px 20px;align-items:flex-start}.fp-loading strong{font-size:16px}}
.fp-button.saved:disabled{opacity:1;color:var(--fn-success);border-color:var(--fn-border);background:var(--fn-success-subtle)}

.fp-heading h1{display:flex;align-items:center;gap:9px}
.fp-title-icon{display:grid;place-items:center;width:32px;height:32px;border:1px solid var(--fn-border-accent);border-radius:9px;color:var(--fn-accent);background:var(--fn-accent-wash)}
.fp-heading p{margin-left:41px}
.fp-button [data-icon]{display:inline-flex}
.fp-notice{display:flex;align-items:flex-start;gap:9px}
.fp-notice>.fp-icon{margin-top:1px;color:var(--fn-info)}
.fp-notice.error>.fp-icon{color:var(--fn-error)}
.fp-footer summary [data-icon]{display:inline-flex;margin-right:7px;color:var(--fn-text-muted)}
@media(max-width:500px){.fp-heading p{margin-left:0}.fp-page-header{gap:12px}.fp-heading h1{font-size:12px}.fp-title-icon{width:28px;height:28px;flex-shrink:0}}

.fp-progress-meter{position:relative;width:104px;height:104px;flex-shrink:0;display:grid;place-items:center}
.fp-progress-meter>svg{position:absolute;inset:0;width:100%;height:100%;transform:rotate(-90deg);fill:none;stroke-width:5}
.fp-progress-track{stroke:var(--fn-border-muted)}
.fp-progress-ring{stroke:var(--fn-accent);stroke-linecap:round;stroke-dasharray:100;stroke-dashoffset:100;transition:stroke-dashoffset .3s ease}
.fp-progress-meter:after{content:'';position:absolute;inset:-4px;border:1px solid transparent;border-top-color:var(--fn-accent);border-radius:50%;animation:spin 1.5s linear infinite}
.fp-progress-meter>span{font-size:25px;font-weight:650;font-variant-numeric:tabular-nums;color:var(--fn-text-bright)}
.fp-progress-content{min-width:0;flex:1}.fp-progress-stage{font-size:14px;font-weight:600;color:var(--fn-accent);margin-top:14px}.fp-progress-count{font-size:12px;color:var(--fn-text-muted);margin-top:5px;font-variant-numeric:tabular-nums}.fp-progress-active{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0}.fp-progress-active>span{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border:1px solid var(--fn-border);border-radius:6px;color:var(--fn-text-secondary);font-size:11px;background:var(--fn-bg-surface-2)}.fp-progress-active .fp-icon{width:13px;height:13px}
.fp-loading.failed .fp-progress-meter:after{animation:none;border-color:var(--fn-error)}.fp-loading.failed .fp-progress-ring{stroke:var(--fn-error)}.fp-loading.failed .fp-progress-stage{color:var(--fn-error)}
.fp-header-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px}
@media(max-width:760px){.fp-page-header{flex-direction:column;align-items:stretch}.fp-header-actions{margin-left:0;justify-content:flex-start}.fp-header-actions .fp-button{min-height:38px}.fp-status-box{max-width:65%}.fp-status-box select{max-width:100%}}
@media(max-width:600px){.fp-loading{flex-direction:column;align-items:center;padding:28px 18px}.fp-progress-content{width:100%}.fp-progress-meter{width:88px;height:88px}.fp-progress-meter>span{font-size:22px}.fp-loading strong{font-size:16px}}

/* Comfortable reading sizes on both the standalone page and narrow displays. */
body{font-size:16px;line-height:1.65}
.fp-heading h1{font-size:24px;line-height:1.4}
.fp-heading p{font-size:16px;line-height:1.7;max-width:70ch}
.fp-button,.fp-button.secondary{font-size:15px;min-height:44px;padding:10px 16px}
.fp-save-note,.fp-notice,.fp-footer{font-size:14px;line-height:1.75}
.fp-loading p{font-size:16px;line-height:1.75}
.fp-loading small,.fp-progress-count{font-size:14px;line-height:1.7}
.fp-progress-active>span{font-size:14px;padding:7px 10px}
.fp-progress-stage{font-size:17px}
@media(max-width:760px){.fp-heading h1{font-size:21px}.fp-heading p{font-size:15px}.fp-button,.fp-button.secondary{font-size:14px;min-height:44px}.fp-save-note{font-size:13px}.fp-topbar-inner{gap:12px}}
