/* Shared screen typography for the Gentix shell and embedded ERP modules.
   Keep topology/port labels, large metrics and printable documents separate. */
:root{--text-body:14px;--text-control:14px;--text-label:13px;--text-small:12px;--text-micro:11px;--text-h1:28px;--text-h2:18px;--text-h3:15px}
@media screen{
 body{font-family:Inter,'Segoe UI',Arial,sans-serif;font-size:var(--text-body);line-height:1.5}
 h1,h2,h3{font-family:inherit;font-weight:650}
 h1,.heading h1{font-size:var(--text-h1);line-height:1.25}h2,.cardhead h2{font-size:var(--text-h2);line-height:1.4}h3{font-size:var(--text-h3);line-height:1.4}
 button,input,select,textarea{font-size:var(--text-control)}label.field,.field>span{font-size:var(--text-label)}
 .nav button,.tabs button,.crm-record-tabs button{font-size:var(--text-control)}
 .heading p,.cardbody>p,.tool p,.settings-module-card p,.um-note{font-size:var(--text-body)}
 table td,table th,.detailrow,.employee-facts{font-size:var(--text-label)}
 small,.footnote,.muted.footnote,.field small,.tablewrap td small,.notification-item small{font-size:var(--text-small)}
 .badge,.eyebrow,.navlabel,.label{font-size:var(--text-micro)}.breadcrumb-path,.breadcrumb-options>button,.topright{font-size:var(--text-label)}
 .notification-item strong{font-size:var(--text-body)}.notification-item span span{font-size:var(--text-label)}.user-menu-panel>small{font-size:var(--text-small)}
 .qe-studio button,.qe-studio input,.qe-studio select,.qe-studio textarea{font-size:var(--text-label)}.qe-studio .article-search-hit .badge{font-size:var(--text-micro)!important}
}
.gentix-crop-dialog{width:min(680px,calc(100vw - 24px));padding:0;border:1px solid #d8dce0;border-radius:12px;background:white;color:#263746;max-height:94dvh;overflow:auto}.gentix-crop-dialog::backdrop{background:#15202c80}.gentix-crop-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 22px;border-bottom:1px solid #ddd}.gentix-crop-body{padding:20px}.gentix-crop-body canvas{display:block;max-width:100%;max-height:42dvh;width:auto;height:auto;margin:16px auto;touch-action:none;cursor:move;background:repeating-conic-gradient(#eee 0 25%,#fff 0 50%) 0 / 16px 16px}.gentix-crop-controls{display:grid;gap:12px}.gentix-crop-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}.gentix-crop-error{color:#a12f35}
