/* Version 5: responsive searchable streets, photography and official billing */
.road-picker{position:relative}.road-results{max-height:220px;overflow:auto;border:1px solid #d4e3f1;background:#fff;border-radius:10px;margin-top:5px;box-shadow:0 5px 15px #10223e10}.road-option{display:block;width:100%;background:white;border:0;border-bottom:1px solid #eff2f8;text-align:right;padding:8px 12px;color:#203958}.road-option:hover,.road-option:focus{background:#e8f1fa}.road-option small{display:block;color:#657b95}.road-picked{font-size:12px;color:#2c6187;padding:5px 2px}.photo-inputs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.photo-inputs>label{background:#f1f6fc;border:1px dashed #aac8e6;padding:10px;border-radius:12px;cursor:pointer;font-size:12px;font-weight:700}.photo-inputs input{display:block;margin-top:7px;font-size:11px;min-width:0;width:100%}.camera-block{background:#f9fbff;border:1px solid #dfebf7;border-radius:12px;padding:13px}.photo-strip{display:flex;flex-wrap:wrap;gap:5px;margin-top:8px}.photo-strip img{height:52px;width:66px;object-fit:cover;border-radius:6px;border:1px solid #c7d2df}.item-photo-form{padding:14px;margin:12px 0;border-radius:14px;background:#eef5fd;border:1px solid #c9e0fa}.admin-shortcuts{display:flex;gap:7px;flex-wrap:wrap;margin-top:8px}.bill-official{font-family:'B Nazanin','BNazanin','Nazanin','Noto Naskh Arabic','Noto Sans Arabic',serif;font-size:18px;line-height:1.85;color:#10213b;direction:rtl}.bill-header{display:grid;grid-template-columns:95px 1fr 190px;align-items:center;gap:12px;border-bottom:3px double #183254;padding-bottom:13px;margin-bottom:14px}.bill-logo{height:92px;width:92px;border:2px solid #183254;border-radius:24px;display:grid;place-content:center;text-align:center;font-size:14px;font-weight:700;overflow:hidden;padding:7px;background:#fff}.bill-logo img{max-width:100%;max-height:100%;object-fit:contain;display:block}.bill-heading{text-align:center}.bill-heading h2{font-size:31px;line-height:1.45;margin:3px 0;color:#0f294a}.official-top{font-size:17px;font-weight:700}.bill-paper{font-size:15px;display:grid;gap:8px;text-align:left}.bill-data{border:1px solid #c8d4e0;border-radius:10px;display:grid;grid-template-columns:repeat(3,1fr);gap:8px 18px;padding:12px 15px;margin:13px 0 18px;font-size:16px}.bill-section-title{background:#173656;color:white;font-size:19px;font-weight:800;padding:7px 12px;border-radius:6px;margin:22px 0 9px}.bill-table .table{min-width:0;font-family:inherit;font-size:16px;line-height:1.65}.bill-table .table th{background:#e8eef4;color:#173656;font-size:15px}.bill-table .table td{border-bottom:1px solid #dbe3e9}.bill-table .table td:last-child{white-space:nowrap;font-weight:700}.bill-table .sumrow td{background:#e6edf5}.bill-table .netrow td{background:#183454;color:#fff}.bill-note{font-size:13px;margin-top:16px;padding:8px 12px;background:#f5f8fa;border-right:3px solid #29547f}.bill-signatures{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;margin:24px 0 12px;break-inside:avoid}.signature{text-align:center;border:1px solid #b7c5d3;padding:10px 4px;min-height:132px;border-radius:7px}.signature-role{font-size:17px;font-weight:bold}.signature-name{font-size:17px}.signature-action{color:#63778e;font-size:13px}.signature-stamp{color:#8293a6;font-size:11px;padding-top:26px}.bill-footer{font-size:11px;text-align:center;border-top:1px solid #aab9c9;padding-top:6px;color:#67788b;margin-top:7px}
@media(max-width:750px){.photo-inputs{grid-template-columns:1fr}.bill-header{grid-template-columns:55px 1fr 95px}.bill-logo{height:52px;width:52px;font-size:9px}.bill-heading h2{font-size:20px}.bill-paper{font-size:10px}.bill-data{grid-template-columns:1fr 1fr}.bill-signatures{grid-template-columns:repeat(2,1fr)}.bill-table .table{min-width:590px}}
@page{size:A4 portrait;margin:12mm 11mm}
@media print{body{font-family:'B Nazanin','BNazanin','Nazanin','Noto Naskh Arabic',serif!important;font-size:15px!important}.bill-official{font-size:18px!important}.bill-header{grid-template-columns:86px 1fr 155px}.bill-heading h2{font-size:28px}.bill-data{grid-template-columns:repeat(3,1fr);font-size:15px}.bill-table .table{min-width:0!important;font-size:14px!important;table-layout:fixed;width:100%}.bill-table .table th{font-size:14px!important}.bill-table .table th,.bill-table .table td{padding:6px 7px!important;overflow-wrap:anywhere}.bill-table .table tr{break-inside:avoid}.bill-table .table th:nth-child(1),.bill-table .table td:nth-child(1){width:30%}.bill-table .table th:nth-child(2),.bill-table .table td:nth-child(2){width:12%}.bill-table .table th:nth-child(3),.bill-table .table td:nth-child(3){width:18%}.bill-table .table th:nth-child(4),.bill-table .table td:nth-child(4){width:16%}.bill-table .table th:nth-child(5),.bill-table .table td:nth-child(5){width:12%}.bill-table .table th:nth-child(6),.bill-table .table td:nth-child(6){width:12%}.bill-section-title{font-size:17px;break-after:avoid}.bill-signatures{grid-template-columns:repeat(4,1fr);gap:7px;margin-top:22px;break-inside:avoid}.signature{min-height:113px}.signature-name{font-size:16px}.bill-note{font-size:13px}.bill-footer{font-size:11px}.bill-logo{height:78px;width:78px;font-size:12px}.bill-paper{font-size:13px}.bill-header{margin-top:0}}
