#works{max-width:1040px;margin:0 auto;padding:38px 28px 90px}
.works-topline{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:18px}
.works-eyebrow{font-size:11px;letter-spacing:.16em;color:#777;margin:0}
#works-admin{font-size:12px;color:#666;text-decoration:underline;text-underline-offset:4px;padding:8px 0}
#works h1{font-size:clamp(36px,6vw,56px);font-weight:400;letter-spacing:-.055em;margin:0 0 15px;line-height:1.2}
.works-intro{font-size:16px;color:#666;line-height:1.85;margin:0 0 32px}
#works-tabs{display:flex;gap:8px;flex-wrap:wrap;padding:0 0 28px;border-bottom:1px solid #111}
#works-tabs button{display:flex;align-items:center;gap:9px;padding:10px 14px;background:#f5f5f5;border:1px solid #eee;border-radius:2px;font-size:14px}
#works-tabs button[aria-pressed=true]{background:#111;border-color:#111;color:#fff}
.works-count{font-size:11px;opacity:.6;font-variant-numeric:tabular-nums}
.works-list-heading{display:flex;justify-content:space-between;align-items:start;gap:20px;padding:28px 0 22px}
#works-section-title{font-size:19px;line-height:1.5;font-weight:400;margin:0}
#works-section-description{font-size:13px;line-height:1.7;color:#777;margin:8px 0 0}
#works-add{font-size:13px;background:#111;color:#fff;padding:11px 16px;white-space:nowrap}
#works-items{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 22px}
.works-item{border-bottom:1px solid #e7e7e7;padding-bottom:24px;min-width:0}
.works-thumb{background:#f3f3f3;aspect-ratio:4/3;margin-bottom:17px;overflow:hidden}
.works-thumb img{width:100%;height:100%;object-fit:cover}
.works-meta{font-size:12px;line-height:1.6;color:#777;margin:0 0 7px;min-height:1.6em}
.works-meta:empty{display:none}
.works-item h3{font-size:22px;font-weight:400;line-height:1.4;margin:0;overflow-wrap:anywhere}
.works-description{font-size:14px;line-height:1.85;color:#666;white-space:pre-wrap;overflow-wrap:anywhere;margin:12px 0 0}
.works-links{display:flex;gap:15px;flex-wrap:wrap;margin-top:14px}
.works-links a{font-size:12px;color:#333;text-decoration:none;line-height:1.7;border-bottom:1px solid #ccc}
.works-links a:hover{color:#008f7a;border-color:#008f7a}
.works-actions{display:flex;gap:13px;flex-wrap:wrap;margin-top:15px;font-size:12px;color:#777}
.works-actions button{padding:5px 0;text-decoration:underline;text-underline-offset:3px}
#works-empty{grid-column:1/-1;padding:65px 15px;text-align:center;border-bottom:1px solid #eee;color:#777}
#works-empty strong{font-size:16px;font-weight:400;color:#444}#works-empty p{font-size:13px;line-height:1.8}
#works-status{font-size:13px;color:#666;line-height:1.8;margin-top:20px}#works-status:empty{display:none}
.works-dialog{border:1px solid #ddd;padding:30px;max-width:560px;width:calc(100% - 32px);max-height:90dvh;overflow:auto;color:#111;background:white}
.works-dialog::backdrop{background:rgba(0,0,0,.3)}
.works-dialog h2{font-size:25px;font-weight:400;letter-spacing:-.035em;margin:0 0 22px}
.works-dialog label{display:block;font-size:13px;margin:16px 0 7px}
.works-dialog input,.works-dialog select,.works-dialog textarea{width:100%;font:inherit;line-height:1.6;padding:11px 12px;background:#fafafa;border:1px solid #ddd;border-radius:0;color:#111}
.works-dialog textarea{resize:vertical}
.works-dialog input:focus,.works-dialog select:focus,.works-dialog textarea:focus{outline:2px solid #111;outline-offset:2px}
.works-dialog-note{font-size:12px;color:#777;line-height:1.8;margin:10px 0}
.works-dialog-buttons{display:flex;gap:18px;justify-content:flex-end;align-items:center;margin-top:24px;font-size:14px}
.works-dialog button[type=submit]{background:#111;color:#fff;padding:12px 21px}
.works-dialog [role=status]{font-size:13px;line-height:1.7;color:#9b3030}
.works-dialog [role=status]:empty{display:none}
#works button:disabled,.works-dialog button:disabled{opacity:.45;cursor:wait}
@media(max-width:650px){#works{padding:26px 20px 70px}#works-tabs{gap:7px}#works-tabs button{font-size:13px;padding:9px 11px}#works-items{grid-template-columns:1fr}.works-list-heading{flex-wrap:wrap}#works-section-title{font-size:17px}.works-item h3{font-size:19px}.works-dialog{padding:22px}}
