:root { color-scheme: light; --ink: #15342e; --muted: #61716c; --green: #146c50; --green-dark: #0e503b; --line: #dce6e0; --canvas: #f3f7f4; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-synthesis: none; text-rendering: optimizeLegibility; }
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--canvas); font-size: 16px; line-height: 1.55; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { font: inherit; }
button:focus-visible, a:focus-visible { outline: 3px solid #228a65; outline-offset: 4px; }
button:disabled { cursor: not-allowed; }
a { color: inherit; }
p, h1, h2 { margin: 0; }
.icon { flex: 0 0 auto; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.site-header { height: 80px; border-bottom: 1px solid var(--line); background: white; }
.header-inner { display: flex; align-items: center; justify-content: space-between; max-width: 1136px; height: 100%; margin: auto; padding: 0 32px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 800; font-size: 22px; letter-spacing: .13em; }
.brand-mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px 11px 3px 11px; background: var(--green); color: white; font-size: 24px; font-weight: 600; letter-spacing: -.04em; }
.header-label { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--muted); }
.header-label .icon { width: 18px; height: 18px; }
.attendance-main { max-width: 1136px; margin: 0 auto; padding: 46px 32px 24px; }
.page-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.eyebrow { margin-bottom: 7px; color: var(--green); font-size: 13px; font-weight: 750; letter-spacing: .11em; }
h1 { font-size: clamp(28px, 3vw, 35px); font-weight: 680; line-height: 1.3; letter-spacing: -.035em; }
.intro-copy { margin-top: 9px; color: var(--muted); font-size: 16px; }
.office-address { display: flex; align-items: flex-start; gap: 10px; max-width: 360px; color: var(--muted); font-size: 14px; line-height: 1.7; padding-bottom: 2px; }
.office-address > div { min-width: 0; overflow-wrap: anywhere; }
.office-list-label { color: #6b8073; font-size: 12px; font-weight: 650; letter-spacing: .07em; }
.office-list { list-style: none; margin: 4px 0 0; padding: 0; color: #435c51; font-size: 14px; }
.office-list li + li { margin-top: 3px; }
.office-address .icon { margin-top: 3px; width: 19px; height: 19px; color: var(--green); }
.office-address strong { color: #3c554d; font-weight: 600; }
.network-banner { display: flex; align-items: center; gap: 13px; min-height: 88px; padding: 17px 20px; margin-bottom: 24px; border: 1px solid var(--line); border-radius: 14px; background: white; }
.banner-icon { display: grid; place-items: center; flex: 0 0 auto; width: 39px; height: 39px; border-radius: 50%; background: #edf3ef; color: var(--green); }
.banner-copy { flex: 1 1 auto; min-width: 0; }
.banner-copy strong { font-size: 15px; font-weight: 650; }
.banner-copy p { margin-top: 2px; font-size: 14px; color: var(--muted); }
.banner-copy .current-network { margin-top: 5px; color: #365c45; }
.banner-copy .current-network strong { font-size: 14px; font-weight: 650; }
.banner-success { background: #edf7f0; border-color: #c6e2cd; }
.banner-success .banner-icon { background: #d9efdf; }
.banner-success .banner-copy strong { color: #185e40; }
.banner-setup { background: #fffaf0; border-color: #ebdfbe; }
.banner-setup .banner-icon { background: #f6ebcd; color: #80601c; }
.banner-setup .banner-copy strong { color: #6a531c; }
.banner-error { border-color: #efd1c8; background: #fff7f3; }
.banner-error .banner-icon { background: #f9e6de; color: #9b452e; }
.button-text { display: inline-flex; align-items: center; justify-content: center; gap: 7px; background: transparent; color: var(--green-dark); padding: 9px 2px; border: 0; font-size: 14px; font-weight: 650; cursor: pointer; white-space: nowrap; }
.button-text:hover:not(:disabled) { color: #093a29; text-decoration: underline; text-underline-offset: 4px; }
.button-text:disabled { color: #7a8c82; }
.button-text .icon { width: 17px; height: 17px; }
.attendance-grid { display: grid; grid-template-columns: .82fr 1.18fr; align-items: stretch; gap: 24px; }
.card { border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: 0 3px 8px #1b503a03; }
.time-card { display: flex; flex-direction: column; padding: 30px; position: relative; overflow: hidden; }
.time-card::after { content: ""; position: absolute; top: -100px; right: -130px; width: 260px; height: 260px; border: 30px solid #f5f9f6; border-radius: 50%; pointer-events: none; }
.section-label { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); position: relative; z-index: 1; }
.section-label .icon { width: 18px; height: 18px; }
.live-time { display: flex; align-items: baseline; gap: 12px; font-variant-numeric: tabular-nums; letter-spacing: -.065em; margin-top: 21px; font-size: clamp(48px, 5.4vw, 68px); line-height: 1.25; font-weight: 580; position: relative; z-index: 1; }
.time-colon { display: inline-block; padding: 0 3px; color: #99ada1; font-weight: 400; }
.time-seconds { font-size: 24px; letter-spacing: -.02em; color: #8b9f94; font-weight: 450; }
.current-date { margin-top: 8px; color: #435c51; font-size: 16px; text-transform: capitalize; }
.timezone-label { align-self: flex-start; padding: 4px 10px; margin-top: 15px; border-radius: 6px; background: #f0f5f1; color: #5a7364; font-size: 13px; }
.time-card-note { display: flex; align-items: flex-start; gap: 9px; margin-top: auto; padding-top: 30px; color: #788a7e; }
.time-card-note .icon { width: 17px; height: 17px; margin-top: 2px; }
.time-card-note p { max-width: 255px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.clock-card { padding: 27px 28px 22px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.account-heading-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 10px; }
.notifications-toggle { display: inline-flex; align-items: center; gap: 8px; border: 1px solid #c9dcd0; border-radius: 8px; background: #f4f9f5; padding: 6px 11px; color: var(--green-dark); font-size: 14px; font-weight: 650; cursor: pointer; }
.notifications-toggle:hover:not(:disabled), .notifications-toggle[aria-expanded="true"] { background: #e6f2e9; border-color: #a8c9b5; }
.notifications-count { display: inline-grid; place-items: center; min-width: 23px; height: 23px; padding: 0 5px; border-radius: 12px; color: white; background: var(--green); font-size: 12px; font-variant-numeric: tabular-nums; }
.notifications-panel { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.notifications-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.notifications-heading h3 { margin: 0; font-size: 16px; font-weight: 680; }
.notifications-heading p, .notifications-empty, .notifications-truncated { color: var(--muted); font-size: 13px; line-height: 1.6; }
.notifications-heading p { margin-top: 3px; }
.notifications-heading .button-text { padding-top: 0; }
.notifications-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 11px; max-height: 540px; overflow-y: auto; overscroll-behavior: contain; }
.notification-item { border: 1px solid #cddfd3; border-left: 3px solid var(--green); border-radius: 10px; background: #f6faf7; padding: 13px 15px; overflow-wrap: anywhere; }
.notification-item.notification-read { border-color: #e2eae5; background: white; }
.notification-item-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.notification-item-heading strong { font-size: 14px; font-weight: 680; }
.notification-state { color: var(--green); font-size: 12px; font-weight: 650; white-space: nowrap; }
.notification-read .notification-state { color: var(--muted); font-weight: 500; }
.notification-person { margin-top: 6px; font-size: 14px; font-weight: 600; }
.notification-period { margin-top: 2px; font-size: 13px; }
.notification-time, .notification-route { margin-top: 5px; font-size: 12px; color: var(--muted); }
.notification-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 7px; }
.notification-actions .button-text { padding: 3px 0; font-size: 13px; }
.notifications-empty, .notifications-truncated { margin-top: 14px; }
.notifications-notice { margin-top: 12px; padding: 9px 11px; border-radius: 8px; background: #fff7ec; color: #785333; font-size: 13px; }
@media (max-width: 480px) {
  .account-heading-actions { gap: 7px; }
  .notifications-toggle { padding: 5px 8px; font-size: 13px; }
  .notification-item { padding: 11px 12px; }
}
h2 { font-size: 18px; font-weight: 660; letter-spacing: -.015em; line-height: 1.5; }
.employee-code { font-size: 14px; font-weight: 650; letter-spacing: .025em; color: #5e7567; background: #f0f5f2; border: 1px solid #e2eae4; border-radius: 6px; padding: 3px 7px; }
.employee-card, .identity-empty { display: flex; align-items: center; gap: 13px; margin-top: 21px; min-height: 66px; }
.employee-avatar, .identity-symbol { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #e7f2ea; font-size: 21px; color: #236447; flex: 0 0 auto; font-weight: 650; }
.identity-symbol { border: 1px dashed #b9cfc1; background: #f4f8f5; color: #7c9687; font-size: 20px; }
.employee-info, .identity-empty > div { min-width: 0; }
.employee-info strong, .identity-empty strong { display: block; font-size: 17px; font-weight: 650; }
.employee-info span { display: block; font-size: 14px; color: var(--muted); margin-top: 2px; overflow-wrap: anywhere; }
.identity-empty p { font-size: 14px; color: var(--muted); margin-top: 3px; }
.sign-in-link { display: block; padding: 11px 15px; margin-top: 14px; border: 1px solid #bdd5c7; border-radius: 9px; font-size: 14px; font-weight: 650; text-align: center; text-decoration: none; color: var(--green-dark); }
.sign-in-link:hover { background: #f1f8f3; }
.clock-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; margin-top: 24px; }
.clock-button { display: flex; align-items: flex-start; flex-direction: column; gap: 3px; padding: 16px 18px; border: 1px solid #b9d3c4; border-radius: 12px; text-align: left; cursor: pointer; min-height: 120px; color: var(--green-dark); background: #f4f9f5; transition: background .15s, border-color .15s, transform .15s; }
.clock-button .icon { width: 23px; height: 23px; margin-bottom: 3px; }
.clock-button > span { font-size: 20px; font-weight: 650; line-height: 1.3; }
.clock-button small { font-size: 14px; color: #536e5e; line-height: 1.45; }
.clock-button.next-action:not(:disabled) { color: white; background: var(--green); border-color: var(--green); box-shadow: 0 4px 10px #146c501a; }
.clock-button.next-action:not(:disabled) small { color: #e2f0e7; }
.clock-button:hover:not(:disabled) { transform: translateY(-1px); background: #e8f3eb; }
.clock-button.next-action:hover:not(:disabled) { background: var(--green-dark); border-color: var(--green-dark); }
.clock-button:disabled { background: #f4f6f4; border-color: #e2e8e2; color: #91a098; }
.clock-button:disabled small { color: #738179; }
.clock-feedback { margin-top: 15px; min-height: 42px; }
.action-hint { font-size: 14px; color: var(--muted); line-height: 1.6; }
.notice { display: flex; align-items: flex-start; gap: 8px; border-radius: 9px; padding: 11px 12px; font-size: 14px; }
.notice .icon { width: 18px; height: 18px; margin-top: 2px; }
.notice-success { color: #155b3c; background: #eaf7ee; }
.notice-error { color: #86462f; background: #fff5ed; }
.recovery-actions { display: flex; align-items: center; flex-wrap: wrap; column-gap: 16px; row-gap: 4px; padding-top: 9px; }
.retry-button { background: white; border: 1px solid #b8cdbf; padding: 7px 10px; border-radius: 7px; color: var(--green-dark); font-size: 14px; font-weight: 650; cursor: pointer; }
.retry-button:disabled { color: #829089; border-color: #dae1dc; }
.recovery-actions > p { flex-basis: 100%; color: var(--muted); font-size: 13px; }
.history-card { margin-top: 24px; overflow: hidden; }
.history-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 23px 28px 20px; }
.history-heading p { color: var(--muted); font-size: 14px; margin-top: 2px; }
.history-count { border: 1px solid #e0e9e2; border-radius: 7px; padding: 4px 10px; background: #f6f9f6; color: #63796b; font-size: 13px; white-space: nowrap; }
.history-list { list-style: none; margin: 0; padding: 0 28px 4px; }
.history-item { display: grid; grid-template-columns: 37px minmax(0, 1fr) 110px 125px; align-items: center; gap: 13px; padding: 18px 0; border-top: 1px solid #e7eee9; }
.history-icon { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 10px; background: #eaf4ed; color: #29754e; }
.history-out { background: #eef2f8; color: #57759a; }
.history-icon .icon { width: 18px; height: 18px; }
.history-detail { min-width: 0; }
.history-detail strong { display: block; font-size: 15px; font-weight: 650; }
.history-detail span { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; overflow-wrap: anywhere; }
.history-item time { font-size: 19px; font-variant-numeric: tabular-nums; font-weight: 550; text-align: right; }
.confirmed-label { display: flex; justify-content: flex-end; align-items: center; gap: 5px; color: #658573; font-size: 13px; }
.confirmed-label .icon { width: 15px; height: 15px; }
.history-empty { display: flex; align-items: center; justify-content: center; gap: 14px; border-top: 1px solid #eaf0eb; background: #fcfdfc; min-height: 124px; padding: 26px; }
.history-empty > span { display: grid; place-items: center; width: 44px; height: 44px; flex: 0 0 auto; background: #f0f5f1; color: #8ca294; border-radius: 50%; }
.history-empty strong { font-size: 14px; font-weight: 550; color: #5b7263; }
.history-empty p { font-size: 13px; margin-top: 3px; color: #7d8e82; }
.page-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 23px 0 5px; color: #75887c; font-size: 13px; }
.is-spinning { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (min-width: 1200px) { .attendance-main { padding-top: 54px; } .page-intro { margin-bottom: 34px; } }
@media (max-width: 900px) { .attendance-grid { grid-template-columns: .8fr 1.2fr; gap: 18px; } .time-card { padding: 25px 22px; } .clock-card { padding: 24px 22px 18px; } .live-time { font-size: 53px; gap: 8px; } .time-seconds { font-size: 22px; } .office-address { max-width: 210px; } .clock-button { padding: 14px; } }
@media (max-width: 720px) {
  .site-header { height: 70px; } .header-inner { padding: 0 22px; } .brand { font-size: 20px; } .brand-mark { width: 32px; height: 32px; font-size: 22px; }
  .attendance-main { padding: 30px 22px 20px; } .page-intro { display: block; margin-bottom: 22px; } h1 { font-size: 29px; } .eyebrow { font-size: 12px; } .intro-copy { margin-top: 7px; font-size: 16px; }
  .office-address { margin-top: 15px; max-width: none; align-items: center; font-size: 14px; gap: 7px; } .office-address br { display: none; } .office-address strong::before { content: " · "; } .office-address .icon { width: 16px; height: 16px; margin: 0; }
  .network-banner { padding: 15px; gap: 10px; display: grid; grid-template-columns: 33px minmax(0, 1fr); margin-bottom: 18px; } .banner-icon { width: 33px; height: 33px; align-self: flex-start; margin-top: 2px; } .banner-icon .icon { width: 20px; height: 20px; } .banner-copy { min-width: 0; } .banner-copy strong { font-size: 14px; } .network-refresh { grid-column: 2; justify-self: start; margin-left: 0; padding: 2px 0; }
  .attendance-grid { grid-template-columns: 1fr; gap: 18px; } .time-card { padding: 22px 24px; } .live-time { font-size: 62px; margin-top: 10px; } .time-seconds { font-size: 24px; } .current-date { margin-top: 3px; font-size: 16px; }
  .timezone-label { position: absolute; top: 18px; right: 23px; margin: 0; z-index: 1; } .time-card-note { padding-top: 15px; } .time-card-note p { max-width: none; } .time-card-note .icon { width: 15px; height: 15px; }
  .clock-card { padding: 23px 23px 18px; } .history-card { margin-top: 18px; } .history-heading { padding: 21px 23px 18px; } .history-list { padding: 0 23px 4px; } .history-item { grid-template-columns: 34px minmax(0, 1fr) 95px; gap: 10px; } .confirmed-label { display: none; }
  .page-footer { flex-direction: column; gap: 3px; text-align: center; padding-top: 24px; font-size: 12px; }
}
@media (max-width: 380px) { .header-inner { padding: 0 16px; } .attendance-main { padding-left: 16px; padding-right: 16px; } h1 { font-size: 26px; } .time-card, .clock-card { padding-left: 19px; padding-right: 19px; } .clock-actions { gap: 10px; } .clock-button { padding: 14px 12px; } .clock-button > span { font-size: 19px; } .employee-info strong, .identity-empty strong { font-size: 16px; } .employee-avatar, .identity-symbol { width: 42px; height: 42px; } .section-heading { flex-wrap: wrap; } .section-heading h2 { font-size: 17px; } }
@media (prefers-reduced-motion: reduce) { .is-spinning { animation: none; } .clock-button { transition: none; } }

[hidden] { display: none !important; }
.icon-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.employee-info { flex: 1 1 auto; }
.logout-button { align-self: center; font-weight: 550; }
.auth-panel { margin-top: 19px; padding: 17px; border-radius: 12px; border: 1px solid #d9e8de; background: #f8fbf8; }
.auth-panel label { display: block; margin-bottom: 7px; font-size: 14px; color: #334f40; font-weight: 650; }
.email-input-row, .otp-input-row { display: flex; align-items: stretch; gap: 9px; }
.auth-panel input { min-width: 0; width: 100%; padding: 10px 11px; border: 1px solid #bfcfc3; border-radius: 8px; background: white; color: var(--ink); font: inherit; font-size: 16px; line-height: 1.5; }
.auth-panel input:focus-visible { outline: 3px solid #228a6540; outline-offset: 1px; border-color: #228a65; }
.auth-panel input[aria-invalid="true"] { border-color: #b45639; }
.auth-panel input:disabled { color: #79877f; background: #f0f4f0; }
.auth-panel input::placeholder { color: #8a9c90; }
.auth-primary { flex: 0 0 auto; padding: 10px 12px; border: 1px solid var(--green); border-radius: 8px; background: var(--green); color: white; font-size: 14px; font-weight: 650; cursor: pointer; }
.auth-primary:hover:not(:disabled) { background: var(--green-dark); }
.auth-primary:disabled { background: #e5ede7; color: #74867a; border-color: #d6e1d9; }
.field-help { font-size: 13px; color: var(--muted); line-height: 1.6; }
.auth-panel .field-help { margin-top: 7px; }
.otp-destination { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 12px; font-size: 14px; color: var(--muted); }
.otp-destination > span { min-width: 0; overflow-wrap: anywhere; }
.otp-destination strong { color: #345342; font-weight: 650; }
.otp-destination .button-text { padding: 0; }
#otp-code { max-width: 205px; letter-spacing: .28em; font-size: 20px; font-variant-numeric: tabular-nums; padding-left: 15px; }
.otp-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 7px; }
.otp-footer .field-help { margin: 0; }
.otp-footer .button-text { padding: 3px 0; }
.auth-message { padding-top: 12px; font-size: 14px; color: #365e43; line-height: 1.6; overflow-wrap: anywhere; }
.auth-message.is-error { color: #88432e; }
.auth-recovery > p { font-size: 14px; color: #7c5738; margin-top: 12px; }
.auth-recovery .button-text { margin-right: 15px; }
.noscript-notice { margin-top: 20px; padding: 16px; border: 1px solid #ebdfbe; border-radius: 10px; background: #fffaf0; font-size: 14px; }
@media (max-width: 900px) { .email-input-row { flex-direction: column; } .auth-primary { min-height: 44px; } .otp-input-row { flex-wrap: wrap; } #otp-code { flex: 1 1 100px; max-width: 100%; } .otp-input-row .auth-primary { flex: 1 1 auto; } }
@media (max-width: 720px) { .network-banner { display: grid; grid-template-columns: 33px minmax(0, 1fr); } .network-refresh { grid-column: 2; width: fit-content; margin-left: 0; } .banner-copy { min-width: 0; } .auth-panel { padding: 15px; } .employee-card { flex-wrap: wrap; } .logout-button { margin-left: 61px; padding-top: 0; padding-bottom: 0; } .otp-footer { align-items: baseline; flex-wrap: wrap; } }
@media (max-width: 380px) { .logout-button { margin-left: 55px; } .auth-panel { padding: 13px; } .otp-destination { flex-wrap: wrap; } }
@media (max-width: 720px) { .office-address { align-items: flex-start; } .office-address .icon { margin-top: 3px; } }

.account-card { margin-bottom: 22px; padding: 22px 28px; }
.account-card .employee-card, .account-card .identity-empty { margin-top: 12px; }
.account-card .auth-panel { max-width: 690px; }
.portal-tabs { display: flex; align-items: center; gap: 5px; max-width: 100%; overflow-x: auto; padding: 6px; margin-bottom: 24px; background: #e7eee8; border: 1px solid #dce6de; border-radius: 12px; scrollbar-width: thin; }
.portal-tabs button { flex: 1 0 auto; padding: 11px 17px; border: 0; border-radius: 8px; background: transparent; color: #536e5d; font-size: 14px; font-weight: 650; white-space: nowrap; cursor: pointer; }
.portal-tabs button[aria-selected="true"] { background: var(--green); color: white; box-shadow: 0 2px 6px #134b3220; }
.portal-tabs button:hover:not([aria-selected="true"]) { background: #f5f9f5; color: var(--green-dark); }
.request-panel { padding: 27px 28px; }
.request-panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 23px; }
.request-panel-heading p { margin-top: 5px; color: var(--muted); font-size: 14px; }
.request-panel-heading .button-text { padding-top: 3px; }
.request-private-label { flex: 0 0 auto; background: #eef5ef; color: #587664; border: 1px solid #dde9e0; border-radius: 7px; padding: 4px 9px; font-size: 13px; }
.request-gate { margin-bottom: 18px; border: 1px solid #ebdfbe; background: #fffaf0; color: #765e29; padding: 12px 14px; border-radius: 9px; font-size: 14px; }
#proposal-fields { border: 0; margin: 0; padding: 0; min-width: 0; }
.request-form-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; column-gap: 20px; }
.request-field { min-width: 0; margin-bottom: 20px; }
.request-field label { display: block; color: #334f40; font-size: 14px; font-weight: 650; margin-bottom: 7px; }
.request-field label > span { color: #8d5d37; }
.request-field input, .request-field select, .request-field textarea { width: 100%; min-width: 0; min-height: 46px; padding: 10px 12px; color: var(--ink); background: white; border: 1px solid #bfcfc3; border-radius: 8px; font: inherit; font-size: 16px; line-height: 1.5; }
.request-field input:focus-visible, .request-field select:focus-visible, .request-field textarea:focus-visible { outline: 3px solid #228a6540; outline-offset: 1px; border-color: #228a65; }
.request-field input:disabled, .request-field select:disabled, .request-field textarea:disabled { color: #79877f; background: #f3f6f3; }
.request-field textarea { min-height: 112px; resize: vertical; }
.request-field textarea::placeholder { color: #8a9b8f; }
#guide-schedule-workspace { margin-bottom: 24px; }
#guide-schedule-workspace h3 { margin: 12px 0 8px; font-size: 17px; }
#guide-schedule-form { margin-top: 20px; padding-top: 12px; border-top: 1px solid var(--line); }
#guide-schedule-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 235px), 1fr)); gap: 12px; }
#guide-schedule-list .proposal-card { margin: 0; }
#guide-schedule-workspace p, #guide-schedule-workspace strong { overflow-wrap: anywhere; }
.guide-schedule-late { display: inline-block; margin: 6px 0; padding: 3px 8px; border-radius: 6px; color: #80501b; background: #fff1d6; font-size: 13px; font-weight: 650; }
.guide-schedule-updated { color: var(--muted); font-size: 13px; margin-top: 7px; }
#guide-schedule-unread { background: #e8f1e9; border-radius: 6px; padding: 2px 6px; }
#guide-schedule-form > button, #guide-schedule-preview-panel > button { margin: 6px 8px 6px 0; white-space: normal; }
.textarea-help { display: flex; justify-content: space-between; gap: 12px; margin-top: 6px; font-size: 13px; color: var(--muted); }
.all-day-field { align-self: center; padding: 7px 0 12px; }
.checkbox-label { display: inline-flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 600; cursor: pointer; }
.checkbox-label input { width: 18px; height: 18px; margin: 0; accent-color: var(--green); }
.all-day-field p { margin: 3px 0 0 27px; font-size: 13px; color: var(--muted); }
.request-field-help { color: var(--muted); font-size: 13px; line-height: 1.65; }
.request-form-row > .request-field-help { grid-column: 1 / -1; margin: -8px 0 19px; }
.request-form-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 6px; padding-top: 18px; border-top: 1px solid #e4ece5; }
.request-form-footer > p { font-size: 14px; color: var(--muted); }
.request-submit { min-width: 155px; }
.request-notice { border-radius: 9px; margin: 14px 0; padding: 12px 14px; font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
.request-empty { padding: 35px 20px; border: 1px dashed #d7e3d9; border-radius: 12px; background: #f9fcf9; color: #647d6b; font-size: 14px; text-align: center; }
.request-list { display: grid; gap: 15px; }
.proposal-card { border: 1px solid #dce6df; border-radius: 13px; background: white; padding: 19px 20px; }
.proposal-card-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 10px; }
.proposal-card-title { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; }
.proposal-card-title h3 { margin: 0; font-size: 18px; font-weight: 650; line-height: 1.5; }
.proposal-mode { background: #f1f5f2; color: #6a8171; border-radius: 5px; padding: 2px 7px; font-size: 12px; }
.proposal-status { flex: 0 0 auto; padding: 4px 9px; border-radius: 6px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.status-pending { color: #896522; background: #fff3d7; }
.status-approved { color: #25613f; background: #e4f3e9; }
.status-rejected { color: #974b43; background: #faeae7; }
.proposal-employee { color: #466652; font-size: 14px; font-weight: 600; margin-bottom: 7px; }
.proposal-period { color: #304e3a; font-size: 16px; font-weight: 550; }
.proposal-reason { margin-top: 10px; font-size: 15px; color: #4c6355; white-space: pre-line; overflow-wrap: anywhere; }
.proposal-created { margin-top: 12px; color: #7b8f80; font-size: 13px; }
.proposal-decision { border-left: 3px solid #bed9c5; border-radius: 0 6px 6px 0; background: #f5f9f5; margin-top: 15px; padding: 10px 13px; color: #617b68; font-size: 13px; }
.proposal-decision-comment { white-space: pre-line; overflow-wrap: anywhere; margin-top: 5px; color: #405d49; font-size: 14px; }
.proposal-decision-actions { display: flex; align-items: center; justify-content: flex-end; gap: 12px; padding-top: 15px; margin-top: 15px; border-top: 1px solid #e5ece7; }
.reject-button { min-height: 43px; padding: 9px 15px; border: 1px solid #dcbeb6; background: #fffaf7; color: #91533e; border-radius: 8px; font: inherit; font-size: 14px; font-weight: 650; cursor: pointer; }
.reject-button:disabled { color: #9a8b85; border-color: #e4dbd7; background: #f8f6f5; }
.proposal-self-note { margin-top: 14px; font-size: 14px; color: #8b6c37; }
.admin-queues { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0 0 17px; }
.admin-queues button { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px; border: 1px solid #dce6df; border-radius: 10px; background: #f7faf7; color: #54705e; font: inherit; font-size: 14px; text-align: left; cursor: pointer; }
.admin-queues button[aria-pressed="true"] { border-color: #84b69a; background: #edf6ef; color: var(--green-dark); box-shadow: inset 0 0 0 1px #84b69a; }
.admin-queues strong { min-width: 25px; padding: 1px 6px; border-radius: 6px; background: white; font-size: 16px; text-align: center; font-variant-numeric: tabular-nums; }
.admin-scope { margin: 0 0 18px; color: #637b6b; font-size: 14px; line-height: 1.65; }
.proposal-stage { margin-top: 13px; padding: 10px 12px; border-radius: 8px; background: #f0f6f1; color: #45654f; font-size: 14px; }
.proposal-chain { list-style: none; margin: 15px 0 0; padding: 0; border-top: 1px solid #e5ece7; }
.proposal-chain li { position: relative; display: grid; grid-template-columns: 25px minmax(0, 1fr); gap: 9px; padding: 13px 0 0; color: #647d6b; font-size: 14px; }
.stage-marker { display: grid; place-items: center; width: 24px; height: 24px; border: 1px solid #d4e2d8; border-radius: 50%; color: #6b8373; background: #f6f9f6; font-size: 12px; font-weight: 650; }
.stage-complete .stage-marker { color: #20613e; background: #e5f3e9; border-color: #bfdac8; }
.stage-current .stage-marker { color: white; background: var(--green); border-color: var(--green); }
.stage-rejected .stage-marker { color: #984f43; background: #faeae7; border-color: #ecc9c1; }
.stage-content { min-width: 0; overflow-wrap: anywhere; }
.stage-content strong { display: block; color: #405e4b; font-size: 14px; font-weight: 600; }
.stage-content p { margin-top: 3px; }
.stage-comment { white-space: pre-line; color: #4b6654; }
.proposal-readonly-note { margin-top: 14px; padding-top: 13px; border-top: 1px solid #e5ece7; font-size: 14px; color: #6d7e72; }
.decision-dialog { width: min(590px, calc(100% - 32px)); max-height: calc(100dvh - 48px); overflow-y: auto; margin: auto; padding: 27px; border: 1px solid #d7e3da; border-radius: 18px; background: white; color: var(--ink); box-shadow: 0 20px 70px #1036233d; }
.decision-dialog:not([open]) { display: none; }
.decision-dialog::backdrop { background: #0a291d8a; }
.decision-dialog h2 { font-size: 23px; }
.decision-person { margin-top: 6px; color: #627b6a; font-size: 14px; }
.decision-summary { margin: 19px 0; border: 1px solid #e1e9e3; border-radius: 10px; padding: 14px 15px; background: #f8fbf8; }
.decision-summary > strong { font-size: 15px; }
.decision-summary > p { margin-top: 7px; font-size: 14px; }
.decision-footnote { margin-top: 15px; color: var(--muted); font-size: 13px; }
.decision-buttons { display: flex; justify-content: flex-end; align-items: center; gap: 23px; margin-top: 22px; }
.operations-panel, .owner-tools { margin: 18px 0 24px; }
.operation-card { padding: 15px; border: 1px solid var(--line); border-radius: 11px; background: #f8fbf8; overflow-wrap: anywhere; }
.operation-card p, .operation-preview p { font-size: 14px; margin: 5px 0; }
.operation-id { display: block; font-size: 12px; color: var(--muted); overflow-wrap: anywhere; }
.operation-preview { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); }
.request-filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); align-items: end; gap: 13px; padding: 16px; margin: 0 0 20px; border: 1px solid var(--line); background: #f7faf8; border-radius: 12px; }
.request-filters label, .config-add-row label { display: flex; flex-direction: column; gap: 5px; min-width: 0; color: #3c594b; font-size: 13px; font-weight: 600; }
.request-filters input, .request-filters select, .config-add-row select, .config-row select { width: 100%; min-width: 0; min-height: 44px; border: 1px solid #bfcec3; border-radius: 8px; padding: 9px 10px; background: white; color: var(--ink); font: inherit; font-size: 16px; }
.request-filters .button-text { min-height: 44px; padding: 9px 12px; background: #e8f2eb; border-radius: 8px; }
.request-paging, .notification-paging { display: flex; justify-content: space-between; align-items: center; gap: 15px; flex-wrap: wrap; margin-top: 16px; font-size: 14px; color: var(--muted); }
.proposal-details { margin: 12px 0; padding: 12px 0; border-top: 1px solid #e6ede8; border-bottom: 1px solid #e6ede8; }
.proposal-details summary, .owner-tools summary, .operation-preview summary { cursor: pointer; font-weight: 650; color: #345d45; }
.proposal-details > p { margin-top: 10px; overflow-wrap: anywhere; }
.proposal-preview-panel, .admin-preview-panel { padding: 18px; margin: 18px 0; border: 1px solid #bdd8c5; border-radius: 12px; background: #f3faf5; }
.proposal-preview-panel h3, .admin-preview-panel h3 { margin: 0 0 10px; font-size: 18px; }
.proposal-preview-panel p, .admin-preview-panel p { margin: 7px 0; overflow-wrap: anywhere; }
.owner-tools > details > p { margin: 12px 0; color: var(--muted); font-size: 14px; }
.owner-tools > details > h3 { margin: 24px 0 7px; font-size: 18px; }
.admin-config-rows { display: grid; gap: 10px; margin-top: 15px; }
.config-row { min-width: 0; padding: 14px; border: 1px solid var(--line); border-radius: 11px; }
.config-route-summary { display: block; margin: 5px 0 0 18px; font-size: 13px; color: var(--muted); font-weight: 400; overflow-wrap: anywhere; }
.config-approvers { margin: 12px 0; padding-left: 22px; }
.config-approvers li { padding: 3px 0; font-size: 14px; }
.config-approvers .button-text { margin-left: 10px; min-height: 40px; }
.config-information { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 14px; max-height: 210px; overflow-y: auto; margin: 10px 0; border: 1px solid var(--line); border-radius: 8px; padding: 10px; }
.config-information .checkbox-label { min-width: 0; min-height: 42px; font-size: 13px; font-weight: 400; align-items: flex-start; }
.config-information input { flex: 0 0 18px; margin-top: 4px; }
.config-add-row { display: flex; align-items: end; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.config-add-row select { width: auto; flex: 1; }
.admin-config-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 18px; }
.status-withdrawn, .status-superseded { color: #5c6e63; background: #edf1ee; }
.clock-report { margin: 20px 0; }
.clock-report summary { font-size: 17px; font-weight: 650; cursor: pointer; }
.clock-report details > .request-field-help { margin: 10px 0 18px; }
.clock-report-item { display: grid; grid-template-columns: 90px minmax(150px, 1fr) minmax(120px, 1fr); gap: 5px 16px; padding: 13px 15px; border: 1px solid var(--line); border-radius: 10px; font-size: 14px; }
.clock-report-item small { grid-column: 2 / -1; color: var(--muted); }
.session-tools { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14px; }
.session-tools summary, .admin-session-tools summary { cursor: pointer; color: #456b54; font-weight: 600; }
.session-tools .request-gate p + p { margin-top: 8px; }
.session-tools button, .admin-session-tools button { max-width: 100%; min-height: 44px; white-space: normal; margin-top: 8px; }
.admin-session-tools { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; }
.admin-session-tools label { display: block; margin: 14px 0 5px; }
.admin-session-tools select { width: 100%; min-width: 0; min-height: 44px; padding: 9px 10px; border: 1px solid #bfcec3; border-radius: 8px; background: white; color: var(--ink); font: inherit; font-size: 16px; }
.admin-session-tools .request-gate p { overflow-wrap: anywhere; }
@media (max-width: 720px) {
  .account-card { padding: 20px 23px; margin-bottom: 19px; } .portal-tabs { margin-bottom: 18px; } .portal-tabs button { flex: 0 0 auto; padding: 10px 13px; }
  .request-panel { padding: 22px 23px; } .request-panel-heading { flex-wrap: wrap; gap: 10px; margin-bottom: 19px; } .request-panel-heading .button-text { padding: 0; }
  .request-form-row { grid-template-columns: minmax(0, 1fr); column-gap: 0; } .all-day-field { padding: 0 0 18px; } .request-field { margin-bottom: 17px; }
  .request-form-footer { flex-direction: column; align-items: stretch; gap: 15px; } .request-submit { width: 100%; }
  .proposal-card { padding: 16px; } .proposal-card-heading { gap: 9px; } .proposal-card-title h3 { font-size: 17px; } .proposal-period { font-size: 15px; }
  .admin-queues { gap: 7px; } .admin-queues button { flex-direction: column; align-items: flex-start; padding: 11px 9px; gap: 7px; font-size: 13px; } .admin-queues strong { font-size: 15px; }
  .decision-dialog { padding: 23px 21px; } .decision-buttons { gap: 16px; } .decision-buttons .auth-primary { flex: 1; }
  .request-filters { grid-template-columns: minmax(0, 1fr); padding: 13px; gap: 11px; }
  .clock-report-item { grid-template-columns: minmax(0, 1fr); gap: 4px; } .clock-report-item small { grid-column: auto; }
  .request-paging { gap: 8px; } .request-paging .button-text { min-height: 44px; }
  .config-information { grid-template-columns: minmax(0, 1fr); }
  .proposal-preview-panel, .admin-preview-panel { padding: 14px; }
  .config-add-row { align-items: stretch; flex-direction: column; } .config-add-row select { width: 100%; }
  .admin-config-actions { align-items: stretch; flex-direction: column; gap: 7px; }
  .proposal-preview-panel > .auth-primary, .admin-preview-panel > .auth-primary { width: 100%; min-height: 44px; white-space: normal; }
}
@media (max-width: 480px) { .portal-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; } .portal-tabs button { min-width: 0; min-height: 44px; padding: 10px 7px; white-space: normal; } }

/* Song's owner workspace. Employee and team-approver layouts retain their existing rules. */
.director-mode .site-header { height: 58px; }
.director-mode .attendance-main { max-width: 1200px; padding-top: 22px; }
.director-mode .page-intro, .director-mode #proposal-test-banner, .director-mode #portal-tabs, .director-mode #portal-access,
.director-mode #panel-clock, .director-mode #panel-proposal, .director-mode #panel-own, .director-mode #panel-manage { display: none !important; }
.director-mode .network-banner { display: flex; min-height: 0; padding: 12px 18px; margin-bottom: 12px; gap: 12px; border-radius: 12px; }
.director-mode .banner-copy { flex: 1 1 0; min-width: 0; }
.director-mode .network-banner .banner-icon { width: 32px; height: 32px; flex-basis: 32px; }
.director-mode .network-banner .banner-icon .icon { width: 18px; height: 18px; }
.director-mode .banner-copy strong { font-size: 13px; }
.director-mode .banner-copy > p:not(.current-network) { display: none; }
.director-mode .current-network { margin-top: 2px; font-size: 12px; }
.director-mode .network-refresh { flex: 0 0 auto; grid-column: auto; font-size: 12px; }
.director-mode .account-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px; padding: 12px 18px; margin-bottom: 24px; border-radius: 12px; }
.director-mode .account-card > .section-heading { order: 2; margin: 0; }
.director-mode #account-heading, .director-mode .employee-avatar, .director-mode .employee-info > strong { display: none; }
.director-mode .account-card .employee-card { flex: 1 1 280px; flex-wrap: nowrap; min-height: 0; margin-top: 0; gap: 14px; }
.director-mode .logout-button { margin-left: 0; }
.director-mode .employee-info span { font-size: 12px; }
.director-mode .employee-code { display: none; }
.director-mode .logout-button, .director-mode .notifications-toggle { font-size: 12px; }
.director-mode .notifications-panel, .director-mode .auth-recovery { flex-basis: 100%; }
.director-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin: 5px 0 22px; }
.director-heading .eyebrow { font-size: 11px; margin-bottom: 7px; letter-spacing: .13em; }
.director-heading h1 { margin: 0; font-size: 30px; letter-spacing: -.025em; line-height: 1.25; }
.director-heading h1 span { color: #6a7e73; font-size: 22px; font-weight: 450; }
.director-heading > div > p:last-child { margin: 8px 0 0; color: var(--muted); font-size: 12px; }
.director-test-label { color: #7b5c24; border: 1px solid #e3d6bc; background: #fbf5e8; padding: 5px 9px; border-radius: 6px; font-size: 10px; font-weight: 700; letter-spacing: .07em; }
.director-nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; padding: 6px; margin-bottom: 26px; border: 1px solid #dce6de; border-radius: 14px; background: #e9f0eb; }
.director-nav button { min-height: 46px; padding: 10px 12px; background: transparent; border: 0; border-radius: 9px; color: #486552; font: inherit; font-size: 13px; font-weight: 650; cursor: pointer; }
.director-nav button[aria-current="page"] { background: #fff; color: var(--green-dark); box-shadow: 0 2px 6px #234a3420; }
.director-nav strong { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; height: 24px; margin-left: 5px; padding: 0 5px; background: var(--green); color: white; border-radius: 6px; font-size: 11px; }
.director-section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; margin-bottom: 16px; }
.director-section-heading h2 { font-size: 23px; line-height: 1.25; margin: 0; }
.director-section-heading p, .director-summary { margin: 7px 0 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.director-summary { margin-bottom: 18px; }
.director-section-heading .button-text { white-space: nowrap; font-size: 12px; }
.director-request-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.director-proposal-card { min-width: 0; padding: 22px; background: #fff; border-color: #d9e4dc; box-shadow: 0 3px 12px #29473405; }
.director-proposal-card .proposal-card-heading { gap: 12px; }
.director-proposal-card .proposal-card-heading h3 { font-size: 17px; }
.director-proposal-card .proposal-employee { font-size: 16px; font-weight: 650; color: #203e31; margin-top: 17px; }
.director-proposal-card .proposal-period { font-size: 13px; line-height: 1.6; }
.director-previous-approval { margin: 13px 0; color: #587362; font-size: 12px; line-height: 1.6; }
.director-proposal-reason { margin: 13px 0; color: #344f43; font-size: 13px; line-height: 1.65; white-space: pre-wrap; overflow-wrap: anywhere; }
.director-proposal-card .proposal-stage { margin: 12px 0; padding: 10px 12px; font-size: 12px; }
.director-proposal-card .proposal-details { margin-top: 14px; }
.director-proposal-card .proposal-readonly-note { font-size: 12px; }
.director-proposal-card .proposal-decision-actions { display: grid; grid-template-columns: 1fr 1fr; margin-top: 18px; }
.director-proposal-card .proposal-decision-actions > button { width: 100%; min-height: 44px; }
.director-paging { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 24px 0; color: var(--muted); font-size: 12px; }
.director-paging > span { text-align: center; }
.director-queues { display: flex; gap: 10px; margin: 20px 0 16px; }
.director-queues button { flex: 1; padding: 13px; border: 1px solid #d7e3da; border-radius: 10px; background: #f8faf8; color: #536e5d; font: inherit; font-size: 12px; cursor: pointer; }
.director-queues button[aria-pressed="true"] { background: #e7f1ea; border-color: #7aab8b; color: #225d3d; }
.director-queues strong { margin-left: 8px; font-size: 15px; }
.director-recovery-hint { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 13px 16px; margin-bottom: 20px; border: 1px solid #dfcfaa; border-radius: 10px; background: #fbf6e9; color: #765c2d; font-size: 12px; }
.director-recovery-hint p { margin: 0; }
.director-recovery-hint button { font-size: 12px; }
.director-today-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.director-today-card { min-width: 0; padding: 20px; border: 1px solid #dce6de; border-radius: 13px; background: #fff; }
.director-today-card h3 { font-size: 15px; margin: 0 0 4px; }
.director-today-card > small { color: #7e9185; font-size: 10px; }
.director-raw-facts { margin: 16px 0; font-size: 13px; }
.director-raw-facts p { margin: 7px 0; }
.director-no-clock { color: var(--muted); }
.director-open-clock { padding: 9px 11px; background: #f7f0dc; border-radius: 7px; font-size: 12px; color: #795c26; line-height: 1.6; }
.director-approved-plans { border-top: 1px solid var(--line); padding-top: 13px; font-size: 12px; line-height: 1.65; color: #587363; }
.director-approved-plans strong { font-size: 11px; color: #345d45; }
.director-approved-plans p { margin: 7px 0 0; }
.director-tools { margin-top: 28px; }
.director-tools > .card, .director-tools > .session-tools { margin: 18px 0; }
.director-tools > .session-tools { padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
@media (max-width: 820px) { .director-today-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } .director-nav button { font-size: 12px; padding: 9px 6px; } }
@media (max-width: 600px) {
  .director-mode .attendance-main { padding: 16px 18px 24px; }
  .director-mode .account-card { margin-bottom: 20px; padding: 10px 13px; gap: 5px 8px; }
  .director-mode .account-card .employee-card { flex-basis: 100%; }
  .director-mode .account-card > .section-heading { margin-left: auto; }
  .director-mode .network-banner { padding: 10px 12px; gap: 8px; }
  .director-mode .network-banner .banner-icon { display: none; }
  .director-mode .network-refresh .icon { display: none; }
  .director-heading { margin-bottom: 18px; }
  .director-heading h1 { font-size: 26px; } .director-heading h1 span { font-size: 19px; }
  .director-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 23px; gap: 5px; padding: 5px; }
  .director-nav button { min-height: 46px; font-size: 12px; }
  .director-section-heading h2 { font-size: 21px; }
  .director-request-list, .director-today-list { grid-template-columns: minmax(0, 1fr); }
  .director-proposal-card { padding: 19px; }
  .director-queues { gap: 8px; } .director-queues button { padding: 11px 7px; }
}
