:root{--navy:#0f1729;--navy2:#18243a;--green:#57d5a7;--ink:#17233a;--muted:#657188;--line:#e0e6ea;--card:#fff;--page:#f7f9f8;--soft:#ecf7f2;--radius:18px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);font:14px/1.6 -apple-system,BlinkMacSystemFont,"Inter","Noto Sans Myanmar","Myanmar Text",sans-serif;background:var(--page)}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}a{color:inherit}.container{width:min(1180px,calc(100% - 44px));margin:auto}[hidden]{display:none!important}.topbar{background:var(--navy);color:white;border-bottom:1px solid #32405a}.topbar-inner{height:84px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:flex;align-items:center;gap:11px;text-decoration:none;font-size:27px;font-weight:500;letter-spacing:-1.6px;line-height:1}.brand-logo{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:10px;background:#233949;color:var(--green)}.brand-logo svg{width:30px;height:30px}.brand-strong{font-weight:800;color:var(--green)}.brand small{display:block;font-size:8px;letter-spacing:2px;color:#a6b7c1;margin-top:7px}.topright{display:flex;align-items:center;gap:15px}.system-pill{display:flex;align-items:center;gap:8px;color:#bbc7cf;font-size:11px}.status-dot{height:7px;width:7px;background:#e1ae6c;border-radius:50%;box-shadow:0 0 0 3px #d0a56d20}.system-pill.ready .status-dot{background:var(--green);box-shadow:0 0 0 3px #57d5a721}.top-toggle{background:transparent;color:#d9e0e3;border:1px solid #425168;padding:8px 12px;border-radius:8px;font-size:12px}.intro{background:var(--navy);color:white;min-height:328px;padding:50px 0 59px;display:flex;align-items:center;justify-content:space-between;position:relative}.intro:before{content:"";position:absolute;inset:0 calc((100vw - min(1180px,100vw - 44px))/-2);z-index:-1;background:var(--navy)}.eyebrow,.kicker{font-size:10px;letter-spacing:2.8px;font-weight:700;color:#54d5aa}.eyebrow{display:flex;align-items:center;gap:12px;margin:0 0 15px}.eyebrow-line{display:inline-block;width:27px;height:1px;background:var(--green)}.vtag{border:1px solid #3a5660;padding:3px 7px;border-radius:5px;letter-spacing:1px;color:#a5b7c3;margin-left:7px}.intro h1{font-size:clamp(35px,5.6vw,67px);line-height:1.1;letter-spacing:-2.7px;max-width:760px;font-weight:680;margin:0 0 20px}.intro h1 em{font-style:normal;color:var(--green)}.lead{color:#b9c4ce;max-width:610px;font-size:15px;line-height:1.85}.intro-meta{display:flex;flex-wrap:wrap;gap:26px;color:#91adad;font-size:11px;margin-top:23px}.hero-decoration{position:relative;width:240px;height:200px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.scan-bracket{width:185px;height:150px;border:1px solid #496d72;border-radius:14px;box-shadow:0 0 0 22px #243d4233,0 0 0 55px #19343c3f;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;transform:rotate(-7deg)}.scan-bracket span:first-child{font-size:24px;font-weight:700;color:#d7f8e8}.scan-bracket span:nth-child(2){font-size:14px;letter-spacing:4px;color:#5dcba2}.scan-beam{width:80%;height:2px;background:linear-gradient(90deg,transparent,#5de4ab,transparent);box-shadow:0 0 15px #6feabe;position:absolute;top:52%}.workarea{padding:43px 0 35px}.workspace-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:22px}.workspace-head h2,.results-top h2{font-size:25px;line-height:1.2;letter-spacing:-.7px;margin:7px 0 0}.stage-count{font-size:16px;font-weight:600;color:#758393}.stage-count i{font-style:normal;color:#c6cdd1;margin:0 8px}.workspace-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:23px;align-items:start}.leftpanel,.rightpanel{display:flex;flex-direction:column;gap:19px}.input-card,.settings-card,.results-card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 10px 40px #152d4b07;overflow:hidden}.input-title{display:flex;align-items:center;gap:12px;padding:20px 22px;border-bottom:1px solid var(--line)}.input-icon{width:38px;height:38px;background:var(--soft);color:#228562;border-radius:11px;display:grid;place-items:center;font-size:20px}.input-title strong,.input-title small{display:block}.input-title strong{font-size:13px}.input-title small{font-size:10px;color:var(--muted);margin-top:3px}.private-tag{margin-left:auto;color:#498a71;background:#e9f7ee;padding:5px 8px;border-radius:4px;font-size:9px;letter-spacing:1px}.dropzone{position:relative;margin:18px 20px 0;border:1.5px dashed #aec9c0;border-radius:13px;min-height:286px;display:flex;align-items:center;justify-content:center;background:#f7fbf9;transition:.2s}.dropzone.dragging{border-color:#219b79;background:#edf9f4}.drop-empty{text-align:center;padding:24px}.drop-icon{height:53px;width:53px;border-radius:15px;background:#e8f7ef;color:#238e69;font-size:28px;margin:0 auto 17px}.drop-empty h3{font-size:15px;margin:0 0 3px}.drop-empty p{margin:0;color:var(--muted);font-size:12px}.btn{border:0;display:inline-flex;align-items:center;justify-content:center;gap:10px;border-radius:9px;font-weight:650;line-height:1.2;transition:background .2s,transform .2s}.btn:not(:disabled):hover{transform:translateY(-1px)}.btn-soft{padding:12px 20px;background:#e2f4ea;color:#177c5d;margin-top:18px;font-size:12px}.btn-soft span{font-size:17px}.drop-methods{display:flex;gap:13px;justify-content:center;margin-top:22px;color:#98a6a2;font-size:10px}.drop-methods span+span:before{content:'·';margin-right:13px}.preview{position:relative;max-width:100%;width:100%;padding:14px}.preview-scroll{display:flex;justify-content:center;max-height:430px;overflow:auto}.image-stage{position:relative;display:inline-block;max-width:100%;line-height:0}.image-stage img{display:block;max-width:100%;max-height:410px;width:auto;height:auto;object-fit:contain;border-radius:6px}.ocr-overlay{position:absolute;inset:0;pointer-events:none}.ocr-box{position:absolute;border:1px solid #06b78e;background:#28bb8933;box-shadow:0 0 0 1px #ffffff30}.image-badge{position:absolute;bottom:21px;left:23px;padding:5px 8px;font-size:10px;background:#08192bcc;color:white;border-radius:5px}.input-actions{padding:16px 20px 20px;display:flex;gap:9px;align-items:center;flex-wrap:wrap}.btn-white{border:1px solid #d7e1e2;background:white;padding:12px 14px;color:#2c4951;font-size:11px}.btn-quiet{color:#658076;background:#edf5f1;padding:12px 13px;font-size:11px}.settings-card{padding:21px 22px}.setting-head{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:21px}.setting-head>span:first-child{font-size:10px;font-weight:750;color:#397a66;letter-spacing:2px}.setting-help{font-size:10px;color:#8e9999}.field{margin:0 0 15px}.field label{display:block;font-size:11px;font-weight:650;margin-bottom:7px}.field select,.alternatives select{width:100%;padding:11px 34px 11px 12px;background:#fbfcfc;border:1px solid #d9e1e3;color:var(--ink);border-radius:9px;font-size:12px}.toggle-line{display:flex;align-items:center;justify-content:space-between;font-size:11px;margin:20px 0}.toggle-line input{accent-color:#1d9875;width:16px;height:16px}.btn-primary{padding:15px 19px;color:#092326;background:var(--green)}.btn-primary:not(:disabled):hover{background:#72e6b8}.scan-btn{width:100%;justify-content:space-between;font-size:13px}.settings-footnote{color:#929da7;font-size:10px;line-height:1.7;margin:13px 0 0}.results-card{min-height:655px}.results-top{display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid var(--line);padding:23px 24px}.result-badge{white-space:nowrap;border-radius:50px;background:#f1f3f6;color:#7f8b9a;font-size:10px;padding:7px 10px}.result-badge.active{background:#e4f7ed;color:#1b7d5c}.result-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:455px;text-align:center;padding:25px}.placeholder-icon{width:100px;height:110px;background:#edf6f1;border-radius:28px;color:#3a9a79;font-size:60px;font-weight:600;display:grid;place-items:center;margin-bottom:23px}.result-placeholder strong{font-size:16px}.result-placeholder p{font-size:12px;color:#8b969f;max-width:240px}.result-metrics{display:grid;grid-template-columns:repeat(3,1fr);border-bottom:1px solid var(--line);padding:17px 22px;gap:12px}.result-metrics div{border-right:1px solid var(--line);min-width:0}.result-metrics div:last-child{border:0}.result-metrics span,.result-metrics strong{display:block}.result-metrics span{color:#8a979d;font-size:10px}.result-metrics strong{font-size:13px;margin-top:4px;overflow:hidden;text-overflow:ellipsis}.review-alert{display:flex;flex-direction:column;gap:3px;border-left:3px solid #d9a351;background:#fff9ec;padding:11px 14px;margin:18px 22px 10px}.review-alert strong{font-size:11px;color:#8a6028}.review-alert span{color:#886f50;font-size:10px}.result-section{padding:17px 22px 21px}.section-label{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:11px}.section-label label{font-size:12px;font-weight:720}.text-button{border:0;background:transparent;color:#217f61;font-size:11px;font-weight:650;padding:4px}.result-section textarea{min-height:160px;display:block;width:100%;padding:14px;border:1px solid #dce4e6;border-radius:10px;resize:vertical;color:var(--ink);font:14px/1.85 'Noto Sans Myanmar','Myanmar Text','Pyidaungsu',system-ui,sans-serif;background:#fcfdfd}.result-section textarea:focus{outline:2px solid #76cdae;outline-offset:1px}.small-actions{display:flex;align-items:center;justify-content:space-between;color:#9ba7a9;font-size:10px;margin-top:8px}.translation-divider{display:flex;align-items:center;gap:12px;color:#8e9b9f;letter-spacing:1.4px;font-size:10px;padding:0 23px}.translation-divider .line{height:1px;background:var(--line);flex:1}.translation-hint{font-size:10px;color:#89949f;line-height:1.6}.translate-tools{display:flex;gap:9px;flex-wrap:wrap}.btn-dark{background:#17243a;color:white;padding:12px 15px;font-size:11px}.alternatives{display:grid;grid-template-columns:1fr auto;gap:8px;padding:0 22px 16px}.alternatives label{grid-column:1/-1;font-size:11px;font-weight:650}.alternatives select{min-width:0}.privacy-note{border:1px solid #dceae4;border-radius:13px;padding:17px;display:flex;gap:15px;background:#edf7f2}.privacy-icon{font-size:26px;color:#249a72}.privacy-note strong{font-size:12px}.privacy-note p{font-size:11px;color:#6c8278;margin:4px 0 0}.inline-error{color:#ac3844;background:#fff0f0;border:1px solid #ecc8ca;padding:9px 12px;border-radius:7px;font-size:11px}.how-it-works{padding:48px 0 75px}.how-header h2{font-size:28px;letter-spacing:-.7px;margin:10px 0 22px}.steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.steps article{background:white;border:1px solid var(--line);border-radius:13px;padding:24px 27px;position:relative}.steps article>span{position:absolute;right:24px;top:22px;color:#b4c6c0;font-size:11px}.step-symbol{font-size:27px;color:#398f74}.steps h3{font-size:15px;margin:16px 0 4px}.steps p{color:#839195;font-size:11px;line-height:1.8;margin:0}.footer{border-top:1px solid #dfe6e3;min-height:90px;display:flex;align-items:center;justify-content:space-between;gap:15px;color:#718080;font-size:11px}.footer-brand{font-size:18px;color:#1a2637;letter-spacing:-.8px}.footer-brand strong{color:#27966f}.footer-brand span{font-size:10px;color:#8fa09c}.footer a{color:#287f66;text-decoration:none}.footer small{font-size:10px}.camera-modal{position:fixed;inset:0;z-index:50;background:#061220cf;display:grid;place-items:center;padding:15px}.camera-dialog{width:min(620px,100%);background:#10192a;color:white;border:1px solid #42516b;border-radius:18px;padding:18px;display:flex;flex-direction:column;gap:13px}.camera-header{display:flex;align-items:center;justify-content:space-between}.camera-close{background:transparent;border:0;color:white;font-size:20px}.camera-dialog video{width:100%;max-height:65vh;object-fit:contain;background:black;border-radius:10px}.camera-dialog p{color:#b1c2ce;font-size:11px;margin:0}.camera-dialog .btn{align-self:center;min-width:200px}.toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,30px);background:#142338;color:white;z-index:70;border-radius:9px;padding:12px 20px;box-shadow:0 12px 40px #112a3640;pointer-events:none;opacity:0;transition:.2s}.toast.visible{opacity:1;transform:translate(-50%,0)}button:focus-visible,[role=button]:focus-visible,a:focus-visible{outline:3px solid #44b59c;outline-offset:3px}
@media(max-width:950px){.hero-decoration{width:170px}.intro{min-height:295px}.intro h1{font-size:46px}.workspace-grid{gap:14px}.container{width:min(1180px,calc(100% - 28px))}.input-title,.settings-card,.results-top{padding-left:16px;padding-right:16px}.dropzone{margin-left:13px;margin-right:13px}.result-section{padding-left:15px;padding-right:15px}}
@media(max-width:730px){.topbar-inner{height:70px}.system-pill{font-size:0}.system-pill .status-dot{font-size:12px}.intro{padding:44px 0 45px;min-height:0}.intro h1{font-size:clamp(35px,9vw,50px);letter-spacing:-1.8px}.hero-decoration{display:none}.lead{font-size:13px}.intro-meta{gap:10px 18px}.workspace-grid{grid-template-columns:1fr}.workspace-head{margin-bottom:17px}.results-card{min-height:430px}.result-placeholder{min-height:290px}.workarea{padding-top:28px}.steps{grid-template-columns:1fr;gap:10px}.how-it-works{padding:30px 0 45px}.footer{flex-wrap:wrap;padding:18px 0 30px;justify-content:start}.dropzone{min-height:235px}.topright{gap:8px}.top-toggle{padding:7px 8px}.result-metrics{gap:7px}.result-metrics strong{font-size:11px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

body{overflow-x:clip}.image-stage.crop-mode{cursor:crosshair;touch-action:none}.crop-selection{position:absolute;border:2px solid #36e9b3;background:#36e9b333;box-shadow:0 0 0 9999px #06182866;pointer-events:none;z-index:3}.crop-mode .ocr-overlay{display:none}

.intro-band{background:var(--navy)}.intro:before{display:none}

.translation-direction{display:flex;align-items:end;gap:10px;flex-wrap:wrap;margin:0 0 15px}.translation-direction label{flex:1;min-width:120px;font-size:11px;font-weight:650}.translation-direction select{display:block;width:100%;padding:9px;background:#fff;border:1px solid #d9e1e3;border-radius:8px;margin-top:5px}.translation-direction button{flex:none}html[lang="my"] .intro h1,html[lang="my"] .lead,html[lang="my"] .workarea,html[lang="my"] .how-it-works{letter-spacing:0;line-height:1.85}
.history-card{border:1px solid var(--line);background:#fff;padding:16px 20px;border-radius:var(--radius)}.history-head{display:flex;justify-content:space-between;gap:10px;align-items:center}.history-card p{font-size:11px;color:var(--muted)}.history-list{display:flex;flex-direction:column;gap:7px}.history-list button{border:1px solid var(--line);border-radius:8px;background:#f7faf9;padding:9px;color:var(--ink);text-align:left;overflow-wrap:anywhere}.history-list small{display:block;color:var(--muted)}
