/* A lightweight command surface. All colours follow the selected device theme. */
@media(max-width:600px){.admin-dashboard-shell .admin-access-badge{display:none}}
@media(max-width:520px){.office-shell.admin-dashboard-shell{display:flex;flex-direction:column}.admin-dashboard-shell .dashboard-stats{order:1}.admin-dashboard-shell .dashboard-bottom{order:2}.admin-dashboard-shell .drive-status-bar{order:3}}
html{min-height:100%;background:var(--fw-bg,#0a141d)}body{min-height:100vh;min-height:100dvh;box-sizing:border-box;margin:0;background-color:var(--fw-bg,#0a141d)}
html[data-theme] body.admin-dashboard-page{background-image:radial-gradient(ellipse at 85% 3%,var(--fw-accent-weak,#9be5be14),transparent 45%),linear-gradient(90deg,#ffffff02 1px,transparent 1px),linear-gradient(#ffffff02 1px,transparent 1px);background-size:auto,72px 72px,72px 72px;background-attachment:fixed}
.office-shell.admin-dashboard-shell{max-width:1180px;padding-top:30px;padding-bottom:40px;position:relative}.admin-header-actions{display:flex;align-items:center;gap:12px;margin-left:auto;flex-shrink:0}.admin-header-actions form{margin:0}.admin-header-actions .row-icon{display:grid;place-items:center;width:40px;height:40px;border:1px solid var(--fw-edge);border-radius:12px}.admin-access-badge{display:flex;align-items:center;gap:6px;font-size:9px;font-weight:650;letter-spacing:1.6px;color:var(--fw-muted);padding:7px 9px;border:1px solid var(--fw-edge);border-radius:7px}.admin-access-badge .ui-icon{width:12px;height:12px;flex-basis:12px}.office-home.admin-dashboard-shell .office-header{padding-bottom:22px;border-bottom:1px solid var(--fw-edge);margin-bottom:34px;gap:15px}.dashboard-intro{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 26px}.dashboard-kicker{display:flex;align-items:center;gap:8px;margin:0 0 10px;font-size:9px;line-height:1.2;font-weight:600;letter-spacing:2px;color:var(--fw-accent)}.dashboard-kicker>span:first-child{width:5px;height:5px;background:var(--fw-accent);border-radius:50%;box-shadow:0 0 11px var(--fw-accent)}.dashboard-kicker .dashboard-date{color:var(--fw-muted);font-variant-numeric:tabular-nums;font-size:10px;letter-spacing:1px;margin-left:8px}.office-shell .dashboard-intro h2{font-size:clamp(27px,3vw,36px);line-height:1.1;font-weight:550;letter-spacing:-1.2px;margin:0}.dashboard-intro .office-drive-link{font-size:12px;min-height:42px;padding:9px 13px;border-radius:11px;white-space:nowrap}.dashboard-intro .office-drive-link .ui-icon:last-child{width:14px;height:14px;flex-basis:14px}
.office-shell .dashboard-stats.office-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin:0 0 24px;border:1px solid var(--fw-edge);border-radius:14px;overflow:hidden;background:var(--fw-surface)}.office-shell .dashboard-stats.office-stats>div{padding:19px 23px;border:0;border-radius:0;min-width:0;background:transparent;border-right:1px solid var(--fw-edge)}.office-shell .dashboard-stats.office-stats>div:last-child{border-right:0}.dashboard-stats span{font-size:11px;color:var(--fw-muted)}.dashboard-stats strong{display:block;margin:10px 0 5px;font-size:32px;font-weight:500;letter-spacing:-1px;font-variant-numeric:tabular-nums;color:var(--fw-ink)}.dashboard-stats small{font-size:10px;color:var(--fw-muted);display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
.dashboard-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px;margin:0 0 22px}.dashboard-tile{position:relative;isolation:isolate;display:flex;flex-direction:column;grid-column:span 2;min-height:165px;min-width:0;padding:23px 25px;border:1px solid var(--fw-edge);border-radius:16px;color:var(--fw-ink);text-decoration:none;background:linear-gradient(145deg,var(--fw-raised),var(--fw-surface) 70%);overflow:hidden;transition:transform .18s,border-color .18s,box-shadow .18s}.dashboard-tile:after{content:'';position:absolute;left:25px;right:25px;top:0;height:1px;background:linear-gradient(90deg,transparent,var(--fw-accent),transparent);opacity:.25;pointer-events:none}.dashboard-tile:hover{transform:translateY(-3px);border-color:var(--fw-accent);box-shadow:0 12px 28px #0003}.dashboard-tile:focus-visible{outline:2px solid var(--fw-accent);outline-offset:4px}.dashboard-tile.tile-photos,.dashboard-tile.tile-map{grid-column:span 3;min-height:200px}.tile-photos{background:radial-gradient(ellipse at 98% 10%,var(--fw-tint),transparent 70%),linear-gradient(145deg,var(--fw-raised),var(--fw-surface))}.tile-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.tile-icon{display:grid;place-items:center;width:43px;height:43px;border-radius:12px;border:1px solid var(--fw-edge);color:var(--fw-accent);background:var(--fw-inset)}.tile-icon .ui-icon{width:22px;height:22px;flex-basis:22px}.tile-index{font-size:10px;letter-spacing:2px;color:var(--fw-muted);font-variant-numeric:tabular-nums;opacity:.6}.tile-content{margin-top:auto;padding-top:27px;padding-right:36px;position:relative;z-index:2}.tile-content h3{font:inherit;font-size:21px;font-weight:550;letter-spacing:-.35px;margin:0 0 8px;color:var(--fw-ink)}.tile-content p{font-size:11px;color:var(--fw-muted);margin:0;line-height:1.5}.tile-secondary .tile-content h3{font-size:18px}.tile-secondary .tile-content{padding-top:24px}.tile-go{position:absolute;bottom:26px;right:25px;display:grid;place-items:center;width:29px;height:29px;border:1px solid var(--fw-edge);border-radius:50%;color:var(--fw-accent);background:var(--fw-inset)}.tile-go .ui-icon{width:14px;height:14px;flex-basis:14px}.folder-trace{position:absolute;z-index:-1;right:30px;top:40px;transform:rotate(-12deg);opacity:.075;color:var(--fw-accent)}.folder-trace .ui-icon{width:125px;height:125px;stroke-width:.75}.map-trace{position:absolute;z-index:-1;inset:35px 20px 25px 48%;opacity:.2;background:linear-gradient(30deg,transparent 47%,var(--fw-edge) 48%,var(--fw-edge) 49%,transparent 50%),linear-gradient(112deg,transparent 47%,var(--fw-edge) 48%,var(--fw-edge) 49%,transparent 50%);transform:rotate(-12deg)}.map-trace span{position:absolute;width:96px;height:96px;border:1px solid var(--fw-accent);border-radius:50%;left:30%;top:0}.map-trace span:after{content:'';position:absolute;inset:23px;border:1px solid var(--fw-accent);border-radius:50%}.map-trace i{position:absolute;left:calc(30% + 42px);top:42px;width:12px;height:12px;border-radius:50%;background:var(--fw-accent);box-shadow:0 0 25px var(--fw-accent)}.map-trace b{position:absolute;width:150px;top:50px;left:6px;border-top:1px dashed var(--fw-accent)}
.dashboard-bottom{display:grid;grid-template-columns:1.25fr 1fr;gap:14px;margin-bottom:18px}.dashboard-projects,.dashboard-activity{min-width:0;padding:19px 22px;border:1px solid var(--fw-edge);border-radius:14px;background:var(--fw-surface)}.dashboard-projects header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:9px}.office-shell .dashboard-projects h2,.office-shell .dashboard-activity h2{font-size:12px;font-weight:500;letter-spacing:0;margin:0;color:var(--fw-muted)}.dashboard-projects header>a{display:grid;place-items:center;min-width:30px;min-height:28px;border-radius:7px;color:var(--fw-accent)}.dashboard-project{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--fw-ink);border-top:1px solid var(--fw-edge);padding:13px 0;min-height:22px}.dashboard-project strong{font-size:12px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dashboard-project>span:not(.project-light){font-size:10px;color:var(--fw-muted);margin-left:auto}.dashboard-project>.ui-icon{width:13px;height:13px;flex-basis:13px;color:var(--fw-accent)}.project-light{width:5px;height:5px;border-radius:50%;background:var(--fw-accent);flex-shrink:0}.dashboard-empty,.dashboard-empty-link{font-size:12px;color:var(--fw-muted);padding:17px 0;line-height:1.5}.dashboard-empty-link{display:flex;gap:10px;align-items:center;text-decoration:none;color:var(--fw-accent)}.dashboard-activity{display:flex;gap:14px;align-items:center}.activity-icon{display:grid;place-items:center;border:1px solid var(--fw-edge);border-radius:12px;width:44px;height:44px;flex-shrink:0;color:var(--fw-accent);background:var(--fw-inset)}.dashboard-activity>div{min-width:0}.dashboard-activity p{font-size:15px;line-height:1.5;margin:10px 0 4px;font-variant-numeric:tabular-nums}.dashboard-activity a{display:flex;align-items:center;gap:8px;font-size:11px;line-height:1.5;color:var(--fw-muted);text-decoration:none;overflow-wrap:anywhere}.dashboard-activity a .ui-icon{width:12px;height:12px;flex-basis:12px}.admin-dashboard-shell .drive-status-bar{margin:0;border-radius:14px;padding:17px 20px;display:grid;grid-template-columns:1fr minmax(80px,160px) auto;gap:18px;align-items:center}.admin-dashboard-shell .drive-status-bar progress{width:100%;margin:0;min-width:0}.admin-dashboard-shell .drive-status-bar #drive-force-all{font-size:11px;min-height:38px}.admin-dashboard-shell .drive-status-heading{font-size:12px}.admin-dashboard-shell #drive-sync-note{font-size:11px;max-width:600px}.office-photo-archive .office-header{flex-wrap:nowrap}.office-photo-archive .office-overview-heading{margin-top:15px}
@media(max-width:750px){.dashboard-stats strong{font-size:27px}.office-shell .dashboard-stats.office-stats>div{padding:16px}.dashboard-grid{gap:11px}.dashboard-tile{padding:20px;min-height:150px}.dashboard-tile.tile-photos,.dashboard-tile.tile-map{min-height:185px}.tile-content h3{font-size:19px}.tile-secondary .tile-content h3{font-size:17px}.dashboard-bottom{grid-template-columns:1fr 1fr}.dashboard-projects,.dashboard-activity{padding:16px}.admin-dashboard-shell .drive-status-bar{grid-template-columns:1fr auto}.admin-dashboard-shell .drive-status-bar progress{grid-row:2;grid-column:1/-1;height:4px}.admin-dashboard-shell .drive-status-bar #drive-force-all{grid-row:1;grid-column:2}}
@media(max-width:520px){.office-shell.admin-dashboard-shell{padding:20px 16px 28px}.office-home.admin-dashboard-shell .office-header{margin-bottom:27px;padding-bottom:18px;gap:9px}.admin-header-actions{gap:8px}.admin-access-badge{font-size:8px;letter-spacing:1px;padding:6px}.admin-access-badge .ui-icon{display:none}.admin-dashboard-shell .office-title .office-brand{width:100px}.dashboard-intro{gap:12px;margin-bottom:22px}.office-shell .dashboard-intro h2{font-size:28px}.dashboard-kicker{font-size:8px;letter-spacing:1.5px;gap:6px}.dashboard-kicker .dashboard-date{font-size:9px;margin-left:2px;letter-spacing:.5px}.dashboard-intro .office-drive-link{font-size:10px;gap:6px;padding:9px;min-height:38px}.dashboard-intro .office-drive-link>.ui-icon:last-child{display:none}.office-shell .dashboard-stats.office-stats{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:18px}.office-shell .dashboard-stats.office-stats>div{padding:16px 18px}.office-shell .dashboard-stats.office-stats>div:nth-child(2){border-right:0}.office-shell .dashboard-stats.office-stats>div:nth-child(-n+2){border-bottom:1px solid var(--fw-edge)}.dashboard-stats strong{font-size:28px;margin:8px 0 4px}.dashboard-stats span{font-size:10px}.dashboard-stats small{font-size:9px}.dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:17px}.dashboard-tile,.dashboard-tile.tile-photos,.dashboard-tile.tile-map{grid-column:auto;min-height:174px;padding:17px}.dashboard-tile.tile-photos{grid-column:1/-1;min-height:155px}.dashboard-tile.tile-photos .tile-content{padding-top:18px}.tile-icon{width:36px;height:36px;border-radius:10px}.tile-icon .ui-icon{width:19px;height:19px;flex-basis:19px}.tile-index{font-size:8px}.tile-content{padding-top:23px;padding-right:0}.tile-content h3,.tile-secondary .tile-content h3{font-size:17px;margin-bottom:6px}.tile-content p{font-size:10px;max-width:calc(100% - 20px)}.tile-go{width:23px;height:23px;bottom:16px;right:15px}.tile-go .ui-icon{width:11px;height:11px;flex-basis:11px}.folder-trace{right:45px;top:10px}.map-trace{inset:55px -50px 20px 38%;opacity:.12}.dashboard-bottom{grid-template-columns:1fr;gap:10px}.dashboard-projects,.dashboard-activity{padding:17px 18px}.admin-dashboard-shell .drive-status-bar{padding:15px;gap:12px}.admin-dashboard-shell .drive-status-bar #drive-force-all{font-size:10px;padding:8px;gap:5px}.admin-dashboard-shell .drive-status-mark{width:23px;height:23px}.admin-dashboard-shell .drive-status-mark .ui-icon{width:13px;height:13px;flex-basis:13px}.admin-dashboard-shell #drive-sync-note{font-size:10px}.office-photo-archive .office-title .office-brand{width:78px}.office-photo-archive .office-title h1{font-size:17px!important}.office-photo-archive .admin-header-actions{gap:5px}}
@media(max-width:360px){.admin-access-badge{display:none}.admin-dashboard-shell .office-title .office-brand{width:82px}.dashboard-intro .office-drive-link{font-size:9px}.dashboard-kicker .dashboard-date{display:none}.dashboard-tile,.dashboard-tile.tile-map{padding:15px}.tile-content h3,.tile-secondary .tile-content h3{font-size:16px}.dashboard-project>span:not(.project-light){display:none}}
@media(prefers-reduced-motion:reduce){.dashboard-tile{transition:none}.dashboard-tile:hover{transform:none}}

/* Statistics are supporting information at the end of the dashboard. */
.office-shell.admin-dashboard-shell .dashboard-stats.office-stats{margin:23px 0 0;border:0;border-top:1px solid var(--fw-edge);border-radius:0;overflow:visible;background:transparent;order:4}
html[data-theme] .office-shell.admin-dashboard-shell .dashboard-stats.office-stats>div{background:transparent;border-radius:0;padding:15px 20px 3px;border-right:1px solid var(--fw-edge)}
html[data-theme] .office-shell.admin-dashboard-shell .dashboard-stats.office-stats>div:first-child{padding-left:0}
html[data-theme] .office-shell.admin-dashboard-shell .dashboard-stats.office-stats>div:last-child{border-right:0}
.admin-dashboard-shell .dashboard-stats strong{font-size:18px;font-weight:500;letter-spacing:-.3px;margin:6px 0 4px}.admin-dashboard-shell .dashboard-stats span{font-size:10px}.admin-dashboard-shell .dashboard-stats small{font-size:9px;opacity:.8}
@media(max-width:520px){html[data-theme] .office-shell.admin-dashboard-shell .dashboard-stats.office-stats>div{padding:14px 14px 12px}html[data-theme] .office-shell.admin-dashboard-shell .dashboard-stats.office-stats>div:nth-child(odd){padding-left:0}html[data-theme] .office-shell.admin-dashboard-shell .dashboard-stats.office-stats>div:nth-child(2){border-right:0}.admin-dashboard-shell .dashboard-stats strong{font-size:16px}}
