:root{font-family:Arial,Helvetica,sans-serif;color:#24282d;background:#f4f5f6}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0}header{background:#22262b;color:white;padding:17px max(18px,calc((100% - 1050px)/2));display:flex;justify-content:space-between;align-items:center}.brand{display:flex;align-items:center;gap:12px;font-size:18px;font-weight:800;letter-spacing:.5px}.brand b{color:#ffcf24}.brand small{display:block;font-size:11px;color:#cbd0d4;letter-spacing:0;font-weight:400;margin-top:3px}.mark{background:#ffcf24;color:#202020;padding:12px;border-radius:11px;font-size:22px}main{max-width:1050px;margin:30px auto;padding:0 16px}.top{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:20px;flex-wrap:wrap}h1{font-size:28px;margin:0 0 8px}h2{font-size:19px;margin:0}p{color:#6d747b;line-height:1.5}button,.button{background:#ffcf24;color:#202020;border:0;border-radius:9px;padding:12px 17px;font-weight:750;cursor:pointer;text-decoration:none;font-size:14px}button:hover,.button:hover{filter:brightness(.96)}button.secondary{background:#e8ebed}header button.secondary{background:#454b51;color:#fff}.panel,.report,.remark{background:white;border:1px solid #e5e8eb;border-radius:13px;padding:20px;margin-bottom:15px;box-shadow:0 2px 9px #00000006}.login{max-width:430px;margin:75px auto}.login input{margin:10px 0}input,textarea{font:inherit;width:100%;border:1px solid #d4d9df;border-radius:9px;padding:12px;margin-top:8px;background:#fff}input:focus,textarea:focus{outline:2px solid #ffcf24;border-color:transparent}textarea{resize:vertical;min-height:125px;line-height:1.5}.hint{font-size:13px;margin-bottom:0}.report{display:flex;align-items:center;justify-content:space-between;gap:15px}.report strong{display:block}.report small{color:#848b92}.actions{display:flex;gap:8px;flex-wrap:wrap}.remark .top{margin:0 0 10px}.remark .tools{display:flex;gap:6px;flex-wrap:wrap}.remark .tools button{background:#f0f1f2;padding:8px 11px}.remark .tools .danger{color:#b13232}.photos{display:flex;flex-wrap:wrap;gap:12px;margin:14px 0}.photo{width:150px;background:#f5f5f5;border-radius:9px;overflow:hidden;padding:6px}.photo img{width:100%;height:130px;object-fit:contain}.photo .tools{justify-content:center;margin-top:5px}.photo .tools button{padding:5px 8px}.upload{display:inline-block;border:2px dashed #cbd0d4;border-radius:9px;padding:12px;cursor:pointer;font-weight:700}.upload input{display:none}.wide{width:100%;padding:18px}.error{color:#b13232}#toast{position:fixed;bottom:20px;right:20px;background:#25292d;color:white;padding:12px 18px;border-radius:8px;display:none;max-width:350px}@media(max-width:600px){main{margin:20px auto}h1{font-size:24px}.report{align-items:flex-start;flex-direction:column}.panel,.remark,.report{padding:14px}.photo{width:calc(50% - 6px)}.photo img{height:135px}}
/* Просмотр фотографий */

.photo img {
    cursor: zoom-in;
}

#photoViewer {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.94);
    z-index: 99999;

    display: none;
    align-items: center;
    justify-content: center;
}

#photoViewer.active {
    display: flex;
}

#photoViewer .pv-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;
    padding: 65px 55px;

    box-sizing: border-box;
    pointer-events: none;
}

#photoViewer .pv-image {
    display: block;
    max-width: 100%;
    max-height: calc(100% - 35px);

    width: auto;
    height: auto;

    object-fit: contain;
    border-radius: 8px;
    pointer-events: auto;
}

#photoViewer .pv-counter {
    color: white;
    font-size: 14px;
    margin-top: 15px;
}

#photoViewer button {
    position: absolute;
    z-index: 2;

    background: rgba(255, 255, 255, 0.15);
    color: white;

    border: none;
    border-radius: 10px;

    cursor: pointer;
    font-size: 25px;
}

#photoViewer button:hover {
    background: #ffcc00;
    color: #222;
}

#photoViewer button[hidden] {
    display: none;
}

#photoViewer .pv-close {
    top: 20px;
    right: 20px;

    width: 45px;
    height: 45px;

    font-size: 32px;
}

#photoViewer .pv-prev {
    left: 15px;
    top: 50%;
    transform: translateY(-50%);

    width: 45px;
    height: 60px;
}

#photoViewer .pv-next {
    right: 15px;
    top: 50%;
    transform: translateY(-50%);

    width: 45px;
    height: 60px;
}

@media (max-width: 600px) {
    #photoViewer .pv-content {
        padding: 65px 12px;
    }

    #photoViewer .pv-prev,
    #photoViewer .pv-next {
        width: 35px;
        height: 45px;
        font-size: 20px;
        background: rgba(0, 0, 0, 0.45);
    }

    #photoViewer .pv-close {
        top: 15px;
        right: 15px;
    }
}