/* Owner payment analytics · ISIC style, responsive three-value register */
#ownerView .pr-title{margin:2px 2px 14px}
#ownerView .pr-title h2{margin:0;color:#0b2633;font-size:clamp(21px,4vw,26px);font-weight:850;letter-spacing:-.035em}
#ownerView .pr-title p{margin:5px 0 0;font-size:12px;color:#6b7f86}
#ownerView .pr-loading,#ownerView .pr-empty{padding:28px 14px;text-align:center;color:#5f7981;font-size:13px}
#ownerView .pr-tabs{display:flex;gap:5px;overflow-x:auto;scrollbar-width:thin;white-space:nowrap;padding:5px;background:#eaf3f4;border-radius:15px;margin:0 0 16px}
#ownerView .pr-tabs button{flex:1 0 auto;min-width:58px;min-height:40px;border:0;border-radius:11px;padding:8px 12px;background:transparent;color:#38515a;font:inherit;font-size:12px;font-weight:800}
#ownerView .pr-tabs button.active{background:#fff;color:#102b33;box-shadow:0 2px 10px rgba(7,28,37,.08)}
#ownerView .pr-tabs button:focus-visible,#ownerView .pr-register-row:focus-visible,#ownerView .pr-analytics-tile:focus-visible{outline:2px solid #00a3bd;outline-offset:2px}
#ownerView .pr-analytics-tile{width:100%;appearance:none;border:1px solid #cde4e8;border-radius:19px;background:linear-gradient(132deg,#f8feff,#edf8fa);padding:18px 14px;display:flex;align-items:center;gap:12px;color:#0b2430;text-align:left;cursor:pointer;min-width:0}
#ownerView .pr-tile-icon{width:42px;height:42px;flex:0 0 42px;border-radius:13px;background:#087d90;color:#fff;font-size:24px;font-weight:750;display:grid;place-items:center}
#ownerView .pr-tile-detail{display:flex;flex:1 1 auto;flex-direction:column;min-width:0;gap:4px}
#ownerView .pr-tile-detail strong{font-size:18px}
#ownerView .pr-tile-detail small{font-size:11px;color:#536c78;line-height:1.4}
#ownerView .pr-tile-value{font-size:16px;font-weight:850;white-space:nowrap}
#ownerView .pr-tile-chevron{font-size:27px;color:#1f7d8c}
#ownerView .pr-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:15px 0}
#ownerView .pr-summary-card{display:flex;flex-direction:column;justify-content:space-between;gap:9px;padding:13px 10px;background:#fff;border:1px solid #dae9ec;border-radius:14px;min-width:0}
#ownerView .pr-summary-card>span{font-size:11px;color:#58707a;font-weight:700;line-height:1.3}
#ownerView .pr-summary-card>b{font-size:clamp(13px,2.7vw,21px);color:#102b32;overflow-wrap:anywhere;line-height:1.2}
#ownerView .pr-summary-card:last-child{border-color:#b8dfe4;background:#f1fbfc}
#ownerView .pr-note{font-size:11px;line-height:1.5;color:#637981;margin:12px 1px}
#ownerView .pr-error{color:#a75317;background:#fff4e5;border:1px solid #f4d9b6;border-radius:12px;padding:10px 12px;font-size:12px}
#ownerView .pr-back{background:none;border:0;padding:9px 0;margin:0 0 9px;color:#087c92;font-weight:800;font-size:13px;cursor:pointer}
#ownerView .pr-filter-form{background:#fff;border:1px solid #dbecef;border-radius:17px;padding:13px;margin-bottom:12px;display:grid;gap:10px}
#ownerView .pr-filter-form label{display:grid;gap:5px;margin:0;color:#526e78;font-size:11px;font-weight:800;min-width:0}
#ownerView .pr-filter-form input,#ownerView .pr-filter-form select{display:block;width:100%;min-width:0;max-width:100%;box-sizing:border-box;border:1px solid #cedee1;border-radius:10px;background:#fff;padding:10px 9px;min-height:42px;font-size:13px;color:#162e37}
#ownerView .pr-filter-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
#ownerView .pr-filter-actions{display:flex;gap:8px}
#ownerView .pr-filter-actions button{flex:1;min-width:0}
#ownerView .pr-register{background:#fff;border:1px solid #d7e7eb;border-radius:17px;overflow:hidden;min-width:0}
#ownerView .pr-row-labels{display:none}
#ownerView .pr-register-head,#ownerView .pr-register-row,#ownerView .pr-total-row{display:grid;grid-template-columns:minmax(175px,1.3fr) minmax(310px,2fr);align-items:center;gap:8px}
#ownerView .pr-register-head{padding:12px 15px;background:#eaf5f7;color:#526f79;font-size:11px;font-weight:850}
#ownerView .pr-money-labels,#ownerView .pr-money-values{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;align-items:center;text-align:right}
#ownerView .pr-money-labels span{font-size:10.5px;line-height:1.35}
#ownerView .pr-register-row{appearance:none;width:100%;border:0;border-top:1px solid #e7f0f1;background:#fff;color:#152d37;padding:13px 15px;text-align:left;cursor:pointer}
#ownerView .pr-register-row:hover{background:#f9fdfd}
#ownerView .pr-operation{display:grid;gap:4px;min-width:0}
#ownerView .pr-operation strong{font-size:12.5px;font-weight:800;overflow-wrap:anywhere}
#ownerView .pr-operation small{font-size:10.5px;color:#637e85;overflow-wrap:anywhere}
#ownerView .pr-operation .pr-invoice{font-family:ui-monospace,Consolas,monospace;font-size:10px}
#ownerView .pr-money-values strong{font-size:12px;font-weight:750;white-space:nowrap;font-variant-numeric:tabular-nums}
#ownerView .pr-money-values .pr-received{color:#087f82}
#ownerView .pr-total-row{padding:14px 15px;background:#e7f8f8;border-top:2px solid #addbdc;color:#0c3037}
#ownerView .pr-total-caption{display:grid;gap:3px}
#ownerView .pr-total-caption strong{font-size:15px}
#ownerView .pr-total-caption small{font-size:10px;color:#537077}
#ownerView .pr-total-row .pr-money-values strong{font-weight:900;font-size:13px}
#ownerView .pr-pagination{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:15px 0 30px;font-size:11px;color:#62747c}
#ownerView .pr-pagination>div{display:flex;gap:6px}
#ownerView .pr-pagination button{padding:8px 11px;font-size:11px}
#ownerView .pr-pagination button:disabled{opacity:.35;cursor:not-allowed}
@media(max-width:680px){
  #ownerView .pr-register-head{display:none}
  #ownerView .pr-register-row,#ownerView .pr-total-row{display:block;padding:14px 12px}
  #ownerView .pr-operation{margin-bottom:13px}
  #ownerView .pr-operation strong{font-size:14px}
  #ownerView .pr-money-values{gap:3px}
  #ownerView .pr-money-values strong{font-size:12px;min-width:0;white-space:normal;overflow-wrap:anywhere;text-align:right}
  #ownerView .pr-total-caption{margin-bottom:12px}
  #ownerView .pr-total-row .pr-money-values strong{font-size:13px}
  #ownerView .pr-row-labels{display:grid!important;margin-bottom:4px;font-size:9px;color:#6e858d;text-align:right}
  #ownerView .pr-row-labels span{font-size:10px}
}
@media(max-width:370px){
  #ownerView .pr-tile-value{display:none}
  #ownerView .pr-summary-card{padding:10px 7px}
  #ownerView .pr-summary-card>b{font-size:12px}
  #ownerView .pr-summary-card>span{font-size:10px}
  #ownerView .pr-filter-controls{grid-template-columns:1fr}
}
