.pa-archive,.pa-viewer{--pa-ink:#153e35;--pa-muted:#52665e;--pa-paper:#fff;color:var(--pa-ink);max-width:1440px;margin:0 auto;padding:24px 12px 48px;font-family:Onest,sans-serif}
.pa-archive ::selection,.pa-viewer ::selection{background:#becfc4;color:#153e35}.pa-archive :focus-visible,.pa-viewer :focus-visible,.pa-upload :focus-visible,.pa-report :focus-visible{outline:3px solid #52665e;outline-offset:3px}.pa-archive a,.pa-viewer a{text-underline-offset:4px}.pa-archive input,.pa-viewer input,.pa-viewer textarea{caret-color:#153e35}
.pa-archive-heading,.pa-view-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:28px}.pa-archive h1{font-size:clamp(30px,3.5vw,46px);line-height:1.15;letter-spacing:-.025em;margin:0 0 12px}.pa-viewer h1{font-size:clamp(23px,2.3vw,32px);line-height:1.2;letter-spacing:-.02em;margin:8px 0 0;overflow-wrap:anywhere}.pa-archive-heading p{color:var(--pa-muted);font-size:18px;margin:0;max-width:65ch}.pa-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.pa-actions .btn{gap:7px}.pa-actions svg,.pa-back svg,.pa-confirmed svg,.pa-link-state svg{width:19px;height:19px;flex:none}.pa-back{display:inline-flex;align-items:center;gap:8px;font-size:14px}.pa-back svg{transform:rotate(180deg)}
.pa-field{display:flex;flex-direction:column;gap:7px;color:#153e35;font-size:14px;font-weight:600;min-width:0;margin:0 0 16px}.pa-field input,.pa-field textarea,.pa-field select{box-sizing:border-box;width:100%;min-height:46px;padding:11px 12px;border:1px solid #becfc4;border-radius:10px;background:#fff;color:#153e35;font:400 16px/1.5 Onest,sans-serif}.pa-field textarea{resize:vertical;min-height:96px}.pa-field input::placeholder,.pa-field textarea::placeholder{color:#52665e;opacity:1}.pa-field select{appearance:auto}.pa-search{display:flex;align-items:end;gap:12px;max-width:720px;margin-bottom:20px}.pa-search .pa-field{flex:1;margin:0}.pa-search .btn{min-height:48px}.pa-filters{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 28px}.pa-filters a{padding:11px 17px;border-radius:8px;color:#153e35;text-decoration:none;font-size:15px;min-height:44px;box-sizing:border-box}.pa-filters a:hover{background:#e9f2ec}.pa-filters a[aria-current]{background:#153e35;color:#fff}
.pa-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:28px 22px}.pa-photo-card{min-width:0}.pa-photo-card a{display:block;text-decoration:none;color:inherit}.pa-photo-card img{width:100%;height:244px;object-fit:cover;display:block;border-radius:14px;background:#d8e3dc;transition:filter .18s ease-out}.pa-photo-card a:hover img{filter:brightness(1.05)}.pa-photo-card h2{font-size:18px;line-height:1.35;margin:12px 0 5px}.pa-photo-card p{margin:0 0 8px;line-height:1.5;font-size:14px;color:#52665e;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.pa-photo-card span{font-size:13px;color:#52665e}.pa-empty{padding:64px 24px 72px;text-align:center;background:#e9f2ec;border-radius:16px}.pa-empty>svg{width:64px;height:64px;stroke-width:1.2;color:#52665e}.pa-empty h2{font-size:27px;margin:22px 0 12px;letter-spacing:-.02em}.pa-empty p{max-width:52ch;margin:0 auto 24px;color:#52665e;line-height:1.7}.pa-archive-note{margin:40px 0 0;max-width:70ch}.pa-archive-note h2{font-size:22px;margin:0 0 10px}.pa-archive-note p{color:#52665e;line-height:1.7;margin:0}
.pa-workspace{display:grid;grid-template-columns:minmax(0,1fr) 390px;gap:28px;align-items:start}.pa-image-section{position:sticky;top:16px;min-width:0;background:#172d28;border-radius:16px;overflow:hidden;color:#f4f7f5}.pa-image-toolbar{padding:12px;display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;background:#153e35}.pa-image-toolbar .btn{background:#153e35;border:0;color:#fff;font-size:13px;min-height:42px;padding:9px 12px}.pa-image-toolbar .btn:hover{background:#52665e}.pa-image-toolbar output{font-variant-numeric:tabular-nums;font-size:13px;min-width:42px;text-align:center}.pa-image-viewport{padding:0;max-height:72vh;min-height:280px;overflow:auto;overscroll-behavior:contain;scrollbar-color:#508d76 #153e35}.pa-image-canvas{position:relative;display:block;width:100%;min-width:100%;line-height:0;user-select:none}.pa-image-canvas>img{display:block;width:100%;height:auto;max-width:none;max-height:none;pointer-events:none}.pa-image-canvas.is-marking{cursor:crosshair;touch-action:none}.pa-marks{position:absolute;inset:0;pointer-events:none}.pa-marks[hidden]{display:none}.pa-marker{position:absolute;z-index:2;pointer-events:auto;border:0;background:none;padding:0;color:#fff;cursor:pointer;min-width:0;min-height:0;box-sizing:border-box}.pa-point{width:44px;height:44px;transform:translate(-50%,-50%);display:grid;place-items:center}.pa-point>span{display:grid;place-items:center;min-width:27px;height:27px;border-radius:50%;background:#153e35;outline:2px solid white;box-shadow:0 3px 8px #0008;font:600 13px/1 Onest,sans-serif}.pa-box{border:2px solid #fff;box-shadow:0 2px 6px #0006;min-width:12px;min-height:12px;background:#164d3a0b}.pa-box>span{position:absolute;left:-2px;top:-26px;min-width:26px;min-height:24px;display:grid;place-items:center;border-radius:5px 5px 0 0;background:#153e35;font:600 13px/1 Onest,sans-serif;outline:1px solid white}.pa-box:before{content:'';position:absolute;inset:-12px}.pa-marker.is-draft>span{background:#52665e}.pa-marker.is-draft.pa-box{border-style:dashed}.pa-box-preview{position:absolute;border:2px dashed white;background:#e4eee320;pointer-events:none;box-sizing:border-box}.pa-mark-toolbar{display:flex;flex-wrap:wrap;gap:8px;padding:16px}.pa-mark-toolbar .btn{background:#d8e3dc;color:#153e35;border:0;min-height:44px}.pa-mark-toolbar .btn[aria-pressed=true]{background:#fff;outline:2px solid #becfc4}.pa-mark-toolbar p{flex:1 0 100%;font-size:13px;color:#d8e3dc;margin:2px 0 0;line-height:1.5}.pa-image-section:fullscreen{display:flex;flex-direction:column;border-radius:0}.pa-image-section:fullscreen .pa-image-viewport{max-height:none;flex:1}
.pa-rail{min-width:0}.pa-rail h2{font-size:20px;letter-spacing:-.015em;margin:0 0 18px}.pa-mini{padding:22px;background:#e9f2ec;border-radius:14px;margin-bottom:30px;animation:pa-reveal .2s ease-out}.pa-mini-heading{display:flex;align-items:start;justify-content:space-between;gap:12px}.pa-mini-heading h2{margin:0 0 12px}.pa-mini-heading .btn{font-size:13px;min-height:36px;padding:7px 10px}.pa-mini-heading svg{display:none}.pa-help{color:#52665e;font-size:13px;line-height:1.65;margin:0 0 16px}.pa-mini .pa-help{color:#52665e}.pa-more-facts,.pa-candidates{margin:0 0 20px}.pa-more-facts>summary,.pa-candidates>summary{cursor:pointer;min-height:44px;display:list-item;padding:10px 0;font-size:14px;font-weight:650}.pa-more-facts[open] .pa-field:first-of-type{margin-top:10px}.pa-check{display:flex;align-items:flex-start;gap:10px;font-size:13px;line-height:1.65;margin:12px 0 20px;color:#52665e}.pa-check input{flex:none;width:20px;height:20px;margin:2px 0;accent-color:#153e35}.pa-link-state{padding:12px 0 20px;font-size:14px}.pa-link-state p{display:flex;align-items:center;gap:8px;margin:0 0 8px}.pa-candidates .btn{margin:0 6px 8px 0;font-size:13px}.pa-candidate{padding:14px 0;border-bottom:1px solid #becfc4}.pa-candidate>p{font-size:13px;margin:5px 0}.pa-candidate ul{font-size:12px;padding-left:18px;color:#52665e;margin:8px 0 12px}.pa-candidate+.pa-candidate{margin-top:6px}.pa-form-actions{display:flex;flex-wrap:wrap;gap:8px}.pa-form-actions .btn{flex:1;min-height:46px;font-size:14px}.pa-confirmed{display:flex;align-items:start;gap:6px;color:#153e35;font-size:13px;line-height:1.6;margin:16px 0 8px}.pa-minor-actions{margin-top:22px;padding-top:16px;border-top:1px solid #becfc4}.pa-minor-actions .btn{font-size:12px;min-height:44px;padding:9px}.pa-feedback{font-size:14px;line-height:1.6;white-space:pre-wrap}.pa-feedback:empty{display:none}.pa-feedback[role=alert]{color:#a23e37;background:#f4f7f5;padding:10px 12px;border-radius:8px}.pa-description{padding-bottom:30px;margin-bottom:28px;border-bottom:1px solid #d8e3dc}.pa-description .pa-actions .btn{font-size:13px}.pa-prose{line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}.pa-people{margin-bottom:32px}.pa-people h2>span{font-size:14px;color:#52665e;margin-left:8px;font-variant-numeric:tabular-nums}.pa-person-row{display:flex;align-items:center;gap:12px;width:100%;padding:12px 0;text-align:left;border:0;border-bottom:1px solid #d8e3dc;background:none;color:#153e35;cursor:pointer;min-height:64px}.pa-person-row:hover{background:#e9f2ec}.pa-person-number{flex:none;width:30px;height:30px;display:grid;place-items:center;border-radius:50%;background:#d8e3dc;font-size:13px;font-variant-numeric:tabular-nums}.pa-person-row>span:nth-child(2){flex:1;min-width:0}.pa-person-row strong{display:block;font-size:15px;overflow-wrap:anywhere}.pa-person-row small{display:block;color:#52665e;font-size:12px;margin-top:4px}.pa-person-row>svg{width:18px;height:18px;flex:none}.pa-comments{margin-bottom:30px}.pa-comment{padding:0 0 18px;margin:0 0 20px;border-bottom:1px solid #d8e3dc}.pa-comment>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:13px}.pa-comment time{color:#52665e;font-size:12px}.pa-comment p{white-space:pre-wrap;line-height:1.65;font-size:15px;overflow-wrap:anywhere;margin:9px 0}.pa-comment .text-link{font-size:12px;background:none;min-height:44px;border:0;padding:8px 5px;color:#52665e;text-decoration:underline;cursor:pointer}.pa-management{padding-top:20px;border-top:1px solid #d8e3dc}.pa-management>summary{cursor:pointer;min-height:44px;font-size:14px}.pa-management .pa-actions{margin:16px 0}.pa-management .btn{font-size:13px}.pa-upload,.pa-report{max-width:620px;color:#153e35}.pa-upload>p,.pa-report>p{line-height:1.7;font-size:15px;margin:0 0 22px}.pa-upload input[type=file]{max-width:100%;font-size:14px}.pa-upload-ok{color:#153e35}.pa-history>div{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px 0;border-bottom:1px solid #d8e3dc;font-size:14px}.pa-history .btn{font-size:13px}
.pa-existing-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px 16px;padding:8px 0 22px;font-size:13px}.pa-existing-actions .reaction-bar{flex:1 0 100%}.pa-existing-actions>a{min-height:44px;display:inline-flex;align-items:center}.pa-existing-actions svg{width:18px;height:18px}
@keyframes pa-reveal{from{clip-path:inset(0 0 8%);filter:brightness(.97)}to{clip-path:inset(0);filter:brightness(1)}}
@media(max-width:1050px){.pa-workspace{grid-template-columns:minmax(0,1fr) 350px;gap:20px}.pa-image-toolbar .btn{padding:9px}.pa-mini{padding:18px}.pa-archive,.pa-viewer{padding-inline:4px}}
@media(max-width:760px){.pa-archive,.pa-viewer{padding-top:12px}.pa-archive-heading,.pa-view-heading{align-items:flex-start;flex-direction:column;gap:16px;margin-bottom:22px}.pa-archive-heading p{font-size:16px}.pa-archive-heading .btn{width:100%}.pa-view-heading>.pa-actions{width:100%;justify-content:space-between}.pa-view-heading>.pa-actions .btn{font-size:13px;min-height:44px}.pa-workspace{display:flex;flex-direction:column;gap:28px}.pa-image-section{position:relative;top:auto;width:100%;border-radius:12px}.pa-image-viewport{max-height:65svh;min-height:160px}.pa-image-toolbar{gap:10px;padding:10px}.pa-image-toolbar>.btn{width:100%;justify-content:center}.pa-image-toolbar>.pa-actions{justify-content:space-between;width:100%}.pa-rail{width:100%;scroll-margin-top:16px}.pa-mini{padding:20px 16px}.pa-mini .pa-field input,.pa-mini .pa-field textarea,.pa-mini .pa-field select{font-size:17px}.pa-field textarea{min-height:112px}.pa-mini-heading h2{font-size:21px}.pa-form-actions{flex-direction:column}.pa-form-actions .btn{width:100%;min-height:48px}.pa-mini .pa-field{margin-bottom:20px}.pa-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 12px}.pa-photo-card img{height:180px;border-radius:10px}.pa-photo-card h2{font-size:15px}.pa-photo-card p{font-size:12px}.pa-filters{gap:4px}.pa-filters a{font-size:13px;padding:11px 12px}.pa-search{gap:8px}.pa-search .btn{padding-inline:15px}.pa-empty{padding:44px 20px}.pa-empty h2{font-size:23px}.pa-history>div{align-items:start;flex-direction:column}}
@media(max-width:760px){
 .pa-viewer [data-pa-card]{scroll-margin-top:145px}.pa-mini-heading .btn{min-height:44px}
 .pa-view-heading{gap:10px;margin-bottom:14px}
 .pa-image-toolbar{flex-wrap:nowrap;gap:8px;padding:8px}
 .pa-image-toolbar>.pa-actions{width:auto;flex:1;justify-content:flex-start;flex-wrap:nowrap;gap:8px}
 .pa-image-toolbar .btn[data-pa="zoom-in"],.pa-image-toolbar .btn[data-pa="zoom-out"],.pa-image-toolbar>.btn{font-size:0;min-width:44px;max-width:44px;min-height:44px;padding:10px;gap:0}
 .pa-image-toolbar .btn svg{width:20px;height:20px;margin:0}
 .pa-image-toolbar>.btn{width:44px}
 .pa-image-toolbar output{min-width:38px}
 .pa-archive-heading{display:grid;grid-template-columns:minmax(0,1fr) 68px;align-items:center;gap:12px;margin-bottom:18px}
 .pa-archive-heading h1{font-size:29px;margin-bottom:8px}
 .pa-archive-heading p{font-size:14px;line-height:1.6}
 .pa-archive-heading>.btn{width:68px;min-height:60px;flex-direction:column;gap:3px;font-size:0;padding:8px}
 .pa-archive-heading>.btn svg{width:22px;height:22px}
 .pa-archive-heading>.btn::after{content:'Добавить';font-size:11px;line-height:1.3}
 .pa-search{margin-bottom:12px}.pa-search .pa-field>span{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 .pa-filters{flex-wrap:nowrap;overflow-x:auto;white-space:nowrap;margin-bottom:16px;gap:4px;scrollbar-width:thin;scrollbar-color:#becfc4 #f4f7f5}
 .pa-filters a{flex:none}
}
@media(max-width:360px){.pa-grid{grid-template-columns:1fr}.pa-photo-card img{height:240px}.pa-image-toolbar .btn{font-size:12px}.pa-mark-toolbar .btn{font-size:13px}}
@media(prefers-reduced-motion:reduce){.pa-mini{animation:none}.pa-photo-card img{transition:none}}
.pa-primary{min-width:0}.pa-primary .pa-image-section{position:relative;top:auto}.pa-primary .pa-existing-actions{padding:18px 0 22px;border-bottom:1px solid #d8e3dc;margin-bottom:28px}.pa-primary .pa-description{margin-top:0}.pa-primary .pa-description h2{font-size:24px;margin:0 0 16px;letter-spacing:-.02em}.pa-primary .pa-prose{max-width:72ch;font-size:17px;line-height:1.75;margin:0 0 16px}.pa-add-description,.pa-edit-description,.pa-my-descriptions{margin:20px 0}.pa-add-description>summary,.pa-edit-description>summary,.pa-my-descriptions>summary{cursor:pointer;min-height:44px;padding:12px 0;font-size:15px;font-weight:650}.pa-add-description>summary{color:#153e35;text-decoration:underline;text-underline-offset:5px}.pa-add-description form,.pa-edit-description form{padding:16px 0}.pa-add-description textarea[name=text]{min-height:168px}.pa-description-item{padding:20px 0;border-bottom:1px solid #d8e3dc}.pa-description-meta{display:flex;justify-content:space-between;gap:12px;font-size:13px;color:#52665e;margin-bottom:10px}.pa-description-source{font-size:14px;line-height:1.65;color:#52665e;white-space:pre-wrap;overflow-wrap:anywhere;margin:10px 0 16px}.pa-description-reasons{font-size:14px;line-height:1.7;padding-left:22px;color:#52665e}.pa-description-item .text-link{display:inline-flex;align-items:center;min-height:44px;padding:8px 0;background:none;border:0;text-decoration:underline;text-underline-offset:4px;color:#153e35;font:inherit;cursor:pointer;margin-right:20px}.pa-description-item.is-private{background:#e9f2ec;padding:20px;border:0;border-radius:12px;margin-bottom:16px}.pa-review-link{margin:24px 0;font-size:15px}.pa-review-link a,.pa-review-heading>a{display:inline-flex;align-items:center;min-height:44px;color:#153e35;text-underline-offset:4px}.pa-review-heading h1{margin:18px 0 12px}.pa-review-heading>p{font-size:17px;line-height:1.7;color:#52665e;margin:0 0 30px}.pa-review-item{padding:28px 0;border-top:1px solid #d8e3dc;max-width:820px}.pa-review-item>a{font-size:16px;color:#153e35;text-underline-offset:4px;min-height:44px;display:inline-flex;align-items:center}.pa-review-item h2{font-size:23px;margin:18px 0 12px}.pa-review-item>.pa-prose{line-height:1.75;font-size:17px;max-width:72ch}.pa-review-item form{margin-top:24px}.pa-review-empty{padding:28px 0}.pa-review-empty h2{font-size:24px}.pa-review-empty p{line-height:1.7;color:#52665e}.pa-description-review :focus-visible{outline:3px solid #52665e;outline-offset:3px}.pa-description-review textarea{caret-color:#153e35}.pa-description-review ::selection{background:#becfc4;color:#153e35}
@media(max-width:760px){.pa-primary{width:100%}.pa-primary .pa-existing-actions{padding-top:16px;margin-bottom:24px}.pa-primary .pa-description h2{font-size:23px}.pa-primary .pa-field textarea,.pa-description-review .pa-field textarea{font-size:17px}.pa-primary .pa-add-description textarea[name=text]{min-height:180px}.pa-description-meta{font-size:12px}.pa-description-item.is-private{padding:18px 16px}.pa-review-item .pa-actions{display:flex;flex-direction:column;gap:10px}.pa-review-item .pa-actions>.btn{width:100%;min-height:48px}}

.pa-review-heading>a{margin-right:20px}.pa-staff-description{margin-top:16px}.pa-staff-description>summary{min-height:44px;padding:12px 0;cursor:pointer;font-size:14px}.pa-staff-description form{padding-top:12px}
