#attendance-live{min-width:0}#attendance-live .page-heading{gap:16px}#attendance-live .detail-actions{flex-wrap:wrap}.att-period{display:flex;justify-content:flex-end;align-items:center;gap:12px;margin:0 0 20px}.att-period label{display:grid;text-align:center;gap:4px}.att-period input{border:1px solid var(--line);border-radius:var(--radius);padding:8px;background:var(--surface);color:var(--ink)}.att-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.att-stat{display:grid;grid-template-columns:36px 1fr;text-align:left;padding:20px;gap:12px;color:var(--blue);min-width:0}.att-stat .att-stat-title{font-size:13px;color:var(--ink);align-self:center}.att-stat strong{grid-column:1/-1;font-size:32px;line-height:1.15}.att-stat small{grid-column:1/-1;color:var(--muted)}.att-stat.green{color:var(--green)}.att-stat.orange{color:var(--warning)}.att-stat.red{color:var(--danger)}.att-stat.selected{outline:2px solid currentColor;outline-offset:-2px}.att-open{margin:10px 0 20px}.att-filters{margin:16px 0}.att-filters .filters{display:flex;flex-wrap:wrap;align-items:end}.att-filters details{padding:0 18px 14px}.att-filters summary,.att-charts>summary{cursor:pointer;font-weight:600}.att-filters summary .icon{vertical-align:middle}.att-select{display:grid;gap:4px;flex:1;min-width:130px;color:var(--muted);font-size:11px}.att-select select,.att-select input{width:100%;min-height:40px;max-width:100%;background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:8px;padding:8px}.att-modes{display:flex;gap:3px;flex-wrap:wrap}.att-view-tabs{display:flex;gap:8px;margin-bottom:16px}.att-chart-grid{display:grid;grid-template-columns:1.6fr 1fr;gap:16px;margin:12px 0 20px}.att-chart-grid>.card{padding:0 20px 20px;min-width:0}.att-chart-grid .card-header{padding-left:0;padding-right:0}.att-bars{display:flex;gap:12px;height:210px;margin:25px 0 16px;border-bottom:1px solid var(--line)}.att-bar-column{flex:1;min-width:0;text-align:center;display:flex;flex-direction:column}.att-bar-column>small{font-size:10px;height:38px;line-height:1.5;color:var(--muted)}.att-bar-pair{height:160px;display:flex;gap:4px;align-items:flex-end;justify-content:center;border-bottom:1px solid var(--line)}.att-bar-pair>span{width:35%;background:var(--blue);border-radius:4px 4px 0 0;min-height:1px;position:relative}.att-bar-pair>span+span{background:var(--blue-soft);border:1px solid var(--line)}.att-bar-pair small{position:absolute;bottom:100%;left:50%;transform:translateX(-50%);font-size:10px;color:var(--muted)}.att-presence{display:grid;grid-template-columns:1fr 1.3fr;gap:16px;align-items:center;min-height:230px}.att-presence>strong{text-align:center;font-size:40px;color:var(--ink)}.att-presence small{display:block;font-size:11px;color:var(--muted)}.att-status{display:inline-flex;white-space:nowrap;max-width:100%;padding:4px 9px;border-radius:20px;font-size:11px;background:var(--bg);color:var(--muted)}.att-status.in,.att-status.complete{color:var(--green);background:var(--success-soft,var(--bg))}.att-status.open{color:var(--warning);background:var(--warning-soft)}.att-status.missing,.att-status.incomplete{color:var(--danger);background:var(--danger-soft,var(--bg))}.att-list .card-header{gap:15px;flex-wrap:wrap;margin-bottom:16px}.att-list .search-box{max-width:320px}.att-desktop th button{font:inherit;text-align:left;color:inherit}.att-mobile{display:none}.att-detail-totals{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:20px 0}.att-detail-totals span{font-size:11px;color:var(--muted)}.att-detail-totals b{display:block;font-size:20px;color:var(--ink)}.att-day{padding:16px;margin:12px 0}.att-day .summary-row{gap:12px;text-align:right}.att-day .summary-row>span:first-child{text-align:left}
@media(min-width:761px){.att-charts>summary{display:none}}
@media(max-width:1100px){.att-stats{gap:10px}.att-stat{padding:14px}.att-stat strong{font-size:27px}.att-chart-grid{grid-template-columns:1.4fr 1fr}}
@media(max-width:760px){.att-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.att-stat{gap:8px;padding:14px;grid-template-columns:30px 1fr}.att-stat .att-stat-title{font-size:12px}.att-stat strong{font-size:27px}.att-stat small{font-size:10px}.att-period{justify-content:space-between}.att-period label{flex:1}.att-chart-grid{grid-template-columns:1fr}.att-desktop{display:none}.att-mobile{display:grid;gap:10px;padding:0 12px 12px}.att-worker-card{display:flex;gap:10px;align-items:center;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);padding:12px;min-width:0}.att-worker-card>input{flex:none;width:18px;height:18px}.att-worker-open{display:block;text-align:left;flex:1;min-width:0;color:var(--ink)}.att-worker-head{display:flex;align-items:center;gap:6px;min-width:0}.att-worker-head>span:first-child{flex:1;min-width:0}.att-worker-head strong,.att-worker-head small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.att-worker-head small{font-size:10px;color:var(--muted);margin-top:3px}.att-worker-head>.icon{width:14px;flex:none}.att-worker-values{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:10px;gap:8px;font-size:10px;color:var(--muted)}.att-worker-values b{display:block;font-size:14px;color:var(--ink)}.att-list .search-box{display:flex;width:100%;max-width:none}.att-list .search-box input{width:100%;min-width:0}.att-detail-totals{grid-template-columns:repeat(2,1fr)}.att-filters .filters{padding:12px}.att-modes{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.att-modes .btn{padding:8px 4px;font-size:11px}.att-charts summary{padding:12px}.att-view-tabs .btn{font-size:11px}#attendance-live .page-heading h1{font-size:23px}#attendance-live .page-heading .detail-actions{gap:6px}#attendance-live .btn{min-height:38px}}
#attendance-live .att-stat.red .stat-icon{color:var(--danger);background:var(--danger-soft)}#attendance-live .att-stat.orange .stat-icon{color:var(--warning);background:var(--warning-soft)}#attendance-live .att-stat.green .stat-icon{color:var(--green);background:var(--success-soft)}
.att-chart-area{display:grid;grid-template-columns:42px minmax(0,1fr);gap:6px}.att-y-axis{display:flex;flex-direction:column;justify-content:space-between;height:160px;margin-top:25px;font-size:9px;color:var(--muted);text-align:right}.att-chart-area .att-bar-pair{background:repeating-linear-gradient(to top,transparent 0,transparent 39px,var(--line) 39px,var(--line) 40px)}
/* Attendance overview: construction banner and compact analytical cards. */
#attendance-live{--att-hero-white:#fff}.att-hero{position:relative;isolation:isolate;border-radius:var(--radius);padding:30px 36px 24px;margin-bottom:16px;background:linear-gradient(90deg,rgba(13,39,70,.94),rgba(18,57,94,.7) 43%,rgba(18,57,94,.04)),url('./attendance/construction-hero.jpg') center 58%/cover;color:var(--att-hero-white);box-shadow:var(--shadow)}.att-hero-top{position:relative}.att-eyebrow{display:block;font-size:11px;font-weight:600;letter-spacing:2px;opacity:.75}.att-hero h1{color:var(--att-hero-white);font-size:36px;line-height:1.2;letter-spacing:-1px;margin:24px 0 10px;max-width:1000px}.att-hero-copy>p{max-width:590px;font-size:14px;line-height:1.65;margin:0;color:var(--att-hero-white)}.att-hero-actions{position:absolute;top:0;right:0;display:flex;align-items:flex-start;gap:8px;z-index:3}.att-hero-actions>.btn{min-height:38px;padding:9px 13px;border-radius:8px;font-size:11px;box-shadow:0 3px 10px #1023400b}.att-hero-actions>.btn{background:var(--surface);color:var(--ink);border:1px solid var(--line)}.att-hero-bottom{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-top:18px}.att-hero-picks{display:flex;gap:14px;max-width:55%;min-width:0}.att-hero-today,.att-hero-project{display:flex;align-items:center;gap:14px;background:#ffffff2b;border:1px solid #ffffff1c;border-radius:10px;padding:10px 16px;color:var(--att-hero-white);min-height:52px;backdrop-filter:blur(10px);text-align:left}.att-hero-today{min-width:165px}.att-hero-picks small{display:block;font-size:11px;opacity:.8}.att-hero-picks b{display:block;font-size:12px;font-weight:500}.att-hero-project{max-width:280px;min-width:0;flex:1}.att-hero-project>span{min-width:0;flex:1}.att-hero-project>svg{flex:none}.att-hero-project>svg:last-child{width:13px}.att-hero-project select{width:100%;max-width:100%;background:transparent;color:var(--att-hero-white);border:0;padding:0 18px 0 0;appearance:none;font-size:12px;cursor:pointer;text-overflow:ellipsis}.att-hero-project option{background:var(--surface);color:var(--ink)}.att-hero .att-period{margin:0;padding:14px 18px;border:1px solid #ffffff40;border-radius:14px;gap:16px;background:#ffffff20;backdrop-filter:blur(12px);min-width:330px;max-width:52%;align-items:center}.att-hero .att-period>.icon-btn{background:#ffffffe8;color:var(--ink);width:38px;height:40px;flex:none;border-radius:8px}.att-hero [data-att-prev] .icon{transform:rotate(180deg)}.att-hero .att-period label{position:relative;min-width:0;display:flex;flex:1;flex-direction:column;align-items:flex-start;gap:3px;cursor:pointer}.att-period-weekday{text-transform:capitalize;font-size:12px;opacity:.8}.att-hero .att-period label>b{font-size:18px;text-align:left;line-height:1.3;overflow-wrap:anywhere}.att-hero .att-period input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.att-hero .att-period label:focus-within{outline:2px solid var(--att-hero-white);outline-offset:5px;border-radius:4px}.att-connection-bar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:8px 14px;margin:0 0 16px;min-height:40px;border:1px solid var(--line);background:var(--blue-soft);border-radius:11px;color:var(--blue);font-size:11px}.att-connection-copy{display:flex;align-items:center;gap:10px;min-width:0}.att-connection-copy>.icon{width:17px;flex:none}.att-connection-tools{display:flex;gap:18px;align-items:center;flex:none}.att-connection-tools .btn{font-size:10px;min-height:28px;padding:4px 12px;background:var(--surface)}.att-connection-tools .btn .icon{width:12px}.att-connection-state{display:flex;align-items:center;gap:5px;font-size:10px;padding:3px 8px;border-radius:20px;background:var(--warning-soft);color:var(--warning)}.att-connection-state i{width:6px;height:6px;border-radius:50%;background:currentColor}.att-connection-state.connected{background:var(--success-soft);color:var(--green)}.att-connection-bar.warning{background:var(--warning-soft);color:var(--warning)}.att-stats{gap:14px}.att-stat{position:relative;overflow:hidden;grid-template-columns:32px minmax(0,1fr);gap:10px 12px;padding:18px 20px;min-height:140px;border:1px solid var(--line)}.att-stat .stat-icon{width:32px;height:32px;border-radius:50%}.att-stat .att-stat-title{font-size:12px;font-weight:600;line-height:1.4}.att-stat strong{font-size:32px;margin-top:4px;position:relative;z-index:1;justify-self:start}.att-stat small{font-size:10px;max-width:75%;position:relative;z-index:1}.att-spark{position:absolute;bottom:22px;right:18px;display:flex;align-items:flex-end;gap:5px;width:80px;height:52px;opacity:.5}.att-spark i{flex:1;min-width:0;background:linear-gradient(to top,currentColor,#ffffff66);border-radius:3px 3px 0 0}.att-card-illustration{position:absolute;right:24px;bottom:25px;opacity:.16}.att-card-illustration .icon{width:64px;height:64px;stroke-width:1.5}.att-week-change{position:absolute;right:16px;top:46px;font-size:10px;padding:2px 5px;border-radius:5px;background:var(--success-soft);color:var(--green)}.att-open{font-size:10px;margin:8px 0 14px}.att-filters{margin:0 0 16px}.att-filters .filters{padding:12px 20px;gap:22px}.att-filters .att-modes{align-self:end;gap:2px}.att-modes .btn{font-size:11px;min-height:38px;padding:8px 14px}.att-filters details{padding:0 20px 10px;border-top:1px solid var(--line)}.att-filters summary{font-size:11px;padding-top:6px;list-style:none;display:flex;align-items:center;gap:4px}.att-filters summary::before{content:'▸';font-size:14px}.att-filters details[open]>summary::before{content:'▾'}.att-filters summary::-webkit-details-marker{display:none}.att-filters summary .icon{width:14px;height:14px}.att-chart-grid{grid-template-columns:1.5fr 1fr;gap:16px;margin:0 0 20px}.att-chart-grid>.card{padding:0 22px 16px}.att-chart-grid .card-header h2{font-size:15px}.att-chart-grid .card-header{padding-top:18px;margin-bottom:0}.att-chart-grid>.card>p.small{font-size:10px;margin:0}.att-bars{height:190px;margin-top:20px;margin-bottom:8px;gap:10px}.att-bar-pair{height:145px;gap:4px}.att-bar-pair>span{background:var(--blue-soft);border:1px solid var(--line);width:48%;border-radius:6px 6px 0 0}.att-bar-pair>span+span{width:25%;opacity:.6}.att-bar-column.is-selected .att-bar-pair>span:first-child{background:var(--blue);border-color:var(--blue)}.att-bar-column.is-selected>small{color:var(--blue);font-weight:600}.att-y-axis{margin-top:20px;height:145px}.att-chart-grid .legend{font-size:10px;gap:20px}.att-presence{grid-template-columns:180px minmax(0,1fr);gap:24px;min-height:210px}.att-donut{width:160px;height:160px;border-radius:50%;background:var(--att-ring,var(--line));display:grid;place-items:center;margin:auto;box-shadow:inset 0 0 12px #ffffff40}.att-donut-core{width:129px;height:129px;border-radius:50%;background:var(--surface);display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center}.att-donut-core strong{font-size:34px;line-height:1.2;letter-spacing:-1px;color:var(--ink)}.att-donut-core small{font-size:9px;margin-top:2px}.att-presence-legend .summary-row{border:1px solid var(--line);border-radius:9px;padding:7px 9px;margin:4px 0;gap:12px;font-size:11px}.att-presence-legend .summary-row>span{display:flex;align-items:center;gap:7px;min-width:0}.att-presence-legend i{width:7px;height:7px;border-radius:50%;background:var(--muted);flex:none}.att-presence-legend .att-legend-in i{background:var(--green)}.att-presence-legend .att-legend-out i{background:var(--blue)}.att-presence-legend .att-legend-inactive i{background:var(--warning)}.att-source-note{font-size:10px}
@media(min-width:1500px){.att-hero h1{font-size:39px}.att-hero{padding:32px 40px 26px}.att-hero-bottom{margin-top:20px}}
@media(min-width:761px) and (max-width:1200px){.att-hero{padding:24px}.att-hero-actions{position:static;margin-top:18px}.att-hero h1{font-size:31px;margin-top:14px}.att-hero .att-period{min-width:280px;padding:12px}.att-hero-picks{max-width:52%;gap:8px}.att-hero-today{min-width:135px;padding:10px}.att-hero-project{padding:10px}.att-chart-grid{grid-template-columns:1.35fr 1fr}.att-presence{grid-template-columns:1fr;gap:12px;padding:18px 0}.att-presence-legend{width:100%}.att-spark{width:52px;gap:3px;right:12px}.att-stat{padding:15px}.att-stat .att-stat-title{font-size:11px}.att-stat small{max-width:100%}}
@media(max-width:760px){.att-hero{padding:20px 16px 16px;border-radius:12px;background-position:65% center}.att-hero h1{font-size:25px;line-height:1.18;letter-spacing:-.6px;margin:12px 0 10px}.att-eyebrow{font-size:9px;letter-spacing:1.5px}.att-hero-copy>p{font-size:11px;line-height:1.6}.att-hero-actions{position:static;display:flex;flex-wrap:wrap;gap:6px;margin-top:16px}.att-hero-actions>.btn{font-size:10px;padding:8px 9px;min-height:34px}.att-hero-actions .icon{width:13px;height:13px}.att-hero-bottom{flex-direction:column;align-items:stretch;gap:12px;margin-top:16px}.att-hero-picks{max-width:100%;width:100%;gap:8px;display:grid;grid-template-columns:1fr 1.25fr}.att-hero-today,.att-hero-project{min-width:0;max-width:none;padding:9px;gap:8px;min-height:49px}.att-hero-picks small{font-size:10px}.att-hero-picks b,.att-hero-picks select{font-size:11px}.att-hero-picks>.att-hero-project>.icon:first-child{display:none}.att-hero .att-period{min-width:0;width:100%;max-width:none;gap:12px;padding:10px 12px;justify-content:space-between}.att-hero .att-period label>b{font-size:16px}.att-period-weekday{font-size:10px}.att-hero .att-period>.icon-btn{width:33px;height:34px}.att-connection-bar{padding:9px 11px;gap:8px;flex-wrap:wrap;font-size:10px}.att-connection-copy{width:100%;align-items:flex-start;gap:7px}.att-connection-tools{justify-content:space-between;width:100%;gap:10px}.att-connection-tools .btn{min-height:28px!important}.att-stats{gap:10px}.att-stat{padding:13px 11px;gap:8px;grid-template-columns:27px minmax(0,1fr);min-height:138px}.att-stat .stat-icon{width:27px;height:27px}.att-stat .att-stat-title{font-size:10px}.att-stat strong{font-size:28px}.att-stat small{font-size:9px;max-width:100%}.att-spark{width:45px;height:33px;right:9px;bottom:36px;gap:3px;opacity:.28}.att-card-illustration{right:9px;bottom:36px}.att-card-illustration .icon{width:42px;height:42px}.att-week-change{display:none}.att-filters .filters{padding:12px;gap:10px}.att-modes .btn{font-size:10px;padding:8px 4px}.att-filters details{padding:0 12px 10px}.att-chart-grid{grid-template-columns:1fr;margin-top:8px}.att-chart-grid>.card{padding:0 14px 14px}.att-presence{grid-template-columns:130px minmax(0,1fr);gap:12px;min-height:180px}.att-donut{width:125px;height:125px}.att-donut-core{width:100px;height:100px}.att-donut-core strong{font-size:28px}.att-presence-legend .summary-row{font-size:10px;gap:6px;padding:6px}.att-chart-area{grid-template-columns:36px minmax(0,1fr)}.att-bars{gap:5px}.att-bar-column>small{font-size:8px}.att-chart-grid .legend{font-size:9px;gap:12px}}
@media(prefers-reduced-motion:no-preference){.att-stat,.att-hero-actions .btn{transition:box-shadow .15s ease,transform .15s ease}.att-stat:hover{transform:translateY(-2px);box-shadow:0 6px 20px #19385b0c}}
.att-hero-copy{min-width:0}.att-hero h1{white-space:normal;overflow-wrap:normal;max-width:100%}.att-hero .att-period label{padding-right:29px}.att-calendar-mark{position:absolute;right:0;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:27px;height:32px;border-radius:7px;background:#13345470}.att-calendar-mark .icon{width:15px;height:15px}.att-period-range{font-size:9px;line-height:1.35;opacity:.8;text-align:left}.att-hero .att-period label>b{font-size:25px}.att-hero input:focus-visible,.att-hero select:focus-visible{outline:2px solid var(--att-hero-white);outline-offset:3px}@media(max-width:760px){.att-hero .att-period label>b{font-size:22px}.att-period-range{font-size:9px}.att-hero h1{overflow-wrap:anywhere}}
/* The phone keeps the banner compact and places its three actions below it. */
.att-overview-head{position:relative}.att-overview-head>.att-hero-actions{top:30px;right:36px}.att-mobile-title,.att-integration-source{display:none}@media(min-width:1500px){.att-overview-head>.att-hero-actions{top:32px;right:40px}}@media(min-width:761px) and (max-width:1200px){.att-overview-head>.att-hero-actions{position:absolute;top:24px;right:24px;margin:0}.att-hero{padding-top:77px}}
@media(max-width:760px){
 #attendance-live{padding-top:0}.att-overview-head{margin-bottom:10px}.att-overview-head .att-hero{position:relative;min-height:246px;padding:17px 16px 19px;margin:0;background-position:64% center;border-radius:16px;overflow:hidden}.att-desktop-title{display:none}.att-mobile-title{display:inline}.att-overview-head .att-hero h1{font-size:clamp(22px,5.8vw,28px)!important;line-height:1.18!important;letter-spacing:-.6px;margin:9px 0 10px;font-weight:750}.att-hero .att-eyebrow{font-size:9px;letter-spacing:1.1px}.att-overview-head .att-hero-copy>p{max-width:65%;font-size:12px!important;line-height:1.5!important;color:#ffffffce;margin:0}.att-hero .att-hero-bottom{margin:0;display:block}.att-hero-picks{display:none}.att-overview-head .att-period{position:absolute;right:12px;bottom:13px;width:46%;max-width:210px;min-width:0;margin:0;padding:8px;gap:5px;border-radius:11px;min-height:58px;background:#ffffff30}.att-overview-head .att-period label{padding-right:0;gap:1px;min-width:0}.att-overview-head .att-period label>b{font-size:clamp(12px,3.7vw,18px);white-space:nowrap}.att-overview-head .att-period .att-period-weekday{font-size:9px}.att-overview-head .att-period-range{display:none}.att-overview-head .att-period>.icon-btn{width:25px;min-width:25px;height:29px;padding:4px;min-height:29px}.att-overview-head .att-period>.icon-btn .icon{width:16px}.att-overview-head .att-calendar-mark{display:none}.att-overview-head>.att-hero-actions{position:static;display:grid;grid-template-columns:1fr 1fr 1.35fr;gap:7px;margin:9px 0 0;align-items:stretch}.att-overview-head>.att-hero-actions>.btn{justify-content:center;gap:6px;min-height:45px!important;padding:8px 6px;font-size:11px;border-radius:11px;box-shadow:var(--shadow);text-align:left}.att-overview-head>.att-hero-actions>.btn>.icon{flex:none;width:15px;height:15px}.att-integration-source{display:block;font-size:9px;line-height:1.35;font-weight:600;white-space:normal}.att-connection-bar:not(.warning){padding:8px 10px;min-height:32px;margin-bottom:10px}.att-connection-bar:not(.warning) .att-connection-copy{font-size:9px;line-height:1.4}.att-connection-bar:not(.warning) .att-connection-tools{display:none}.att-connection-bar.warning{margin-bottom:10px}.att-stats{gap:8px}.att-stat{min-height:116px;padding:12px 10px;gap:7px 8px;grid-template-columns:27px minmax(0,1fr);border-radius:13px}.att-stat .att-stat-title{font-size:10px;line-height:1.35;font-weight:650}.att-stat strong{font-size:29px;margin:0;line-height:1.05}.att-stat small{font-size:9px;line-height:1.25;max-width:100%;padding-right:26px}.att-spark{bottom:17px;right:10px;width:48px;height:38px;opacity:.32}.att-card-illustration{right:10px;bottom:17px;opacity:.17}.att-card-illustration .icon{width:43px;height:43px}.att-open:not(.has-open){display:none}.att-open.has-open{font-size:9px;line-height:1.4;margin:7px 0 10px}.att-filters{margin:10px 0}.att-filters>.filters{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 10px;padding:10px 12px}.att-filters .att-modes{grid-column:1/-1;display:grid;grid-template-columns:1fr .75fr .85fr 1.55fr;gap:4px;width:100%;margin-bottom:1px}.att-filters .att-modes .btn{font-size:10px;padding:7px 3px;min-height:33px!important;white-space:nowrap;border-radius:7px;justify-content:center}.att-filters>.filters>.att-select{min-width:0;font-size:10px;gap:3px}.att-filters>.filters>.att-select select{min-height:34px;height:34px;font-size:12px!important;padding:6px 9px}.att-filters>.filters>[data-att-clear]{min-height:34px!important;padding:6px 9px;font-size:10px;white-space:nowrap;gap:5px}.att-filters>.filters>[data-att-clear]>.icon{width:14px;height:14px}.att-filters details{padding-bottom:8px}.att-filters summary{font-size:11px;padding-top:5px}.att-charts{margin-bottom:9px}.att-charts>summary{padding:5px 2px;font-size:10px;color:var(--muted)}.att-list{border-radius:13px}.att-list>.card-header{padding:13px 13px 0;margin-bottom:9px;gap:8px}.att-list>.card-header>h2{font-size:16px;letter-spacing:-.4px;width:100%}.att-list>.card-header>.search-box{min-height:34px;height:34px;border:1px solid var(--line);border-radius:8px;padding:5px 9px;background:var(--surface)}.att-list .search-box input{font-size:12px!important;height:25px}.att-list .search-box>.icon{width:16px;height:16px}.att-mobile{padding:0 12px 12px;gap:8px}.att-worker-card{padding:12px;gap:10px;border-radius:12px}.att-worker-card>input{width:18px;height:18px}.att-worker-head strong{font-size:12px;font-weight:700}.att-worker-head small{font-size:10px}.att-worker-head>.att-status{font-size:9px;padding:3px 7px}.att-worker-values{margin-top:10px;gap:8px;font-size:9px}.att-worker-values b{font-size:14px;line-height:1.4}.att-source-note{font-size:9px}
}
@media(max-width:350px){.att-overview-head .att-hero{min-height:244px;padding-left:13px;padding-right:13px}.att-overview-head .att-hero-copy>p{max-width:65%;font-size:11px!important}.att-overview-head .att-hero h1{font-size:22px!important}.att-overview-head .att-period{right:8px;bottom:10px;width:47%;gap:3px;padding:6px}.att-overview-head .att-period>.icon-btn{width:20px;min-width:20px;padding:2px}.att-overview-head>.att-hero-actions>.btn{font-size:10px;gap:4px;padding:6px 4px}.att-integration-source{font-size:8px}.att-stat .att-stat-title{font-size:9px}.att-spark{width:35px;gap:2px}.att-stat small{padding-right:12px}}
@media(max-width:760px){.att-overview-head .att-hero{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);column-gap:8px;min-height:0;padding-bottom:17px}.att-overview-head .att-hero-top,.att-overview-head .att-hero-copy,.att-overview-head .att-hero-bottom{display:contents}.att-hero .att-eyebrow,.att-overview-head .att-hero h1{grid-column:1/-1}.att-overview-head .att-hero h1{margin-bottom:10px}.att-overview-head .att-hero-copy>p{grid-column:1;grid-row:3;max-width:100%;width:100%;font-size:11px!important;line-height:1.5!important}.att-overview-head .att-period{position:relative;right:auto;bottom:auto;grid-column:2;grid-row:3;align-self:end;width:100%;max-width:none;padding:7px 5px;gap:3px;min-height:51px}.att-overview-head .att-period label>b{font-size:clamp(11px,3.35vw,15px)}.att-overview-head .att-period>.icon-btn{width:21px;min-width:21px;height:27px;padding:3px;min-height:27px}.att-overview-head .att-period>.icon-btn .icon{width:14px}.att-overview-head .att-period .att-period-weekday{font-size:9px}}
@media(max-width:760px){.att-overview-head>.att-hero-actions:not(:has([data-action=attendance-settings])){grid-template-columns:repeat(2,minmax(0,1fr))}.att-overview-head>.att-hero-actions:not(:has([data-att-export])):not(:has([data-action=attendance-settings])){grid-template-columns:1fr}}
/* iPad: retain the desktop workspace, with compact tablet proportions. */
@media(min-width:761px) and (max-width:1366px){
 .shell:has(#attendance-live){--att-tablet-side:clamp(145px,15vw,190px);display:grid;grid-template-columns:var(--att-tablet-side) minmax(0,1fr)}.shell:has(#attendance-live)>.sidebar{position:fixed;display:flex;transform:none!important;left:0;top:0;bottom:0;width:var(--att-tablet-side);max-width:none;padding:24px 10px 16px;border-right:1px solid var(--line);visibility:visible}.shell:has(#attendance-live)>.sidebar .brand{margin:0 10px 22px}.shell:has(#attendance-live)>.sidebar .brand img{max-width:100%}.shell:has(#attendance-live)>.sidebar .nav-item{font-size:10px;gap:9px;padding:9px 10px;min-height:36px}.shell:has(#attendance-live)>.sidebar .nav-item>.icon{width:16px;height:16px;flex:none}.shell:has(#attendance-live)>.sidebar .nav-label{font-size:8px;letter-spacing:1.4px;padding-left:10px}.shell:has(#attendance-live)>.sidebar .user-card{padding:10px 2px 15px;gap:8px}.shell:has(#attendance-live)>.sidebar .user-profile-name{font-size:10px}.shell:has(#attendance-live)>.sidebar .avatar{width:30px;height:30px;font-size:10px}.shell:has(#attendance-live)>.sidebar .mobile-sidebar-close{display:none}.shell:has(#attendance-live)>.main{grid-column:2;min-width:0;width:100%;margin:0}.shell:has(#attendance-live) .content{padding:14px 14px 28px;min-width:0}.shell:has(#attendance-live) .topbar{display:flex;position:sticky;top:0;flex-wrap:nowrap;min-height:64px;height:64px;padding:0 16px;gap:14px;z-index:26}.shell:has(#attendance-live) .topbar-brand,.shell:has(#attendance-live) .topbar>.mobile-toggle,.shell:has(#attendance-live) .company-select>.mobile-toggle{display:none!important}.shell:has(#attendance-live) .company-select{display:flex;flex:0 1 210px;min-width:120px;gap:6px}.shell:has(#attendance-live) .company-picker{display:flex;min-width:0;align-items:center;width:100%;border:1px solid var(--line);border-radius:8px;background:var(--bg);padding:0 20px 0 8px;height:34px}.shell:has(#attendance-live) .company-icon{display:grid;width:18px;flex:none;margin-right:5px}.shell:has(#attendance-live) .company-icon .icon{width:16px}.shell:has(#attendance-live) #company-select{font-size:10px!important;max-width:100%;width:100%;min-width:0;border:0;appearance:none;background:transparent;padding:0;height:30px;text-overflow:ellipsis}.shell:has(#attendance-live) .top-tools{display:flex;flex:1;justify-content:flex-end;align-items:center;gap:8px;min-width:0}.shell:has(#attendance-live) .top-tools>.search-box{display:flex;flex:1;max-width:440px;min-width:100px;height:32px;padding:5px 10px}.shell:has(#attendance-live) .top-tools>.search-box input{min-width:0;width:100%;font-size:10px!important}.shell:has(#attendance-live) .top-tools>.search-box kbd{font-size:9px}.shell:has(#attendance-live) .top-tools>[data-action=notifications],.shell:has(#attendance-live) .top-tools>[data-action=profile]{display:flex;align-items:center;justify-content:center;flex:none;width:30px;height:34px;min-width:30px;min-height:34px;padding:5px}.shell:has(#attendance-live) .top-tools>.avatar{display:flex;width:30px;height:30px;min-width:30px;min-height:30px;padding:0;font-size:10px}.shell:has(#attendance-live) .top-tools>.divider,.shell:has(#attendance-live) .dev-tag,.shell:has(#attendance-live)>.phone-bottom-nav,.shell:has(#attendance-live)>.bottom-nav{display:none}
 #attendance-live{display:flex;flex-direction:column}.att-overview-head{order:0;margin-bottom:0}.att-stats{order:1;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 10px}.att-connection-bar{order:2;margin:0 0 10px}.att-open{order:3;margin:0 0 10px;font-size:9px}.att-open:not(.has-open){display:none}.att-filters{order:4;margin-bottom:12px}.att-charts{order:6}.att-list{order:7}.att-source-note{order:10}.att-hero{padding:26px 28px 20px;min-height:220px;margin:0 0 12px;background-position:center 54%}.att-overview-head>.att-hero-actions{position:absolute;right:24px;top:24px;margin:0;gap:6px}.att-hero-actions>.btn{padding:8px 10px;font-size:10px;min-height:34px}.att-eyebrow{font-size:10px;letter-spacing:1.5px}.att-hero h1{font-size:32px;line-height:1.18;margin:25px 0 10px}.att-hero-copy>p{font-size:12px;max-width:520px;line-height:1.55}.att-hero-bottom{justify-content:flex-start;align-items:stretch;gap:12px;margin-top:16px}.att-hero-picks{max-width:250px;min-width:0;order:2}.att-hero-today{display:none}.att-hero-project{min-width:180px;max-width:230px;padding:8px 12px;min-height:44px}.att-hero .att-period{order:1;min-width:190px;width:auto;max-width:260px;gap:8px;padding:7px 10px;border-radius:9px;min-height:44px;background:#ffffff29}.att-hero .att-period label{padding-right:22px}.att-hero .att-period label>b{font-size:16px;white-space:nowrap}.att-period-weekday{font-size:9px}.att-period-range{font-size:8px;max-width:155px}.att-calendar-mark{width:20px;height:25px;right:0}.att-calendar-mark>.icon{width:13px}.att-hero .att-period>.icon-btn{width:26px;height:30px;padding:5px;min-height:30px;min-width:26px}.att-hero .att-period>.icon-btn .icon{width:15px}.att-stat{min-height:130px;padding:15px 14px;gap:8px;grid-template-columns:28px minmax(0,1fr)}.att-stat .att-stat-title{font-size:10px}.att-stat .stat-icon{width:28px;height:28px}.att-stat strong{font-size:31px;margin:0}.att-stat small{font-size:9px;max-width:100%;line-height:1.35}.att-spark{width:58px;height:48px;right:12px;bottom:22px;gap:4px;opacity:.35}.att-card-illustration{right:14px;bottom:25px}.att-card-illustration>.icon{width:48px;height:48px}.att-week-change{right:10px;font-size:9px}.att-filters>.filters{padding:10px 14px;gap:12px}.att-filters .att-modes .btn{font-size:10px;padding:7px 10px;min-height:33px}.att-filters>.filters>.att-select{min-width:100px;font-size:10px}.att-filters .att-select select{height:33px;min-height:33px;font-size:11px}.att-filters [data-att-clear]{font-size:10px;padding:7px 11px;min-height:33px}.att-filters details{padding:0 14px 8px}.att-chart-grid{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:12px;margin-bottom:12px}.att-chart-grid>.card{padding:0 16px 14px}.att-chart-grid .card-header{padding-top:14px}.att-chart-grid .card-header>h2{font-size:14px}.att-chart-grid>.card>p.small{font-size:9px}.att-presence{grid-template-columns:135px minmax(0,1fr);gap:12px;min-height:190px;padding:0}.att-donut{width:130px;height:130px}.att-donut-core{width:105px;height:105px}.att-donut-core strong{font-size:31px}.att-donut-core small{font-size:8px}.att-presence-legend .summary-row{font-size:10px;padding:6px 7px;gap:8px}.att-chart-grid .legend{font-size:9px;gap:12px}.att-bar-column>small{font-size:8px}.att-bar-pair small{font-size:9px}.att-list>.card-header{padding:14px 16px 0;gap:12px;margin-bottom:10px}.att-list .card-header>h2{font-size:14px}.att-list .search-box{flex:1;max-width:none;height:32px}.att-desktop{display:block;max-width:100%;overflow:auto}.att-desktop table{width:100%;min-width:640px}.att-desktop th,.att-desktop td{font-size:10px;padding:10px 8px}.att-desktop .btn{font-size:10px;padding:5px 8px;min-height:29px}.att-mobile{display:none}
}
@media(min-width:761px) and (max-width:1000px){
 .shell:has(#attendance-live) .topbar{padding:0 10px;gap:8px;min-height:58px;height:58px}.shell:has(#attendance-live) .company-select{flex-basis:170px}.shell:has(#attendance-live) .top-tools{gap:4px}.shell:has(#attendance-live) .top-tools>.search-box{min-width:85px;padding:5px 7px}.shell:has(#attendance-live) .top-tools>.search-box kbd{display:none}.shell:has(#attendance-live) .top-tools>.avatar{display:none}.shell:has(#attendance-live) .content{padding:12px 10px 24px}.att-hero{padding:21px 18px 18px;min-height:215px}.att-overview-head>.att-hero-actions{top:18px;right:16px;gap:4px}.att-hero-actions>.btn{font-size:8px;padding:7px;gap:4px;min-height:30px}.att-hero-actions .icon{width:12px;height:12px}.att-eyebrow{font-size:8px;letter-spacing:1px}.att-hero h1{font-size:25px;margin-top:31px;letter-spacing:-.8px}.att-hero-copy>p{font-size:11px;max-width:400px}.att-hero-bottom{gap:9px;margin-top:14px}.att-hero .att-period{min-width:170px;max-width:230px;padding:6px;gap:6px}.att-hero-project{min-width:150px;max-width:200px;padding:7px 10px}.att-stats{gap:7px}.att-stat{min-height:125px;padding:11px 9px;grid-template-columns:23px minmax(0,1fr);gap:6px}.att-stat .stat-icon{width:23px;height:23px}.att-stat .att-stat-title{font-size:9px}.att-stat strong{font-size:27px}.att-stat small{font-size:8px;padding-right:12px}.att-spark{width:34px;height:33px;right:7px;gap:2px;bottom:24px;opacity:.25}.att-card-illustration{right:7px;bottom:29px}.att-card-illustration>.icon{width:35px;height:35px}.att-week-change{display:none}.att-connection-bar{font-size:9px;padding:7px 9px;gap:8px}.att-connection-tools{gap:7px}.att-connection-tools .btn{padding:4px 6px;font-size:8px}.att-connection-state{font-size:8px;padding:3px 5px}.att-filters>.filters{gap:8px;padding:9px}.att-filters .att-modes .btn{font-size:9px;padding:6px 7px;min-height:31px}.att-filters [data-att-clear]{font-size:9px;padding:6px;gap:4px}.att-filters [data-att-clear] .icon{width:12px}.att-filters>.filters>.att-select{min-width:90px}.att-chart-grid{gap:9px;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr)}.att-chart-grid>.card{padding:0 11px 12px}.att-chart-grid .card-header>h2{font-size:12px}.att-chart-grid>.card>p.small{font-size:8px}.att-presence{grid-template-columns:1fr;gap:8px;min-height:0;padding:12px 0}.att-donut{width:105px;height:105px}.att-donut-core{width:83px;height:83px}.att-donut-core strong{font-size:25px}.att-presence-legend .summary-row{font-size:9px;margin:3px 0;padding:4px 6px}.att-bar-column>small{font-size:7px}.att-y-axis{font-size:8px}.att-bars{gap:5px}.att-chart-area{grid-template-columns:30px minmax(0,1fr);gap:3px}.att-chart-grid .legend{font-size:8px;gap:8px}.att-list .card-header h2{font-size:13px}
}
@media(min-width:761px) and (max-width:1366px){.shell:has(#attendance-live) .att-list .card-header .search-box{display:flex;flex:1;max-width:none;min-width:140px;align-items:center;border:1px solid var(--line);border-radius:8px;padding:5px 9px;background:var(--surface)}.shell:has(#attendance-live) .att-list .search-box>input{display:block;flex:1;width:100%;min-width:0;font-size:11px!important}.shell:has(#attendance-live) .att-list .search-box>.icon{width:16px;height:16px;flex:none}.shell:has(#attendance-live) .top-tools>.search-box{order:-1;border:1px solid var(--line);border-radius:9px;background:var(--bg)}.shell:has(#attendance-live) .top-tools>.search-box>.icon{flex:none;width:15px;height:15px}.shell:has(#attendance-live) .top-tools>.search-box kbd{flex:none;white-space:nowrap;width:auto;padding:2px 5px;line-height:1}#attendance-live>.skeleton{order:6}}
.att-hero-today{position:relative;cursor:pointer}.att-hero-today>input[data-att-day-input]{position:absolute;inset:0;width:100%;height:100%;margin:0;padding:0;opacity:0;cursor:pointer;border:0}.att-hero-today>input[data-att-day-input]::-webkit-calendar-picker-indicator{position:absolute;inset:0;width:100%;height:100%;margin:0;padding:0;cursor:pointer}.att-hero-today:focus-within{outline:2px solid var(--att-hero-white);outline-offset:3px}
