/* Isolated widget styles; page typography and application layout stay intact. */
#cf-root{font:16px/1.5 "Segoe UI",system-ui,-apple-system,sans-serif;color:#162b42;--cf-blue:#0265c7;--cf-deep:#024c95;--cf-border:#d5e1ed;--cf-muted:#52677b}
#cf-root *{box-sizing:border-box}#cf-root button,#cf-root input,#cf-root textarea{font:inherit}#cf-root button{cursor:pointer}#cf-root button:disabled{cursor:wait;opacity:.55}#cf-root button:focus-visible,#cf-root input:focus-visible,#cf-root textarea:focus-visible{outline:3px solid #ba7c05;outline-offset:3px}#cf-root [hidden]{display:none!important}
.cf-launch{position:fixed;right:24px;bottom:24px;z-index:950;display:flex;align-items:center;gap:9px;min-height:46px;padding:11px 17px;border:1px solid #ffffff60;border-radius:8px;background:#024c95;color:#fff;box-shadow:0 5px 18px #102d3830;font-weight:600;font-size:14px}.cf-launch:hover{background:#013b77}.cf-launch svg{height:22px;width:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.cf-dialog{padding:0;border:1px solid var(--cf-border);border-radius:12px;color:#162b42;background:#fff;width:min(580px,calc(100vw - 28px));max-width:calc(100vw - 28px);max-height:calc(100dvh - 28px);box-shadow:0 24px 70px #102b4445;overscroll-behavior:contain;font:16px/1.5 "Segoe UI",system-ui,-apple-system,sans-serif}.cf-dialog::backdrop{background:#112f4b80}.cf-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;padding:23px 25px 19px;border-bottom:1px solid var(--cf-border)}.cf-heading h2{margin:0;font-size:23px;letter-spacing:-.025em;line-height:1.25;font-weight:650}.cf-heading p{margin:8px 0 0;font-size:14px;color:var(--cf-muted);line-height:1.5}.cf-icon-button{display:grid;place-items:center;min-width:44px;min-height:44px;padding:5px;border:0;border-radius:6px;background:transparent;color:#52677b;font-size:26px;line-height:1;flex:none}.cf-icon-button:hover{background:#edf3fa}.cf-heading>.cf-icon-button{margin:-8px -10px -5px 0}.cf-body{padding:21px 25px 25px}.cf-page-label{margin:0 0 15px;color:var(--cf-muted);font-size:12px}.cf-error{border:1px solid #e5bfc5;border-radius:6px;background:#fff2f2;color:#9c2535;font-size:14px;padding:11px 13px;margin-bottom:16px;overflow-wrap:anywhere}.cf-shot-section{margin-bottom:20px}.cf-shot-frame{border:1px solid var(--cf-border);border-radius:7px;background:#f3f7fb;padding:10px;display:flex;justify-content:center;max-height:240px;overflow:hidden}.cf-shot-frame img{display:block;max-width:100%;max-height:218px;object-fit:contain;border:1px solid #dce6f0;background:white}.cf-shot-actions{display:flex;flex-wrap:wrap;gap:4px 14px;justify-content:flex-start;padding-top:5px}.cf-text-button{border:0;background:transparent;color:var(--cf-blue);font-size:13px;padding:9px 0;min-height:40px}.cf-text-button:hover{text-decoration:underline}.cf-label{display:block;font-size:14px;font-weight:600;margin:0 0 8px}.cf-label span{font-size:12px;font-weight:400;color:var(--cf-muted)}#cf-description{display:block;width:100%;padding:11px 12px;min-height:112px;border:1px solid #afc4d9;border-radius:6px;resize:vertical;background:white;color:#162b42;font-size:16px;line-height:1.5}.cf-text-meta{display:flex;justify-content:space-between;gap:15px;color:var(--cf-muted);font-size:11px;margin-top:5px;margin-bottom:18px}.cf-file-drop{border:1px dashed #abc4dc;border-radius:7px;padding:14px;background:#f7fbff}.cf-file-drop.cf-dragging{border-color:#0265c7;background:#e6f2ff}.cf-file-drop p{font-size:12px;color:var(--cf-muted);margin:3px 0 10px}.cf-file-drop .cf-help{margin-top:9px;margin-bottom:0;font-size:11px;line-height:1.55}#cf-files{width:100%;min-height:44px;padding:7px;font-size:13px;border:1px solid var(--cf-border);border-radius:5px;background:white;color:#162b42}#cf-files::file-selector-button{padding:6px 10px;margin-right:9px;border:1px solid #bdd1e4;border-radius:4px;background:#edf5fd;color:#024c95;font:inherit;font-weight:600;cursor:pointer}.cf-help{font-size:12px;color:var(--cf-muted);margin:7px 0 0;line-height:1.6}.cf-file-list{list-style:none;padding:0;margin:10px 0 0;display:grid;gap:7px}.cf-file{display:flex;align-items:center;gap:11px;padding:9px 5px 9px 10px;border:1px solid var(--cf-border);border-radius:6px;min-width:0}.cf-file-thumb{width:42px;height:42px;display:grid;place-items:center;flex:none;border:1px solid #deE8f2;border-radius:4px;background:#eef5fc;color:#0265c7;overflow:hidden}.cf-file-thumb img{display:block;width:100%;height:100%;object-fit:cover}.cf-file-info{min-width:0;flex:1}.cf-file-info strong{display:block;font-size:12px;font-weight:600;overflow-wrap:anywhere;line-height:1.4}.cf-file-info span{display:block;font-size:11px;color:var(--cf-muted);margin-top:2px}.cf-private-note{font-size:12px;color:var(--cf-muted);line-height:1.65;margin:18px 0 0}.cf-footer{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:17px 25px;border-top:1px solid var(--cf-border);background:#fbfdff}.cf-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 15px;border:1px solid transparent;border-radius:6px;font-size:14px;font-weight:600;line-height:1.4;text-decoration:none;white-space:normal}.cf-primary{background:#0265c7;color:#fff}.cf-primary:hover{background:#024c95}.cf-secondary{background:white;color:#162b42;border-color:#c5d5e5}.cf-secondary:hover{background:#f0f6fc}.cf-full{width:100%}.cf-light{background:white;color:#024c95;border-color:#bfd4e8}.cf-on-dark{color:#fff}.cf-on-dark:hover{background:#ffffff20}.cf-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.cf-selector{position:fixed;inset:0;margin:0;border:0;border-radius:0;background:transparent;width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;overflow:hidden;box-shadow:none;padding:0}.cf-selector::backdrop{background:transparent}.cf-selection-surface{position:absolute;inset:0;touch-action:none;cursor:crosshair}.cf-selection-box{position:absolute;left:0;top:0;width:0;height:0;border:2px solid #65b6ff;box-shadow:0 0 0 100vmax #102e4a7d;pointer-events:none}.cf-selection-toolbar{position:absolute;left:50%;top:20px;transform:translateX(-50%);width:min(840px,calc(100vw - 32px));padding:14px 16px;border:1px solid #ffffff30;border-radius:9px;background:#173b5b;color:white;box-shadow:0 6px 25px #0b233330;display:flex;align-items:center;justify-content:space-between;gap:18px;cursor:default}.cf-selection-toolbar strong{display:block;font-size:15px;font-weight:600}.cf-selection-toolbar p{font-size:12px;line-height:1.5;margin:4px 0 0;color:#d8e7f6}.cf-selection-actions{display:flex;align-items:center;gap:8px}.cf-selection-actions .cf-button{font-size:12px}.cf-success-mark{width:50px;height:50px;border:1px solid #bcded0;background:#ebf7f0;color:#187557;border-radius:50%;display:grid;place-items:center;font-size:26px;margin-bottom:17px}.cf-success h3{font-size:19px;line-height:1.4;margin:0 0 12px}.cf-success p{font-size:14px;color:var(--cf-muted);line-height:1.6}.cf-receipt{padding:12px;border:1px solid var(--cf-border);background:#f5f9fc;border-radius:6px;overflow-wrap:anywhere;font-size:11px!important}.cf-receipt strong{display:block;font-weight:500;margin-top:3px}
.cf-editor{width:min(1020px,calc(100vw - 28px))}.cf-editor-tools{display:flex;gap:12px;flex-wrap:wrap;align-items:center;padding:11px 18px;border-bottom:1px solid var(--cf-border);background:#fbfdff}.cf-tool-group,.cf-color-group{display:flex;align-items:center;gap:4px;flex-wrap:wrap}.cf-tool{font-size:12px;min-height:42px;padding:8px 10px;background:white;border:1px solid #d6e1eb;border-radius:5px;color:#334f69}.cf-tool:hover{background:#edf5fd}.cf-tool.cf-selected{background:#e9f3ff;color:#024c95;border-color:#0265c7}.cf-color{display:grid;place-items:center;width:42px;height:42px;background:white;border:1px solid transparent;border-radius:5px;padding:6px}.cf-color.cf-selected{border-color:#0265c7;background:#edf5ff}.cf-swatch{width:22px;height:22px;border:1px solid #00000020;border-radius:50%}.cf-red{background:#d02d3d}.cf-blue{background:#0265c7}.cf-gold{background:#d69200}.cf-canvas-wrap{padding:18px;background:#e8eef4;max-height:55dvh;overflow:auto;display:flex;align-items:flex-start;justify-content:center}.cf-canvas-wrap canvas{display:block;max-width:100%;height:auto;max-height:none;border:1px solid #c6d4e0;background:white;box-shadow:0 3px 10px #183a5010;touch-action:none;cursor:crosshair}.cf-editor-help{font-size:12px;color:var(--cf-muted);margin:0;padding:11px 20px;line-height:1.5}
@media(max-width:600px){.cf-launch{right:14px;bottom:14px;padding:10px 13px;font-size:13px;min-height:44px}.cf-dialog{width:calc(100vw - 20px);max-width:calc(100vw - 20px);max-height:calc(100dvh - 20px);border-radius:10px}.cf-heading{padding:20px 18px 16px}.cf-heading h2{font-size:21px}.cf-heading p{font-size:13px}.cf-body{padding:18px}.cf-footer{padding:14px 18px;gap:8px}.cf-footer .cf-button{font-size:12px;padding:10px 12px;flex:1}.cf-shot-frame{max-height:190px}.cf-shot-frame img{max-height:168px}.cf-selection-toolbar{top:12px;padding:12px;gap:10px;align-items:flex-start;flex-direction:column}.cf-selection-toolbar strong{font-size:14px}.cf-selection-toolbar p{font-size:11px}.cf-selection-actions{width:100%;justify-content:space-between}.cf-selection-actions .cf-button{min-height:40px;padding:8px 10px}.cf-selector{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;border-radius:0}.cf-editor-tools{padding:10px;gap:8px}.cf-tool{font-size:11px;padding:8px;min-height:40px}.cf-canvas-wrap{padding:10px;max-height:48dvh}.cf-editor-help{font-size:11px;padding:10px 14px}}
@media(prefers-reduced-motion:reduce){#cf-root *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
/* Keep the primary action and close control visible in long screenshot drafts. */
.cf-compose{overflow-y:auto;scroll-padding-top:100px;scroll-padding-bottom:85px}
.cf-compose>.cf-heading{position:sticky;top:0;z-index:3;background:#fff}
.cf-compose .cf-footer{position:sticky;bottom:0;z-index:2;background:#fbfdff;box-shadow:0 -4px 12px #162b4208}
/* Account enrollment needs the whole viewport for its QR, key and OTP fields. */
body:has(.auth-page.auth-enrollment) #cf-root{display:flex;justify-content:flex-end;padding:12px 24px 24px;background:#fff}
body:has(.auth-page.auth-enrollment) #cf-launch{position:static;inset:auto;z-index:auto;margin:0;flex:none}
