@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&display=swap');
/* ORO Laboratory - isolated dashboard UI. Designed not to inherit WordPress theme controls. */
.oro-lab,.oro-auth{--oro-ink:#21180e;--oro-muted:#75695f;--oro-line:#e9dfd2;--oro-bg:#f9f6f1;--oro-white:#fff;--oro-dark:#603813;--oro-accent:#a36b24;--oro-good:#e5f7ec;--oro-bad:#fff1ee;font:14px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:var(--oro-ink);box-sizing:border-box;}
.oro-lab *,.oro-auth *{box-sizing:border-box}.oro-lab button,.oro-lab input,.oro-lab textarea,.oro-lab select{font:inherit;line-height:1.4}.oro-lab button{cursor:pointer}.oro-lab h1,.oro-lab h2,.oro-lab h3,.oro-lab p{margin-top:0}.oro-lab h1{font-size:26px;line-height:1.2;margin:2px 0 0}.oro-lab h2{font-size:21px;line-height:1.3}.oro-lab h3{font-size:16px;line-height:1.3;margin:0 0 12px}.oro-lab a{color:inherit;text-decoration:none}.oro-lab p{color:var(--oro-muted)}.oro-shell{display:flex;background:var(--oro-bg);min-height:780px;min-height:100vh;max-width:100%;border:1px solid var(--oro-line);border-radius:14px;overflow:hidden}.oro-sidebar{background:#142c29;color:#eaf0ed;width:235px;flex:0 0 235px;padding:27px 16px;display:flex;flex-direction:column;gap:28px}.oro-brand{display:flex;align-items:center;gap:12px;padding:0 12px}.oro-mark{display:grid;place-items:center;width:49px;height:49px;border:1px solid #c4a766;border-radius:12px;font-weight:850;font-size:17px;letter-spacing:-2px;color:#f4d88c}.oro-brand strong{font-size:12px;letter-spacing:.11em;display:block}.oro-brand small{color:#9eb0aa;font-size:11px}.oro-nav{display:flex;flex-direction:column;gap:5px}.oro-nav a{display:flex;align-items:center;gap:11px;padding:12px 13px;font-weight:600;font-size:13px;border-radius:9px;color:#b9c9c2;transition:background .15s}.oro-nav a:hover,.oro-nav a.selected{background:#2b4941;color:white}.oro-navdot{width:8px;height:8px;border:1.5px solid #93aaa0;border-radius:3px}.oro-nav a.selected .oro-navdot{background:var(--oro-accent);border-color:var(--oro-accent)}.oro-user{margin-top:auto;padding:16px 11px;border-top:1px solid #47625a}.oro-user small,.oro-user strong,.oro-user a{display:block}.oro-user small{color:#9eb0aa}.oro-user a{color:#d2b575;font-size:12px;margin-top:8px}.oro-main{min-width:0;flex:1}.oro-top{background:white;display:flex;justify-content:space-between;align-items:center;gap:14px;padding:25px 32px;border-bottom:1px solid var(--oro-line)}.oro-overline{color:#8e9791!important;font-size:10px;letter-spacing:.15em;text-transform:uppercase;font-weight:700;margin:0!important}.oro-top-actions{display:flex;align-items:center;gap:16px}.oro-live{font-size:11px;color:#39765d;white-space:nowrap}.oro-live:before{content:'●';margin-right:6px}.oro-content{padding:28px 32px;max-width:1350px;margin:0 auto}.oro-section-head{display:flex;justify-content:space-between;align-items:start;margin:0 0 18px}.oro-section-head h2{margin-bottom:3px}.oro-section-head p{margin:0;font-size:13px}.oro-card,.oro-stat{background:white;border:1px solid var(--oro-line);border-radius:12px;padding:21px;margin-bottom:19px;box-shadow:0 4px 14px rgba(15,40,30,.025)}.oro-card-head{margin-bottom:15px}.oro-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:18px}.oro-stat{padding:18px}.oro-stat small,.oro-stat strong,.oro-stat span{display:block}.oro-stat small{font-size:11px;color:var(--oro-muted);font-weight:650}.oro-stat strong{font-size:22px;margin:12px 0 5px;white-space:normal;overflow-wrap:anywhere}.oro-stat span{font-size:11px;color:#88928e}.oro-two{display:grid;grid-template-columns:1fr 1.25fr;gap:17px}.oro-workflow-card{border:1px solid var(--oro-line);border-radius:10px;padding:14px;margin:10px 0;display:grid;gap:5px;grid-template-columns:1fr auto}.oro-workflow-card b{font-size:13px}.oro-workflow-card span{grid-column:1;color:var(--oro-muted);font-size:11px}.oro-workflow-card button{grid-column:2;grid-row:1/span 2}.oro-btn{border:1px solid #cdd6d1!important;border-radius:8px!important;background:#fff!important;color:var(--oro-ink)!important;min-height:35px;padding:8px 12px!important;line-height:1.2!important;font-weight:700!important;font-size:12px!important;white-space:normal!important;box-shadow:none!important;text-decoration:none!important}.oro-btn:hover{border-color:#667f70!important;background:#f6f8f7!important}.oro-btn.primary{background:var(--oro-dark)!important;border-color:var(--oro-dark)!important;color:#fff!important}.oro-btn.primary:hover{background:#2d574b!important}.oro-btn:disabled{opacity:.6;cursor:not-allowed}.oro-actions{display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin-top:19px}.oro-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.oro-field{min-width:0;display:flex;flex-direction:column;gap:6px;font-size:12px;font-weight:650}.oro-field span{color:#344841}.oro-field.span2,.oro-fields .span2{grid-column:1/-1}.oro-lab input:not([type=checkbox]):not([type=radio]),.oro-lab textarea,.oro-lab select{width:100%;min-width:0;background:#fff;color:#24342e;border:1px solid #cfd9d2;border-radius:7px;padding:10px 12px;font-size:13px;min-height:40px;box-shadow:none}.oro-lab textarea{resize:vertical}.oro-lab input:focus,.oro-lab select:focus,.oro-lab textarea:focus{outline:2px solid #a0baae;outline-offset:1px}.oro-lab input[type=file]{border-style:dashed!important}.oro-lab input[type=checkbox]{accent-color:#1f503f}.oro-lab hr{border:0;border-top:1px solid var(--oro-line);margin:23px 0}.oro-check{display:flex;align-items:center;gap:8px;font-weight:500;padding-top:12px}.oro-subpanel{margin:20px 0 0;padding:17px;border:1px solid #e6eae7;background:#f8faf8;border-radius:9px}.oro-subpanel p{font-size:12px;margin:0 0 10px}.oro-elements{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.oro-elements label{display:flex;align-items:center;gap:5px;min-width:0;background:white;border:1px solid #dee5df;border-radius:6px;padding:4px 6px}.oro-elements span{width:22px;font-size:11px;font-weight:800}.oro-elements input{width:100%;padding:6px!important;border:0!important;min-height:26px!important}.oro-calc-preview{margin-top:17px;padding:15px;border:1px dashed #b7c6ba;border-radius:8px}.oro-mini-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:11px}.oro-mini-stats span{display:flex;flex-direction:column;gap:4px}.oro-mini-stats small{font-size:10px;color:var(--oro-muted)}.oro-mini-stats b{font-size:15px}.oro-calc-preview p{margin:12px 0 0}.oro-success{border:1px solid #b3dac1;background:#f0faf3;border-radius:11px;padding:18px;margin-bottom:18px}.oro-success b{font-size:15px}.oro-error{padding:18px;border:1px solid #f0b3aa;background:var(--oro-bad);color:#8d342c;border-radius:8px}.oro-toast{position:fixed;bottom:20px;right:20px;z-index:100000;border-radius:9px;padding:14px 18px;background:#17372c;color:white;box-shadow:0 10px 25px #0002;max-width:min(450px,90vw)}.oro-toast.error{background:#95372b}.oro-toast[hidden]{display:none}.oro-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-bottom:17px}.oro-toolbar>input{max-width:350px}.oro-toolbar>span{font-size:11px;color:var(--oro-muted)}.oro-toolbar label{font-size:12px;font-weight:600;display:flex;gap:8px;align-items:center}.oro-table-wrap{width:100%;overflow-x:auto;max-width:100%}.oro-lab table{width:100%;border-collapse:collapse;font-size:12px;text-align:left;min-width:560px}.oro-lab table th{background:#f7f9f8;text-transform:uppercase;color:#6d7873;font-size:10px;letter-spacing:.04em;padding:11px 12px;border-bottom:1px solid var(--oro-line);font-weight:750}.oro-lab table td{padding:12px;border-bottom:1px solid #e9eeea;vertical-align:middle}.oro-lab table tr:last-child td{border-bottom:0}.oro-table-actions{min-width:190px;white-space:nowrap}.oro-table-actions button{margin:2px}.oro-status{border-radius:30px;display:inline-block;padding:3px 8px;font-size:10px;font-weight:750;background:#eff2f0;color:#53675b}.oro-status.good{background:#e7f6ec;color:#256b43}.oro-status.warn{background:#fff5df;color:#946012}.oro-readonly{background:#f7f9f7;border:1px solid var(--oro-line);border-radius:7px;min-height:41px;padding:10px 12px}.oro-image-preview{display:flex;gap:10px;flex-wrap:wrap;margin-top:10px}.oro-image-preview img{height:100px;width:140px;object-fit:cover;border-radius:5px;border:1px solid #ddd}.oro-detail{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin:0}.oro-detail>div{padding:10px;background:#f8faf9;border-radius:6px}.oro-detail dt{text-transform:capitalize;color:#677a71;font-size:11px}.oro-detail dd{margin:2px 0;font-weight:650;overflow-wrap:anywhere}.oro-portal{border:1px solid var(--oro-line);border-radius:14px;background:var(--oro-bg);min-height:500px;max-width:1100px;margin:15px auto}.oro-portal>.oro-content{padding:30px}.oro-portal .oro-top{border-radius:14px 14px 0 0}.oro-auth{max-width:550px;margin:35px auto;background:#f9fbfa;border:1px solid #dce7e1;border-radius:14px;padding:25px}.oro-auth input{width:100%;padding:9px;border-radius:5px;border:1px solid #ddd}.oro-auth label{display:block;margin:10px 0}.oro-auth .button{background:#153b2e;color:#fff;border:0;border-radius:6px;padding:10px 20px}.oro-small{font-size:11px;color:#84918c;margin-top:16px}.oro-preview-toolbar{display:flex;gap:10px;justify-content:center;margin:0 0 20px;flex-wrap:wrap}.oro-a5-on-screen{width:148mm;height:210mm;box-shadow:0 5px 25px #0002;margin:0 auto;background:#fff;overflow:hidden}.oro-cert{box-sizing:border-box;width:148mm;height:210mm;background:#fff;color:#191c1a;padding:9mm 10mm;display:flex;flex-direction:column;font:11px/1.25 Arial,sans-serif;overflow:hidden}.oro-cert *{box-sizing:border-box}.oro-cert h2{font-size:17px!important;color:#1d231f;text-align:left;line-height:1.1!important;margin:6px 0!important}.oro-cert h3{font-size:11px!important;font-weight:800;margin:0 0 7px!important;text-transform:uppercase;color:#3e5546}.oro-cert p{color:#202020!important;margin:0 0 6px!important;font-size:10px!important;line-height:1.25!important}.oro-cert small{font-size:9px!important;color:#66736b!important}.oro-cert-header{display:flex;justify-content:space-between;align-items:center;border-top:3px solid #c1a45f;border-bottom:2px solid #c1a45f;padding:9px 0;margin-bottom:13px;gap:8px}.oro-cert-brand{max-width:55%}.oro-cert-brand>small{letter-spacing:.12em;font-weight:800}.oro-cert-meta{font-size:9px;display:flex;align-items:end;flex-direction:column;gap:5px;overflow-wrap:anywhere;max-width:47%}.oro-cert-meta b{font-size:11px}.oro-cert-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;min-height:74px}.oro-cert-grid section{border:1px solid #b7b7b7;padding:9px;min-width:0}.oro-cert-grid p{display:flex;justify-content:space-between;gap:6px;overflow-wrap:anywhere}.oro-cert-grid p b{font-size:9px;min-width:57px}.oro-cert-result{border:1px solid #c5c5c5;margin-top:9px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));min-height:50px}.oro-cert-result>div{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;border-right:1px solid #ccc;text-align:center;padding:7px}.oro-cert-result>div:last-child{border:0}.oro-cert-result b{font-size:9px}.oro-cert-result strong{font-size:14px;font-weight:800}.oro-cert-section{border:1px solid #c6c6c6;margin-top:9px;padding:9px}.oro-cert-elements{display:grid;grid-template-columns:repeat(5,1fr);gap:6px}.oro-cert-elements span{font-size:10px;border:1px solid #ddd;text-align:center;padding:6px 2px}.oro-cert-elements b{font-weight:900}.oro-cert-section>small{display:block;margin-top:9px}.oro-stones{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.oro-stones>div{display:flex;flex-direction:column;gap:3px;padding:7px;border:1px solid #ddd;min-width:0}.oro-stones small{text-transform:capitalize}.oro-stones b{font-size:11px;overflow-wrap:anywhere}.oro-cert-images{display:flex;justify-content:center;gap:6px;margin-top:11px;min-height:0}.oro-cert-images img{height:28mm;flex:1;max-width:44mm;min-width:0;object-fit:cover;border:1px solid #d7d7d7}.oro-cert-images img:only-child{height:39mm;max-width:100%;width:100%}.oro-cert-footer{margin-top:auto;border-top:2px solid #c1a45f;padding-top:7px;display:flex;gap:8px;justify-content:space-between;font-size:8px}.oro-print{display:none}.oro-rate{max-width:160px}.oro-portal .oro-a5-on-screen{transform-origin:top center}
@media(max-width:1100px){.oro-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.oro-two{grid-template-columns:1fr}.oro-elements{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:800px){.oro-shell{display:block;min-height:0}.oro-sidebar{width:100%;padding:10px 12px;display:block}.oro-brand{margin:6px 0 12px}.oro-nav{display:flex;flex-direction:row;overflow-x:auto;gap:5px;scrollbar-width:thin}.oro-nav a{flex:0 0 auto;font-size:11px;padding:9px}.oro-user{display:none}.oro-top{padding:16px;align-items:start}.oro-content{padding:15px}.oro-top-actions{flex-direction:column;align-items:end;gap:4px}.oro-live{display:none}.oro-card{padding:15px}.oro-fields{grid-template-columns:1fr}.oro-field.span2,.oro-fields .span2{grid-column:auto}.oro-mini-stats{grid-template-columns:repeat(2,1fr)}.oro-elements{grid-template-columns:repeat(3,minmax(0,1fr))}.oro-a5-on-screen{max-width:100%;width:148mm;overflow:auto}.oro-detail{grid-template-columns:1fr}}
@media(max-width:620px){.oro-stat{padding:13px}.oro-stat strong{font-size:17px}.oro-top h1{font-size:19px}.oro-card table{font-size:11px}.oro-a5-on-screen{zoom:.8}.oro-elements{grid-template-columns:repeat(2,minmax(0,1fr))}.oro-portal>.oro-content{padding:12px}.oro-top-actions .oro-btn{padding:6px!important}}
@media print{
 body>*:not(#oro-print-layer){display:none!important}
 html,body{padding:0!important;margin:0!important;background:white!important;width:auto!important}
 #oro-print-layer.oro-print{display:block!important;background:white!important;color:black!important;box-shadow:none!important;margin:0!important}
 #oro-print-layer.oro-print.a5{height:210mm;width:148mm;overflow:hidden!important}
 #oro-print-layer.oro-print.a5 .oro-cert{box-sizing:border-box;width:148mm;height:210mm;box-shadow:none}
 #oro-print-layer.oro-print.thermal{width:80mm;min-height:60mm;box-sizing:border-box;padding:2mm 3mm}
 #oro-print-layer.oro-print.thermal .oro-receipt{font:12px/1.15 Arial,sans-serif;color:#000;width:74mm;max-width:74mm}
 #oro-print-layer.oro-print.thermal .oro-receipt h2{text-align:center;font-size:18px!important;font-weight:900;margin:2mm 0 1mm}
 #oro-print-layer.oro-print.thermal .oro-receipt h3{text-align:center;font-size:15px!important;margin:2mm 0}
 #oro-print-layer.oro-print.thermal .oro-receipt p{text-align:center;font-size:11px!important;margin:0 0 2mm}
 #oro-print-layer.oro-print.thermal .oro-receipt hr{border:0;border-top:1px dashed black;margin:3mm 0}
 #oro-print-layer.oro-print.thermal .oro-slip-row{display:flex;justify-content:space-between;gap:4mm;margin:2mm 0;font-size:12px;overflow-wrap:anywhere}
 #oro-print-layer.oro-print.thermal .oro-slip-row>b{flex:0 0 42%;font-weight:800}
 #oro-print-layer.oro-print.thermal .oro-slip-row>span,#oro-print-layer.oro-print.thermal .oro-slip-row>strong{flex:1;text-align:right;font-weight:750}
 #oro-print-layer.oro-print.thermal .oro-print-foot{margin-top:8mm!important}
}
@media(max-width:620px){.oro-workflow-card{grid-template-columns:minmax(0,1fr)}.oro-workflow-card button{grid-column:1;grid-row:auto;justify-self:start;margin-top:7px}.oro-a5-on-screen{zoom:.62}}

/* ORO v0.2 — reference palette from supplied certificate */
.oro-lab,.oro-auth{--oro-ink:#24180d;--oro-muted:#73665b;--oro-line:#e8ded2;--oro-bg:#faf8f5;--oro-dark:#593416;--oro-accent:#946223}
.oro-sidebar{background:#37210f;color:#fff6e8}
.oro-brand{padding:6px 4px;gap:9px;align-items:center}
.oro-brand-image{width:150px;height:56px;max-width:100%;object-fit:contain;background:#fff;border-radius:5px;padding:4px}
.oro-brand-label{display:none}
.oro-nav a{color:#ecdfce}
.oro-nav a:hover,.oro-nav a.selected{background:#68421d;color:#fff}
.oro-navdot{border-color:#b9925e}
.oro-nav a.selected .oro-navdot{background:#e1bd7b;border-color:#e1bd7b}
.oro-user{border-color:#765236}
.oro-user small{color:#d5bfa0}.oro-user a{color:#e5c491}
.oro-btn:hover{background:#faf4e9!important;border-color:#a87f48!important}
.oro-btn.primary:hover{background:#805122!important}
.oro-top{background:#fffefa}
.oro-live{color:#83541e}
.oro-lab input,.oro-lab select,.oro-lab textarea{accent-color:#8b5c27}
.oro-subpanel{background:#fcf9f4;border-color:#e7dac7}
.oro-status.good{background:#f3f0e6;color:#6d4a25}
.oro-record-folders{display:grid;grid-template-columns:repeat(auto-fit,minmax(144px,1fr));gap:10px;margin-bottom:18px}
.oro-folder{display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start;gap:7px;text-align:left;border:1px solid #ddcfbc;background:white;border-radius:11px;padding:14px;min-height:106px;color:#3b2b1d;cursor:pointer}
.oro-folder.selected{background:#5c3716;color:white;border-color:#5c3716}
.oro-folder-icon{font-size:20px;color:#aa7934;line-height:1}.oro-folder.selected .oro-folder-icon{color:#f8dcab}
.oro-folder strong{font-size:12px}.oro-folder small{font-size:10px;opacity:.7}
.oro-details-cell{min-width:185px;max-width:320px;white-space:normal;overflow-wrap:anywhere}
.oro-other-services{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-bottom:18px}
.oro-other-service{background:#fff;border:1px solid #dfcebb;border-radius:9px;min-height:70px;padding:12px;color:#493019;font-weight:700;cursor:pointer}
.oro-other-service.selected{background:#5c3716;color:#fff;border-color:#5c3716}
.oro-stage{scroll-margin-top:16px;margin-top:12px;border:1px solid #e5d6c3;border-radius:12px;padding:15px;background:#fffaf2}
.oro-stage-head{margin-bottom:12px;color:#87591d;text-transform:uppercase;letter-spacing:.07em;font-weight:800;font-size:11px}
.oro-stage .oro-card{background:#fff;margin-bottom:0}
.oro-stage .oro-section-head{padding:0 4px}
.oro-stage-rail{display:flex;align-items:center;gap:8px;margin-bottom:15px;flex-wrap:wrap}
.oro-stage-rail span{padding:8px 12px;border-radius:99px;background:#f0e6d9;color:#754a18;font-weight:750;font-size:11px}
.oro-stage-rail i{width:20px;border-top:1px solid #b79c75}
/* Branded A5 certificate: original source screenshot used as visual reference. */
.oro-cert{background:white;color:#24180e;padding:6.5mm 6.5mm 4mm;font-family:Georgia,'Times New Roman',serif;font-size:9px;line-height:1.15;display:flex;flex-direction:column;gap:0}
.oro-cert p{font-family:Arial,Helvetica,sans-serif}
.oro-cert-header{display:flex;align-items:center;justify-content:space-between;border:0;padding:0 0 3mm;margin:0;gap:4mm;min-height:30mm}
.oro-cert-brand{max-width:70%;flex:1}
.oro-report-logo{display:block;width:100%;height:30mm;object-fit:contain;object-position:left center}
.oro-report-wordmark{font-size:28px;color:#916020}.oro-report-wordmark small{display:block;font-size:7px}
.oro-cert-meta{display:flex;flex-direction:column;gap:0;align-items:stretch;max-width:none;width:37mm;min-width:37mm;background:#f5efe7;border-radius:3mm;padding:1.5mm 3mm;font-size:7.2px}
.oro-cert-meta p{display:flex;flex-direction:column;gap:1mm;padding:1mm 0;margin:0!important;font-size:7.8px!important;border-bottom:1px solid #ddd2c6;color:#22160c!important}
.oro-cert-meta p:last-child{border:0}.oro-cert-meta p b{font-family:Georgia,'Times New Roman',serif;font-size:7.4px}.oro-cert-meta p span{font-size:8px;font-weight:800}
.oro-cert-rule{border-top:1.25px solid #966a2b;margin:2.5mm 0}
.oro-cert-hero{display:grid;grid-template-columns:1.8fr 1fr;align-items:center;gap:4mm;min-height:31mm}
.oro-cert-hero h2{text-align:center!important;color:#a06e2a!important;text-transform:uppercase!important;font-size:12px!important;line-height:1.14!important;font-weight:850!important;margin:0!important}
.oro-cert-hero h2 strong{display:block;color:#17110c;font-size:14px;margin-top:1mm}
.oro-cert-feature-images{height:30mm;width:100%;border:1.3px solid #a57638;border-radius:3mm;overflow:hidden;display:flex;align-items:stretch;justify-content:center;gap:1mm;background:#fff}
.oro-cert-feature-images img{width:100%;min-width:0;flex:1;object-fit:contain;background:#fff;padding:1mm}
.oro-cert-feature-images.triple img{width:calc(33% - 1mm)}
.oro-no-photo{display:grid;place-items:center;color:#a89174;font-size:7px}
.oro-cert-grid{grid-template-columns:1fr 1fr;gap:2mm;min-height:36mm;margin-top:2mm}
.oro-cert-grid .oro-cert-box{border:1px solid #eadfd1;min-width:0;padding:0 1.5mm 1.5mm;min-height:36mm}
.oro-cert-box h3,.oro-cert-remarks h3{margin:0 -1.5mm 2mm!important;background:#f4ede4;padding:1.5mm!important;font:bold 9.5px Georgia,'Times New Roman',serif!important;color:#382511!important}
.oro-cert-box p{display:flex;gap:2mm;justify-content:space-between;align-items:baseline;font-size:7.9px!important;margin:0 0 1.2mm!important;line-height:1.15!important}
.oro-cert-box p b{font-size:7.6px!important;font-weight:750;min-width:32%;max-width:45%}.oro-cert-box p span{width:60%;font-weight:700;overflow-wrap:anywhere}
.oro-cert .oro-result-table{margin-top:2.5mm;border:1px solid #d7c9b8;padding:0}
.oro-elements-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;gap:0}
.oro-elements-grid table{margin:0;min-width:0!important;width:100%;border-collapse:collapse;table-layout:fixed;font-family:Georgia,'Times New Roman',serif}
.oro-elements-grid th,.oro-elements-grid td{text-align:center;font-size:8px!important;padding:1.4mm .5mm;border-right:1px solid #a99e90;border-bottom:1px solid #a99e90;overflow-wrap:anywhere}
.oro-elements-grid th{background:#fff;text-transform:uppercase}.oro-elements-grid td{font-weight:750}.oro-elements-grid td:first-child{font-weight:900}
.oro-cert-remarks{border:1px solid #e5dacd;margin-top:2.5mm;padding:0 1.5mm 1.5mm}
.oro-cert-remarks p{font:7.5px/1.24 Georgia,'Times New Roman',serif!important;margin:0!important;color:#24201b!important;font-weight:600}
.oro-diamond-grading{margin-top:2mm;padding:1.5mm;min-height:0}
.oro-diamond-grading h3{font-size:8.5px!important;color:#7e5324}
.oro-diamond-grades{display:grid;grid-template-columns:repeat(2,1fr);gap:1mm 3mm}
.oro-diamond-grades p{margin:0!important;display:flex;gap:2mm;justify-content:space-between;line-height:1.15!important}
.oro-diamond-grades p b,.oro-diamond-grades p span{font-size:7.7px;font-weight:700}
.oro-cert-signature{margin-top:auto;display:flex;align-items:end;justify-content:space-between;gap:6mm;min-height:18mm;padding-bottom:3mm}
.oro-cert-verification{text-align:center;max-width:52%;overflow-wrap:anywhere}
.oro-cert-verification b{font-size:9px;display:block}.oro-cert-verification small{font:7.2px Arial,sans-serif;color:#554c44!important}
.oro-cert-signline{width:49%;border-top:1px solid #30251c;text-align:center;padding:2mm 0 0;font-size:10px;font-weight:800}
.oro-cert-signline img.oro-cert-signature-image{display:block;height:12mm;width:auto;max-width:34mm;object-fit:contain;margin:0 auto 1.1mm}
.oro-cert-verification-qr{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:.4mm;text-align:center}
.oro-cert-qr-block{display:flex;flex-direction:column;align-items:center;gap:.25mm;width:100%}
.oro-cert-qr{width:15mm;height:15mm;object-fit:contain;display:block;border:1px solid #d8c5b3;padding:.3mm;background:#fff}
.oro-cert-qr-caption{display:block;font:6.5px/1.08 Arial,sans-serif;color:#554c44!important;max-width:100%;white-space:nowrap}
.oro-portal-report-focus{background:#f9f3e7}
.oro-cert-footer{border:0;background:linear-gradient(90deg,#48280c,#72451b 40%,#48280c);color:#f6e3c2;display:flex;gap:3mm;align-items:center;justify-content:space-between;padding:3.2mm 4mm;min-height:14mm;font:7px/1.15 Arial,sans-serif;margin:0 -1mm}
.oro-cert-footer b{font-size:7px;letter-spacing:.11em}.oro-cert-footer small{display:block;color:#e9d1b0!important;font-size:6.5px!important}
.oro-cert-bottom{text-align:center;font:bold 6.6px/1.3 Georgia,serif;letter-spacing:.15em;color:#6b5141;padding-top:2mm}
@media(max-width:1100px){.oro-other-services{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.oro-other-services{grid-template-columns:1fr}.oro-stage{padding:8px}.oro-stage-rail{gap:4px}.oro-stage-rail span{font-size:9px;padding:6px}.oro-stage-rail i{width:8px}.oro-brand-image{width:124px;height:49px}}

/* Certificate refinement: strong readable typography, reference margins and proportions */
.oro-cert-hero h2{font-size:17px!important;line-height:1.12!important;font-weight:900!important}
.oro-cert-hero h2 strong{font-size:21px;font-weight:900;margin-top:1.5mm}
.oro-cert-grid .oro-cert-box{min-height:37mm}
.oro-cert-box p{font-size:8.8px!important;margin-bottom:1.25mm!important}
.oro-cert-box p b{font-size:8px!important}
.oro-cert-box p span{font-size:8.5px;font-weight:750}
.oro-elements-grid th,.oro-elements-grid td{font-size:8.8px!important}
.oro-cert-remarks p{font-size:8.1px!important;line-height:1.3!important}
.oro-folder:hover,.oro-other-service:hover{border-color:#98692f}

/* Diamond: equal-height, three-column customer/stone/grading details */
.oro-cert-grid.oro-diamond-grid{grid-template-columns:repeat(3,minmax(0,1fr));min-height:43mm;gap:2mm}
.oro-diamond-grid .oro-cert-box{min-height:43mm;max-height:43mm;overflow:hidden}
.oro-diamond-grid .oro-cert-box p{font-size:7px!important;gap:.7mm!important;align-items:flex-start;margin:0 0 1.6mm!important}
.oro-diamond-grid .oro-cert-box p b{font-size:6.9px!important;min-width:44%;max-width:48%}
.oro-diamond-grid .oro-cert-box p span{font-size:7px!important;width:52%;word-break:break-word}

/* v0.3: Montserrat typography and focused audit */
.oro-lab,.oro-portal,.oro-auth,.oro-cert{font-family:'Montserrat',Arial,sans-serif!important}
.oro-lab button,.oro-lab input,.oro-lab select,.oro-lab textarea,.oro-lab table,.oro-cert p,.oro-cert b,.oro-cert strong,.oro-cert h2,.oro-cert h3,.oro-cert small,.oro-cert table,.oro-cert-meta p b,.oro-cert-box h3,.oro-cert-remarks h3,.oro-cert-footer,.oro-cert-bottom,.oro-cert-remarks p{font-family:'Montserrat',Arial,sans-serif!important}
.oro-report-highlight span,.oro-cert .oro-report-highlight span{color:#bc1830!important;font-weight:900!important;font-size:10.3px!important}
.oro-report-highlight b{font-weight:900!important}
.oro-cert-contact{display:flex;flex-direction:column;gap:2px;min-width:0;max-width:52%;overflow-wrap:anywhere}
.oro-cert-contact small{color:#fbe8cb!important;font-size:6.8px!important;line-height:1.4!important}
.oro-cert-footer{min-height:17mm;padding:2.5mm 3mm;gap:2mm}
.oro-cert-footer>div:first-child{max-width:43%}
.oro-audit-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:20px 0 10px;border-bottom:2px solid #9c713a;padding-bottom:9px}
.oro-audit-head h3{margin:0;color:#603813;font-size:18px}
.oro-audit-head small{color:#8b765e;font-size:11px}
.oro-audit-income{border-left:4px solid #a57532;padding-left:15px;margin-bottom:26px}
.oro-audit-expense{border-left:4px solid #7c4d32;padding-left:15px}
.oro-audit-stats{grid-template-columns:repeat(4,minmax(0,1fr))}
.oro-composition-editor{width:100%}
.oro-composition-editor>p{font-size:12px}
.oro-stage[hidden],#reportCalcWrap[hidden]{display:none!important}
@media(max-width:1050px){.oro-audit-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:580px){.oro-audit-stats{grid-template-columns:1fr}.oro-audit-head{display:block}.oro-cert-contact small{font-size:6px!important}}
@media print{.oro-cert-footer{print-color-adjust:exact;-webkit-print-color-adjust:exact}}

/* Keep element table compact so report footer stays on one A5 sheet. */
.oro-cert .oro-result-table{flex:0 0 auto;max-height:33mm;min-height:0;overflow:hidden}
.oro-cert .oro-elements-grid{align-items:start;grid-auto-rows:min-content}

/* All printable slips also use Montserrat when available. */
.oro-receipt,.oro-receipt *{font-family:'Montserrat',Arial,sans-serif!important}

/* v0.4 – visibly independent laboratory tracks. */
.oro-uv-disclaimer{padding:12px 16px;border:1px solid #be9a60;border-radius:8px;background:#fbf7ef;color:#533917}
.oro-uv-disclaimer p{font-size:12px;line-height:1.65;margin:6px 0}
.oro-uv-disclaimer small{font-size:11px;color:#856d50}
.oro-diamond-classification{font-weight:800!important;color:#50310f!important;font-size:9.2px!important;line-height:1.4!important;padding-bottom:3px}
.oro-field[hidden],#entryWeightWrap[hidden],#entryPresetWrap[hidden],#entryJewelryWrap[hidden]{display:none!important}
@media print{.oro-cert.oro-cert-diamond .oro-cert-remarks{min-height:21mm}.oro-cert.oro-cert-diamond .oro-cert-remarks p{font-size:7.3px!important}.oro-cert-diamond .oro-cert-grid{min-height:39mm!important}.oro-cert-diamond .oro-diamond-grid .oro-cert-box{min-height:39mm!important;max-height:39mm!important}}

/* v0.5 - diamond certificate layout based on the supplied ORO certificate. */
.oro-cert.oro-cert-diamond{color:#24160e!important}
.oro-cert-diamond .oro-cert-header{margin-bottom:1mm!important;padding-bottom:1mm!important}
.oro-cert-diamond .oro-cert-rule{margin:1mm 0 2mm!important}
.oro-cert-diamond .oro-cert-grid.oro-diamond-grid{margin-top:0!important;min-height:39mm!important;gap:2mm!important}
.oro-cert-diamond .oro-diamond-grid .oro-cert-box{min-height:39mm!important;max-height:39mm!important;overflow:hidden;padding:0 1.4mm 1mm!important}
.oro-cert-diamond .oro-diamond-grid .oro-cert-box h3{text-align:center;font-weight:900!important;font-size:9.3px!important;margin:0 -1.4mm 2mm!important;padding:1.4mm .2mm!important;background:#f2eae0!important;color:#2b1b0c!important}
.oro-cert-diamond .oro-diamond-grid .oro-cert-box p{font-size:7px!important;line-height:1.22!important;gap:.9mm!important;margin-bottom:1.75mm!important;display:grid!important;grid-template-columns:47% 53%!important;align-items:start!important}
.oro-cert-diamond .oro-diamond-grid .oro-cert-box p b{max-width:none!important;min-width:0!important;font-size:7px!important;line-height:1.22!important}
.oro-cert-diamond .oro-diamond-grid .oro-cert-box p span{width:auto!important;font-size:7px!important;overflow-wrap:anywhere!important}
.oro-cert-diamond h2.oro-diamond-title{font-family:'Montserrat',Arial,sans-serif!important;font-size:15px!important;line-height:1.12!important;font-weight:900!important;color:#9b6927!important;text-align:center!important;margin:3.5mm 0 2mm!important;letter-spacing:.1px!important}
.oro-cert-diamond .oro-diamond-photos{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2mm;margin:0 auto 3mm;width:79%;height:34mm;min-height:34mm}
.oro-cert-diamond .oro-diamond-photo{min-width:0;height:34mm;overflow:hidden;border:1.3px solid #a36b24;border-radius:2.4mm;display:flex;justify-content:center;align-items:center;background:#faf8f4}
.oro-cert-diamond .oro-diamond-photo img{width:100%;height:100%;object-fit:contain;display:block;background:#fff;padding:1mm}
.oro-cert-diamond .oro-diamond-photo span{font:700 8px 'Montserrat',Arial,sans-serif;color:#a18b74}
.oro-cert-diamond .oro-diamond-result{border:1px solid #dbcbb9;text-align:center;margin-top:0;padding:0 1.7mm 2mm;min-height:21mm;flex:0 0 auto}
.oro-cert-diamond .oro-diamond-result h3{margin:0 -1.7mm 1mm!important;padding:1.5mm 2mm!important;background:#f3ebe2;color:#34200f!important;font-size:9.2px!important;font-weight:900!important;text-align:center!important}
.oro-cert-diamond .oro-diamond-result strong{display:block;color:#a16b24;font-size:10.4px!important;font-weight:900!important;margin:1.1mm auto!important}
.oro-cert-diamond .oro-diamond-result p{font-size:9px!important;line-height:1.38!important;font-weight:800!important;color:#281910!important;text-align:center!important;margin:0 auto!important;max-width:97%}
.oro-cert-diamond .oro-diamond-remarks{min-height:0!important;margin-top:2.3mm!important;padding-bottom:1.7mm!important;flex:0 0 auto}
.oro-cert-diamond .oro-diamond-remarks h3{margin-bottom:1mm!important}
.oro-cert-diamond .oro-diamond-remarks p{font-size:7.2px!important;line-height:1.35!important;font-weight:650!important}
.oro-cert-diamond .oro-cert-signature{min-height:13mm!important;padding-bottom:2mm!important}
.oro-cert-diamond .oro-cert-footer{margin-top:0!important}
@media print{
 .oro-cert-diamond .oro-diamond-photos{width:79%!important;height:34mm!important}
 .oro-cert-diamond .oro-diamond-photo{height:34mm!important}
}
/* v0.5.2: destructive administrative controls use a distinct restrained treatment. */
.oro-lab .oro-btn.danger{border-color:#bd6c62!important;color:#8a2822!important;background:#fff8f7!important}
.oro-lab .oro-btn.danger:hover{background:#fce7e4!important;border-color:#962d25!important}

/* Audit reset controls (v0.5.4) */
.oro-audit-reset-info{font-size:12px;color:#665b4e;margin:8px 0 0;line-height:1.45}.oro-audit-income,.oro-audit-expense{scroll-margin-top:16px}

/* v0.5.5: preserve sidebar spacing without logo */
.oro-brand-spacer{height:56px;flex:0 0 56px}
@media(max-width:800px){.oro-brand-spacer{display:none}}


/* v0.5.6 — compact, always-visible sidebar. Layout-only change. */
@media screen and (min-width: 801px) {
  /* overflow:clip does not establish a scroll container, unlike overflow:hidden;
     this allows position:sticky to follow the browser viewport. */
  .oro-lab .oro-shell { overflow: clip; }
  .oro-lab .oro-sidebar {
    position: sticky;
    top: 0;
    align-self: flex-start;
    width: 235px;
    flex: 0 0 235px;
    height: 100vh;
    height: 100dvh;
    min-height: 0;
    padding: 16px 14px;
    gap: 12px;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: #8c6744 transparent;
    z-index: 3;
  }
  .oro-lab .oro-main { min-height: 100vh; min-height: 100dvh; }
  .oro-lab .oro-nav { gap: 5px; flex-shrink: 0; }
  .oro-lab .oro-nav a { min-height: 43px; }
  .oro-lab .oro-sidebar .oro-brand-spacer { display: none; }
  body.admin-bar .oro-lab .oro-sidebar {
    top: 32px;
    height: calc(100vh - 32px);
    height: calc(100dvh - 32px);
  }
}
/* On narrow layouts use a pinned, horizontally scrollable menu instead of
   covering content with a full-height vertical sidebar. */
@media screen and (max-width: 800px) {
  .oro-lab .oro-shell { overflow: clip; }
  .oro-lab .oro-sidebar {
    position: sticky;
    top: 0;
    height: auto;
    max-height: none;
    padding: 8px 10px;
    overflow: visible;
    z-index: 20;
  }
  .oro-lab .oro-nav {
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }
  .oro-lab .oro-nav a { min-height: 39px; }
  .oro-lab .oro-brand-spacer { display: none; }
}
@media screen and (max-width: 782px) {
  body.admin-bar .oro-lab .oro-sidebar { top: 46px; }
}
@media screen and (min-width: 783px) and (max-width: 800px) {
  body.admin-bar .oro-lab .oro-sidebar { top: 32px; }
}


/* v0.5.7: consistent refined ORO reports — both XRF and Diamond. */
.oro-cert-footer.oro-cert-footer-clean{
  display:grid!important;grid-template-columns:minmax(0,42%) minmax(0,1fr)!important;
  align-items:center!important;justify-content:stretch!important;gap:3mm!important;
  min-height:21mm!important;padding:3mm 4mm!important;
  background:linear-gradient(90deg,#48280c,#603918 55%,#48280c)!important;
  color:#fffaf2!important;margin:0 -1mm!important;
  -webkit-print-color-adjust:exact;print-color-adjust:exact;
}
.oro-cert-footer-clean .oro-cert-footer-brand{border-right:1px solid #cda566;min-width:0;max-width:none!important;padding-right:2mm}
.oro-cert-footer-clean .oro-cert-footer-brand b{font-family:'Montserrat',Arial,sans-serif!important;display:block;font-size:10.2px!important;font-weight:800;line-height:1.2;letter-spacing:.09em}
.oro-cert-footer-clean .oro-cert-footer-brand small{font-size:6.9px!important;letter-spacing:.08em!important;margin-top:1.2mm;line-height:1.2!important;color:#f6debd!important}
.oro-cert-footer-clean .oro-cert-contact{min-width:0;max-width:none!important;display:flex;flex-direction:column;gap:.55mm!important;overflow:visible!important}
.oro-cert-footer-clean .oro-cert-contact>b{font-size:7.4px!important;line-height:1.2;font-weight:800!important;letter-spacing:.055em;color:#f9deb6}
.oro-cert-footer-clean .oro-cert-contact span{font-family:'Montserrat',Arial,sans-serif!important;color:#ffffff!important;font-size:9.3px!important;font-weight:750;line-height:1.28!important;display:block;overflow-wrap:break-word}
.oro-cert-footer-clean .oro-cert-contact .oro-cert-address{font-size:8.8px!important;font-weight:650;line-height:1.25!important}
.oro-cert .oro-elements-combined{width:100%;min-width:0!important;table-layout:fixed;border-collapse:collapse;border:1px solid #815b37;font-family:'Montserrat',Arial,sans-serif!important}
.oro-cert .oro-elements-combined th,.oro-cert .oro-elements-combined td{width:16.666%;text-align:center;border:1px solid #936c48!important;padding:1.65mm .5mm!important;font-size:8px!important;line-height:1.2!important;vertical-align:middle!important}
.oro-cert .oro-elements-combined th{background:#f3ede5!important;color:#3c2b1f;font-weight:800!important}
.oro-cert .oro-elements-combined td{font-weight:750!important;color:#241b12}
.oro-cert .oro-elements-combined td:nth-child(odd){font-weight:850!important}
.oro-cert .oro-result-table{border:0!important;max-height:none!important;overflow:visible!important}
.oro-cert-diamond .oro-diamond-remarks p{font-weight:550!important;line-height:1.36!important}
@media print{.oro-cert-footer-clean .oro-cert-contact span{color:#ffffff!important}}


/* v0.5.8: uniform report typography and compact contact-only footer. */
.oro-cert .oro-cert-box p,
.oro-cert.oro-cert-diamond .oro-diamond-grid .oro-cert-box p {
  font-size:10px!important;line-height:1.34!important;
  margin:0 0 1.4mm!important;
}
.oro-cert .oro-cert-box p b,
.oro-cert.oro-cert-diamond .oro-diamond-grid .oro-cert-box p b,
.oro-cert .oro-cert-box p span,
.oro-cert.oro-cert-diamond .oro-diamond-grid .oro-cert-box p span {
  font-size:9.7px!important;line-height:1.34!important;
}
.oro-cert.oro-cert-diamond .oro-diamond-grid .oro-cert-box p{
  grid-template-columns:minmax(0,48%) minmax(0,52%)!important;
  gap:.55mm!important;margin-bottom:1.45mm!important;
}
.oro-cert .oro-cert-remarks p,
.oro-cert.oro-cert-diamond .oro-diamond-remarks p {
  font-size:10px!important;line-height:1.43!important;font-weight:550!important;
}
.oro-cert.oro-cert-diamond .oro-diamond-remarks{min-height:0!important}
.oro-cert-footer.oro-cert-footer-clean {
  grid-template-columns:minmax(0,43%) minmax(0,1fr)!important;
  min-height:12.5mm!important;height:auto!important;
  padding:1.6mm 3mm!important;gap:2mm!important;
  flex-shrink:0!important;
}
.oro-cert-footer-clean .oro-cert-footer-brand b {
  font-size:8.1px!important;letter-spacing:.085em!important;line-height:1.22!important;
}
.oro-cert-footer-clean .oro-cert-footer-brand small {
  font-size:6.2px!important;letter-spacing:.04em!important;margin-top:.6mm!important;
}
.oro-cert-footer-clean .oro-cert-contact {gap:.25mm!important}
.oro-cert-footer-clean .oro-cert-contact>b {font-size:6.9px!important;line-height:1.15!important}
.oro-cert-footer-clean .oro-cert-contact span {
  font-size:7.6px!important;line-height:1.22!important;font-weight:700!important;
}
.oro-cert .oro-cert-bottom {
  padding:1.4mm 0 .6mm!important;text-align:center!important;
  font:700 8px/1.2 'Montserrat',Arial,sans-serif!important;
  color:#60401f!important;letter-spacing:.015em!important;
}
@media print {
  .oro-cert.oro-cert-diamond .oro-cert-remarks p {
    font-size:10px!important;line-height:1.43!important;
  }
}


/* v0.5.9: footer-only revision; all certificate body rules remain untouched. */
.oro-cert .oro-cert-footer.oro-cert-footer-three {
  display: grid!important;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.25fr) minmax(0, .95fr)!important;
  gap: 0!important;
  min-height: 12.5mm!important;
  padding: 1.45mm 2.4mm!important;
  align-items: center!important;
  margin: 0 -1mm!important;
  background: linear-gradient(90deg,#48280c,#603918 55%,#48280c)!important;
  color: #fffaf2!important;
}
.oro-cert-footer-three > div {
  min-width: 0!important;
  width: 100%!important;
  max-width: none!important;
  min-height: 9mm;
  display: flex!important;
  flex-direction: column!important;
  align-items: center!important;
  justify-content: center!important;
  text-align: center!important;
  padding: 0 1.1mm!important;
}
.oro-cert-footer-three .oro-cert-footer-brand,
.oro-cert-footer-three .oro-cert-contact {
  border-right: 1px solid #cda566!important;
}
.oro-cert-footer-three .oro-cert-footer-brand b {
  font-size: 8px!important;
  line-height: 1.18!important;
  letter-spacing: .07em!important;
  white-space: nowrap;
}
.oro-cert-footer-three .oro-cert-footer-brand small {
  font-size: 6.2px!important;
  line-height: 1.18!important;
  white-space: nowrap;
}
.oro-cert-footer-three .oro-cert-contact {
  gap: .75mm!important;
  overflow: visible!important;
}
.oro-cert-footer-three .oro-cert-contact .oro-cert-phone {
  display: block!important;
  font-size: 6.9px!important;
  line-height: 1.2!important;
  font-weight: 750!important;
  white-space: nowrap;
  overflow-wrap: normal!important;
  color: #fffaf2!important;
}
.oro-cert-footer-three .oro-cert-values {
  border-right: 0!important;
  font: 700 7.2px/1.2 Georgia, 'Times New Roman', serif!important;
  letter-spacing: .1em!important;
  color: #f6debd!important;
}
.oro-cert .oro-cert-bottom {
  background: #f3ede5!important;
  color: #60401f!important;
  margin: 0 -1mm!important;
  padding: 1.3mm 1.2mm 1.1mm!important;
  text-align: center!important;
  font: 700 7px/1.2 Georgia, 'Times New Roman', serif!important;
  letter-spacing: .095em!important;
}
@media print {
  .oro-cert-footer-three,.oro-cert .oro-cert-bottom {
    -webkit-print-color-adjust: exact!important;
    print-color-adjust: exact!important;
  }
}

/* v1.1.6: service-specific work instructions on entry forms */
.oro-lab .oro-service-help{grid-column:1 / -1;margin:0 0 4px;color:#766859;font-size:12px;line-height:1.5}

/* v1.1.7: Records filtering and the complete Pakistan-day activity list. */
.oro-record-controls{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;align-items:end;margin:0 0 18px}
.oro-record-control{display:flex;flex-direction:column;gap:6px;min-width:0;font-size:11px;font-weight:750;color:#67513a}
.oro-record-control>input,.oro-record-control>select{width:100%;min-height:41px;box-sizing:border-box;font-family:inherit;font-size:12px;border:1px solid #d8cebe;border-radius:7px;background:#fff;color:#302318;padding:8px 10px}
.oro-record-search{grid-column:span 2}
.oro-record-controls-end{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:12px;color:#725840}
.oro-record-controls-end>.oro-btn{white-space:nowrap}
.oro-activity-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:14px}
.oro-activity-heading h3{margin:0}
.oro-activity-heading span{font-size:12px;color:#806950}
.oro-activity-detail{display:block;color:#776c62;font-size:11px;margin-top:4px}
@media(max-width:750px){.oro-record-search{grid-column:span 1}.oro-record-controls{grid-template-columns:repeat(auto-fit,minmax(140px,1fr))}}


/* v1.1.8: print cleanup, strict A5 fit, and action-button alignment. */
.oro-table-actions{display:table-cell;min-width:190px;white-space:normal;vertical-align:middle}
.oro-table-actions .oro-btn{margin:0!important;flex:0 0 auto}
.oro-a5-on-screen{width:148mm;height:209mm;box-shadow:0 5px 25px #0002;margin:0 auto;background:#fff;overflow:hidden}
.oro-cert{width:148mm;height:209mm;padding:7mm 8mm 5.5mm;page-break-inside:avoid;break-inside:avoid-page;break-after:avoid-page;overflow:hidden}
.oro-cert .oro-cert-footer.oro-cert-footer-three{margin:0!important;width:100%!important}
.oro-cert .oro-cert-bottom{margin:0!important;width:100%!important}
#oro-print-layer.oro-print.a5{width:148mm!important;height:209mm!important;max-width:148mm!important;max-height:209mm!important;overflow:hidden!important;padding:0!important}
#oro-print-layer.oro-print.a5 .oro-cert{width:148mm!important;height:209mm!important;padding:7mm 8mm 5.5mm!important;overflow:hidden!important;box-shadow:none!important}
#oro-print-layer.oro-print.thermal{width:80mm!important;max-width:80mm!important;min-height:0!important;box-sizing:border-box;padding:0!important;overflow:hidden!important;background:#fff!important}
#oro-print-layer.oro-print.thermal .oro-receipt{width:80mm!important;max-width:80mm!important;box-sizing:border-box;padding:2mm 3mm!important;background:#fff!important}
@media print{
  body>*:not(#oro-print-layer){display:none!important}
  html,body{padding:0!important;margin:0!important;background:white!important;overflow:hidden!important}
  #oro-print-layer.oro-print{display:block!important;position:fixed!important;top:0!important;left:0!important;background:#fff!important;color:#000!important;box-shadow:none!important;margin:0!important}
  #oro-print-layer.oro-print.a5{width:148mm!important;height:209mm!important;max-width:148mm!important;max-height:209mm!important;overflow:hidden!important}
  #oro-print-layer.oro-print.a5 .oro-cert{width:148mm!important;height:209mm!important;padding:7mm 8mm 5.5mm!important;overflow:hidden!important}
  #oro-print-layer.oro-print.thermal{width:80mm!important;max-width:80mm!important;padding:0!important;overflow:hidden!important}
  #oro-print-layer.oro-print.thermal .oro-receipt{width:80mm!important;max-width:80mm!important;padding:2mm 3mm!important;box-sizing:border-box}
}


/* v1.1.9: Records actions must remain a true table cell.  Never display:flex on <td>. */
.oro-lab .oro-records-table{table-layout:auto;min-width:1000px;border-collapse:collapse}
.oro-lab .oro-records-table td.oro-table-actions{
  display:table-cell!important;vertical-align:middle!important;
  width:290px;min-width:290px;max-width:320px;
  white-space:normal!important;padding:9px 10px!important;
  border-bottom:1px solid #e9eeea!important;
}
.oro-lab .oro-records-table .oro-record-actions{
  display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;
  gap:6px;width:100%;max-width:100%;min-width:0;
}
.oro-lab .oro-records-table .oro-record-actions .oro-btn{
  display:inline-flex!important;flex:0 0 auto;
  align-items:center;justify-content:center;
  margin:0!important;padding:7px 10px!important;min-height:33px!important;
  max-width:100%;white-space:normal!important;
  overflow-wrap:normal;line-height:1.2!important;
}


/* v1.2.0 — certificate typography and printable detail-table borders only.
   Match customer/analysis/diamond detail data to the report-number VALUE (8px).
   Use the same brown border as the existing XRF element-content table. */
.oro-cert .oro-cert-meta {
  border: 1px solid #936c48 !important;
  background-color: #f3ede5 !important;
  border-radius: 3mm;
  overflow: hidden;
}
.oro-cert .oro-cert-meta p {
  border-bottom: 1px solid #936c48 !important;
  padding: 1mm 0 !important;
  margin: 0 !important;
  line-height: 1.25 !important;
}
.oro-cert .oro-cert-meta p:last-child { border-bottom: 0 !important; }
.oro-cert .oro-cert-meta p b,
.oro-cert .oro-cert-meta p span {
  font-size: 8px !important;
  line-height: 1.25 !important;
}
.oro-cert .oro-cert-grid .oro-cert-box,
.oro-cert.oro-cert-diamond .oro-cert-grid .oro-cert-box {
  border: 1px solid #936c48 !important;
  background-color: #fff !important;
}
.oro-cert .oro-cert-box h3,
.oro-cert.oro-cert-diamond .oro-diamond-grid .oro-cert-box h3 {
  background-color: #f3ede5 !important;
  border-bottom: 1px solid #936c48 !important;
}
.oro-cert .oro-cert-grid .oro-cert-box p,
.oro-cert.oro-cert-diamond .oro-diamond-grid .oro-cert-box p {
  font-size: 8px !important;
  line-height: 1.28 !important;
  margin-bottom: 1.3mm !important;
}
.oro-cert .oro-cert-grid .oro-cert-box p b,
.oro-cert .oro-cert-grid .oro-cert-box p span,
.oro-cert.oro-cert-diamond .oro-diamond-grid .oro-cert-box p b,
.oro-cert.oro-cert-diamond .oro-diamond-grid .oro-cert-box p span {
  font-size: 8px !important;
  line-height: 1.28 !important;
}
/* Preserve red emphasis on XRF Karat and Impurity per Tola. */
.oro-cert .oro-report-highlight span {
  font-size: 8px !important;
  color: #bc1830 !important;
  font-weight: 900 !important;
}
.oro-cert .oro-cert-remarks,
.oro-cert.oro-cert-diamond .oro-diamond-remarks {
  border: 1px solid #936c48 !important;
  background-color: #fff !important;
}
.oro-cert .oro-cert-remarks h3,
.oro-cert.oro-cert-diamond .oro-diamond-remarks h3 {
  border-bottom: 1px solid #936c48 !important;
  background-color: #f3ede5 !important;
}
@media print {
  .oro-cert .oro-cert-meta,
  .oro-cert .oro-cert-grid .oro-cert-box,
  .oro-cert .oro-cert-box h3,
  .oro-cert .oro-cert-remarks,
  .oro-cert .oro-cert-remarks h3 {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
}


/* v1.2.1 – Approved ORO XRF report, scoped to XRF ONLY. */
.oro-cert.oro-cert-xrf-v2{padding:5.5mm 6.6mm 5mm!important;gap:0!important;color:#251a13!important;font-family:'Montserrat',Arial,sans-serif!important}
.oro-cert-xrf-v2 .oro-cert-header{min-height:23mm!important;padding:0 0 1.5mm!important;gap:2.5mm!important}
.oro-cert-xrf-v2 .oro-cert-brand{max-width:52%!important}
.oro-cert-xrf-v2 .oro-report-logo{max-height:22mm!important;max-width:100%!important;object-fit:contain!important}
.oro-cert-xrf-v2 .oro-cert-meta{width:47%!important;max-width:47%!important;border:1px solid #b58c68!important;background:#f8f3ed!important;border-radius:1.4mm!important;padding:1.1mm 1.6mm!important;gap:0!important;align-items:stretch!important}
.oro-cert-xrf-v2 .oro-cert-meta p{display:grid!important;grid-template-columns:46% 54%!important;gap:1mm!important;padding:.65mm 0!important;margin:0!important;border-bottom:1px solid #dbc2a8!important}
.oro-cert-xrf-v2 .oro-cert-meta p b,.oro-cert-xrf-v2 .oro-cert-meta p span{font-size:6.6px!important;line-height:1.15!important;word-break:break-word!important}
.oro-cert-xrf-v2 .oro-cert-rule{margin:0 0 1.4mm!important;border-color:#a36b24!important}
.oro-cert-xrf-v2 .oro-xrf-title{text-align:center;margin:0 0 2.5mm!important}
.oro-cert-xrf-v2 .oro-xrf-title h2{color:#956020!important;font-size:12px!important;text-align:center!important;line-height:1.12!important;margin:0!important;font-weight:850!important}
.oro-cert-xrf-v2 .oro-xrf-title strong{display:block;color:#2c1e15;font-size:14px;line-height:1.1;font-weight:900}
.oro-cert-xrf-v2 .oro-xrf-toprow{display:grid;grid-template-columns:1.36fr 1fr;gap:2mm;min-height:29mm;margin-bottom:2mm}
.oro-cert-xrf-v2 .oro-xrf-two{display:grid;grid-template-columns:1fr 1fr;gap:2mm;min-height:33mm;margin-bottom:2mm}
.oro-cert-xrf-v2 .oro-xrf-panel{border:1px solid #b58c68;background:#fff;border-radius:1.25mm;min-width:0;overflow:hidden;padding:0;box-sizing:border-box;flex-shrink:0}
.oro-cert-xrf-v2 .oro-xrf-panel h3{margin:0!important;padding:1.1mm 1.8mm!important;background:#f3e9de!important;color:#322016!important;font:800 8.1px/1.13 'Montserrat',Arial,sans-serif!important;border:0!important}
.oro-cert-xrf-v2 .oro-xrf-panel-body{padding:.35mm 1.5mm .7mm!important}
.oro-cert-xrf-v2 .oro-xrf-row{display:grid;grid-template-columns:45% minmax(0,55%);align-items:start;gap:1mm;padding:.55mm .5mm;border-bottom:1px solid #e4d4c5;min-width:0;line-height:1.17!important}
.oro-cert-xrf-v2 .oro-xrf-row:last-child{border-bottom:0}
.oro-cert-xrf-v2 .oro-xrf-row b,.oro-cert-xrf-v2 .oro-xrf-row span{font:700 7.1px/1.19 'Montserrat',Arial,sans-serif!important;overflow-wrap:anywhere!important}
.oro-cert-xrf-v2 .oro-xrf-row span{font-weight:600!important}
.oro-cert-xrf-v2 .oro-xrf-photo{border:1px solid #b58c68;border-radius:1.25mm;overflow:hidden;display:flex;align-items:center;justify-content:center;background:#fbfaf8;min-width:0;min-height:29mm;padding:1mm}
.oro-cert-xrf-v2 .oro-xrf-photo img{width:100%;height:100%;max-height:100%;object-fit:contain;display:block;background:#fff}
.oro-cert-xrf-v2 .oro-xrf-photo span{font:600 7px 'Montserrat',Arial,sans-serif;color:#897561;text-align:center}
.oro-cert-xrf-v2 .oro-xrf-element-section{margin-bottom:2mm}
.oro-cert-xrf-v2 .oro-xrf-element-section h3,.oro-cert-xrf-v2 .oro-xrf-summary h3{text-align:center!important}
.oro-cert-xrf-v2 .oro-xrf-composition{table-layout:fixed;width:100%;border-collapse:collapse;margin:0;min-width:0!important}
.oro-cert-xrf-v2 .oro-xrf-composition th,.oro-cert-xrf-v2 .oro-xrf-composition td{border:1px solid #bfa185!important;text-align:center;padding:.7mm .4mm!important;font:750 7.5px/1.12 'Montserrat',Arial,sans-serif!important;color:#2b2119!important;word-break:break-word}
.oro-cert-xrf-v2 .oro-xrf-composition tr>:first-child{background:#f8f3ed!important;width:20%!important;font-weight:850!important}
.oro-cert-xrf-v2 .oro-xrf-composition tr>:not(:first-child){width:auto}
.oro-cert-xrf-v2 .oro-xrf-unavailable{font-size:7px!important;margin:1mm!important}
.oro-cert-xrf-v2 .oro-xrf-summary{margin-bottom:2mm}
.oro-cert-xrf-v2 .oro-xrf-summary-grid{min-height:12mm;display:flex;align-items:stretch;text-align:center;padding:1.1mm .5mm!important}
.oro-cert-xrf-v2 .oro-xrf-summary-grid>div{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:.3mm 1mm;border-right:1px solid #c6aa8b}
.oro-cert-xrf-v2 .oro-xrf-summary-grid>div:last-child{border-right:0}
.oro-cert-xrf-v2 .oro-xrf-summary-grid small{font-size:7.2px!important;color:#2c241f!important;line-height:1.12!important}
.oro-cert-xrf-v2 .oro-xrf-summary-grid strong{font:850 13px/1.15 'Montserrat',Arial,sans-serif!important;color:#301b10!important;overflow-wrap:anywhere}
.oro-cert-xrf-v2 .oro-xrf-summary-grid .oro-xrf-red{color:#bc1830!important}
.oro-cert-xrf-v2 .oro-xrf-summary-grid .oro-xrf-impurity{font-size:9.3px!important}
.oro-cert-xrf-v2 .oro-xrf-summary-only{font:700 8px 'Montserrat',Arial,sans-serif!important;border:0!important}
.oro-cert-xrf-v2 .oro-xrf-remarks,.oro-cert-xrf-v2 .oro-xrf-notes{margin:0 0 2mm!important}
.oro-cert-xrf-v2 .oro-xrf-remarks p{font:600 7.6px/1.32 'Montserrat',Arial,sans-serif!important;color:#332820!important;padding:1.4mm 1.6mm!important;margin:0!important}
.oro-cert-xrf-v2 .oro-xrf-notes ul{margin:0!important;padding:1.1mm 2mm 1.5mm 5mm!important;list-style:square}
.oro-cert-xrf-v2 .oro-xrf-notes li{font:600 7.1px/1.25 'Montserrat',Arial,sans-serif!important;color:#332820!important;margin:0 0 .35mm}
.oro-cert-xrf-v2 .oro-cert-signature{min-height:11mm!important;flex-shrink:0!important;padding:0 0 1.4mm!important;margin-top:auto!important;align-items:end!important}
.oro-cert-xrf-v2 .oro-cert-verification b{font-size:7.3px!important}
.oro-cert-xrf-v2 .oro-cert-verification small{font-size:6.5px!important;overflow-wrap:anywhere}
.oro-cert-xrf-v2 .oro-cert-signline span{font-size:8px!important}
.oro-cert-xrf-v2 .oro-cert-footer.oro-cert-footer-three{min-height:12.5mm!important}
.oro-cert-xrf-v2 .oro-cert-bottom{padding:1.15mm .4mm!important;font-size:6.6px!important}
@media print{
 .oro-cert.oro-cert-xrf-v2{height:209mm!important;max-height:209mm!important;overflow:hidden!important;break-inside:avoid!important;page-break-inside:avoid!important;print-color-adjust:exact!important;-webkit-print-color-adjust:exact!important}
 .oro-cert-xrf-v2 .oro-xrf-panel h3,.oro-cert-xrf-v2 .oro-xrf-composition tr>:first-child{print-color-adjust:exact!important;-webkit-print-color-adjust:exact!important}
}

/* Compact high-element-count XRF reports only; single-metal certificates are unaffected. */
.oro-cert-xrf-v2.oro-xrf-dense .oro-xrf-panel h3{padding:.6mm 1.7mm!important}
.oro-cert-xrf-v2.oro-xrf-dense .oro-xrf-summary-grid{min-height:6mm!important}
.oro-cert-xrf-v2.oro-xrf-dense .oro-xrf-summary-only{font-size:7.3px!important}
.oro-cert-xrf-v2.oro-xrf-dense .oro-xrf-row{padding:.4mm .4mm!important}
.oro-cert-xrf-v2.oro-xrf-dense .oro-xrf-remarks p{font-size:7.2px!important;line-height:1.2!important;padding:.7mm 1.2mm!important}
.oro-cert-xrf-v2.oro-xrf-dense .oro-xrf-notes ul{padding:.5mm 2mm .75mm 4.5mm!important}
.oro-cert-xrf-v2.oro-xrf-dense .oro-xrf-notes li{font-size:6.7px!important;line-height:1.16!important;margin:0!important}
.oro-cert-xrf-v2.oro-xrf-dense .oro-cert-signature{min-height:9mm!important;padding-bottom:.5mm!important}
.oro-cert-xrf-v2.oro-xrf-dense .oro-xrf-element-section,.oro-cert-xrf-v2.oro-xrf-dense .oro-xrf-summary,.oro-cert-xrf-v2.oro-xrf-dense .oro-xrf-remarks,.oro-cert-xrf-v2.oro-xrf-dense .oro-xrf-notes{margin-bottom:1mm!important}

/* XRF-only certificate editor spacing. */
.oro-lab .oro-xrf-test-editor .oro-xrf-test-field-title{margin-top:18px!important}

/* v1.2.2: XRF-only scanned signature overlay; no changes to Diamond certificates. */
.oro-cert-xrf-v2 .oro-xrf-authorized-signline{position:relative;isolation:isolate;}
.oro-cert-xrf-v2 .oro-xrf-signature-image{position:absolute!important;left:50%;top:-13.5mm;transform:translateX(-50%);height:14mm!important;width:auto!important;max-width:34mm!important;object-fit:contain;z-index:1;pointer-events:none;}
@media print{.oro-cert-xrf-v2 .oro-xrf-signature-image{print-color-adjust:exact;-webkit-print-color-adjust:exact;}}

/* Provide unobstructed space for the signature above the authorization line. */
.oro-cert-xrf-v2 .oro-xrf-toprow,.oro-cert-xrf-v2 .oro-xrf-two{margin-bottom:1.1mm!important}
.oro-cert-xrf-v2:not(.oro-xrf-dense) .oro-xrf-element-section,.oro-cert-xrf-v2:not(.oro-xrf-dense) .oro-xrf-summary,.oro-cert-xrf-v2:not(.oro-xrf-dense) .oro-xrf-remarks,.oro-cert-xrf-v2:not(.oro-xrf-dense) .oro-xrf-notes{margin-bottom:1.1mm!important}
.oro-cert-xrf-v2 .oro-xrf-signature-image{top:-10.8mm!important;height:10.7mm!important}
/* Signature stays inside its reserved authorization area; never overlays Notes. */
.oro-cert-xrf-v2 .oro-cert-signature{min-height:15mm!important;align-items:stretch!important}
.oro-cert-xrf-v2 .oro-xrf-authorized-signline{position:relative;align-self:stretch;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;min-height:14.4mm;border-top:0!important;padding:0!important;overflow:visible}
.oro-cert-xrf-v2 .oro-xrf-authorized-signline::after{content:'';display:block;position:absolute;left:0;right:0;bottom:3.5mm;border-top:1px solid #30251c}
.oro-cert-xrf-v2 .oro-xrf-signature-image{position:static!important;transform:none!important;display:block;height:12mm!important;width:auto!important;max-width:38mm!important;object-fit:contain;margin:0 auto .45mm!important;z-index:1}
.oro-cert-xrf-v2 .oro-xrf-authorized-signline span{display:block;position:relative;z-index:2;font-size:8px!important;line-height:1.15!important;margin-top:.65mm;min-height:3mm;padding:0!important}
.oro-cert-xrf-v2.oro-xrf-dense .oro-cert-signature{min-height:12.4mm!important}
.oro-cert-xrf-v2.oro-xrf-dense .oro-xrf-authorized-signline{min-height:12.1mm!important}
.oro-cert-xrf-v2.oro-xrf-dense .oro-xrf-signature-image{height:9mm!important;margin-bottom:.2mm!important}
/* Prevent high-element-count All-Metal tables from extending beyond A5 footer. */
.oro-cert-xrf-v2.oro-xrf-dense .oro-xrf-composition th,.oro-cert-xrf-v2.oro-xrf-dense .oro-xrf-composition td{padding:.32mm .3mm!important}
/* Dense multi-element XRF certificates remain fully inside one A5 page. */
.oro-cert-xrf-v2.oro-xrf-dense .oro-cert-qr{width:13mm;height:13mm}
.oro-cert-xrf-v2.oro-xrf-dense .oro-cert-verification-qr{gap:0!important}

/* v1.2.6: sample photographs fill their certificate frames edge-to-edge. */
.oro-cert-xrf-v2 .oro-xrf-photo{position:relative;padding:0!important;overflow:hidden!important;background:#f8f7f5!important}
.oro-cert-xrf-v2 .oro-xrf-photo img{position:absolute;inset:0;width:100%!important;height:100%!important;max-height:none!important;object-fit:cover!important;object-position:center center;display:block;padding:0!important}
.oro-cert-diamond .oro-diamond-photo{position:relative;padding:0!important;overflow:hidden!important}
.oro-cert-diamond .oro-diamond-photo img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center center;padding:0!important}
/* Signature is 150% of its previous displayed size; retain original aspect ratio. */
.oro-cert-xrf-v2 .oro-xrf-signature-image{height:18mm!important;max-width:57mm!important;width:auto!important;object-fit:contain!important}
.oro-cert-xrf-v2.oro-xrf-dense .oro-xrf-signature-image{height:13.5mm!important;max-width:57mm!important}
.oro-cert-diamond .oro-cert-signature-image{height:18mm!important;max-width:51mm!important;width:auto!important;object-fit:contain!important}
.oro-lab .oro-customer-archived-toggle{display:flex;align-items:center;gap:8px;white-space:nowrap;font-size:13px;color:#534336}
.oro-lab .oro-customer-archived-toggle input{width:16px;height:16px;flex:0 0 auto}
/* Recover vertical space for the larger signature without shrinking report data. */
.oro-cert-xrf-v2 .oro-xrf-toprow,.oro-cert-xrf-v2 .oro-xrf-two{margin-bottom:.45mm!important}
.oro-cert-xrf-v2:not(.oro-xrf-dense) .oro-xrf-element-section,
.oro-cert-xrf-v2:not(.oro-xrf-dense) .oro-xrf-summary,
.oro-cert-xrf-v2:not(.oro-xrf-dense) .oro-xrf-remarks,
.oro-cert-xrf-v2:not(.oro-xrf-dense) .oro-xrf-notes{margin-bottom:.4mm!important}
.oro-cert-xrf-v2.oro-xrf-dense .oro-xrf-element-section,
.oro-cert-xrf-v2.oro-xrf-dense .oro-xrf-summary,
.oro-cert-xrf-v2.oro-xrf-dense .oro-xrf-remarks,
.oro-cert-xrf-v2.oro-xrf-dense .oro-xrf-notes{margin-bottom:.35mm!important}

/* v1.2.8: keep the stable 14-character verification code visible beside the QR,
   with no added certificate height on dense A5 reports. */
.oro-cert .oro-cert-qr-block{display:flex!important;flex-direction:row!important;justify-content:flex-start!important;align-items:center!important;gap:1.25mm!important;min-width:0!important;max-width:100%!important}
.oro-cert .oro-cert-qr{flex:0 0 auto!important}
.oro-cert-qr-text{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:.35mm;min-width:0;line-height:1.1;text-align:left}
/* Align REPORT PORTAL directly above VERIFICATION CODE, beside the QR. */
.oro-cert .oro-cert-portal-label{display:block!important;font:800 7.4px/1.1 Montserrat,Arial,sans-serif!important;color:#302218!important;white-space:nowrap;text-align:left;margin:0 0 .25mm!important;letter-spacing:.02em}
.oro-cert-verify-code{font:650 6.2px/1.1 Montserrat,Arial,sans-serif;color:#5e4630;text-transform:uppercase}
.oro-cert-verify-value{font:850 8.5px/1.1 Montserrat,Arial,sans-serif;color:#2e2016;letter-spacing:.01em;white-space:nowrap}
.oro-cert .oro-cert-qr-caption{white-space:normal!important;text-align:left!important;font-size:6px!important;line-height:1.12!important}
.oro-cert-xrf-v2.oro-xrf-dense .oro-cert-verify-value{font-size:7.6px!important}
.oro-portal-nav{display:flex;gap:12px;flex-wrap:wrap;margin-top:12px}
.oro-portal-nav a{border:1px solid #d8bd9f;border-radius:5px;padding:9px 14px;color:#603813;text-decoration:none;font-weight:700}
.oro-portal-service-group{scroll-margin-top:18px}
.oro-portal-service-group .oro-table-actions{min-width:200px}
.oro-portal-service-group .oro-table-actions .oro-btn{margin:2px;white-space:normal}
.oro-portal-awaiting{color:#887b6f;font-size:12px}
.oro-portal-entry-row[hidden]{display:none!important}
.oro-portal-counters{margin-bottom:12px}
@media(max-width:620px){.oro-portal-nav{gap:6px}.oro-portal-nav a{padding:7px 10px;font-size:12px}}

/* v1.2.12 — keep impurity / gram within the third A5 summary cell. */
.oro-cert-xrf-v2 .oro-xrf-summary-grid>div>small:last-child{margin-top:.35mm}
.oro-cert-xrf-v2 .oro-xrf-summary-grid .oro-xrf-impurity{font-size:9.1px!important}

/* v1.2.13 — Hand-signed certificate treatment (XRF and Diamond only).
   Keep the original transparent scanned ink. A shorter rule passes behind
   the lower signature strokes instead of presenting the image above a bar. */
.oro-cert.oro-cert-xrf-v2 .oro-cert-signature,
.oro-cert.oro-cert-diamond .oro-cert-signature{
  min-height:16mm!important;
  align-items:stretch!important;
  padding-bottom:1.4mm!important;
}
.oro-cert.oro-cert-xrf-v2.oro-xrf-dense .oro-cert-signature{
  min-height:13.2mm!important;
  padding-bottom:.5mm!important;
}
.oro-cert .oro-cert-signline,
.oro-cert-xrf-v2 .oro-xrf-authorized-signline{
  position:relative!important;
  isolation:isolate!important;
  width:47%!important;
  min-height:15mm!important;
  align-self:stretch!important;
  display:flex!important;
  justify-content:flex-end!important;
  align-items:center!important;
  flex-direction:column!important;
  border:0!important;
  margin:0!important;
  padding:0!important;
  overflow:visible!important;
}
.oro-cert-xrf-v2.oro-xrf-dense .oro-xrf-authorized-signline{min-height:12.7mm!important;}
.oro-cert .oro-cert-signline::after,
.oro-cert-xrf-v2 .oro-xrf-authorized-signline::after{
  content:''!important;
  position:absolute!important;
  left:50%!important;
  right:auto!important;
  bottom:3.25mm!important;
  transform:translateX(-50%)!important;
  width:30mm!important;
  border-top:1px solid #30251c!important;
  z-index:1!important;
  pointer-events:none!important;
}
.oro-cert .oro-cert-signline img.oro-xrf-signature-image,
.oro-cert .oro-cert-signline img.oro-cert-signature-image{
  position:absolute!important;
  display:block!important;
  left:53%!important;
  right:auto!important;
  top:auto!important;
  bottom:0.1mm!important;
  transform:translateX(-50%)!important;
  height:18mm!important;
  width:auto!important;
  max-width:43mm!important;
  margin:0!important;
  object-fit:contain!important;
  z-index:3!important;
  pointer-events:none!important;
}
.oro-cert-xrf-v2.oro-xrf-dense .oro-cert-signline img.oro-xrf-signature-image{
  height:14mm!important;
  bottom:0!important;
}
.oro-cert .oro-cert-signline span,
.oro-cert-xrf-v2 .oro-xrf-authorized-signline span{
  position:absolute!important;
  display:block!important;
  left:0!important;
  right:0!important;
  bottom:0!important;
  min-height:2.8mm!important;
  margin:0!important;
  padding:0!important;
  line-height:1.12!important;
  font-size:8px!important;
  text-align:center!important;
  z-index:2!important;
}


/* v1.2.14 — Diamond certificate: keep QR / signature block clearly below Remarks. */
.oro-cert.oro-cert-diamond .oro-diamond-remarks{margin-bottom:1.8mm!important}
.oro-cert.oro-cert-diamond .oro-cert-signature{
  margin-top:1.8mm!important;
  min-height:18mm!important;
  padding-top:.6mm!important;
  padding-bottom:1.2mm!important;
}
.oro-cert.oro-cert-diamond .oro-cert-verification-qr{
  justify-content:flex-start!important;
  padding-top:.4mm!important;
}
.oro-cert.oro-cert-diamond .oro-cert-signline{
  min-height:17mm!important;
}
.oro-cert.oro-cert-diamond .oro-cert-signline img.oro-cert-signature-image{
  height:16.5mm!important;
  bottom:.15mm!important;
}

/* v1.2.15 — QR is a separate row, never touching the Diamond remarks border. */
.oro-cert.oro-cert-diamond .oro-diamond-remarks{margin-bottom:0!important;flex-shrink:0!important}
.oro-cert.oro-cert-diamond .oro-cert-signature{
  margin-top:3.3mm!important;
  padding-top:1.0mm!important;
  min-height:18mm!important;
  flex:0 0 auto!important;
  position:relative!important;
}
.oro-cert.oro-cert-diamond .oro-cert-verification-qr{padding-top:0!important;align-self:center!important}
.oro-cert.oro-cert-diamond .oro-cert-signline{min-height:17mm!important}
/* Keep A5 preview visible on narrow screens rather than cropping the right half. */
@media screen and (max-width:620px){
 .oro-lab .oro-a5-on-screen{zoom:1!important;max-width:100%!important;overflow:visible!important;box-shadow:none!important}
 .oro-lab .oro-a5-on-screen .oro-cert{transform-origin:top left!important}
}
/* Reserve the new QR clearance on A5 without pushing the footer onto page two. */
.oro-cert.oro-cert-diamond .oro-diamond-photos{height:33mm!important;min-height:33mm!important;margin-bottom:1.8mm!important}
.oro-cert.oro-cert-diamond .oro-diamond-photo{height:33mm!important}
.oro-cert.oro-cert-diamond h2.oro-diamond-title{margin-top:3mm!important;margin-bottom:1.5mm!important}
@media print{
 .oro-cert.oro-cert-diamond .oro-diamond-photos{height:33mm!important;min-height:33mm!important}
 .oro-cert.oro-cert-diamond .oro-diamond-photo{height:33mm!important}
}

/* v1.2.16: public certificate verification / printable A5 preview. */
.oro-public-verified{margin-top:16px!important;border-radius:8px!important}
.oro-public-verified h3{font-size:18px!important;margin:0 0 8px!important;color:#2c4f38!important}
.oro-public-report-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px 15px;margin:18px 0 16px}
.oro-public-report-actions small{color:#6c5b4a;font:600 11px/1.5 Montserrat,Arial,sans-serif}
.oro-public-certificate-wrap{width:100%;overflow-x:auto;overflow-y:visible;background:#f8f5f0;border:1px solid #e6d6c7;border-radius:10px;padding:18px 6px;box-sizing:border-box}
.oro-public-a5{transform-origin:top center!important}
.oro-public-certificate-wrap .oro-a5-on-screen{flex:0 0 auto}
.oro-portal #oro-verify-result{scroll-margin-top:22px}
@media(max-width:640px){.oro-public-certificate-wrap{padding:12px 2px}.oro-public-report-actions{flex-direction:column;align-items:flex-start}.oro-public-report-actions button{width:100%}}


/* v1.2.17 - shared 80 mm compact thermal slip typography and ruled tables. */
#oro-print-layer.thermal .oro-receipt.oro-thermal-slip{width:80mm!important;max-width:80mm!important;box-sizing:border-box!important;padding:2.2mm 3mm 3mm!important;min-height:0!important;margin:0!important;background:#fff!important;color:#111!important;overflow:visible!important;font:10.8px/1.3 Arial,Helvetica,sans-serif!important}
#oro-print-layer.thermal .oro-thermal-slip *,#oro-print-layer.thermal .oro-thermal-slip{font-family:Arial,Helvetica,sans-serif!important;box-sizing:border-box!important;color:#111!important}
#oro-print-layer.thermal .oro-thermal-head{text-align:center;padding-bottom:2.2mm;border-bottom:1px dashed #777}
#oro-print-layer.thermal .oro-thermal-head h2{font:900 17px/1.1 Arial,sans-serif!important;margin:0 0 .8mm!important;letter-spacing:.3px}
#oro-print-layer.thermal .oro-thermal-head p{font:9px/1.2 Arial,sans-serif!important;margin:0!important;overflow-wrap:anywhere}
#oro-print-layer.thermal .oro-thermal-head h3{font:800 11.5px/1.2 Arial,sans-serif!important;border-top:1px solid #bbb;letter-spacing:.2px;padding-top:2mm;margin:2mm 0 0!important}
#oro-print-layer.thermal .oro-thermal-meta{margin:1.6mm 0!important;padding:0 0 1.2mm;border-bottom:1px dashed #888}
#oro-print-layer.thermal .oro-thermal-section{border:1px solid #555!important;margin:2mm 0 0!important;padding:0!important;break-inside:avoid!important;page-break-inside:avoid!important}
#oro-print-layer.thermal .oro-thermal-section>h3{background:#eee!important;margin:0!important;padding:1.25mm 1mm!important;text-align:center!important;font:800 10.5px/1.25 Arial,sans-serif!important;letter-spacing:.3px;border-bottom:1px solid #555!important}
#oro-print-layer.thermal .oro-thermal-row{display:flex!important;align-items:baseline!important;gap:2mm!important;justify-content:space-between!important;padding:.85mm 1.6mm!important;margin:0!important;font:10.5px/1.25 Arial,sans-serif!important;border-top:1px solid #dedede!important;min-height:4.8mm!important;break-inside:avoid!important}
#oro-print-layer.thermal .oro-thermal-row:first-child{border-top:0!important}
#oro-print-layer.thermal .oro-thermal-row>span{width:49%;min-width:0;font-weight:600;flex:0 0 49%!important}
#oro-print-layer.thermal .oro-thermal-row>b{font-weight:800;text-align:right;flex:1;min-width:0;overflow-wrap:anywhere;white-space:normal!important}
#oro-print-layer.thermal .oro-thermal-row.oro-thermal-emphasis{background:#f5f5f5!important}
#oro-print-layer.thermal .oro-thermal-row.oro-thermal-total{margin-top:.8mm!important;padding:1.4mm 1.6mm!important;border:1px solid #222!important;background:#f0f0f0!important}
#oro-print-layer.thermal .oro-thermal-row.oro-thermal-total span,#oro-print-layer.thermal .oro-thermal-row.oro-thermal-total b{font-size:13.5px!important;font-weight:900!important}
#oro-print-layer.thermal .oro-thermal-row.oro-thermal-accent b{font-weight:900!important;font-size:12px!important}
#oro-print-layer.thermal .oro-thermal-weight{padding:1.5mm 1.6mm!important;border-top:1px solid #ccc!important;margin:0!important}
#oro-print-layer.thermal .oro-thermal-minor{text-align:center;font:700 9px/1.25 Arial,sans-serif!important;margin-bottom:.7mm!important}
#oro-print-layer.thermal .oro-thermal-tmr{margin:0!important;min-width:0!important;border-collapse:collapse!important;table-layout:fixed!important;width:100%!important;font:10px/1.2 Arial,sans-serif!important}
#oro-print-layer.thermal .oro-thermal-tmr th,#oro-print-layer.thermal .oro-thermal-tmr td{border:1px solid #777!important;padding:.7mm .5mm!important;text-align:center!important;width:33.33%!important}
#oro-print-layer.thermal .oro-thermal-tmr th{font-weight:700!important;background:#f4f4f4!important}
#oro-print-layer.thermal .oro-thermal-tmr td{font-weight:800!important;font-size:11px!important}
#oro-print-layer.thermal .oro-thermal-footer{border-top:1px dashed #777!important;margin:2.8mm 0 0!important;padding-top:2mm!important;text-align:center!important}
#oro-print-layer.thermal .oro-thermal-qrrow{display:flex!important;gap:2mm!important;justify-content:center!important;align-items:center!important;min-height:20mm!important}
#oro-print-layer.thermal .oro-thermal-qrrow img{width:19mm!important;height:19mm!important;max-width:19mm!important;object-fit:contain!important;flex:none!important;image-rendering:crisp-edges!important;border:0!important}
#oro-print-layer.thermal .oro-thermal-qrrow>div{display:flex!important;flex-direction:column!important;align-items:flex-start!important;text-align:left!important;min-width:0!important;font:9px/1.3 Arial,sans-serif!important}
#oro-print-layer.thermal .oro-thermal-qrrow b{font-size:10.5px!important;letter-spacing:.2px!important}
#oro-print-layer.thermal .oro-thermal-qrrow small{font-size:9px!important}
#oro-print-layer.thermal .oro-thermal-footer p{font:8.5px/1.3 Arial,sans-serif!important;text-align:center!important;margin:1.5mm 0 0!important;padding:0!important}
@media print{#oro-print-layer.thermal .oro-receipt.oro-thermal-slip{break-after:avoid-page!important;page-break-after:avoid!important}}

/* v1.2.25 XRF entry navigation and in-dashboard new-entry prompt */
.oro-xrf-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0 20px}
.oro-xrf-today-detail{border:1px solid #c5aa79}
.oro-xrf-detail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:12px 0}
.oro-xrf-detail-grid>div{display:flex;flex-direction:column;gap:3px;padding:10px;border:1px solid #e2ddd4;border-radius:6px}
.oro-xrf-detail-grid b{font-size:11px;color:#786c5d}
.oro-xrf-detail-grid span{font-size:13px;overflow-wrap:anywhere}
.oro-new-entry-overlay{position:fixed;inset:0;background:rgba(20,22,24,.42);z-index:99999;display:flex;align-items:center;justify-content:center;padding:15px}
.oro-new-entry-dialog{width:min(96vw,460px);padding:24px;background:white;border-radius:12px;box-shadow:0 12px 55px #0005;color:#1e201f}
.oro-new-entry-dialog h3{font-size:20px;margin:0 0 8px}
.oro-new-entry-dialog p{margin:6px 0;overflow-wrap:anywhere}
.oro-new-entry-dialog .oro-actions{margin-top:18px}
@media(max-width:650px){.oro-xrf-detail-grid{grid-template-columns:1fr}.oro-xrf-tabs .oro-btn{flex:1}}
@media print{.oro-new-entry-overlay{display:none!important}}
