.pr-page{display:grid;gap:16px;min-width:0;direction:rtl}.pr-header{display:flex;align-items:center;gap:16px;padding:24px;border-radius:20px;background:linear-gradient(120deg,#102c43,#126a68);color:#fff}.pr-header>span{display:grid;place-items:center;width:56px;height:56px;border-radius:16px;background:#ffffff16;flex:none}.pr-header .app-icon{width:32px;height:32px}.pr-header h1{margin:5px 0;font-size:24px}.pr-header p{margin:0;font-size:13px;color:#d6efed}.pr-tabs{display:flex;gap:8px;flex-wrap:wrap}.pr-tabs button{border-radius:12px;padding:10px 18px;background:var(--panel,#fff);color:var(--text,#17324d);border:1px solid var(--border,#dce5ec)}.pr-tabs button.active{background:#0d7668;color:white}.pr-panel{min-width:0;padding:18px;background:var(--panel,#fff);border:1px solid var(--border,#dce5ec);border-radius:18px}.pr-filters{display:flex;gap:10px;align-items:end;flex-wrap:wrap;margin-bottom:15px}.pr-filters label{display:grid;gap:5px;min-width:0;max-width:260px;font-size:12px}.pr-filters input,.pr-filters select{width:100%;min-height:40px}.pr-filters input[name=year]{width:110px}.pr-person-filter{width:240px}.pr-note{font-size:12px;line-height:1.9;color:var(--text-muted,#64748b);overflow-wrap:anywhere}.pr-sub{display:block}.pr-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.pr-actions button{padding:7px 10px;white-space:nowrap}.pr-pages{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:18px}.pr-pages button{width:auto!important;min-width:90px;white-space:nowrap;padding:8px 12px}.pr-totals{display:grid;grid-template-columns:1fr 2fr;gap:12px}.pr-totals article{min-width:0;background:var(--surface,#f1f7f8);padding:16px;border:1px solid var(--border,#dce5ec);border-radius:14px}.pr-totals span{display:block;font-size:12px}.pr-totals strong{display:block;font-size:22px;overflow-wrap:anywhere;margin-top:7px}.pr-report-list{display:grid;gap:10px}.pr-person{border:1px solid var(--border,#dce5ec);border-radius:14px;min-width:0;overflow:hidden}.pr-person summary{display:flex;align-items:center;gap:12px;padding:15px;cursor:pointer;list-style:none}.pr-person summary>div{flex:1;min-width:0}.pr-person summary b,.pr-person summary strong{overflow-wrap:anywhere}.pr-person summary small{display:block;font-size:11px;color:var(--text-muted,#64748b);margin-top:5px}.pr-person-body{padding:0 15px 15px}.pr-money-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.pr-money-grid>div{padding:10px;border-radius:10px;background:var(--surface,#f4f8f9);min-width:0}.pr-money-grid span{font-size:11px;display:block;margin-bottom:5px}.pr-money-grid b{overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.pr-time-grid{display:flex;gap:14px;flex-wrap:wrap;margin:15px 0;font-size:12px}.pr-modal{width:min(760px,calc(100vw - 24px))!important;max-height:calc(100dvh - 24px);overflow:auto}.pr-order-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;min-width:0}.pr-order-form label{display:grid;gap:5px;font-size:12px;min-width:0}.pr-order-form input,.pr-order-form select,.pr-order-form textarea{width:100%;min-width:0;min-height:40px}.pr-order-preview,.pr-wide{grid-column:1/-1}.pr-order-preview{padding:12px;border-radius:12px;background:#e9f7f3;color:#075c4d;line-height:1.9;overflow-wrap:anywhere}.pr-history article{padding:12px;border-bottom:1px solid var(--border,#ddd);overflow-wrap:anywhere}.pr-page table td{vertical-align:middle}.pr-page .table-wrap{max-width:100%;overflow:auto}.pr-person summary::-webkit-details-marker{display:none}@media(max-width:600px){.pr-header{padding:17px}.pr-header h1{font-size:20px}.pr-panel{padding:12px}.pr-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.pr-filters label,.pr-person-filter{width:auto;max-width:100%}.pr-filters input[name=year]{width:100%}.pr-money-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pr-totals{grid-template-columns:minmax(0,1fr)}.pr-totals strong{font-size:20px}.pr-order-form{grid-template-columns:minmax(0,1fr)}.pr-person summary{gap:8px;padding:12px}.pr-person summary>strong{max-width:45%}.pr-order-form input{font-size:16px}}
.pr-person summary .pr-slip-download{display:grid;place-items:center;flex:0 0 34px;width:34px!important;min-width:34px!important;height:34px;padding:0!important;border-radius:10px;font-size:0;box-shadow:none}.pr-slip-download svg{width:19px;height:19px}.pr-slip-download[aria-busy=true]{opacity:.5;cursor:wait}
.pr-order-form label.pr-exemption{display:flex;align-items:flex-start;gap:10px;padding:12px;border:1px solid var(--border,#dce5ec);border-radius:12px;line-height:1.9}.pr-order-form .pr-exemption input{width:18px;height:18px;min-height:18px;flex:0 0 18px;margin-top:3px;accent-color:#0d7668}.pr-exemption small{color:var(--text-muted,#64748b)}
.pr-deduction-list,.pr-ded-rows{display:grid;gap:10px;min-width:0}.pr-deduction-card{display:flex;align-items:center;gap:12px;padding:14px;border:1px solid var(--border,#dce5ec);border-radius:14px;min-width:0}.pr-deduction-card>div:first-child{flex:1;min-width:0}.pr-deduction-card p,.pr-deduction-card b,.pr-deduction-card strong{overflow-wrap:anywhere}.pr-deduction-card p{margin:6px 0 0;color:var(--text-muted,#64748b)}.pr-deduction-card>strong{max-width:40%;font-variant-numeric:tabular-nums}.pr-deduction-card small{font-size:11px}.pr-ded-row{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) 32px;align-items:end;gap:8px;padding:10px;border:1px solid var(--border,#dce5ec);border-radius:12px;min-width:0}.pr-ded-row .btn-icon,.pr-deduction-card .btn-icon{display:grid;place-items:center;min-width:32px!important;width:32px!important;height:32px;padding:0!important;flex:none}.pr-ded-row svg,.pr-deduction-card svg{width:17px;height:17px}.pr-law-line{display:flex;justify-content:space-between;align-items:start;gap:12px;padding:8px 0;min-width:0}.pr-law-line span,.pr-law-line b{overflow-wrap:anywhere;min-width:0}.pr-deduction-details{margin:12px 0;padding:10px;border:1px solid var(--border,#dce5ec);border-radius:10px}.pr-deduction-details>summary{padding:4px;display:list-item;font-size:12px}@media(max-width:600px){.pr-deduction-card{flex-wrap:wrap}.pr-deduction-card .pr-actions{width:100%;justify-content:flex-end}.pr-ded-row{grid-template-columns:minmax(0,1fr) 32px}.pr-ded-row label:first-child{grid-column:1/-1}.pr-ded-row label:nth-child(2){grid-column:1}.pr-ded-row button{grid-column:2}.pr-deduction-card>strong{font-size:14px}}
