.pfm-backdrop,.pfm-panel{--pfm-blue:#2f8bfd;--pfm-blue-dark:#1f74e0;--pfm-field-bg:#F5F9FF;--pfm-text:#1f2937;--pfm-label:#111827;--pfm-muted:#6b7280;--pfm-placeholder:#8a94a6;--pfm-line:#dbe7f7;--pfm-danger:#e11d48}.pfm-backdrop{position:fixed;inset:0;z-index:1050;display:flex;align-items:center;justify-content:center;padding:24px;background:rgba(15,23,42,.55);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.pfm-panel{position:relative;display:flex;flex-direction:column;width:100%;max-width:920px;max-height:calc(100vh - 48px);overflow:hidden;background:#fff;border-radius:16px;box-shadow:0 20px 45px rgba(15,23,42,.28),0 2px 8px rgba(15,23,42,.12)}.pfm-panel--inline{max-width:1100px;max-height:none;margin:0 auto;overflow:visible;box-shadow:0 2px 10px rgba(15,23,42,.06)}.pfm-panel--inline .pfm-body{overflow:visible}.pfm-header{display:flex;align-items:center;justify-content:space-between;flex-shrink:0;margin:0 26px;padding:20px 0 16px;border-bottom:1px solid var(--pfm-line)}.pfm-title{margin:0;font-size:1.4rem;font-weight:600;color:var(--pfm-label)}.pfm-header-actions{display:flex;align-items:center;gap:.6rem}.pfm-close-btn{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;padding:0;border:1.5px solid var(--pfm-blue);border-radius:999px;background:#fff;color:var(--pfm-blue);cursor:pointer}.pfm-close-btn:hover{background:#eaf3ff}.pfm-body{flex:1 1 auto;min-height:0;overflow-y:auto;padding:22px 32px 28px}.pfm-loading{padding:3rem;text-align:center;color:var(--pfm-muted)}.pfm-fieldset{border:none;margin:0;padding:0;min-width:0}.pfm-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:22px 20px}.pfm-col-2{grid-column:span 2}.pfm-col-3{grid-column:span 3}.pfm-col-4{grid-column:span 4}.pfm-col-5{grid-column:span 5}.pfm-col-6{grid-column:span 6}.pfm-col-8{grid-column:span 8}.pfm-col-12{grid-column:1/-1}.pfm-field{display:flex;flex-direction:column;gap:10px;min-width:0}.pfm-label{font-size:.9rem;font-weight:500;color:var(--pfm-label)}.pfm-required{margin-left:1px;color:var(--pfm-danger)}.pfm-inline{display:flex;gap:8px;min-width:0}.pfm-inline>.pfm-input{flex:1 1 0;min-width:0}.pfm-panel .pfm-input{width:100%;height:48px;padding:0 12px;border:1px solid var(--pfm-line);border-radius:8px;background:var(--pfm-field-bg);color:var(--pfm-text);font-size:.88rem;outline:none;box-shadow:none;transition:border-color .15s ease,background .15s ease}.pfm-panel .pfm-input::placeholder{color:var(--pfm-placeholder)}.pfm-panel .pfm-input:focus{border-color:var(--pfm-blue);background-color:#fff;box-shadow:0 0 0 3px rgba(47,139,253,.12)}.pfm-panel .pfm-input:disabled{color:var(--pfm-muted);cursor:default}.pfm-panel .pfm-input--error{border-color:var(--pfm-danger)}.pfm-inline>.pfm-input--code{flex:0 0 60px;text-align:center}.pfm-inline>.pfm-input--title{flex:0 0 84px}.pfm-panel .pfm-input--sm{height:38px;font-size:.84rem}.pfm-panel .pfm-select{appearance:none;-webkit-appearance:none;padding-right:30px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%236b7280' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;cursor:pointer}.pfm-panel .pfm-textarea{height:auto;min-height:84px;padding:12px;resize:vertical;line-height:1.45}.pfm-error{margin-top:-4px;font-size:.78rem;color:var(--pfm-danger)}.pfm-segmented{display:flex;height:48px;padding:4px;border:1px solid var(--pfm-line);border-radius:8px;background:#fff}.pfm-segment{flex:1 1 0;border:none;border-radius:6px;background:transparent;color:#374151;font-size:.9rem;cursor:pointer;transition:background .15s ease,color .15s ease}.pfm-segment:hover:not(:disabled):not(.pfm-segment--active){background:var(--pfm-field-bg)}.pfm-segment--active{background:var(--pfm-blue);color:#fff;font-weight:500}.pfm-segment:disabled{cursor:default}.pfm-section{margin-top:30px}.pfm-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.pfm-section-title{margin:0 0 14px;font-size:.9rem;font-weight:500;color:var(--pfm-label)}.pfm-section-head .pfm-section-title{margin:0}.pfm-section-extra{margin-top:18px}.pfm-abha-details{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 20px;margin:0;padding:16px 18px;border:1px solid var(--pfm-line);border-radius:10px;background:#f8fbff}.pfm-abha-detail{min-width:0}.pfm-abha-detail dt{margin-bottom:4px;font-size:.78rem;font-weight:400;color:var(--pfm-muted)}.pfm-abha-detail dd{margin:0;font-size:.88rem;font-weight:500;color:var(--pfm-text);overflow-wrap:anywhere}@media (max-width:640px){.pfm-abha-details{grid-template-columns:repeat(2,minmax(0,1fr))}}.pfm-check-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px 20px}.pfm-check-item{display:flex;flex-direction:column;gap:8px;min-width:0}.pfm-check-item--wide{grid-column:span 2}.pfm-check{display:inline-flex;align-items:center;gap:10px;color:#4b5563;font-size:.9rem;cursor:pointer;user-select:none}.pfm-check input{appearance:none;-webkit-appearance:none;flex-shrink:0;width:20px;height:20px;margin:0;border:1.5px solid #9dbcf0;border-radius:4px;background:#fff;cursor:pointer;transition:background .15s ease,border-color .15s ease}.pfm-check input:checked{border-color:var(--pfm-blue);background:var(--pfm-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='10' viewBox='0 0 12 10'%3E%3Cpath d='M1 5l3.5 3.5L11 1.5' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center /12px 10px no-repeat}.pfm-check input:focus-visible{outline:2px solid rgba(47,139,253,.4);outline-offset:2px}.pfm-check input:disabled,.pfm-fieldset:disabled .pfm-check{cursor:default}.pfm-footer{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-shrink:0;padding:16px 28px 20px;background:#fff;border-top:1px solid #eef2f7}.pfm-btn{display:inline-flex;align-items:center;justify-content:center;height:36px;padding:0 22px;border:1px solid var(--pfm-blue);border-radius:8px;font-size:.9rem;font-weight:500;cursor:pointer;transition:background .15s ease,border-color .15s ease}.pfm-footer .pfm-btn{min-width:92px;height:34px}.pfm-footer .pfm-btn--primary{min-width:160px}.pfm-btn--primary{background:var(--pfm-blue);color:#fff}.pfm-btn--primary:hover:not(:disabled){background:var(--pfm-blue-dark);border-color:var(--pfm-blue-dark)}.pfm-btn--outline{background:#fff;color:var(--pfm-blue)}.pfm-btn--outline:hover:not(:disabled){background:#eaf3ff}.pfm-btn:disabled{opacity:.6;cursor:not-allowed}.pfm-btn--sm{height:32px;padding:0 14px;font-size:.82rem}.pfm-abha-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:22px;padding:12px 16px;border:1px solid var(--pfm-line);border-radius:10px;background:#eff6ff}.pfm-abha-bar-text{display:flex;flex-direction:column;gap:2px;font-size:13px;color:#475569}.pfm-abha-bar-text strong{color:#1e293b;font-size:14px}.pfm-abha-bar-actions{display:flex;gap:8px;flex-wrap:wrap}@media (max-width:860px){.pfm-col-2,.pfm-col-3{grid-column:span 6}.pfm-col-4,.pfm-col-5,.pfm-col-6,.pfm-col-8{grid-column:1/-1}.pfm-check-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:768px){.pfm-backdrop{padding:0}.pfm-panel{max-width:100%;height:100%;max-height:100vh;border-radius:0}.pfm-header{margin:0 16px}.pfm-body{padding:18px 16px 24px}.pfm-footer{padding:14px 16px}}@media (max-width:480px){.pfm-col-2,.pfm-col-3{grid-column:1/-1}.pfm-check-grid{grid-template-columns:minmax(0,1fr)}.pfm-check-item--wide{grid-column:auto}.pfm-inline{flex-wrap:wrap}.pfm-inline>.pfm-input--title{flex:1 1 100%}}.popup-shell .popup-shell--sm{max-width:480px}.popup-shell .popup-shell--md{max-width:640px}.popup-shell .popup-shell--lg{max-width:920px}.popup-shell .popup-shell--xl{max-width:1180px}.popup-shell .popup-shell--full{max-width:1400px}.pfm-backdrop.popup-shell{z-index:10001}.popup-shell .pfm-body .form-label{margin-bottom:8px;font-size:.9rem;font-weight:500;color:var(--pfm-label)}.popup-shell .pfm-body .form-control,.popup-shell .pfm-body .form-select{min-height:44px;border:1px solid var(--pfm-line)!important;border-radius:8px!important;background-color:var(--pfm-field-bg)!important;color:var(--pfm-text);font-size:.88rem;box-shadow:none;transition:border-color .15s ease,background-color .15s ease}.popup-shell .pfm-body textarea.form-control{min-height:44px;line-height:1.45}.popup-shell .pfm-body .form-control::placeholder{color:var(--pfm-placeholder)}.popup-shell .pfm-body .form-control:focus,.popup-shell .pfm-body .form-select:focus{border-color:var(--pfm-blue)!important;background-color:#fff!important;box-shadow:0 0 0 3px rgba(47,139,253,.12)!important}.popup-shell .pfm-body .form-control:disabled,.popup-shell .pfm-body .form-control[readonly],.popup-shell .pfm-body .form-select:disabled{background-color:var(--pfm-field-bg)!important;color:var(--pfm-muted);opacity:1}.popup-shell .pfm-footer .btn{display:inline-flex;align-items:center;justify-content:center;min-width:92px;height:34px;margin:0;padding:0 22px;border:1px solid var(--pfm-blue);border-radius:8px;font-size:.9rem;font-weight:500;box-shadow:none}.popup-shell .pfm-footer .btn-primary,.popup-shell .pfm-footer .btn-success{background:var(--pfm-blue);color:#fff}.popup-shell .pfm-footer .btn-primary:hover:not(:disabled),.popup-shell .pfm-footer .btn-success:hover:not(:disabled){background:var(--pfm-blue-dark);border-color:var(--pfm-blue-dark)}.popup-shell .pfm-footer .btn-light,.popup-shell .pfm-footer .btn-outline-primary,.popup-shell .pfm-footer .btn-outline-secondary,.popup-shell .pfm-footer .btn-secondary{background:#fff;color:var(--pfm-blue)}.popup-shell .pfm-footer .btn-light:hover:not(:disabled),.popup-shell .pfm-footer .btn-outline-primary:hover:not(:disabled),.popup-shell .pfm-footer .btn-outline-secondary:hover:not(:disabled),.popup-shell .pfm-footer .btn-secondary:hover:not(:disabled){background:#eaf3ff}.popup-shell .pfm-footer .btn-primary,.popup-shell .pfm-footer .pfm-btn--primary{min-width:120px}.AddLabWorkModal_teethHead__PpPss{flex-wrap:wrap}.AddLabWorkModal_teethHead__PpPss .AddLabWorkModal_dentitionToggle__Vffg8{flex:0 0 auto;width:240px;height:40px}.AddLabWorkModal_toothScroller__hmsqw{overflow-x:auto;border:1px solid #dbe7f7;border-radius:8px;background:#f5f9ff;-webkit-overflow-scrolling:touch}.AddLabWorkModal_toothGrid__4Urnn{position:relative;display:flex;flex-direction:column;gap:8px;width:max-content;min-width:100%;padding:10px}.AddLabWorkModal_cross__nwxEk{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:18px;height:18px;background:#dbe7f7;border-radius:50%;z-index:1}.AddLabWorkModal_quadrantRow__2iam0{display:flex;gap:8px}.AddLabWorkModal_quadrantBox__uslKi{flex:1 0 auto;display:flex;flex-wrap:nowrap;justify-content:center;gap:8px;min-height:110px;padding:10px;border:1px solid #dbe7f7;border-radius:8px;background:#fff}.AddLabWorkModal_toothWrapper__wOnhs{flex:0 0 auto;width:46px;text-align:center;cursor:default}.AddLabWorkModal_toothImage__3lDJn{width:100%;height:auto;max-height:55px;object-fit:contain}.AddLabWorkModal_toothLabel__vlSwH{margin-top:4px;font-size:12px;color:#374151}.AddLabWorkModal_selectedTeeth__KxSUZ{margin-top:12px;padding:10px 12px;border:1px solid #dbe7f7;border-radius:8px;background:#f5f9ff;font-size:.88rem;color:#1f2937;overflow-wrap:anywhere}.AddLabWorkModal_resultsBox__yWrUT{overflow-x:auto;border:1px solid #dbe7f7;border-radius:8px;background:#f5f9ff;-webkit-overflow-scrolling:touch}.AddLabWorkModal_resultsTable__comCM{display:flex;flex-direction:column;gap:8px;min-width:720px;padding:12px}.AddLabWorkModal_resultRow__W8j0_{display:grid;grid-template-columns:2fr 1fr 1fr 1.3fr 1.1fr auto;gap:8px;align-items:center}.AddLabWorkModal_resultHead__Q5KFB{font-size:.82rem;font-weight:500;color:#111827}.AddLabWorkModal_resultsBox__yWrUT .AddLabWorkModal_resultsTable__comCM .pfm-input{background-color:#fff}.AddLabWorkModal_resultRow__W8j0_ .AddLabWorkModal_removeResultBtn__qneoU{border-color:#fecaca;color:#dc2626}.AddLabWorkModal_resultRow__W8j0_ .AddLabWorkModal_removeResultBtn__qneoU:hover:not(:disabled){background:#fef2f2}@media (max-width:480px){.AddLabWorkModal_teethHead__PpPss .AddLabWorkModal_dentitionToggle__Vffg8{width:100%}}