:root{--ink:#182c32;--sub:#52676b;--line:#ccd6d4;--teal:#075c59;--pale:#e6f1ed;--bg:#f4f7f5;color:var(--ink);background:var(--bg);font:16px/1.55 "Inter","Microsoft YaHei UI","Microsoft YaHei",sans-serif}*{box-sizing:border-box}body{margin:0}header{background:#132e33;color:white}.bar,main{max-width:1470px;margin:auto;padding:0 clamp(18px,4vw,64px)}.bar{min-height:64px;display:flex;align-items:center;gap:26px}.brand{font-weight:700;letter-spacing:.04em;display:flex;align-items:center;gap:10px;white-space:nowrap}.brand i{width:25px;height:21px;border:2px solid #86d7be;border-radius:3px;background:linear-gradient(90deg,transparent 44%,#86d7be 44% 55%,transparent 55%)}nav{display:flex;gap:20px}.bar a,.quiet{color:#ecf8f4}.account{margin-left:auto;font-size:.9rem}.quiet{background:none;border-color:#64807e}main{padding-top:32px;padding-bottom:64px}a{color:var(--teal);text-decoration:none}a:hover{text-decoration:underline}button,.btn,input,textarea,select{font:inherit}button,.btn{display:inline-block;border:1px solid var(--line);border-radius:7px;background:white;color:var(--ink);padding:8px 16px;cursor:pointer}.primary{color:white;background:var(--teal);border-color:var(--teal);font-weight:650}button:hover,.btn:hover{filter:brightness(.95)}:focus-visible{outline:3px solid #319b91;outline-offset:3px}h1{font-size:clamp(1.7rem,3vw,2.65rem);line-height:1.2;letter-spacing:-.035em;margin:12px 0}h2{font-size:1.25rem;margin:0 0 16px}h3{font-size:1.05rem;line-height:1.4;margin:5px 0 10px}p,small,.meta,.sub,.crumb{color:var(--sub)}.sub,.crumb{font-size:.875rem}.heading,.filters,.actions,.line,.pager{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.heading{justify-content:space-between;margin-bottom:22px}.heading p{margin:0}.projects,.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,260px),1fr));gap:16px}.project,article,.panel,figure,.entry{border:1px solid var(--line);border-radius:12px;background:#fff}.project{display:grid;grid-template-columns:36px 1fr;align-items:start;gap:8px 14px;padding:20px;color:var(--ink)}.project>span:last-child{grid-column:2;color:var(--sub);font-size:.85rem}.slate{display:block;width:33px;height:29px;border:2px solid #487d79;border-radius:4px;background:linear-gradient(170deg,#cee4dc 0 35%,#487d79 36% 44%,white 45%)}.panel{padding:24px;margin:18px 0}.twocol,.mini{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.stack,label{display:grid;gap:8px}.stack{gap:18px}.stack>button{justify-self:start}input,select,textarea{border:1px solid #abbdbb;border-radius:6px;padding:9px 12px;color:var(--ink);background:white;max-width:100%}textarea{min-height:74px;resize:vertical}.line{border-top:1px solid var(--line);padding:10px 0}.line button{margin-left:auto}.metrics{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--line);border-radius:12px;overflow:hidden;background:white}.metrics a{padding:18px 22px;color:var(--sub);border-right:1px solid var(--line)}.metrics b{display:block;color:var(--ink);font-size:1.8rem}.filters{margin:20px 0}.filters span{margin-left:auto}.cards article{overflow:hidden;position:relative}.cardlink{display:block;padding:13px 16px;color:var(--ink)}.mini{gap:1px;background:var(--line)}.photo{position:relative;background:#e6ebe8;display:grid;place-items:center;overflow:hidden;color:var(--sub);text-align:center}.thumb{height:118px}.large{height:clamp(260px,41vh,540px)}.photo img{display:block;width:100%;height:100%;object-fit:contain;min-height:0}.large img{cursor:zoom-in}.photo img:not([src]){visibility:hidden}.retry{position:absolute}.state,.notice{background:var(--pale);color:var(--teal)}.state{padding:3px 8px;border-radius:4px;font-size:.8rem}.meta,small{font-size:.85rem}.notice{padding:10px 16px;border-radius:6px;margin-bottom:16px}.pair figure{margin:0;overflow:hidden}.pair figcaption{font-weight:bold;padding:12px 16px}.op small{display:block}.op{border-top:1px solid var(--line);padding-top:14px}.op p{white-space:pre-wrap;overflow-wrap:anywhere}.pager{justify-content:center;margin:24px}.entry{max-width:760px;display:grid;grid-template-columns:.8fr 1fr;overflow:hidden;margin:9vh auto}.entry-art{background:#204c52;display:grid;place-items:center}.film{display:flex;flex-direction:column;gap:8px;width:88px;padding:12px 8px;border-left:3px dashed #b0dfcb;border-right:3px dashed #b0dfcb;transform:rotate(-10deg)}.film i{height:42px;background:#8fc3b6;border-radius:2px}.entry-form{padding:36px}.entry-form h1{margin-bottom:24px}.entry-form .sub{display:block;margin-top:18px}dialog{color:white;background:#172226;border:0;border-radius:8px;padding:12px;max-width:96vw;max-height:96vh}dialog::backdrop{background:#091117dc}dialog button{display:block;margin:0 0 8px auto}dialog img{display:block;max-width:90vw;max-height:80vh;object-fit:contain}[hidden]{display:none!important}@media(max-width:720px){.bar{gap:12px;flex-wrap:wrap;padding-top:10px;padding-bottom:10px}.twocol{grid-template-columns:1fr}.metrics a{padding:10px}.entry{display:block;margin:4vh auto}.entry-art{height:80px;overflow:hidden}.film{transform:rotate(75deg)}.entry-form{padding:20px}.large{height:290px}.bar nav{gap:8px}.heading form{display:flex}.heading input{min-width:0}}
.backoffice header{background:#253252}.backoffice .brand i{border-color:#bdcdf3;background:linear-gradient(90deg,transparent 44%,#bdcdf3 44% 55%,transparent 55%)}.backoffice main{max-width:1080px}.backoffice .primary{background:#354a78;border-color:#354a78}.narrow{max-width:520px}.push{margin-left:auto}

.photo-open { display:block; width:100%; height:100%; min-height:0; padding:0; border:0; border-radius:0; background:transparent; cursor:zoom-in; }
.photo-open:focus-visible { outline-offset:-3px; }
#zoom { width:max-content; min-width:min(320px,90vw); max-width:96vw; }
.zoom-bar { display:flex; align-items:center; gap:10px; margin-bottom:8px; }
.zoom-bar strong { flex:1; overflow-wrap:anywhere; }
.zoom-bar button { margin:0; white-space:nowrap; }
.zoom-view { overflow:auto; max-height:75vh; max-width:90vw; margin:auto; }
.zoom-view img { max-height:75vh; margin:auto; }
#zoom.actual-size .zoom-view img { max-width:none; max-height:none; }

.cards article {display:flex; flex-direction:column}
.card-review {display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-top:auto; padding:0 16px 14px}
.card-review button {min-height:40px}
.approval-stamp, .return-stamp {display:none; position:absolute; bottom:9px; right:7px; transform:rotate(-8deg); pointer-events:none;
  padding:3px 8px; border:4px double #146448; border-radius:4px; background:#f0fff5f5; color:#13583f;
  font-size:1.15rem; font-weight:800; line-height:1.13; letter-spacing:.075em; box-shadow:0 1px 3px #12291e38}
.cards [data-approved="1"] .approval-stamp {display:block}
.cards [data-rejected="1"] .return-stamp {display:block; color:#8d251d; border-color:#a53024; background:#fff2eff5}
.cards [data-rejected="1"] .state {color:#8d251d; background:#fbeae7}
.return-reasons {margin:0 16px 14px; padding:9px 12px; border-left:3px solid #b8392c; border-radius:4px; background:#fff4f1; overflow-wrap:anywhere}
.return-reasons strong {font-size:.87rem; color:#872c21}
.return-reasons ul {margin:0; padding:0; list-style:none}
.return-reasons li {margin-top:5px}
.return-reasons li + li {margin-top:8px; padding-top:6px; border-top:1px solid #e8c9c3}
.return-reasons li b {font-size:.8rem; color:#674a45}
.return-reasons p {margin:0; color:#382c2a; white-space:pre-wrap}
[data-other-returns] details {margin:0 16px 14px; font-size:.9rem}
[data-other-returns] summary {cursor:pointer; color:#872c21}
[data-other-returns] .return-reasons {margin:8px 0 0}
.card-review[data-my-pass="1"] button[value="pass"] {background:#e4f2e9; border-color:#a0c7af; color:#205d42; cursor:default; filter:none}
.card-review[aria-busy="true"] button, #reject-review button:disabled {opacity:.55; cursor:wait}
#reject-review {width:min(430px,94vw); padding:22px; background:#fff; color:var(--ink); border:1px solid var(--line)}
#reject-review h2, #reject-review p {margin:0}
#reject-review textarea {width:100%; min-height:110px}
#reject-review .actions {justify-content:flex-end}
#reject-review button {margin:0}
#reject-review .review-error {color:#972e21}
.review-feedback:not(:empty) {position:fixed; bottom:16px; left:50%; transform:translateX(-50%); z-index:3; width:max-content; max-width:94vw; border-radius:8px; background:#183537; color:#fff; padding:9px 16px; box-shadow:0 2px 12px #0003}
.review-feedback a {color:white; text-decoration:underline}
