/* Production uses the approved reference system; additions cover live data and media. */
.production .app-sidebar{top:16px}.production .mobile-backdrop.visible{inset:0}.production .auth-shell{min-height:100vh}.production .prototype{min-height:100vh}.production .product-topbar .session-label{font-size:10px;color:var(--muted)}
.production .app-content{min-height:calc(100vh - 160px)}.live-filter{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:20px}.live-filter .field{flex:1;min-width:160px}.live-filter input{min-width:0}.document-control{border:1px dashed var(--line);padding:18px;border-radius:14px;display:grid;gap:12px}.document-control input[type=file]{max-width:100%;font-size:12px}.file-state{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.media-preview{display:block;width:100%;max-height:390px;object-fit:contain;border-radius:18px;background:#e5ebf3}.camera-preview{width:100%;aspect-ratio:4/3;max-height:400px;object-fit:cover;border-radius:18px;background:#122545}.evidence-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.field input[type=color]{height:46px;padding:5px}.field textarea{width:100%;min-height:100px;border:1px solid #cbd8eb;border-radius:10px;background:#ffffffb8;padding:12px;font:inherit}.inline-error{margin:0 0 20px}.loading-state{padding:60px 20px;text-align:center;color:var(--muted)}.loading-ring{width:32px;height:32px;border:3px solid var(--line);border-top-color:var(--brand);border-radius:50%;animation:live-spin 1s linear infinite;margin:0 auto 18px}.record-links{display:flex;gap:12px;align-items:center}.auth-environments{margin-top:20px;justify-content:center}.auth-environments a{font-size:11px}.permission-scroll{overflow-x:auto}.permission-scroll table{min-width:700px}.contact-repeat{display:grid;gap:14px}.repeat-row{border:1px solid var(--line);border-radius:12px;padding:16px}.live-tabs{margin-bottom:24px}.live-tabs a{white-space:nowrap}.client-signature-actions{margin-top:20px}.signature-progress{display:flex;align-items:center;gap:12px}.signature-progress .loading-ring{width:20px;height:20px;margin:0}.readonly-list{display:grid;gap:12px}.readonly-list li{list-style:none}.table-scroll td{overflow-wrap:anywhere}.product-topbar .btn{min-height:32px;padding:5px 10px;font-size:10px}.auth-card .field input{width:100%}.modal-body .form-grid{margin-top:15px}.color-preview{height:80px;border:1px solid var(--line);border-radius:14px}.mobile-menu:focus-visible{outline-offset:4px}.status-note{font-size:11px;color:var(--muted);margin-top:12px}.entry-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.entry-grid .btn{min-height:70px}.signed-evidence{white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px}.readonly-section{margin-top:20px}.badge.warning{white-space:normal}.production .tenant-brand-image{object-fit:contain}.production .side-profile{overflow-wrap:anywhere}.production .side-profile>span{min-width:0}.production .btn.danger{background:#ae3449;color:white}.production .app-sidebar nav{overflow-y:auto;min-height:0}.production .app-sidebar{overflow-y:auto}.form-action-error{margin-top:15px}.permission-categories{display:flex;flex-wrap:wrap;gap:10px}.data-warning{margin-bottom:20px}@keyframes live-spin{to{transform:rotate(360deg)}}
@media(max-width:600px){.evidence-grid{grid-template-columns:1fr}.entry-grid{grid-template-columns:1fr}.production .product-topbar .session-label{display:none}.production .app-sidebar{top:10px}.live-filter .field{width:100%}.product-topbar .tenant-context{font-size:10px}.production .auth-story h1{margin-top:28px}.production .tenant-brand-image{max-width:170px}.permission-scroll table{min-width:610px}}
@media(prefers-reduced-motion:reduce){.loading-ring{animation-duration:2s}}

.production [hidden]{display:none!important}
.btn[aria-busy=true]{opacity:.8}.btn[aria-busy=true]:before{content:'';width:14px;height:14px;flex:none;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:live-spin .8s linear infinite}
.registry-menu>summary{list-style:none}.registry-menu>summary::-webkit-details-marker{display:none}.registry-menu[open]>summary>svg:last-child{transform:rotate(90deg)}
.live-filter{align-items:flex-end}.client-broker-card>.between>.row{flex:1;min-width:0;flex-wrap:nowrap}.client-broker-card>.between>.row>div{min-width:0}
@media(max-width:600px){.client-broker-card>.between>.badge{display:none}}

#regulation-settings-form fieldset{border:0;padding:0;margin:0;min-width:0}

.regulation-module .between{flex-wrap:wrap}.regulation-module .table-scroll table:has(th:nth-child(4)){min-width:740px}.regulation-module .table-scroll .badge{white-space:nowrap}

.regulation-calendar-row{display:flex;justify-content:space-between;gap:20px;padding:16px;border:1px solid var(--line);border-radius:14px}.regulation-calendar-row>div:first-child{min-width:0}.regulation-overdue{border-left:4px solid #b42318}.regulation-today{border-left:4px solid #b7791f}.regulation-calendar-row .badge{white-space:nowrap}@media(max-width:600px){.regulation-calendar-row{flex-direction:column;gap:12px}.regulation-dashboard .stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
