.gozy-mh__card { width:min(720px, 94vw); }
.gozy-mh__body, .gozy-mh--page { font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; color:#222; }
.gozy-mh__body { padding:12px 6px 4px; }
.gozy-mh__hint { color:#666; font-size:14px; text-align:center; padding:18px 8px; margin:0; }
.gozy-mh__error { color:#b00020; font-weight:600; text-align:center; padding:18px 8px; margin:0; }
.gozy-mh__who { display:flex; align-items:baseline; gap:10px; flex-wrap:wrap; margin-bottom:10px; }
.gozy-mh__who strong { font-size:18px; }
.gozy-mh__who span { font-size:12px; color:#777; }
.gozy-mh__alert { font-size:13px; padding:8px 10px; border-radius:6px; background:#f3f4f6; margin-bottom:8px; }
.gozy-mh__alert--live { background:#e8f5ee; color:#1f6b48; }
.gozy-mh__alert--warn { background:#fff4d6; color:#6b4a00; }

.gozy-mh__tiles { display:grid; grid-template-columns:repeat(3, 1fr); gap:8px; margin:6px 0 16px; }
.gozy-mh__tile { border:1px solid #e6e6e6; border-radius:8px; padding:10px 12px; background:#fff; }
.gozy-mh__tile-label { font-size:12px; color:#666; font-weight:600; }
.gozy-mh__tile-value { font-size:24px; font-weight:700; line-height:1.15; margin-top:2px; font-variant-numeric:tabular-nums; }
.gozy-mh__tile-value small { font-size:13px; font-weight:600; color:#666; margin-left:2px; }
.gozy-mh__tile-meta { font-size:11px; color:#888; margin-top:2px; font-variant-numeric:tabular-nums; }

.gozy-mh__section-title { font-size:13px; font-weight:700; color:#444; margin:4px 0 8px; }
.gozy-mh__section-title span { font-weight:400; color:#888; margin-left:4px; }

/* Weekly column chart: one series, thin columns, rounded tops on a hairline baseline */
.gozy-mh__chart-wrap { margin-bottom:16px; }
.gozy-mh__chart { position:relative; height:150px; margin:0 0 4px 34px; }
.gozy-mh__grid { position:absolute; inset:0 0 20px 0; border-bottom:1px solid #d9d9d9; }
.gozy-mh__grid span { position:absolute; left:-34px; transform:translateY(50%); font-size:10px; color:#888; width:28px; text-align:right; }
.gozy-mh__grid::before, .gozy-mh__grid::after { content:""; position:absolute; left:0; right:0; border-top:1px solid #f0f0f0; }
.gozy-mh__grid::before { bottom:100%; }
.gozy-mh__grid::after { bottom:50%; }
.gozy-mh__cols { position:absolute; inset:0; display:flex; align-items:stretch; }
.gozy-mh__col { position:relative; flex:1; display:flex; justify-content:center; outline:none; cursor:default; }
.gozy-mh__col::before { content:""; position:absolute; inset:0 1px 20px; border-radius:4px; }
.gozy-mh__col:hover::before, .gozy-mh__col:focus-visible::before { background:rgba(46,139,87,.07); }
.gozy-mh__bar { position:absolute; bottom:20px; width:min(24px, 60%); max-height:calc(100% - 20px); background:#2e8b57; border-radius:4px 4px 0 0; }
.gozy-mh__col:not(.is-current) .gozy-mh__bar { background:#8cc7a5; }
.gozy-mh__cap { position:absolute; margin-bottom:20px; font-size:11px; font-weight:700; color:#222; font-variant-numeric:tabular-nums; }
.gozy-mh__x { position:absolute; bottom:2px; font-size:10px; color:#888; white-space:nowrap; }
.gozy-mh__col.is-current .gozy-mh__x { color:#222; font-weight:700; }
.gozy-mh__tip { position:absolute; top:-6px; transform:translate(-50%, -100%); background:#222; color:#fff; font-size:12px; padding:5px 8px; border-radius:5px; white-space:nowrap; pointer-events:none; z-index:2; }
.gozy-mh__sr { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }

.gozy-mh__shifts { list-style:none; margin:0; padding:0; }
.gozy-mh__shift { padding:7px 0; border-bottom:1px solid #f0f0f0; font-size:13px; }
.gozy-mh__shift:last-child { border-bottom:0; }
.gozy-mh__shift-main { display:flex; gap:10px; align-items:baseline; }
.gozy-mh__shift-day { font-weight:700; min-width:64px; }
.gozy-mh__shift-hours { margin-left:auto; font-weight:700; font-variant-numeric:tabular-nums; }
.gozy-mh__shift-flag { color:#8a1c12; font-size:12px; margin-top:2px; }
.gozy-mh__shift-notes { color:#555; font-size:12px; margin-top:2px; font-style:italic; }

/* Kiosk button: sits beside Report Missed Punch so the kiosk gets no taller */
.gozy-tc__btn--hours { background:#cfe6da; }

/* [gozy_my_hours] page version */
.gozy-mh--page { background:#fff; border:1px solid #ddd; border-radius:6px; padding:16px 18px; max-width:760px; margin:0 auto; box-sizing:border-box; }
.gozy-mh__page-title { margin:0 0 10px; font-size:18px; }
.gozy-mh__lookup label { display:block; font-size:13px; font-weight:600; margin-bottom:5px; }
.gozy-mh__lookup-row { display:flex; gap:8px; }
.gozy-mh__lookup input { flex:1; min-width:0; padding:9px 10px; border:1px solid #ccc; border-radius:4px; font-size:15px; }
.gozy-mh__lookup button { padding:9px 16px; border:0; border-radius:4px; background:#2e8b57; color:#fff; font-weight:700; cursor:pointer; }
.gozy-mh--page .gozy-mh__body { padding:14px 0 0; }

@media (max-width:560px) {
    .gozy-mh__tiles { grid-template-columns:repeat(2, 1fr); }
    .gozy-mh__tile-value { font-size:20px; }
    .gozy-mh__tile:last-child { grid-column:1 / -1; }
}
.gozy-mh__shift-project { font-size:12px; color:#1f6b48; font-weight:600; margin-top:2px; }
.gozy-mh__shift-notes { white-space:pre-wrap; font-style:normal; }
.gozy-mh__ptable { width:100%; border-collapse:collapse; font-size:13px; margin-bottom:16px; }
.gozy-mh__ptable th { text-align:left; font-size:12px; color:#666; font-weight:600; border-bottom:1px solid #e6e6e6; padding:4px 6px; }
.gozy-mh__ptable td { padding:5px 6px; border-bottom:1px solid #f2f2f2; font-variant-numeric:tabular-nums; }
.gozy-mh__ptable th:not(:first-child), .gozy-mh__ptable td:not(:first-child) { text-align:right; }
.gozy-mh__wbl { margin-top:16px; padding-top:12px; border-top:1px solid #eee; }
.gozy-mh__wbl-row { display:flex; flex-wrap:wrap; gap:8px; }
.gozy-mh__wbl-period { padding:7px 8px; border:1px solid #ccc; border-radius:4px; font-size:14px; }
.gozy-mh__wbl-btn { padding:7px 12px; border:1px solid #2e8b57; border-radius:4px; background:#fff; color:#1f6b48; font-weight:700; font-size:13px; cursor:pointer; }
.gozy-mh__wbl-btn:hover { background:#eef8f2; }
.gozy-mh__wbl-msg { min-height:18px; font-size:12px; color:#1f6b48; margin-top:6px; }
