@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&display=swap');
:root { color-scheme: light; }
*, *::before, *::after { box-sizing: border-box; }
body.duty-public {
    margin: 0; min-height: 100vh; background: #f7faf8;
    font-family: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    color: #16392d; -webkit-font-smoothing: antialiased;
}
.duty-stage {
    min-height: 100vh; min-height: 100svh;
    padding: 28px 18px; display: flex; justify-content: center; align-items: center;
}
.duty-card {
    width: 100%; max-width: 820px;
    border: 1px solid #e5ede9; border-radius: 30px;
    background: #fff; box-shadow: 0 18px 54px rgba(28, 77, 58, .055);
    padding: clamp(24px, 5vw, 45px);
}
.duty-top { margin-bottom: 28px; }
.duty-eyebrow {
    color: #809a8e; letter-spacing: .22em; font-weight: 800;
    font-size: 12px; line-height: 1.5; margin-bottom: 12px;
}
.duty-kicker { display: flex; align-items: center; gap: 10px; color: #1f4e3b; font-size: 19px; line-height: 1.35; font-weight: 700; }
.duty-status { width: 12px; height: 12px; flex: none; border-radius: 50%; background: #11a96c; box-shadow: 0 0 0 4px #e1f5e9; }
.duty-profile { display: flex; align-items: center; gap: clamp(22px, 4vw, 38px); margin-bottom: 30px; }
.duty-avatar {
    width: clamp(166px, 25vw, 224px); aspect-ratio: 1; flex: none;
    overflow: hidden; border-radius: 50%; display: grid; place-items: center;
    background: #e4f5ed; color: #0d9560;
    border: 1px solid #e8f1ec;
}
.duty-avatar img { width: 100%; height: 100%; display: block; object-fit: cover; }
.duty-person-icon { width: 98px; height: 98px; }
.duty-identity { flex: 1; min-width: 0; }
.duty-lead { font-weight: 600; font-size: clamp(22px, 3.5vw, 34px); letter-spacing: -.042em; line-height: 1.25; }
.duty-name {
    margin: 9px 0 0; color: #0c8b5b;
    font-weight: 800; letter-spacing: -.052em; font-size: clamp(35px, 5vw, 57px);
    line-height: 1.12; overflow-wrap: anywhere;
}
.duty-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.duty-action {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 12px; min-height: 103px; border-radius: 17px;
    padding: 17px 9px; font-weight: 700; font-size: clamp(13px, 1.8vw, 17px);
    line-height: 1.25; text-align: center; text-decoration: none;
    transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
}
.duty-action:hover { transform: translateY(-2px); filter: brightness(1.04); box-shadow: 0 8px 15px rgba(15, 48, 36, .10); }
.duty-action:focus-visible { outline: 3px solid #214c39; outline-offset: 3px; }
.duty-action-icon { display: block; width: 32px; height: 32px; flex: none; }
.duty-whatsapp, .duty-whatsapp:visited, .duty-whatsapp:hover { background: #10ae70; color: #fff; }
.duty-viber, .duty-viber:visited, .duty-viber:hover { background: #7961ba; color: #fff; }
.duty-call, .duty-call:visited, .duty-call:hover { background: #eaf3ee; color: #225e46; }
.duty-hint { margin: 24px 1px 27px; color: #7b9588; font-size: 14px; font-weight: 500; line-height: 1.7; }
.duty-time { border-top: 1px solid #e0ebe5; padding-top: 24px; }
.duty-dates { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; color: #627f70; line-height: 1.5; }
.duty-date-icon { width: 19px; height: 19px; flex: none; margin-top: 1px; }
.duty-timezone { margin-top: 4px; padding-left: 30px; color: #889895; font-size: 13px; }
.duty-no-person { padding: 14px 0 20px; }
.duty-empty-avatar { width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; color: #829e90; background: #ecf5ef; font-size: 42px; }
.duty-empty-avatar .duty-person-icon { width: 48px; height: 48px; }
.duty-empty { font-size: 30px; margin-top: 24px; }
@media(max-width: 650px) {
    .duty-stage { padding: 18px 12px; align-items: flex-start; }
    .duty-card { border-radius: 23px; padding: 26px 23px; }
    .duty-top { margin-bottom: 25px; }
    .duty-profile { gap: 21px; }
    .duty-avatar { width: clamp(130px, 32vw, 174px); }
    .duty-avatar .duty-person-icon { width: 72px; height: 72px; }
    .duty-lead { font-size: clamp(20px, 4.5vw, 27px); }
    .duty-name { font-size: clamp(30px, 7.3vw, 43px); }
    .duty-action { min-height: 91px; font-size: 13px; gap: 9px; }
    .duty-action-icon { width: 29px; height: 29px; }
}
@media(max-width: 480px) {
    .duty-stage { padding: 12px 8px; }
    .duty-card { padding: 25px 21px; border-radius: 22px; }
    .duty-eyebrow { font-size: 10px; }
    .duty-kicker { font-size: 16px; }
    .duty-profile { flex-direction: column; align-items: flex-start; gap: 15px; margin-bottom: 24px; }
    .duty-avatar { width: 160px; }
    .duty-lead { font-size: 23px; }
    .duty-name { font-size: clamp(36px, 10vw, 49px); margin-top: 5px; }
    .duty-actions { grid-template-columns: 1fr; gap: 10px; }
    .duty-action { flex-direction: row; justify-content: flex-start; min-height: 58px; padding: 12px 19px; font-size: 16px; gap: 15px; }
    .duty-action-icon { width: 25px; height: 25px; }
    .duty-hint { font-size: 13px; margin: 19px 0 22px; }
    .duty-dates { font-size: 13px; gap: 9px; }
    .duty-timezone { padding-left: 28px; }
}
@media(prefers-reduced-motion:reduce) { .duty-action { transition: none; } }
