:root{
  --os-bg:#f4f8ff;
  --os-card:#ffffff;
  --os-text:#0f1f3d;
  --os-muted:#6e7f98;
  --os-line:#d9e4f2;
  --os-primary:#1768ff;
  --os-primary-2:#6a5cff;
  --os-success:#12a66a;
  --os-warning:#e8a11f;
  --os-danger:#db4b5c;
  --os-dark:#081b44;
}
body.ultra-commercial{background:radial-gradient(circle at top right,rgba(110,148,255,.08),transparent 28%),linear-gradient(180deg,#f7fbff 0%,#f4f8ff 100%)}
body.ultra-commercial .wrap{max-width:1380px}
.os-shell{display:grid;gap:22px}
.os-hero{position:relative;overflow:hidden;background:linear-gradient(135deg,#07173d 0%,#0a2670 42%,#2c63ff 100%);border-radius:28px;padding:34px 34px;border:1px solid rgba(255,255,255,.12);box-shadow:0 32px 80px rgba(13,42,98,.20)}
.os-hero:before,.os-hero:after{content:"";position:absolute;border-radius:999px;filter:blur(3px);opacity:.55;pointer-events:none}
.os-hero:before{width:320px;height:320px;right:-120px;top:-100px;background:radial-gradient(circle,rgba(95,164,255,.45),rgba(95,164,255,0) 68%)}
.os-hero:after{width:260px;height:260px;left:-60px;bottom:-120px;background:radial-gradient(circle,rgba(125,102,255,.38),rgba(125,102,255,0) 70%)}
.os-hero-grid{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);gap:28px;align-items:center}
.os-kicker{display:inline-flex;align-items:center;gap:8px;padding:9px 14px;border-radius:999px;background:rgba(255,255,255,.12);color:#dce7ff;font-size:12px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
.os-hero h1,.os-hero h2{margin:14px 0 12px;color:#fff;font-size:clamp(32px,4vw,52px);line-height:1.06}
.os-hero p{margin:0;color:rgba(235,241,255,.88);font-size:16px;line-height:1.7;max-width:760px}
.os-hero .os-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:22px}
.os-hero .btn,.os-chip-btn,.os-quick-card,.os-module-card,.os-glass-card{transition:transform .18s ease,box-shadow .18s ease,background .18s ease,border-color .18s ease}
.os-hero .btn:hover,.os-chip-btn:hover,.os-quick-card:hover,.os-module-card:hover,.os-glass-card:hover{transform:translateY(-2px)}
.os-chip-row{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
.os-chip{display:inline-flex;align-items:center;gap:8px;padding:10px 14px;border-radius:999px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);color:#edf3ff;font-size:13px;font-weight:700}
.os-hero-side{display:grid;gap:14px}
.os-glass-card{background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.12);backdrop-filter:blur(12px);border-radius:22px;padding:18px 18px;color:#fff}
.os-glass-card b{display:block;font-size:14px;letter-spacing:.03em;text-transform:uppercase;color:#d4e3ff;margin-bottom:8px}
.os-glass-card span{display:block;font-size:28px;font-weight:900;line-height:1.15}
.os-glass-card small{display:block;margin-top:7px;color:rgba(233,240,255,.78);font-size:12px;line-height:1.55}
.os-tool-strip{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}
.os-quick-card{position:relative;display:flex;flex-direction:column;gap:12px;padding:18px 18px;border-radius:22px;background:linear-gradient(180deg,#fff,#f8fbff);border:1px solid #d8e4f4;box-shadow:0 10px 28px rgba(19,62,131,.08);text-decoration:none;color:var(--os-text);min-height:126px}
.os-quick-card i,.os-module-card i,.os-stat-card i,.os-feature-card i{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:14px;background:#eef5ff;color:var(--os-primary)}
.os-quick-card b,.os-module-card b{font-size:17px;line-height:1.28}
.os-quick-card span,.os-module-card span,.os-feature-card span{color:var(--os-muted);font-size:13px;line-height:1.65}
.os-quick-card em{font-style:normal;margin-top:auto;color:var(--os-primary);font-weight:800;font-size:13px}
.os-quick-card:before{content:"";position:absolute;inset:auto 18px 18px 18px;height:3px;border-radius:999px;background:linear-gradient(90deg,#1768ff,#7a61ff);opacity:.16}
.os-spotlight{position:relative;overflow:hidden;background:linear-gradient(135deg,#06113a 0%,#091f66 42%,#0b2ca2 100%);border:1px solid rgba(255,255,255,.1);border-radius:28px;padding:26px;box-shadow:0 30px 80px rgba(8,34,94,.2)}
.os-spotlight-grid{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(300px,.92fr);gap:20px;align-items:center}
.os-spotlight-copy h2{margin:0 0 10px;color:#fff;font-size:clamp(26px,3vw,40px);line-height:1.12}
.os-spotlight-copy p{margin:0;color:rgba(231,238,255,.86);font-size:15px;line-height:1.75;max-width:620px}
.os-spotlight-copy .os-chip-row{margin-top:16px}
.os-spotlight-image{position:relative}
.os-spotlight-image img{display:block;width:100%;height:auto;border-radius:22px;border:1px solid rgba(255,255,255,.14);box-shadow:0 20px 60px rgba(0,0,0,.22)}
.os-banner-frame{display:block;width:100%;border-radius:22px;border:1px solid rgba(255,255,255,.14);box-shadow:0 20px 60px rgba(0,0,0,.22);overflow:hidden;background:linear-gradient(135deg,#06113a 0%,#091f66 42%,#0b2ca2 100%)}
.os-banner-frame svg{display:block;width:100%;height:auto}
.os-banner-frame.fallback{min-height:320px;display:flex;align-items:center;justify-content:center;padding:28px;color:#fff}
.os-banner-frame.fallback b{font-size:28px;line-height:1.25;text-align:center;max-width:680px}
.os-floating-metric{position:absolute;display:flex;align-items:center;gap:10px;padding:12px 14px;border-radius:18px;background:rgba(7,18,54,.72);backdrop-filter:blur(14px);border:1px solid rgba(255,255,255,.12);color:#fff;box-shadow:0 16px 40px rgba(0,0,0,.2)}
.os-floating-metric i{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:12px;background:rgba(64,123,255,.18);color:#9cc7ff}
.os-floating-metric b{display:block;font-size:17px}.os-floating-metric span{display:block;color:#d5e4ff;font-size:12px}
.os-floating-metric.top{top:16px;left:16px}.os-floating-metric.bottom{right:16px;bottom:16px}
.os-stat-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}
.os-stat-card{position:relative;padding:20px;border-radius:22px;background:var(--os-card);border:1px solid var(--os-line);box-shadow:0 12px 28px rgba(13,61,129,.06);display:flex;gap:14px;align-items:flex-start}
.os-stat-card strong{display:block;font-size:30px;color:var(--os-text);line-height:1;font-weight:900;margin-bottom:6px}
.os-stat-card b{display:block;color:var(--os-text);font-size:14px;margin-bottom:4px}.os-stat-card span{display:block;color:var(--os-muted);font-size:12px;line-height:1.55}
.os-stat-card.warn i{background:#fff4e4;color:#d88900}.os-stat-card.success i{background:#e9fbf2;color:#10915d}
.os-status-bar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:center;padding:18px 20px;border-radius:22px;background:#fff;border:1px solid var(--os-line);box-shadow:0 10px 24px rgba(13,61,129,.06)}
.os-worker-line{display:flex;align-items:center;gap:14px}.os-worker-bullet{width:14px;height:14px;border-radius:999px;background:#b7c7db;box-shadow:0 0 0 8px rgba(183,199,219,.16)}.os-worker-bullet.on{background:#19a76e;box-shadow:0 0 0 8px rgba(25,167,110,.12)}
.os-status-actions{display:flex;gap:10px;flex-wrap:wrap}
.os-section{display:grid;gap:16px}
.os-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:14px}
.os-section-head .eyebrow,.os-sub-eyebrow{display:inline-flex;align-items:center;gap:8px;color:#1f5fdf;font-size:12px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;margin-bottom:8px}
.os-section-head h2,.os-panel h2,.os-subsection h2{margin:0;color:var(--os-text);font-size:28px;line-height:1.2}
.os-section-head p,.os-panel p,.os-subsection p{margin:8px 0 0;color:var(--os-muted);font-size:14px;line-height:1.7}
.os-panel-grid{display:grid;grid-template-columns:1.18fr .82fr;gap:16px}
.os-panel,.os-subsection,.os-card-board{background:var(--os-card);border:1px solid var(--os-line);border-radius:24px;padding:24px;box-shadow:0 12px 30px rgba(13,61,129,.06)}
.os-panel.soft{background:linear-gradient(180deg,#fff,#fbfdff)}
.os-page-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.os-page-card{padding:20px;border-radius:22px;background:linear-gradient(180deg,#fff,#f9fbff);border:1px solid var(--os-line);box-shadow:0 10px 28px rgba(13,61,129,.06)}
.os-page-top{display:flex;align-items:center;gap:14px}.os-page-top img,.os-page-top .avatar{width:56px;height:56px;border-radius:18px;object-fit:cover;background:#edf3ff;display:inline-flex;align-items:center;justify-content:center;font-weight:900;color:#255ce1;font-size:22px}
.os-page-top h3{margin:0;color:var(--os-text);font-size:19px}.os-page-top small{display:block;margin-top:4px;color:var(--os-muted);font-size:12px}
.os-tag-row,.os-inline-badges{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.os-tag,.os-inline-badges span{display:inline-flex;align-items:center;gap:6px;padding:8px 10px;border-radius:999px;background:#f4f8ff;border:1px solid #dce6f5;color:#3c5272;font-size:12px;font-weight:700}
.os-page-bottom{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:18px;padding-top:16px;border-top:1px solid #e5edf7}.os-page-actions{display:flex;gap:10px;flex-wrap:wrap}
.os-module-grid,.os-feature-grid,.os-duo-grid,.os-cap-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.os-module-card,.os-feature-card,.os-cap-card{padding:22px;border-radius:22px;border:1px solid var(--os-line);background:linear-gradient(180deg,#fff,#f9fbff);box-shadow:0 10px 28px rgba(13,61,129,.06)}
.os-module-card h3,.os-feature-card h3,.os-cap-card h3{margin:14px 0 8px;color:var(--os-text);font-size:18px}.os-module-card ul,.os-feature-card ul{margin:8px 0 0 18px;padding:0;color:var(--os-muted);display:grid;gap:8px;font-size:13px;line-height:1.6}
.os-mini-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.os-mini-card{padding:16px 18px;border-radius:18px;background:#f8fbff;border:1px solid #dce7f5}
.os-mini-card b{display:block;color:#10213a;font-size:20px}.os-mini-card span{display:block;color:#6f8098;font-size:12px;line-height:1.55;margin-top:5px}
.os-filter-shell{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(320px,.92fr);gap:16px}
.os-connect-grid,.os-token-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:16px}
.os-workflow{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.os-step{padding:16px;border-radius:18px;background:#f7fbff;border:1px solid #dae5f4}.os-step b{display:flex;align-items:center;gap:10px;color:#13274c;font-size:15px}.os-step i{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:10px;background:#1768ff;color:#fff;font-style:normal;font-weight:900}.os-step span{display:block;margin-top:8px;color:#73849b;font-size:12px;line-height:1.6}
.os-checklist{display:grid;gap:10px;margin:0;padding:0;list-style:none}.os-checklist li{display:flex;align-items:flex-start;gap:10px;color:#406;}.os-checklist li:before{content:"✓";display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:999px;background:#e8f8f1;color:#0f9e62;font-size:13px;font-weight:900;flex:0 0 auto;margin-top:1px}.os-checklist li{color:#45607f;font-size:13px;line-height:1.65}
.os-token-candidate{display:grid;grid-template-columns:auto 1fr auto;gap:14px;align-items:center;padding:14px;border-radius:18px;border:1px solid #dce6f4;background:#fbfdff}
.os-token-candidate img,.os-token-candidate .avatar{width:48px;height:48px;border-radius:15px;object-fit:cover;background:#edf3ff;display:inline-flex;align-items:center;justify-content:center;font-weight:900;color:#255ce1}
.os-token-candidate small{display:block;color:#6f8098;font-size:11px;line-height:1.5}.os-token-candidate b{display:block;color:#10213a;font-size:15px;margin-bottom:4px}
.os-token-candidate input[type=checkbox]{width:18px;height:18px}
.os-ai-shell,.os-ocr-shell{display:grid;gap:18px}
.os-media-info{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.os-media-info .os-mini-card{background:linear-gradient(180deg,#f8fbff,#fff)}
.os-live-overview{display:grid;gap:16px;margin-bottom:18px}.os-live-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.os-live-kpis .os-mini-card{background:linear-gradient(180deg,#fff,#f8fbff)}
.os-inline-actions{display:flex;gap:10px;flex-wrap:wrap}
.os-note{padding:14px 16px;border-radius:16px;background:#f7fbff;border:1px solid #dce8f6;color:#516884;font-size:13px;line-height:1.7}
.os-note.warn{background:#fff8ec;border-color:#f0d39d;color:#8a5a00}
.os-note.danger{background:#fff3f4;border-color:#f5c4cb;color:#b42436}
.os-public-shell{display:grid;gap:24px;padding:24px 0 38px}
.os-public-hero{background:linear-gradient(135deg,#06153a 0%,#0a246c 40%,#2056ff 100%);border-radius:32px;padding:38px;border:1px solid rgba(255,255,255,.14);box-shadow:0 34px 80px rgba(8,34,94,.24);position:relative;overflow:hidden}.os-public-hero:before{content:"";position:absolute;inset:auto auto -120px -60px;width:280px;height:280px;border-radius:999px;background:radial-gradient(circle,rgba(150,110,255,.38),rgba(150,110,255,0) 72%)}
.os-public-hero-grid{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(300px,.9fr);gap:24px;align-items:center}.os-public-hero h1{margin:14px 0 12px;color:#fff;font-size:clamp(34px,4.8vw,58px);line-height:1.02}.os-public-hero p{color:rgba(239,244,255,.9);font-size:16px;line-height:1.8;max-width:760px}
.os-public-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.os-public-stats article{padding:16px 18px;border-radius:20px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);color:#fff}.os-public-stats b{display:block;font-size:22px}.os-public-stats span{display:block;margin-top:6px;color:rgba(224,234,255,.84);font-size:12px;line-height:1.55}
.os-public-toolstrip{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}
.os-public-toolstrip a{display:flex;gap:12px;padding:18px;border-radius:22px;background:#fff;border:1px solid #dbe6f4;color:#10213a;text-decoration:none;box-shadow:0 10px 30px rgba(13,61,129,.06)}
.os-public-toolstrip a i{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:14px;background:#eef5ff;color:#1768ff}
.os-public-toolstrip a b{display:block;font-size:15px;margin-bottom:5px}.os-public-toolstrip a span{display:block;color:#6f8098;font-size:12px;line-height:1.6}
.os-public-banner{background:#071746;border-radius:28px;padding:22px;border:1px solid rgba(255,255,255,.1);box-shadow:0 24px 60px rgba(8,34,94,.18)}
.os-public-banner img{display:block;width:100%;border-radius:20px;border:1px solid rgba(255,255,255,.12)}
body.page-content-pages .content-report .draft-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
body.page-content-pages .content-report .draft-card{height:100%}
body.page-live .live-pro-shell{margin-top:0}
@media (max-width:1200px){
  .os-tool-strip,.os-stat-grid,.os-public-toolstrip,.os-public-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .os-module-grid,.os-feature-grid,.os-cap-grid,.os-workflow,.os-page-grid,.os-live-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
  .os-panel-grid,.os-filter-shell,.os-connect-grid,.os-token-grid,.os-spotlight-grid,.os-hero-grid,.os-public-hero-grid{grid-template-columns:1fr}
}
@media (max-width:760px){
  .os-hero,.os-spotlight,.os-panel,.os-subsection,.os-card-board,.os-public-hero,.os-public-banner{padding:20px}
  .os-kicker{font-size:11px}.os-hero h1,.os-public-hero h1{font-size:32px}.os-spotlight-copy h2{font-size:24px}
  .os-tool-strip,.os-stat-grid,.os-page-grid,.os-module-grid,.os-feature-grid,.os-cap-grid,.os-workflow,.os-live-kpis,.os-public-toolstrip,.os-public-stats,.os-mini-grid,.os-media-info{grid-template-columns:1fr}
  .os-status-bar,.os-section-head,.os-page-bottom{grid-template-columns:1fr;display:grid}
  .os-status-actions,.os-inline-actions,.os-page-actions,.os-actions{width:100%}
  .os-status-actions .btn,.os-inline-actions .btn,.os-actions .btn,.os-page-actions .btn{width:100%;justify-content:center}
  .os-token-candidate{grid-template-columns:auto 1fr}.os-token-candidate input[type=checkbox]{grid-column:1 / -1}
}


.os-banner-stat-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:16px}
.os-banner-stat-card{display:flex;align-items:center;gap:12px;padding:14px 16px;border-radius:18px;background:rgba(7,18,54,.78);backdrop-filter:blur(14px);border:1px solid rgba(255,255,255,.12);color:#fff;box-shadow:0 16px 40px rgba(0,0,0,.18)}
.os-banner-stat-card i{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:12px;background:rgba(64,123,255,.18);color:#9cc7ff;flex:0 0 auto}
.os-banner-stat-card b{display:block;font-size:18px;line-height:1.1}
.os-banner-stat-card span{display:block;color:#d5e4ff;font-size:12px;margin-top:4px}
.os-spotlight-image .os-floating-metric{display:none!important}
@media (max-width:760px){.os-banner-stat-grid{grid-template-columns:1fr}}

/* ===== OCR PREMIUM R5 ===== */
body.page-image-ocr .wrap{max-width:1320px}
.ocr-premium-page{display:grid;gap:16px}
.ocr-compact-hero{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(430px,.85fr);gap:20px;align-items:center;padding:24px 26px;border-radius:26px;background:linear-gradient(135deg,#071944 0%,#12328c 52%,#2c63ff 100%);border:1px solid rgba(255,255,255,.12);box-shadow:0 24px 58px rgba(13,42,98,.17);overflow:hidden;position:relative}
.ocr-compact-hero:after{content:"";position:absolute;right:-70px;top:-90px;width:250px;height:250px;border-radius:999px;background:radial-gradient(circle,rgba(122,157,255,.3),rgba(122,157,255,0) 70%);pointer-events:none}
.ocr-hero-copy{position:relative;z-index:1}.ocr-kicker{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border-radius:999px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.1);color:#e6efff;font-size:11px;font-weight:900;letter-spacing:.07em;text-transform:uppercase}
.ocr-hero-copy h1{margin:14px 0 8px;color:#fff;font-size:38px;line-height:1.08;letter-spacing:-.035em}.ocr-hero-copy p{margin:0;max-width:700px;color:#dce7ff;font-size:14px;line-height:1.7}.ocr-hero-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.ocr-hero-chips span{padding:8px 11px;border-radius:999px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);color:#fff;font-size:11px;font-weight:800}
.ocr-hero-status{position:relative;z-index:1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.ocr-hero-status article{min-width:0;padding:14px;border-radius:18px;background:rgba(255,255,255,.11);border:1px solid rgba(255,255,255,.13);backdrop-filter:blur(10px)}.ocr-hero-status article>span{display:block;color:#cfe0ff;font-size:9px;font-weight:900;letter-spacing:.07em}.ocr-hero-status article>b{display:block;margin-top:6px;color:#fff;font-size:18px;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ocr-hero-status article>small{display:block;margin-top:5px;color:#d7e5ff;font-size:10px;line-height:1.45}
.ocr-compact-features{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.ocr-compact-features article{display:flex;align-items:flex-start;gap:12px;padding:15px 16px;border-radius:18px;background:#fff;border:1px solid #dce6f3;box-shadow:0 8px 22px rgba(13,61,129,.05)}.ocr-compact-features i{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:12px;background:#eef5ff;color:#1768ff;flex:0 0 auto}.ocr-compact-features b{display:block;color:#10213a;font-size:14px;margin-bottom:4px}.ocr-compact-features span{display:block;color:#6e7f98;font-size:11px;line-height:1.55}
.ocr-system-alert{display:grid;gap:5px;padding:14px 16px;border-radius:16px;background:#fff8e9;border:1px solid #f2d294;color:#7f5700}.ocr-system-alert b{font-size:14px}.ocr-system-alert span{font-size:12px;line-height:1.6}
body.page-image-ocr .ocr-workspace{padding:22px!important;border-radius:24px!important}.ocr-workspace-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px}.ocr-workspace-head h2{margin:4px 0 6px;font-size:24px;color:#10213a}.ocr-workspace-head p{margin:0;color:#6e7f98;font-size:12px;line-height:1.6}.ocr-ready-pill{display:inline-flex;padding:8px 11px;border-radius:999px;font-size:10px;font-weight:900;white-space:nowrap}.ocr-ready-pill.ok{background:#e9fbf2;color:#0e8a57;border:1px solid #bdebd3}.ocr-ready-pill.warn{background:#fff7e6;color:#a06400;border:1px solid #f1d39a}
.ocr-work-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);gap:16px;align-items:stretch}.ocr-upload-column,.ocr-setting-column{min-width:0}.page-image-ocr .ocr-upload-box{min-height:300px!important;height:100%;padding:22px!important;border-radius:20px!important;border:1.5px dashed #bdd2ee!important;background:linear-gradient(180deg,#fafdff,#f6faff)!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;text-align:center!important;cursor:pointer!important;transition:.18s ease!important}.page-image-ocr .ocr-upload-box:hover,.page-image-ocr .ocr-upload-box.drag{border-color:#4c8cff!important;background:#f1f7ff!important;box-shadow:0 0 0 4px rgba(23,104,255,.07)}.page-image-ocr .ocr-upload-icon{width:48px!important;height:48px!important;border-radius:15px!important;background:#eaf3ff!important;color:#1768ff!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;margin-bottom:10px!important}.page-image-ocr .ocr-upload-box>b{font-size:16px!important;color:#10213a!important}.page-image-ocr .ocr-upload-box>small{font-size:11px!important;color:#7a8ca5!important;margin-top:5px!important}
.ocr-preview{width:100%;margin-top:14px!important}.ocr-preview:empty{display:none}.ocr-preview{display:flex;align-items:center;justify-content:center;gap:12px}.ocr-preview-thumb{width:92px;height:72px;border-radius:12px;overflow:hidden;border:1px solid #dbe5f2;background:#fff;flex:0 0 auto}.ocr-preview-thumb img{width:100%;height:100%;object-fit:cover}.ocr-preview-info{text-align:left;min-width:0;max-width:300px}.ocr-preview-info b{display:block;color:#17304f;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ocr-preview-info span,.ocr-preview-info small{display:block;color:#71849e;font-size:10px;margin-top:3px}.ocr-preview-info small{color:#0d965d;font-weight:800}.ocr-file-error{padding:10px 12px;border-radius:12px;background:#fff0f2;color:#b42335;font-size:11px;font-weight:700}
.ocr-setting-column{display:flex;flex-direction:column;padding:18px;border-radius:20px;background:#f8fbff;border:1px solid #dce7f4}.ocr-setting-head{display:flex;align-items:center;gap:10px;margin-bottom:15px}.ocr-setting-head>span{display:inline-flex;width:32px;height:32px;align-items:center;justify-content:center;border-radius:11px;background:#1768ff;color:#fff;font-size:11px;font-weight:900}.ocr-setting-head b{display:block;color:#10213a;font-size:15px}.ocr-setting-head small{display:block;color:#72839b;font-size:10px;margin-top:2px}.ocr-setting-column label{font-size:11px!important;color:#415772!important;font-weight:800!important;margin-top:10px!important;margin-bottom:6px!important}.ocr-setting-column select{min-height:44px!important;border-radius:12px!important;background:#fff!important}.ocr-mini-info{display:grid;gap:7px;margin:14px 0;padding:12px;border-radius:14px;background:#fff;border:1px solid #e0e8f3}.ocr-mini-info span{font-size:10px;color:#5e718b;line-height:1.5}.page-image-ocr .ocr-submit{width:100%!important;min-height:46px!important;border-radius:13px!important;font-size:13px!important;margin-top:auto!important}.ocr-progress{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:10px;padding:9px 10px;border-radius:12px;background:#eef5ff;color:#2557bd;font-size:10px}.ocr-spinner{display:inline-block;width:14px;height:14px;border:2px solid rgba(23,104,255,.22);border-top-color:#1768ff;border-radius:50%;animation:ocrSpin .8s linear infinite}@keyframes ocrSpin{to{transform:rotate(360deg)}}
.ocr-inline-status{margin-top:12px;padding:11px 13px;border-radius:13px;font-size:11px;font-weight:700;line-height:1.5}.ocr-inline-status.error{background:#fff1f2;border:1px solid #f5c6cc;color:#b42335}.ocr-inline-status.ok{background:#ecfbf4;border:1px solid #c2ead6;color:#0b8050}
body.page-image-ocr .ocr-result-card,body.page-image-ocr .ocr-history-card{padding:20px!important;border-radius:22px!important}.ocr-result-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.ocr-result-head h2{margin:3px 0 0!important;font-size:21px!important}.ocr-result-actions{display:flex;flex-wrap:wrap;gap:7px}.ocr-result-actions button{min-height:36px!important;padding:7px 11px!important;border-radius:10px!important;font-size:10px!important}.ocr-meta{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px!important}.ocr-meta span{padding:6px 8px;border-radius:999px;background:#f3f7fd;border:1px solid #e0e8f3;color:#657992;font-size:9px}.ocr-result-card textarea{margin-top:14px;min-height:300px;border-radius:14px!important;background:#fbfdff!important;font-family:"Segoe UI",Inter,system-ui,sans-serif!important;font-size:13px!important;line-height:1.65!important}.ocr-note{margin-top:10px;padding:10px 12px;border-radius:12px;background:#f7faff;color:#677b95;font-size:10px;line-height:1.6}.ocr-history-card .rowbetween h2{font-size:19px!important}.ocr-history-item{padding:13px 14px;border:1px solid #e0e8f3;border-radius:14px;background:#fbfdff;margin-top:10px}.ocr-history-top{display:flex;justify-content:space-between;gap:10px}.ocr-history-top b{display:block;color:#17304f;font-size:12px}.ocr-history-top span{display:block;color:#7b8ca2;font-size:9px;margin-top:3px}.ocr-history-top em{font-style:normal;padding:5px 8px;border-radius:999px;background:#edf4ff;color:#2360cb;font-size:9px;font-weight:900;height:max-content}.ocr-history-item p{margin:8px 0 0;color:#586d88;font-size:10px;line-height:1.6}
@media(max-width:1050px){.ocr-compact-hero{grid-template-columns:1fr}.ocr-hero-status{grid-template-columns:repeat(3,minmax(0,1fr))}.ocr-work-grid{grid-template-columns:1fr}.page-image-ocr .ocr-upload-box{min-height:220px!important}}
@media(max-width:760px){.ocr-compact-hero{padding:20px}.ocr-hero-copy h1{font-size:30px}.ocr-hero-status,.ocr-compact-features{grid-template-columns:1fr}.ocr-workspace-head,.ocr-result-head{display:grid}.ocr-result-actions{width:100%}.ocr-result-actions button{flex:1}.page-image-ocr .ocr-upload-box{min-height:190px!important}.ocr-preview{flex-direction:column}.ocr-preview-info{text-align:center}.ocr-setting-column{padding:15px}}

/* ===== LIVE CHAT PREMIUM R91 · 30-MIN RECOVERY ===== */
body.page-live{font-family:"Segoe UI Variable","Segoe UI",Inter,Roboto,Arial,sans-serif!important}
body.page-live .wrap{max-width:1460px!important}
.live-r91-command{display:grid;gap:10px;margin-bottom:14px}
.live-r91-head{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(520px,.75fr);gap:18px;align-items:stretch;padding:20px 22px;border-radius:24px;background:linear-gradient(135deg,#07173d 0%,#11348d 58%,#2e66ff 100%);border:1px solid rgba(255,255,255,.12);box-shadow:0 18px 42px rgba(13,42,98,.14);overflow:hidden;position:relative}
.live-r91-head:after{content:"";position:absolute;right:-90px;top:-110px;width:320px;height:320px;border-radius:999px;background:radial-gradient(circle,rgba(129,164,255,.30),rgba(129,164,255,0) 70%);pointer-events:none}
.live-r91-copy,.live-r91-metrics{position:relative;z-index:1}
.live-r91-kicker{display:inline-flex;align-items:center;gap:7px;padding:7px 11px;border-radius:999px;background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.12);color:#e7efff;font-size:10px;font-weight:900;letter-spacing:.08em}
.live-r91-kicker svg{width:14px;height:14px}.live-r91-copy h1{margin:11px 0 5px;color:#fff;font-size:32px;line-height:1.08;letter-spacing:-.025em}.live-r91-copy p{margin:0;max-width:700px;color:#dce7ff;font-size:13px;line-height:1.62}.live-r91-copy p b{color:#fff}
.live-r91-badges{display:flex;flex-wrap:wrap;gap:7px;margin-top:13px}.live-r91-badges span{display:inline-flex;align-items:center;gap:6px;padding:7px 9px;border-radius:999px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);color:#fff;font-size:10px;font-weight:800}.live-r91-badges svg{width:13px;height:13px}
.live-r91-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.live-r91-metrics article{display:flex;align-items:center;gap:10px;min-width:0;padding:12px;border-radius:16px;background:rgba(255,255,255,.11);border:1px solid rgba(255,255,255,.13);backdrop-filter:blur(10px)}.live-r91-metrics article>i{display:inline-flex;align-items:center;justify-content:center;width:35px;height:35px;border-radius:11px;background:rgba(255,255,255,.12);color:#d9e8ff;flex:0 0 auto}.live-r91-metrics article>i svg{width:17px;height:17px}.live-r91-metrics article span{display:block;color:#cfe0ff;font-size:8.5px;font-weight:900;letter-spacing:.07em}.live-r91-metrics article b{display:block;margin-top:2px;color:#fff;font-size:22px;line-height:1}.live-r91-metrics article small{display:block;margin-top:4px;color:#d7e5ff;font-size:9px;line-height:1.35}.live-r91-metrics article.warn>i{background:rgba(255,181,59,.15);color:#ffd47e}.live-r91-metrics article.clean>i{background:rgba(61,220,151,.14);color:#85efbd}
.live-r91-policy{display:flex;align-items:center;gap:8px;padding:9px 12px;border-radius:14px;background:#fff;border:1px solid #dce6f3;box-shadow:0 7px 20px rgba(13,61,129,.04);color:#65768e;font-size:10px;line-height:1.45}.live-r91-policy b{color:#1c3455}.live-r91-policy .dot{width:8px;height:8px;border-radius:999px;background:#18a66b;box-shadow:0 0 0 4px rgba(24,166,107,.12);flex:0 0 auto}
body.page-live .live-pro-shell{height:650px!important;min-height:560px!important;max-height:650px!important;grid-template-columns:390px minmax(0,1fr)!important;border-radius:22px!important;box-shadow:0 16px 38px rgba(13,61,129,.08)!important;border:1px solid #d9e4f2!important;background:#fff!important}
body.page-live .live-pro-sidebar{background:#fbfdff!important;border-right:1px solid #dce6f2!important}
body.page-live .live-pro-tools{padding:10px!important;gap:7px!important;background:#fff!important;border-bottom:1px solid #e7eef7!important}
body.page-live .live-search-wrap{min-height:38px!important;border-radius:11px!important;background:#f7faff!important;border:1px solid #d9e4f2!important}.live-search-wrap input{font-family:"Segoe UI Variable","Segoe UI",Inter,sans-serif!important;font-size:11px!important}.live-pro-tools select{min-height:38px!important;border-radius:11px!important;font-size:10px!important;font-family:"Segoe UI Variable","Segoe UI",Inter,sans-serif!important}.live-plus{width:38px!important;height:38px!important;border-radius:11px!important}
body.page-live .live-list-title{padding:9px 11px!important;background:#fff!important;border-bottom:1px solid #edf2f8!important}.live-list-title>span{font-size:11px!important;font-weight:900!important;color:#152f50!important}.live-list-pills{gap:5px!important}.live-pending-pill,.live-new-pill{font-size:8.5px!important;padding:5px 7px!important;border-radius:999px!important}
body.page-live .live-botbar{margin:8px 10px 5px!important;padding:8px 9px!important;border-radius:12px!important}.live-botbar b{font-size:10px!important}.live-botbar small{font-size:8.5px!important;line-height:1.4!important}
body.page-live .live-name-syncbar{margin:0 10px 7px!important}.live-name-tools-row{gap:6px!important}.live-name-sync-btn,.live-deleted-pill{height:33px!important;min-height:33px!important;border-radius:10px!important;font-family:"Segoe UI Variable","Segoe UI",Inter,sans-serif!important;font-size:9.5px!important}.live-name-sync-btn .sync-icon,.live-deleted-pill>span{display:inline-flex!important;align-items:center!important;justify-content:center!important}.live-name-sync-btn .sync-icon svg,.live-deleted-pill>span svg{width:13px!important;height:13px!important}.live-name-syncbar>small{font-size:8.5px!important;line-height:1.4!important;padding:2px 2px 0!important;color:#7d8da3!important}
body.page-live #conversationList.conversation-list.pro{padding:6px 7px 10px!important;gap:5px!important;background:#f8fbff!important}.conversation-item.pro{padding:9px!important;border-radius:13px!important;border:1px solid #e4ebf4!important;background:#fff!important;box-shadow:0 4px 12px rgba(13,61,129,.025)!important}.conversation-item.pro.unanswered{border-left:3px solid #f2a51f!important;background:#fffcf7!important}.conv-avatar.pro{width:34px!important;height:34px!important;font-size:11px!important}.conv-row b{font-size:10.5px!important;font-weight:850!important;color:#10213a!important}.conv-row time{font-size:8.5px!important}.conv-msg{font-size:10.5px!important;line-height:1.42!important;color:#536985!important}.conv-meta{font-size:8.5px!important;margin-top:5px!important}.conv-name-diag{font-size:8px!important;padding:3px 5px!important}
body.page-live .live-pro-topbar{min-height:48px!important;height:48px!important;padding:7px 10px!important;background:#fff!important;border-bottom:1px solid #e4ebf4!important}.live-pro-topbar>div:first-child b{font-size:12px!important;color:#122b4d!important}.live-top-actions select,.live-top-actions button,.live-top-actions .badge{min-height:32px!important;height:32px!important;border-radius:9px!important;font-family:"Segoe UI Variable","Segoe UI",Inter,sans-serif!important;font-size:9px!important}.live-top-actions{gap:6px!important}
body.page-live .live-stage{background:linear-gradient(180deg,#fbfdff,#f5f9ff)!important}.live-welcome-inner h1{font-family:"Segoe UI Variable","Segoe UI",Inter,sans-serif!important;font-size:26px!important;letter-spacing:-.02em!important}.live-welcome-inner p{font-size:11px!important;line-height:1.6!important}.platform-pill,.live-status-cards span{font-family:"Segoe UI Variable","Segoe UI",Inter,sans-serif!important}
body.page-live .detail-head.pro h2{font-family:"Segoe UI Variable","Segoe UI",Inter,sans-serif!important;font-size:17px!important}.pro-thread .bubble{font-family:"Segoe UI Variable","Segoe UI",Inter,sans-serif!important;font-size:11.5px!important;line-height:1.6!important}
@media(max-width:1050px){.live-r91-head{grid-template-columns:1fr}.live-r91-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}body.page-live .live-pro-shell{grid-template-columns:350px minmax(0,1fr)!important}}
@media(max-width:760px){.live-r91-head{padding:16px}.live-r91-copy h1{font-size:27px}.live-r91-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.live-r91-policy{align-items:flex-start}.live-r91-policy .dot{margin-top:4px}body.page-live .live-pro-shell{height:auto!important;max-height:none!important;min-height:0!important;display:grid!important;grid-template-columns:1fr!important}body.page-live .live-pro-sidebar{min-height:520px!important;border-right:0!important;border-bottom:1px solid #dce6f2!important}body.page-live .live-pro-main{min-height:520px!important}}

/* ===== OCR PREMIUM R6 · COMPACT COMMERCIAL STUDIO ===== */
body.page-image-ocr{font-family:"Segoe UI Variable","Segoe UI",Inter,Roboto,Arial,sans-serif!important}
body.page-image-ocr .wrap{max-width:1360px!important}
.ocr-r6-page{display:grid;gap:14px}
.ocr-r6-header{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(520px,.95fr);gap:18px;align-items:center;padding:20px 22px;border-radius:24px;background:linear-gradient(135deg,#07173f 0%,#13358f 58%,#2c63ff 100%);border:1px solid rgba(255,255,255,.12);box-shadow:0 18px 42px rgba(13,42,98,.15);overflow:hidden;position:relative}
.ocr-r6-header:after{content:"";position:absolute;right:-90px;top:-110px;width:310px;height:310px;border-radius:999px;background:radial-gradient(circle,rgba(131,166,255,.30),rgba(131,166,255,0) 70%);pointer-events:none}
.ocr-r6-title,.ocr-r6-status{position:relative;z-index:1}.ocr-r6-kicker{display:inline-flex;align-items:center;gap:7px;padding:7px 10px;border-radius:999px;background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.12);color:#e5efff;font-size:10px;font-weight:900;letter-spacing:.08em}.ocr-r6-kicker svg{width:14px;height:14px}.ocr-r6-title h1{margin:10px 0 5px;color:#fff;font-size:34px;line-height:1.08;letter-spacing:-.03em}.ocr-r6-title p{margin:0;max-width:720px;color:#dce7ff;font-size:13px;line-height:1.62}.ocr-r6-chips{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}.ocr-r6-chips span{display:inline-flex;align-items:center;gap:6px;padding:7px 9px;border-radius:999px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);color:#fff;font-size:10px;font-weight:800}.ocr-r6-chips svg{width:13px;height:13px}
.ocr-r6-status{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.ocr-r6-status article{display:flex;align-items:center;gap:10px;padding:11px 12px;border-radius:16px;background:rgba(255,255,255,.11);border:1px solid rgba(255,255,255,.13);backdrop-filter:blur(10px);min-width:0}.ocr-r6-status article>i{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:11px;background:rgba(255,255,255,.12);color:#dce8ff;flex:0 0 auto}.ocr-r6-status article>i svg{width:16px;height:16px}.ocr-r6-status article span{display:block;color:#cfe0ff;font-size:8.5px;font-weight:900;letter-spacing:.07em}.ocr-r6-status article b{display:block;margin-top:2px;color:#fff;font-size:18px;line-height:1.05;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ocr-r6-status article small{display:block;margin-top:3px;color:#d7e5ff;font-size:8.8px;line-height:1.35}.ocr-r6-status article.ok>i{background:rgba(56,214,143,.14);color:#8cebbd}.ocr-r6-status article.off>i{background:rgba(255,115,133,.14);color:#ffb3bd}
.ocr-r6-tools{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.ocr-r6-tools article{display:flex;gap:10px;align-items:flex-start;padding:13px 14px;border-radius:16px;background:#fff;border:1px solid #dce6f2;box-shadow:0 7px 18px rgba(13,61,129,.045)}.ocr-r6-tools article>i{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:11px;background:#eef5ff;color:#1768ff;flex:0 0 auto}.ocr-r6-tools article>i svg{width:16px;height:16px}.ocr-r6-tools b{display:block;color:#10213a;font-size:13px}.ocr-r6-tools span{display:block;margin-top:3px;color:#6d809a;font-size:10px;line-height:1.48}
.ocr-r6-alert{display:flex;align-items:flex-start;gap:10px;padding:12px 14px;border-radius:14px;border:1px solid}.ocr-r6-alert>i{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:10px;flex:0 0 auto}.ocr-r6-alert b{display:block;font-size:13px}.ocr-r6-alert span{display:block;margin-top:3px;font-size:10.5px;line-height:1.5}.ocr-r6-alert.warn{background:#fff8e9;border-color:#f0d39b;color:#805700}.ocr-r6-alert.warn>i{background:#fff0c9}.ocr-r6-alert.danger{background:#fff1f3;border-color:#f5c5cd;color:#b42335}.ocr-r6-alert.danger>i{background:#ffe3e8}
.ocr-r6-workspace,.ocr-r6-result,.ocr-r6-history{background:#fff;border:1px solid #dce6f2;border-radius:22px;box-shadow:0 10px 28px rgba(13,61,129,.055)}.ocr-r6-workspace{padding:18px}.ocr-r6-grid{display:grid;grid-template-columns:minmax(0,1.18fr) minmax(330px,.82fr);gap:14px;align-items:stretch}.ocr-r6-upload-panel,.ocr-r6-options{min-width:0}.ocr-r6-panel-head{display:flex;align-items:center;gap:9px;margin-bottom:11px}.ocr-r6-panel-head .step{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:10px;background:#1768ff;color:#fff;font-size:10px;font-weight:900}.ocr-r6-panel-head b{display:block;color:#10213a;font-size:14px}.ocr-r6-panel-head small{display:block;color:#74859b;font-size:9px;margin-top:2px}
.ocr-r6-drop{min-height:250px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:18px;border-radius:18px;border:1.5px dashed #bdd2ee;background:linear-gradient(180deg,#fbfdff,#f5f9ff);cursor:pointer;transition:.18s ease}.ocr-r6-drop:hover,.ocr-r6-drop.drag{border-color:#4d8dff;background:#eef6ff;box-shadow:0 0 0 4px rgba(23,104,255,.065)}.ocr-r6-drop-icon{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:15px;background:#eaf3ff;color:#1768ff;margin-bottom:10px}.ocr-r6-drop-icon svg{width:22px;height:22px}.ocr-r6-drop>b{font-size:15px;color:#142d4d}.ocr-r6-drop>span:not(.ocr-r6-drop-icon){margin-top:3px;color:#6f8199;font-size:10.5px}.ocr-r6-drop>small{margin-top:6px;color:#8a99ad;font-size:9.5px}
.ocr-r6-options{display:flex;flex-direction:column;padding:15px;border-radius:18px;background:#f8fbff;border:1px solid #dce7f4}.ocr-r6-field{display:grid;gap:6px;margin-top:8px}.ocr-r6-field label{display:flex!important;align-items:center;gap:6px;margin:0!important;color:#3e5572!important;font-size:10.5px!important;font-weight:850!important}.ocr-r6-field label svg{width:14px;height:14px;color:#1768ff}.ocr-r6-field select{min-height:42px!important;border-radius:11px!important;background:#fff!important;font-family:"Segoe UI Variable","Segoe UI",Inter,sans-serif!important;font-size:11px!important}.ocr-r6-provider{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0}.ocr-r6-provider>div{display:flex;align-items:center;gap:8px;padding:9px;border-radius:12px;background:#fff;border:1px solid #e0e8f2}.ocr-r6-provider i{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:9px;background:#eef5ff;color:#1768ff;flex:0 0 auto}.ocr-r6-provider svg{width:14px;height:14px}.ocr-r6-provider b{display:block;color:#1a3557;font-size:10px}.ocr-r6-provider small{display:block;margin-top:2px;color:#7c8ca1;font-size:8.5px;line-height:1.35}.ocr-r6-submit{width:100%!important;min-height:44px!important;margin-top:auto!important;border-radius:12px!important;font-size:12px!important;font-weight:900!important}.ocr-r6-submit svg{width:16px;height:16px}
.ocr-r6-result{padding:18px}.ocr-r6-result-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.ocr-r6-result-head h2{margin:3px 0 0;font-size:20px;color:#10213a}.ocr-r6-result-actions{display:flex;flex-wrap:wrap;gap:6px}.ocr-r6-result-actions button{display:inline-flex;align-items:center;gap:5px;min-height:34px!important;padding:6px 10px!important;border-radius:9px!important;font-size:9.5px!important}.ocr-r6-result-actions svg{width:13px;height:13px}.ocr-r6-result textarea{margin-top:13px;min-height:280px!important;border-radius:13px!important;background:#fbfdff!important;font-family:"Segoe UI Variable","Segoe UI",Inter,Arial,sans-serif!important;font-size:12.5px!important;line-height:1.65!important}
.ocr-r6-history{padding:17px 18px}.ocr-r6-history-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.ocr-r6-history-head h2{margin:3px 0 3px;font-size:18px;color:#10213a}.ocr-r6-history-head p{margin:0;color:#75869d;font-size:9.5px}.ocr-r6-history-head button{display:inline-flex;align-items:center;gap:5px;font-size:9.5px!important}.ocr-r6-history-head svg{width:13px;height:13px}
.ocr-r6-page .ocr-preview{width:100%;margin-top:12px!important}.ocr-r6-page .ocr-preview:empty{display:none}.ocr-r6-page .ocr-preview{display:flex;align-items:center;justify-content:center;gap:10px}.ocr-r6-page .ocr-preview-thumb{width:84px;height:66px;border-radius:11px;overflow:hidden;border:1px solid #dbe5f2;background:#fff;flex:0 0 auto}.ocr-r6-page .ocr-preview-thumb img{width:100%;height:100%;object-fit:cover}.ocr-r6-page .ocr-preview-info{text-align:left;min-width:0;max-width:290px}.ocr-r6-page .ocr-preview-info b{display:block;color:#17304f;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ocr-r6-page .ocr-preview-info span,.ocr-r6-page .ocr-preview-info small{display:block;color:#71849e;font-size:9px;margin-top:2px}.ocr-r6-page .ocr-preview-info small{color:#0d965d;font-weight:800}.ocr-r6-page .ocr-file-error{padding:9px 10px;border-radius:10px;background:#fff0f2;color:#b42335;font-size:10px;font-weight:700}.ocr-r6-page .ocr-inline-status{margin-top:10px;padding:10px 11px;border-radius:11px;font-size:10px;font-weight:700;line-height:1.45}.ocr-r6-page .ocr-inline-status.error{background:#fff1f2;border:1px solid #f5c6cc;color:#b42335}.ocr-r6-page .ocr-inline-status.ok{background:#ecfbf4;border:1px solid #c2ead6;color:#0b8050}.ocr-r6-page .ocr-progress{display:flex;align-items:center;justify-content:center;gap:7px;margin-top:8px;padding:8px 9px;border-radius:10px;background:#eef5ff;color:#2557bd;font-size:9.5px}.ocr-r6-page .ocr-meta{display:flex;flex-wrap:wrap;gap:6px;margin-top:7px}.ocr-r6-page .ocr-meta span{padding:5px 7px;border-radius:999px;background:#f3f7fd;border:1px solid #e0e8f3;color:#657992;font-size:8.5px}.ocr-r6-page .ocr-note{margin-top:9px;padding:9px 10px;border-radius:10px;background:#f7faff;color:#677b95;font-size:9.5px;line-height:1.55}.ocr-r6-page .ocr-history-item{padding:11px 12px;border:1px solid #e0e8f3;border-radius:12px;background:#fbfdff;margin-top:8px}.ocr-r6-page .ocr-history-top{display:flex;justify-content:space-between;gap:10px}.ocr-r6-page .ocr-history-top b{display:block;color:#17304f;font-size:10.5px}.ocr-r6-page .ocr-history-top span{display:block;color:#7b8ca2;font-size:8.5px;margin-top:2px}.ocr-r6-page .ocr-history-top em{font-style:normal;padding:4px 7px;border-radius:999px;background:#edf4ff;color:#2360cb;font-size:8px;font-weight:900;height:max-content}.ocr-r6-page .ocr-history-item p{margin:7px 0 0;color:#586d88;font-size:9.5px;line-height:1.55}
@media(max-width:1080px){.ocr-r6-header{grid-template-columns:1fr}.ocr-r6-status{grid-template-columns:repeat(4,minmax(0,1fr))}.ocr-r6-grid{grid-template-columns:1fr}.ocr-r6-drop{min-height:210px}.ocr-r6-provider{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.ocr-r6-header{padding:16px}.ocr-r6-title h1{font-size:28px}.ocr-r6-status{grid-template-columns:repeat(2,minmax(0,1fr))}.ocr-r6-tools{grid-template-columns:1fr}.ocr-r6-workspace,.ocr-r6-result,.ocr-r6-history{padding:14px}.ocr-r6-provider{grid-template-columns:1fr}.ocr-r6-result-head,.ocr-r6-history-head{display:grid}.ocr-r6-result-actions{width:100%}.ocr-r6-result-actions button{flex:1;justify-content:center}.ocr-r6-drop{min-height:180px}.ocr-r6-page .ocr-preview{flex-direction:column}.ocr-r6-page .ocr-preview-info{text-align:center}}
