.ocrm-app{display:grid;grid-template-columns:1fr;gap:22px;align-items:start;box-sizing:border-box}.ocrm-app *{box-sizing:border-box}@media (min-width:960px){.ocrm-app{grid-template-columns:minmax(0,430px) minmax(0,1fr)}.ocrm-view{position:sticky;top:20px}}.ocrm-panel{background:#f6f8fa;border:1px solid #dfe4ea;border-radius:12px;padding:18px;color:#1b2430;font-size:14px}.ocrm-panel h3{margin:20px 0 8px;font-size:12px;text-transform:uppercase;letter-spacing:1.2px;color:#12315a;font-weight:700}.ocrm-panel h3:first-child{margin-top:0}.ocrm-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.ocrm-f{display:block;margin:0}.ocrm-f.w{grid-column:1/-1}.ocrm-f span{display:block;font-size:12px;margin-bottom:3px;color:#4a5665}.ocrm-panel input,.ocrm-panel select,.ocrm-panel textarea{width:100%;margin:0;padding:8px 10px;border:1px solid #c7cfd8;border-radius:8px;background:#fff;color:#1b2430;font:inherit;font-size:14px;line-height:1.3;height:auto}.ocrm-panel textarea{resize:vertical}.ocrm-head,.ocrm-row{display:grid;grid-template-columns:1fr 62px 78px 32px;gap:6px}.ocrm-head{font-size:11px;color:#4a5665;margin-bottom:4px}.ocrm-row{margin-bottom:6px}.ocrm-row input{padding:7px 8px}.ocrm-x{border:0;background:#e8ecf1;color:#8a1f2b;border-radius:8px;font-size:18px;line-height:1;cursor:pointer;padding:0}.ocrm-btn{display:inline-block;border:0;border-radius:8px;padding:10px 16px;background:#c8102e;color:#fff;font:inherit;font-size:14px;font-weight:600;cursor:pointer}.ocrm-btn.alt{background:#fff;color:#1b2430;border:1px solid #c7cfd8}.ocrm-msg{margin-top:10px;font-size:13px;color:#1f7a4d;min-height:18px}.ocrm-msg.bad{color:#b3261e}.ocrm-btn[disabled]{opacity:.6;cursor:wait}.ocrm-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px}.ocrm-styles{display:flex;flex-wrap:wrap;gap:6px}.ocrm-styles button{border:1px solid #c7cfd8;background:#fff;color:#1b2430;border-radius:999px;padding:6px 13px;font:inherit;font-size:13px;cursor:pointer}.ocrm-styles button.on{background:#12315a;border-color:#12315a;color:#fff}.ocrm-view{min-width:0;padding:4px 10px 14px}.ocr-receipt{--bg:#fff;--ink:#1b2430;--mute:#6a7686;--line:#dfe4ea;--acc:#c8102e;--soft:#f6f8fa;--hb:#c8102e;--hi:#fff;--thb:transparent;--thc:#6a7686;--gb:transparent;--gc:#c8102e;--rad:8px;--ff:system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;background:var(--bg);color:var(--ink);font-family:var(--ff);font-size:14px;line-height:1.5;max-width:600px;margin:0 auto;overflow:hidden;box-sizing:border-box;box-shadow:0 6px 24px rgb(0 0 0 / .14);-webkit-print-color-adjust:exact;print-color-adjust:exact}.ocr-receipt *{box-sizing:border-box}.ocr-receipt h2,.ocr-receipt h3{font-family:inherit;color:inherit;margin:0;padding:0;line-height:1.2;border:0;text-transform:none}.ocr-receipt p{margin:0}.ocr-receipt .r-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:22px 24px;background:var(--hb);color:var(--hi)}.ocr-receipt .r-brand h3{font-size:20px;font-weight:700}.ocr-receipt .r-brand p{margin-top:4px;font-size:12px;opacity:.9;line-height:1.5}.ocr-receipt .r-doc{text-align:right}.ocr-receipt .r-doc h2{font-size:15px;font-weight:700;text-transform:uppercase;letter-spacing:1.5px}.ocr-receipt .r-badge{display:inline-block;margin-top:7px;font-size:11px;font-weight:700;letter-spacing:2px;text-transform:uppercase;padding:3px 10px;border:1.5px solid currentColor;border-radius:6px}.ocr-receipt .r-body{padding:20px 24px 8px}.ocr-receipt .r-meta{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:16px}.ocr-receipt .r-meta div{background:var(--soft);border-radius:var(--rad);padding:10px 12px;font-size:13px;line-height:1.6}.ocr-receipt .r-meta b{display:block;font-size:10px;text-transform:uppercase;letter-spacing:1.2px;color:var(--mute);font-weight:700}.ocr-receipt .r-tw{overflow-x:auto}.ocr-receipt table{width:100%;border-collapse:collapse;margin:0;border:0;background:none;table-layout:auto}.ocr-receipt th,.ocr-receipt td{border:0;border-bottom:1px solid var(--line);padding:9px 8px;font-size:13.5px;text-align:left;vertical-align:top;color:inherit}.ocr-receipt td{background:none}.ocr-receipt th{background:var(--thb);color:var(--thc);font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:1px;border-bottom:2px solid var(--line)}.ocr-receipt .r{text-align:right}.ocr-receipt .r-tot{margin:14px 0 0 auto;max-width:290px}.ocr-receipt .r-tot div{display:flex;justify-content:space-between;gap:12px;padding:4px 0;font-size:13.5px}.ocr-receipt .r-tot .g{margin-top:8px;padding:10px 12px;background:var(--gb);color:var(--gc);font-size:18px;font-weight:800;border-top:2px solid var(--ink)}.ocr-receipt .r-words{margin-top:12px;font-size:12.5px;color:var(--mute)}.ocr-receipt .r-notes{margin-top:14px;padding-top:12px;border-top:1px dashed var(--line);font-size:12.5px;color:var(--mute);line-height:1.7}.ocr-receipt .r-notes p{margin:0 0 4px}.ocr-receipt .r-notes b{color:var(--ink)}.ocr-receipt .r-foot{margin-top:12px;padding:14px 24px 20px;text-align:center;font-size:12px;color:var(--mute);border-top:1px solid var(--line)}.ocr-receipt .r-codes{display:flex;align-items:center;justify-content:center;gap:18px;margin-top:16px;padding-top:14px;border-top:1px dashed var(--line)}.ocr-receipt .r-qr{flex:0 0 auto;text-align:center}.ocr-receipt .r-qr .r-cb{width:96px;height:96px}.ocr-receipt .r-bar{flex:1 1 auto;min-width:0;max-width:300px;text-align:center}.ocr-receipt .r-bar .r-cb{height:58px}.ocr-receipt .r-cb{background:#fff;padding:4px;border-radius:6px;line-height:0}.ocr-receipt .r-cb svg{display:block;width:100%;height:100%}.ocr-receipt .r-codes span{display:block;margin-top:5px;font-size:11px;letter-spacing:1.5px;color:var(--mute);word-break:break-all}.ocrm-panel .ocrm-chk{display:flex;align-items:center;gap:8px}.ocrm-panel .ocrm-chk input{width:auto;margin:0}.ocrm-panel .ocrm-chk span{display:inline;margin:0;font-size:14px;color:#1b2430}.ocr-s-pos{--bg:#fffefa;--ink:#222;--mute:#666;--line:#222;--soft:transparent;--hb:transparent;--hi:#222;--gb:transparent;--gc:#222;--rad:0;--ff:"Courier New",Courier,monospace;max-width:360px}.ocr-s-pos .r-head{display:block;text-align:center;border-bottom:2px dashed #222;padding:22px 18px 14px}.ocr-s-pos .r-doc{text-align:center;margin-top:10px}.ocr-s-pos .r-badge{border:3px double #222;border-radius:0;transform:rotate(-4deg);padding:2px 14px;letter-spacing:3px}.ocr-s-pos .r-body{padding:14px 18px 4px}.ocr-s-pos .r-meta{display:block}.ocr-s-pos .r-meta div{padding:0 0 8px;margin-bottom:8px;border-bottom:1px dashed #222;font-size:12.5px}.ocr-s-pos th,.ocr-s-pos td{border-bottom:1px dashed #222;padding:7px 4px;font-size:12.5px}.ocr-s-pos th{border-bottom:2px dashed #222}.ocr-s-pos .r-tot .g{border-top:2px dashed #222}.ocr-s-pos .r-notes{border-top:2px dashed #222}.ocr-s-pos .r-codes{border-top:2px dashed #222}.ocr-s-pos .r-cb{border-radius:0}.ocr-s-pos .r-foot{border-top:2px dashed #222}.ocr-s-neon{--bg:#0a0e1a;--ink:#e8f0ff;--mute:#8a97b4;--line:rgba(255,255,255,.14);--soft:rgba(255,255,255,.06);--hb:linear-gradient(135deg,#8a5cff,#ff3d8b);--hi:#fff;--thc:#00e5ff;--gb:linear-gradient(90deg,rgba(0,229,255,.18),rgba(138,92,255,.24),rgba(255,61,139,.18));--gc:#00e5ff;--rad:12px;border-radius:20px;box-shadow:0 0 0 1.5px #8a5cff,0 0 34px rgb(138 92 255 / .5)}.ocr-s-neon .r-badge{color:#29ffa0;background:#0a0e1a;box-shadow:0 0 14px rgb(41 255 160 / .5);border-radius:999px}.ocr-s-neon .r-meta div{border:1px solid var(--line)}.ocr-s-neon .r-tot .g{border-top:0;border-radius:14px;border:1px solid var(--line);text-shadow:0 0 14px rgb(0 229 255 / .6)}.ocr-s-neon .r-notes b{color:#00e5ff}.ocr-s-garage{--bg:#fbfaf6;--ink:#161616;--mute:#5d5d5d;--line:#161616;--soft:#fff;--hb:#161616;--hi:#ffc400;--thb:#ffc400;--thc:#161616;--gb:#ffc400;--gc:#161616;--rad:0;--ff:"Arial Narrow",Arial,sans-serif;border:3px solid #161616;box-shadow:8px 8px 0 #161616}.ocr-s-garage::before,.ocr-s-garage::after{content:"";display:block;height:16px;background:repeating-linear-gradient(-45deg,#ffc400 0 14px,#161616 14px 28px)}.ocr-s-garage .r-doc h2{font-family:Impact,"Arial Black",sans-serif;font-size:22px;font-weight:400;letter-spacing:1px}.ocr-s-garage .r-brand h3{text-transform:uppercase;letter-spacing:1px}.ocr-s-garage .r-badge{background:#ffc400;color:#161616;border:3px solid #161616;border-radius:0;transform:rotate(-4deg)}.ocr-s-garage .r-meta div{border:2px solid #161616}.ocr-s-garage th{border-bottom:3px solid #161616}.ocr-s-garage td{border-bottom:1.5px solid #161616}.ocr-s-garage .r-tot .g{border-top:0;font-family:Impact,"Arial Black",sans-serif;font-weight:400;font-size:24px}.ocr-s-garage .r-foot{border-top:3px solid #161616}.ocr-s-minimal{--bg:#fff;--ink:#111;--mute:#8a8a8a;--line:#ececec;--soft:transparent;--hb:transparent;--hi:#111;--thc:#8a8a8a;--gb:transparent;--gc:#111;--rad:0;--ff:"Helvetica Neue",Helvetica,Arial,sans-serif;box-shadow:0 0 0 1px #e8e8e8}.ocr-s-minimal .r-head{padding:34px 28px 10px}.ocr-s-minimal .r-brand h3{font-size:15px;font-weight:500}.ocr-s-minimal .r-doc h2{font-size:12px;letter-spacing:4px;font-weight:600}.ocr-s-minimal .r-badge{border:0;padding:0;color:#8a8a8a;font-weight:500}.ocr-s-minimal .r-body{padding:14px 28px 8px}.ocr-s-minimal .r-meta div{padding:0}.ocr-s-minimal th{border-bottom:1px solid #111}.ocr-s-minimal .r-tot .g{font-size:24px;font-weight:300}.ocr-s-minimal .r-foot{border-top:0}.ocr-s-luxury{--bg:#0b0a08;--ink:#ece5d4;--mute:#9a917b;--line:rgba(201,162,75,.28);--soft:transparent;--hb:transparent;--hi:#c9a24b;--thc:#c9a24b;--gb:transparent;--gc:#f0d58a;--rad:0;--ff:Georgia,"Times New Roman",serif;border:1px solid #c9a24b;box-shadow:inset 0 0 0 6px #0b0a08,inset 0 0 0 7px rgb(201 162 75 / .55)}.ocr-s-luxury .r-head{display:block;text-align:center;padding:38px 28px 12px}.ocr-s-luxury .r-brand h3{font-size:12px;font-weight:400;letter-spacing:6px;text-transform:uppercase}.ocr-s-luxury .r-doc{text-align:center;margin-top:10px}.ocr-s-luxury .r-doc h2{font-size:28px;font-weight:400;letter-spacing:2px;text-transform:none;color:#f0d58a}.ocr-s-luxury .r-badge{border-radius:0;letter-spacing:4px;border-width:1px}.ocr-s-luxury .r-body{padding:14px 30px 8px}.ocr-s-luxury .r-meta div{padding:0}.ocr-s-luxury .r-meta b{color:#c9a24b;font-weight:400;letter-spacing:3px}.ocr-s-luxury td:not(:first-child){color:#f0d58a}.ocr-s-luxury .r-tot .g{border-top:1px solid #c9a24b;font-size:24px;font-weight:400}.ocr-s-luxury .r-foot{font-style:italic;border-top:0;padding-bottom:30px}.ocr-s-playful{--bg:#fff;--ink:#2b2350;--mute:#7a7399;--line:#d9d3f0;--soft:#fff3d6;--hb:#6c4cff;--hi:#fff;--thc:#6c4cff;--gb:#ff7a59;--gc:#fff;--rad:16px;--ff:"Trebuchet MS","Segoe UI",system-ui,sans-serif;border-radius:28px;box-shadow:0 8px 0 #ff7a59,0 14px 30px rgb(0 0 0 / .18)}.ocr-s-playful .r-badge{background:#2ed3a0;color:#05382a;border:0;border-radius:999px;padding:5px 14px;transform:rotate(4deg)}.ocr-s-playful td{border-bottom:2px dotted #b9b0e0}.ocr-s-playful .r-tot .g{border-top:0;border-radius:18px;font-size:22px;font-weight:900}.ocr-s-playful .r-foot{border-top:0}.ocr-s-invoice{--bg:#fff;--ink:#1d2733;--mute:#66737f;--line:#d3dae2;--soft:#f3f6f9;--hb:transparent;--hi:#12315a;--thb:#12315a;--thc:#fff;--gb:#12315a;--gc:#fff;--rad:0;box-shadow:0 0 0 1px #d3dae2,0 6px 24px rgb(0 0 0 / .1);border-top:8px solid #12315a}.ocr-s-invoice .r-head{padding-bottom:6px}.ocr-s-invoice .r-doc h2{font-size:26px;letter-spacing:3px}.ocr-s-invoice .r-badge{border-radius:0}.ocr-s-invoice .r-meta b{color:#12315a}.ocr-s-invoice th{border-bottom:0}.ocr-s-invoice .r-tot .g{border-top:0}@media (max-width:520px){.ocr-receipt .r-head{padding:18px 16px}.ocr-receipt .r-body{padding:16px 16px 6px}.ocr-receipt .r-meta{grid-template-columns:1fr}.ocr-receipt th,.ocr-receipt td{padding:8px 5px;font-size:12.5px}.ocrm-grid{grid-template-columns:1fr}}.ocrm-panel [hidden]{display:none!important}.ocrm-logo-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.ocrm-logo-thumb{max-width:120px;max-height:48px;border:1px solid #c7cfd8;border-radius:6px;background:#fff;padding:3px}.ocrm-logo-note{display:block;margin-top:5px;font-size:11px;line-height:1.4;color:#6a7686}.ocrm-logo-note.bad{color:#b3261e}.ocrm-logo-note.ok{color:#1f7a4d}.ocr-receipt .r-logo{display:block;max-width:150px;max-height:60px;width:auto;height:auto;margin:0 0 10px;padding:4px 8px;background:#fff;border:0;border-radius:6px;object-fit:contain}.ocr-s-pos .r-logo,.ocr-s-luxury .r-logo{margin-left:auto;margin-right:auto}