:root{--accent: #1f5f3f;--ink: #1b1f1d;--muted: #5b6360;--rule: #e3e8e5;--tile: #ffffff;--tint: color-mix(in srgb, var(--accent) 9%, white);--shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 4px 14px rgba(0, 0, 0, .06);--font: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif}*{box-sizing:border-box}html,body{margin:0;padding:0;background:transparent;color:var(--ink);font:15px/1.45 var(--font);-webkit-font-smoothing:antialiased}main{padding:8px 4px 12px}.status{margin:12px 8px;color:var(--muted)}.status.error{color:#8a1f1f}h1.card-title{font-size:22px;font-weight:700;margin:4px 8px 14px;color:var(--accent);letter-spacing:-.01em}.people{list-style:none;margin:0;padding:0}.tile{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;margin:0;padding:0;background:none;font:inherit;color:inherit;text-align:inherit;width:100%;cursor:default}button.tile{cursor:pointer}.tile[hidden]{display:none!important}button.tile:focus-visible{outline:3px solid var(--accent);outline-offset:2px;border-radius:12px}.people.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(360px,1fr));gap:20px}.cards .tile{display:flex;align-items:center;gap:20px;background:var(--tile);border:1px solid var(--rule);border-radius:12px;box-shadow:var(--shadow);padding:22px 20px;min-height:168px;transition:box-shadow .15s ease,transform .15s ease}.cards button.tile:hover{box-shadow:0 2px 4px #00000014,0 10px 24px #0000001a;transform:translateY(-1px)}.cards .photo{width:120px;height:120px;font-size:36px}.cards .no-photo .tile{min-height:0}.people.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:10px}.grid .tile{background:var(--tile);border:1px solid var(--rule);border-radius:12px;box-shadow:var(--shadow);padding:12px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:4px;min-width:0;height:100%}.grid .photo{width:72px;height:72px;margin-bottom:6px}.grid .text{align-items:center}.list .tile{display:flex;gap:16px;align-items:center;padding:12px 8px;border-bottom:1px solid var(--rule);min-width:0}.list .person:last-child .tile{border-bottom:0}.list .photo{width:64px;height:64px;font-size:20px}.text{display:flex;flex-direction:column;gap:2px;min-width:0}.photo{border-radius:50%;background:var(--tint);display:grid;place-items:center;color:var(--accent);font-weight:700;font-size:26px;flex-shrink:0;overflow:hidden}.photo img{width:100%;height:100%;object-fit:cover;display:block}.photo.logo{background:#fff;border:1px solid var(--rule)}.photo.logo img{object-fit:contain;padding:6%}.name{font-weight:700;font-size:18px;line-height:1.25;color:var(--ink);margin:0;overflow-wrap:anywhere}.title{font-style:italic;font-size:16px;line-height:1.35;color:var(--ink);margin:0;overflow-wrap:anywhere}.grid .name{color:var(--accent);font-size:16px;line-height:1.2}.grid .title{font-size:14px;line-height:1.3}.dept,.custom{margin:0;color:var(--muted);font-size:14px;overflow-wrap:anywhere}.custom .label,.phones .label{color:var(--muted)}.phones{margin:0;padding:0;list-style:none;font-size:14px}.phones a,.email a{color:var(--ink);text-decoration:none;border-bottom:1px solid var(--rule);overflow-wrap:anywhere}.phones a:hover,.email a:hover{border-bottom-color:var(--accent)}.email{margin:0;font-size:14px}.details{position:relative;background:var(--tile);border:1px solid var(--rule);border-top:4px solid var(--accent);border-radius:12px;box-shadow:var(--shadow);padding:16px 18px 18px;display:flex;flex-direction:column;gap:10px}.list .details{border:0;border-left:4px solid var(--accent);border-radius:0;box-shadow:none;padding:12px 8px 14px 14px}.details .close{position:absolute;top:6px;right:6px;width:34px;height:34px;border:0;border-radius:50%;background:transparent;color:var(--muted);font:24px/1 var(--font);cursor:pointer}.details .close:hover,.details .close:focus-visible{background:var(--tint);color:var(--accent);outline:none}.details .head{display:flex;align-items:center;gap:14px;padding-right:34px}.details .photo.small{width:64px;height:64px;font-size:22px}.details .head .name{font-size:17px}.details .head .title{font-size:15px}.grid .details .head{flex-direction:column;text-align:center;padding-right:0;padding-top:8px}.grid .details .head .text{align-items:center}.grid .details .body{text-align:center}.details .body{display:grid;gap:5px;border-top:1px solid var(--rule);padding-top:10px}.details .body:empty{display:none}.details .phones a,.details .email a{color:var(--accent)}@media(max-width:420px){.cards .tile{gap:14px;padding:16px 14px;min-height:0}.cards .photo{width:96px;height:96px;font-size:30px}.name{font-size:17px}.title{font-size:15px}}@media(prefers-reduced-motion:no-preference){.photo img{animation:fade .25s ease-out}.details{animation:pop .16s ease-out}@keyframes fade{0%{opacity:0}}@keyframes pop{0%{opacity:0;transform:translateY(4px)}}}
