/* ATOSY DILIGENCE V2406 — personal workspace, Aurora surface tokens. */
.atosy-personal-workspace-v2405 .diligence-menu-link{display:block;width:100%;padding:9px 5px;text-align:left;border:0;background:transparent;color:inherit;font:inherit;font-weight:650;cursor:pointer;border-radius:8px}
.atosy-personal-workspace-v2405 .diligence-menu-link:hover{color:#8ed4ff}
.atosy-diligence-dialog-v2406{box-sizing:border-box;width:min(540px,calc(100vw - 28px));max-height:85dvh;padding:0;color:#eef7ff;background:linear-gradient(145deg,#194c84,#091e3c);border:1px solid #79b2de;border-radius:20px;box-shadow:0 24px 80px #00132699;font:inherit}
.atosy-diligence-dialog-v2406::backdrop{background:#00152b99}
.atosy-diligence-dialog-v2406 .diligence-top{position:sticky;top:0;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px;background:#12385e;border-bottom:1px solid #6495be55}
.atosy-diligence-dialog-v2406 .diligence-body{padding:18px 20px;display:grid;gap:12px}
.atosy-diligence-dialog-v2406 :is(button,select){font:inherit;color:inherit;background:#164775;border:1px solid #79b2de;border-radius:999px;padding:8px 14px;cursor:pointer}
.atosy-diligence-dialog-v2406 .diligence-action{background:linear-gradient(145deg,#137c65,#0c503f);border-color:#65e8bb}
.atosy-diligence-dialog-v2406 .diligence-metric{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid #6495be44}
.atosy-diligence-dialog-v2406 .diligence-note{font-size:12px;color:#bad5ec;line-height:1.5}
.atosy-diligence-dialog-v2406 p{margin:0;line-height:1.5}
.atosy-diligence-dialog-v2406 .diligence-log{max-height:240px;overflow:auto;display:grid;gap:6px;font-size:12px}

/* V2083 — near-full-viewport personal dashboard, independent of Browser workspace. */
html[data-atosy-aurora-midnight="v2"] body .app-header #atosy-account-menu.account-menu{
 position:fixed!important;inset:var(--personal-top-v2084,120px) 8px 8px!important;width:auto!important;height:auto!important;max-width:none!important;max-height:none!important;min-width:0!important;min-height:0!important;margin:0!important;padding:0!important;z-index:10050!important;overflow:hidden!important;border-radius:24px!important;
}
html body .app-header #atosy-account-menu:not([hidden]){display:flex!important;flex-direction:column}
html[data-atosy-aurora-midnight="v2"] body .app-header #atosy-account-menu .atosy-personal-workspace-v2405{display:flex!important;flex-direction:column;flex:1;min-height:0;min-width:0;max-width:none;padding:0!important;gap:0!important}
#atosy-account-menu .personal-top-v2083{display:flex;align-items:center;justify-content:space-between;padding:22px clamp(16px,3vw,40px);gap:12px;border-bottom:1px solid #82b8df44;flex:none}
#atosy-account-menu .personal-top-v2083 h2{margin:0;font-size:clamp(19px,2vw,28px);font-weight:800}
#atosy-account-menu .personal-layout-v2083{display:grid;grid-template-columns:minmax(235px,24%) minmax(0,1fr);flex:1;min-height:0;overflow:hidden}
#atosy-account-menu .personal-sidebar-v2083{display:flex;flex-direction:column;gap:24px;padding:clamp(16px,2vw,28px);min-height:0;overflow:auto;border-right:1px solid #82b8df44}
#atosy-account-menu .personal-identity-v2083{display:grid;gap:10px;overflow-wrap:anywhere}
#atosy-account-menu .personal-nav-v2083{display:grid;gap:8px}
/* V2093 — compact logout action, not a full-width sidebar row. */
html body .app-header #atosy-account-menu .personal-sidebar-v2083 #logout-button{margin-top:auto;align-self:flex-end!important;flex:0 0 auto!important;width:max-content!important;min-width:0!important;max-width:100%!important;text-align:center!important;white-space:nowrap!important;padding:10px 16px!important;}
#atosy-account-menu .personal-content-v2083{min-width:0;min-height:0;overflow:auto;padding:clamp(16px,3vw,40px)}
#atosy-account-menu .personal-content-v2083 h2{margin:0 0 16px;font-size:clamp(22px,2.2vw,32px);font-weight:800}
#atosy-account-menu .personal-intro-v2083 p{margin:0 0 28px;color:inherit;opacity:.8}
#atosy-account-menu .personal-grid-v2083{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:16px}
#atosy-account-menu :is(.personal-card-v2083,.personal-nav-button-v2083,.personal-top-v2083 button){font:inherit;color:inherit;cursor:pointer;border:1px solid #80b7df66;border-radius:14px;background:transparent;text-align:left;min-height:44px;padding:12px 16px}
#atosy-account-menu .personal-card-v2083{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:12px;min-height:150px;background:var(--av-erp-official-surface),var(--av-erp-official-edge) border-box!important;border:1px solid transparent!important;box-shadow:var(--av-erp-official-shadow)!important}
#atosy-account-menu .personal-card-v2083 strong{font-size:18px}
#atosy-account-menu .personal-card-v2083 span{font-size:13px;line-height:1.6;opacity:.8}
#atosy-account-menu .personal-nav-button-v2083[aria-pressed=true]{background:#0871d755;border-color:#72c6ff}
#atosy-account-menu .diligence-body{display:grid;gap:16px;max-width:100%;padding:0}
#atosy-account-menu .diligence-body :is(button,select){font:inherit;color:inherit;background:transparent;border:1px solid #79b2de;border-radius:999px;padding:10px 16px;cursor:pointer;justify-self:start}
#atosy-account-menu .diligence-body .diligence-metric{display:flex;justify-content:space-between;gap:16px;border-bottom:1px solid #82b8df44;padding:18px 0}
#atosy-account-menu .diligence-body .diligence-note{font-size:13px;line-height:1.6;opacity:.8}
#atosy-account-menu .diligence-body .diligence-log{display:grid;gap:10px}
@media(max-width:700px){html[data-atosy-aurora-midnight="v2"] body .app-header #atosy-account-menu.account-menu{inset:var(--personal-top-v2084,120px) 4px 4px!important;border-radius:16px!important}#atosy-account-menu .personal-layout-v2083{display:flex;flex-direction:column;overflow:auto}#atosy-account-menu .personal-sidebar-v2083{flex:none;border-right:0;border-bottom:1px solid #82b8df44;overflow:visible;gap:12px}#atosy-account-menu .personal-nav-v2083{grid-template-columns:repeat(2,minmax(0,1fr))}#atosy-account-menu .personal-content-v2083{flex:1;overflow:visible}}
@media(prefers-reduced-motion:reduce){#atosy-account-menu *{animation:none!important;transition:none!important}}

/* V2084 — dashboard cards are panels, not capsule buttons. */
html[data-atosy-aurora-midnight="v2"] body .app-header #atosy-account-menu.account-menu .personal-grid-v2083 > .personal-card-v2083{border-radius:20px!important;min-height:150px!important;height:auto!important;white-space:normal!important;overflow:hidden;box-sizing:border-box}
@media(max-width:700px){html[data-atosy-aurora-midnight="v2"] body .app-header #atosy-account-menu.account-menu .personal-grid-v2083 > .personal-card-v2083{border-radius:16px!important}}

/* V2103 — HANET evidence uses the existing official personal surface. */
#atosy-account-menu .hanet-personal-v2103{min-width:0;display:grid;gap:16px;padding:clamp(14px,2vw,24px);border:1px solid transparent;border-radius:20px;background:var(--av-erp-official-surface),var(--av-erp-official-edge) border-box;box-shadow:var(--av-erp-official-shadow)}
#atosy-account-menu .hanet-personal-v2103 :is(h3,h4,p){margin:0}
#atosy-account-menu .hanet-toolbar-v2103{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
#atosy-account-menu .hanet-toolbar-v2103 select{max-width:100%;min-height:44px}
#atosy-account-menu .hanet-toolbar-v2103 select option{color:CanvasText;background:Canvas}
#atosy-account-menu .hanet-toolbar-v2103 button{min-height:44px}
#atosy-account-menu .hanet-results-v2103{min-width:0;display:grid;gap:16px}
#atosy-account-menu .hanet-stats-v2103{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,155px),1fr));gap:12px}
#atosy-account-menu .hanet-stat-v2103{min-width:0;display:grid;gap:8px;padding:14px;border:1px solid #82b8df55;border-radius:14px}
#atosy-account-menu .hanet-stat-v2103 span{font-size:13px;line-height:1.5;opacity:.85}
#atosy-account-menu .hanet-stat-v2103 strong{font-size:clamp(20px,2vw,27px);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
#atosy-account-menu .hanet-table-wrap-v2103{min-width:0;overflow:auto;border:1px solid #82b8df55;border-radius:12px}
#atosy-account-menu .hanet-table-v2103{width:100%;border-collapse:collapse;font:inherit;font-variant-numeric:tabular-nums;text-align:left}
#atosy-account-menu .hanet-table-v2103 :is(th,td){padding:12px;white-space:nowrap;border-bottom:1px solid #82b8df33}
#atosy-account-menu .hanet-table-v2103 tbody tr:last-child td{border-bottom:0}
#atosy-account-menu .hanet-personal-v2103 summary{cursor:pointer;line-height:1.5;font-weight:650;padding:8px 0}
#atosy-account-menu .hanet-event-list-v2103{display:grid;gap:8px;margin-top:8px}
#atosy-account-menu .hanet-event-v2103{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;padding:10px 0;border-bottom:1px solid #82b8df33;overflow-wrap:anywhere}
#atosy-account-menu .hanet-event-v2103 span{opacity:.8}
#atosy-account-menu .hanet-personal-v2103 :is(button,select,summary,[tabindex]):focus-visible{outline:2px solid currentColor;outline-offset:3px}

/* V2109 — FaceID-only dashboard, responsive intrinsic layout, official surface. */
#atosy-account-menu .diligence-body:has(.hanet-panel-v2109){min-width:0;width:100%;align-content:start}
#atosy-account-menu .hanet-panel-v2109{box-sizing:border-box;width:100%;gap:clamp(16px,2vw,24px);padding:clamp(16px,2.2vw,28px);align-content:start}
#atosy-account-menu .hanet-header-v2109{display:flex;align-items:center;gap:14px;min-width:0}
#atosy-account-menu .hanet-symbol-v2109{display:grid;place-items:center;flex:0 0 48px;height:48px;border:1px solid #82b8df66;border-radius:14px;color:inherit}
#atosy-account-menu .hanet-heading-v2109{min-width:0;display:grid;gap:6px}
#atosy-account-menu .hanet-heading-v2109 h3{font-size:clamp(17px,1.6vw,23px);line-height:1.35;overflow-wrap:anywhere}
#atosy-account-menu .hanet-toolbar-v2109{justify-content:space-between;gap:12px}
#atosy-account-menu .hanet-filters-v2109{display:flex;flex-wrap:wrap;gap:8px;min-width:0}
html body .app-header #atosy-account-menu .hanet-panel-v2109 .hanet-toolbar-v2109 button{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;min-width:0;width:auto;height:auto;padding:9px 14px!important;border-radius:12px!important;font-size:13px!important;font-weight:650;color:inherit!important;white-space:nowrap}
html body .app-header #atosy-account-menu .hanet-filters-v2109 button[aria-pressed=true]:not(:disabled){background:#0871d755!important;border-color:#72c6ff!important}
html body .app-header #atosy-account-menu .hanet-toolbar-v2109 button:disabled{opacity:.5!important;cursor:not-allowed!important}
#atosy-account-menu .hanet-refresh-v2109 svg{width:17px;height:17px;flex:none}
#atosy-account-menu .hanet-state-v2109{min-width:0;box-sizing:border-box;display:grid;justify-items:center;align-content:center;gap:12px;min-height:clamp(180px,28vh,300px);padding:clamp(20px,4vw,40px);text-align:center;border:1px solid #82b8df55;border-radius:16px;background:var(--av-erp-official-surface),var(--av-erp-official-edge) border-box}
#atosy-account-menu .hanet-state-icon-v2109{display:grid;place-items:center;width:64px;height:64px;border-radius:18px;border:1px solid #82b8df66;color:inherit}
#atosy-account-menu .hanet-state-icon-v2109 svg{width:32px;height:32px}
#atosy-account-menu .hanet-state-v2109 h4{font-size:clamp(16px,1.5vw,20px);line-height:1.4}
#atosy-account-menu .hanet-state-v2109 p{max-width:50ch;line-height:1.65;font-size:13px;opacity:.85;overflow-wrap:anywhere}
#atosy-account-menu .hanet-stats-v2103{grid-template-columns:repeat(auto-fit,minmax(min(100%,175px),1fr));gap:12px}
#atosy-account-menu .hanet-stat-v2103{padding:16px;background:var(--av-erp-official-surface),var(--av-erp-official-edge) border-box}
#atosy-account-menu .hanet-table-v2103 th{font-size:12px;font-weight:700}
#atosy-account-menu .hanet-table-v2103 td{font-size:13px}
#atosy-account-menu .hanet-table-v2103 :is(th,td):last-child{text-align:right}
#atosy-account-menu .hanet-details-v2103{border:1px solid #82b8df55;border-radius:12px;padding:12px 16px;min-width:0}
#atosy-account-menu .hanet-details-v2103 summary{display:flex;align-items:center;justify-content:space-between;gap:10px;list-style:none;padding:0}
#atosy-account-menu .hanet-details-v2103 summary::-webkit-details-marker{display:none}
#atosy-account-menu .hanet-details-v2103 summary svg{width:18px;height:18px;flex:none}
#atosy-account-menu .hanet-details-v2103[open] summary svg{transform:rotate(180deg)}
#atosy-account-menu .hanet-event-v2103{font-size:13px;line-height:1.5}
@media(max-width:700px){#atosy-account-menu .hanet-toolbar-v2109{align-items:stretch;flex-direction:column}#atosy-account-menu .hanet-filters-v2109{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}html body .app-header #atosy-account-menu .hanet-filters-v2109 button{width:100%}#atosy-account-menu .hanet-refresh-v2109{align-self:flex-end}#atosy-account-menu .hanet-panel-v2109{border-radius:16px}}

/* V2112 — check-in photo links, no automatic image loading. */
#atosy-account-menu .hanet-panel-v2109 .hanet-photo-link-v2112{color:inherit;text-decoration:underline;text-underline-offset:4px;font-weight:650;cursor:pointer;white-space:nowrap}
#atosy-account-menu .hanet-panel-v2109 .hanet-photo-link-v2112:hover{color:#a9dcff}
#atosy-account-menu .hanet-panel-v2109 .hanet-photo-link-v2112:focus-visible{outline:2px solid currentColor;outline-offset:4px;border-radius:3px}
#atosy-account-menu .hanet-event-v2103{align-items:center;gap:12px}
#atosy-account-menu .hanet-event-info-v2112{display:grid;gap:6px;min-width:0;flex:1}
#atosy-account-menu .hanet-photo-missing-v2112{font-size:12px;opacity:.7}

/* V2113 — compact latest-day summary inside the existing overview card. */
#atosy-account-menu .personal-grid-v2083>.personal-card-v2083{justify-content:flex-start;align-self:stretch;min-width:0}
#atosy-account-menu .hanet-preview-v2113{box-sizing:border-box;display:grid;gap:10px;width:100%;min-width:0;border-top:1px solid #82b8df44;padding-top:12px;margin-top:2px}
#atosy-account-menu .hanet-preview-v2113:empty{display:none}
#atosy-account-menu .hanet-preview-head-v2113{display:flex;align-items:baseline;justify-content:space-between;gap:8px;flex-wrap:wrap}
#atosy-account-menu .hanet-preview-v2113 span{font-size:12px;line-height:1.4}
#atosy-account-menu .hanet-preview-head-v2113 strong{font-size:13px;white-space:nowrap;font-variant-numeric:tabular-nums}
#atosy-account-menu .hanet-preview-times-v2113{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%}
#atosy-account-menu .hanet-preview-times-v2113>div{display:grid;gap:4px;min-width:0}
#atosy-account-menu .hanet-preview-times-v2113 strong{font-size:clamp(14px,1.35vw,19px);font-variant-numeric:tabular-nums;white-space:nowrap}
#atosy-account-menu .hanet-preview-v2113 .hanet-preview-count-v2113{font-weight:650;opacity:.9}

/* V2520 — personal workspace navigation typography; scoped to the four sidebar buttons. */
html body .app-header #atosy-account-menu .personal-nav-v2083 > button.personal-nav-button-v2083{
 font-family:inherit!important;font-size:14px!important;font-weight:650!important;line-height:1.35!important;letter-spacing:.005em!important;text-align:left!important;
 text-wrap:balance;overflow-wrap:anywhere;min-height:44px;transition:background-color .15s ease,border-color .15s ease,box-shadow .15s ease;
}
html body .app-header #atosy-account-menu .personal-nav-v2083 > button.personal-nav-button-v2083[aria-pressed="true"]{font-weight:750!important;}
html body .app-header #atosy-account-menu .personal-nav-v2083 > button.personal-nav-button-v2083:focus-visible{outline:2px solid #8bdcff;outline-offset:3px;}
@media(max-width:700px){html body .app-header #atosy-account-menu .personal-nav-v2083 > button.personal-nav-button-v2083{font-size:13px!important;letter-spacing:0!important;text-wrap:wrap;}}
@media(prefers-reduced-motion:reduce){html body .app-header #atosy-account-menu .personal-nav-v2083 > button.personal-nav-button-v2083{transition:none;}}
