@import"https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap";*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.static{position:static}.hidden{display:none}.ring{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}:root{font-family:Inter,system-ui,sans-serif;color:#10233f;background:#f5f9ff;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:320px;background:linear-gradient(145deg,#f8fbff,#edf6ff)}button,a{font:inherit}button{cursor:pointer;border:0}.app,.processing{max-width:720px;min-height:100vh;margin:auto;padding:22px 20px 96px}.topbar{display:flex;align-items:center;justify-content:space-between;height:35px}.topbar img{width:38px;height:38px;border-radius:12px;-o-object-fit:cover;object-fit:cover}.icon-btn,.round-btn{display:grid;place-items:center;background:transparent;color:#60728d;padding:10px;border-radius:12px}.icon-btn:hover,.round-btn:hover{background:#e5f1ff;color:#087dcc}.header-row{display:flex;justify-content:space-between;align-items:center;margin:35px 0 20px}.header-row h2{margin:5px 0 0;font-size:24px;letter-spacing:-.04em}.eyebrow{font-size:11px;letter-spacing:.12em;font-weight:700;color:#0b91df}.hero{margin:30px 0 22px}.hero h1{font-size:36px;line-height:1.08;letter-spacing:-.055em;margin:7px 0 10px}.hero p:not(.eyebrow){margin:0;color:#6d7f99;font-size:15px;line-height:1.5}.upload-card{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;min-height:175px;border:1.5px dashed #79c8f0;border-radius:22px;background:linear-gradient(135deg,#fff,#eef9ff);color:#087dcc;text-align:center;box-shadow:0 12px 34px #0b8dd812}.upload-card strong{color:#14365a;font-size:15px}.upload-card span{color:#7890aa;font-size:12px}.quick-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:16px 0 28px}.quick-grid button{min-height:58px;border:1px solid #dceafa;border-radius:15px;background:#fff;color:#3e5873;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;font-size:12px}.quick-grid button:last-child{grid-column:span 3}.quick-grid button:hover,.actions button:hover{border-color:#62bde9;color:#087dcc}.section-title{font-size:13px;font-weight:700;color:#617790;margin:0 0 10px}.file-card,.result-card,.history-item{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid #dfebf7;border-radius:16px;padding:13px;box-shadow:0 7px 20px #1a5b8c09}.file-icon{width:40px;height:40px;display:grid;place-items:center;border-radius:12px;color:#078edc;background:#e7f6ff}.file-meta,.history-item>div:nth-child(2){display:flex;flex:1;flex-direction:column;gap:4px;min-width:0}.file-meta strong,.history-item strong,.result-card strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.file-meta span,.history-item span,.result-card span{font-size:12px;color:#7d90a8}.actions{display:grid;grid-template-columns:repeat(2,1fr);gap:9px;margin-top:12px}.actions button{display:flex;justify-content:space-between;align-items:center;min-height:51px;border:1px solid #dfebf7;background:#fff;border-radius:14px;color:#234462;padding:0 14px;text-align:left;font-size:13px}.rotate{transform:rotate(-45deg);color:#7fa6c4}.hint{display:flex;align-items:center;gap:7px;color:#7890aa;font-size:12px;margin:20px 0}.options{margin-top:17px;padding:18px;border-radius:20px;background:#fff;border:1px solid #dceafa;box-shadow:0 10px 25px #1a5b8c0d}.options h2{margin:12px 0 4px;font-size:22px;letter-spacing:-.04em}.back-link,.text-button{display:flex;gap:5px;align-items:center;background:transparent;color:#087dcc;font-size:13px;padding:0}.muted{color:#7d90a8;font-size:13px;margin-top:0}.label{display:block;color:#627a95;font-size:12px;font-weight:600;margin:18px 0 8px}.chips{display:flex;gap:7px;flex-wrap:wrap}.chip{padding:10px 12px;border-radius:11px;background:#f3f8fd;border:1px solid #deebf6;color:#44617c;font-size:12px}.chip.selected{background:#dff4ff;border-color:#29aae7;color:#087dcc;font-weight:700}.text-input{width:100%;height:46px;border:1px solid #d7e6f3;border-radius:12px;padding:0 13px;color:#193a58;outline:none}.text-input:focus{border-color:#22a8e9;box-shadow:0 0 0 3px #22a8e91f}.primary,.secondary{min-height:50px;padding:0 17px;border-radius:14px;display:flex;align-items:center;justify-content:center;gap:8px;text-decoration:none;font-size:14px;font-weight:700}.primary{background:linear-gradient(100deg,#09bce9,#087edc);color:#fff;box-shadow:0 10px 21px #0b8dd82e}.primary:disabled{opacity:.45;cursor:not-allowed}.secondary{background:#e8f4fc;color:#087dcc}.full{width:100%;margin-top:18px}.gate{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:28px}.gate img{width:88px;height:88px;border-radius:24px;box-shadow:0 12px 28px #087edc35}.gate h1{font-size:26px;margin:24px 0 7px;letter-spacing:-.04em}.gate p{color:#7186a0;font-size:14px;margin:0 0 24px}.error{background:#fff0f0;color:#be4b4b;border:1px solid #ffd4d4;padding:11px 13px;border-radius:11px;font-size:13px;margin:13px 0}.processing{display:flex;flex-direction:column}.process-card{margin-top:28px;background:#fff;border:1px solid #dceafa;border-radius:24px;padding:26px 20px;box-shadow:0 15px 45px #1a5b8c0e}.process-card h1{font-size:29px;letter-spacing:-.05em;margin:6px 0 22px}.spinner{width:64px;height:64px;border-radius:20px;display:grid;place-items:center;background:#e4f7ff;color:#0798df;margin-bottom:20px}.spin{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.timeline{display:flex;flex-direction:column;gap:13px;border-left:1px solid #dbe8f5;margin:4px 0 22px;padding-left:18px}.timeline div{display:flex;align-items:center;gap:10px;color:#a0b1c3;font-size:13px;position:relative}.timeline div>span{display:grid;place-items:center;background:#edf3f8;border-radius:50%;width:22px;height:22px;margin-left:-30px}.timeline .done{color:#209bcf}.timeline .done>span{background:#dff5ff}.timeline .current{color:#173d5e;font-weight:600}.timeline .current>span{background:#bcecff;color:#078edc}.progress{height:7px;background:#e7f0f7;border-radius:99px;overflow:hidden}.progress span{height:100%;display:block;background:#0aa8e6;border-radius:99px;transition:width .4s}.text-button{margin:18px auto 0}.empty{margin-top:80px;display:flex;align-items:center;gap:10px;flex-direction:column;color:#8094aa}.empty strong{color:#36526e}.history-list{display:flex;flex-direction:column;gap:9px}.history-item{padding:11px}.status{font-size:11px!important;color:#1c9bd0!important}.status.failed,.status.cancelled{color:#c76a6a!important}.overlay{position:fixed;inset:0;background:#08233b55;display:flex;align-items:flex-end;justify-content:center;z-index:5}.sheet{width:min(720px,100%);background:#fff;border-radius:24px 24px 0 0;padding:25px 22px 35px;position:relative}.sheet h2{margin:0 0 20px}.sheet p{display:flex;align-items:center;gap:10px;color:#5d7590;font-size:13px}.close{position:absolute;right:13px;top:13px}nav{position:fixed;bottom:0;left:50%;transform:translate(-50%);width:min(720px,100%);display:flex;justify-content:center;gap:8px;padding:10px 20px calc(10px + env(safe-area-inset-bottom));background:#ffffffdc;-webkit-backdrop-filter:blur(13px);backdrop-filter:blur(13px);border-top:1px solid #dceafa}nav button{display:flex;align-items:center;justify-content:center;gap:7px;color:#91a2b5;background:transparent;border-radius:13px;padding:11px 28px;font-size:12px}nav button.active{background:#e3f6ff;color:#078edc;font-weight:700}@media(max-width:390px){.app,.processing{padding-left:15px;padding-right:15px}.hero h1{font-size:32px}.actions{grid-template-columns:1fr}.quick-grid button{min-height:54px}}@media(prefers-color-scheme:dark){body{background:#0c1725;color:#e6f1fc}.app,.processing{background:#0c1725}.upload-card,.file-card,.actions button,.options,.process-card,.sheet,.result-card,.history-item,.quick-grid button{background:#142437;border-color:#29425c;color:#e7f1fb}.hero p:not(.eyebrow),.file-meta span,.history-item span,.result-card span,.hint,.muted,.label{color:#9eb1c5}.header-row h2,.hero h1,.options h2,.process-card h1,.file-meta strong,.history-item strong,.result-card strong{color:#eef7ff}.chip{background:#1b3047;border-color:#34526d;color:#bdd0e1}.chip.selected{background:#114d69;color:#7cdbff}.text-input{background:#112238;color:#fff;border-color:#34526d}nav{background:#0e1d2ddc;border-color:#29425c}.sheet p{color:#abc0d2}.round-btn,.icon-btn{color:#a9bed3}}.actions button span{display:flex;align-items:center;gap:7px}.recommended{font-size:9px;padding:3px 6px;border-radius:99px;background:#dff5ff;color:#078edc;letter-spacing:.02em}
