:root {
  --ink:#102f25;--canvas:#eef7ef;--paper:#fff;--surface:#f8fcf8;--muted:#49675a;
  --line:#d7e8db;--cherry:#17734f;--rose-deep:#0d5940;--accent-soft:#e3f3e4;
  --focus:#8d3655;--field-glass:#fff6faee;
  font-family:-apple-system,BlinkMacSystemFont,Geist,sans-serif;
}
body,body.signed-out{font-family:-apple-system,BlinkMacSystemFont,Geist,sans-serif;background:var(--canvas)}
#login .login-story{background:#e0f2e3}#login .login-card{background:#f8fff8f0}#login .login-story h2,#login .login-story p{color:var(--rose-deep)}
#summary .stat:first-child{background:#e1f3de}
#attendance-page .working{background:#dcf2dd;color:#215a3b}
#attendance-page .filters :is(input,select){background-color:#f8fcf7;border-color:#9ab9a5}
#attendance-page th{background:#e9f4ec}
@media(max-width:760px){#attendance-page #rows td[data-label]{background-color:#e9f4ec}}
.field-symbols{position:absolute;width:0;height:0;overflow:hidden}
:is(#shell-sidebar,#home-page) svg{width:22px;height:22px;flex:none;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.field-brand-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:#075337;color:white}
.field-brand-icon svg{width:25px;height:25px}
#shell-sidebar{max-width:none;position:relative;z-index:10;padding:16px 24px;grid-template-columns:1fr auto 1fr}
#shell-sidebar .brand{justify-self:start;gap:10px}
#shell-sidebar .brand-wordmark{font-size:1.25rem;font-weight:700;letter-spacing:-.035em;line-height:1.5rem;color:#0b452e}
#workspace-nav{flex-wrap:nowrap;border:1px solid #ffffffde;background:#f4fff2aa;border-radius:999px;box-shadow:0 8px 26px #29694b25;padding:4px;gap:2px}
#workspace-nav .nav-item{display:flex;align-items:center;justify-content:center;gap:7px;border-radius:999px;background:transparent;font-weight:600;font-size:.875rem;padding:8px 12px;color:#173c2d}
#workspace-nav .nav-item svg{width:19px;height:19px}
#workspace-nav .nav-item.active,#workspace-nav .nav-item.active:hover{background:#f2dce6;color:#69314d;box-shadow:inset 0 1px 2px #fff,0 4px 10px #54203918}
#workspace-nav .nav-item:hover{background:#ffffffb5;color:#153220}
#shell-header{justify-self:end;flex-wrap:nowrap;max-width:none}
#shell-header details{position:relative}
#shell-header details summary{display:flex;gap:6px;align-items:center;justify-content:center;list-style:none;cursor:pointer;min-height:40px;border-radius:999px;border:1px solid #ffffffcc;background:#f2fff1ba;padding:6px 9px;color:#155136;box-shadow:0 4px 14px #29694b1a;backdrop-filter:blur(16px)}
#shell-header summary::-webkit-details-marker{display:none}
#field-account-initials{display:grid;place-items:center;min-width:31px;height:31px;padding:0 4px;border-radius:50%;color:#fff;background:#095739;font-size:.75rem;font-weight:650}
#shell-header .field-account summary svg{width:16px;height:16px}
#shell-header details>:not(summary){position:absolute;top:calc(100% + 8px);right:0;width:198px;margin:0;display:grid;gap:8px;background:#f6fff6;color:var(--ink);padding:12px;border:1px solid white;border-radius:12px;box-shadow:0 10px 24px #183b2b36}
#shell-header details:not([open])>:not(summary){display:none}
#shell-header details button{background:#e8f4e9;border:1px solid #d5e7da}
#field-notifications[data-unread] summary::after{content:"";position:absolute;right:1px;top:0;background:#a64869;width:11px;height:11px;border-radius:50%}
#workspace-menu{border-radius:999px;background:#f2fff1c4}
body.field-home #shell-sidebar {background:#f8eaf1;max-width:none}
body.field-home #workspace-main {max-width:none;padding:0}
#home-page {
  position:relative;isolation:isolate;min-height:max(710px,calc(100dvh - 95px));overflow:hidden;
  background:#e8dce2;color:#38232d;
}
.field-glass {
  background:var(--field-glass);border:1px solid #fff;border-radius:18px;
  box-shadow:0 8px 24px #2c142229;
}
.field-left {position:absolute;top:54px;left:24px;width:clamp(215px,20vw,292px);z-index:2;display:grid;gap:12px}
.field-greeting {
  position:relative;display:block;height:auto;margin:0;padding:20px;border:1px solid #fff;
  letter-spacing:normal;color:#563c4a;
}
.field-greeting p {margin:0 0 6px;font-size:.9rem}
#home-page .field-greeting h1 {margin:0;font-size:clamp(1.4rem,2.1vw,2rem);line-height:1.05;letter-spacing:-.05em;color:#38232d;overflow-wrap:anywhere}
.field-summary {display:grid;grid-template-columns:1fr 1fr;gap:8px}
.field-summary article {display:flex;align-items:center;gap:6px;min-width:0;padding:11px 8px}
.field-summary p {font-size:.72rem;margin:0 0 4px;color:#563c4a}
.field-summary strong {font-size:1.32rem;line-height:1}
.field-stat-icon {display:grid;place-items:center;width:29px;height:29px;border-radius:50%;flex:none}
#home-page .field-stat-icon svg {width:16px;height:16px}
.green {color:#195742;background:#dcece4}
.amber {color:#735213;background:#f2e5c7}
.rose,.violet {color:#803c5a;background:#f2dce7}
.field-chart {padding:14px 12px 10px}
.field-chart-head,.field-team-title {display:flex;align-items:center;justify-content:space-between;gap:8px}
.field-chart h2,.field-team h2 {margin:0;font-size:1rem;line-height:1.2;letter-spacing:-.03em;color:#38232d}
.field-month {display:flex;align-items:center;gap:2px;background:#f4e1eb;border-radius:999px;padding:0 3px;font-size:.68rem;white-space:nowrap}
#home-page .field-month button,.field-team-title button {min-height:33px;min-width:26px;padding:0;border:0;background:transparent;color:#63374e;font-size:1.1rem}
.field-chart > p {margin:8px 0 0;color:#604554;font-size:.75rem}
.field-chart-body {margin-top:7px}
#home-page .field-chart-body svg {display:block;width:100%;height:auto;stroke:none;fill:currentColor}
.field-chart-message:empty {display:none}
.field-map-area {position:absolute;inset:0;z-index:1}
.field-map,.field-markers {position:absolute;inset:0;overflow:hidden}
.field-basemap {position:absolute;left:0;top:0;max-width:none;border:0;transform-origin:top left;pointer-events:none}
.field-markers {pointer-events:none}
#home-page .field-marker {
  position:absolute;translate:-50% -100%;display:grid;place-items:center;min-height:0;
  width:37px;height:37px;padding:5px;border:2px solid white;border-radius:12px;
  background:#f6e2ec;color:#6c2f4b;box-shadow:0 3px 9px #20172165;pointer-events:auto;
}
#home-page .field-marker::after {
  content:"";position:absolute;bottom:-5px;width:7px;height:7px;rotate:45deg;
  background:inherit;border-bottom:1px solid white;border-right:1px solid white;
}
#home-page .field-marker-person {width:44px;height:44px;border-radius:50%;border:3px solid #367760;background:#edf8f0}
.field-marker-person img {width:100%;height:100%;object-fit:contain}
#home-page .field-marker[aria-pressed=true] {outline:2px solid #fff;outline-offset:3px}
#home-page .field-marker:focus-visible {outline:3px solid #723652;outline-offset:3px}
.field-marker-count {position:absolute;right:-7px;top:-6px;display:grid;place-items:center;min-width:20px;height:20px;padding:0 3px;border:1px solid white;border-radius:999px;background:#743b58;color:white;font-size:.65rem}
.field-marker-shop-badge {position:absolute;left:-6px;bottom:-3px;display:grid;place-items:center;width:19px;height:19px;border:1px solid white;border-radius:6px;background:#f6e2ec;color:#6c2f4b;z-index:1}
#home-page .field-marker-shop-badge svg {width:13px;height:13px}
.field-marker-number {font-weight:700}
.field-map-switch {
  position:absolute;bottom:48px;left:50%;transform:translateX(-50%);
  display:flex;gap:4px;padding:4px;border:1px solid white;border-radius:13px;background:#fff8fb;
  box-shadow:0 5px 16px #40233530;
}
#home-page .field-map-switch button {min-height:34px;padding:6px 10px;border:0;border-radius:8px;background:transparent;color:#59364a;white-space:nowrap}
#home-page .field-map-switch button[aria-pressed=true] {background:#eed5e2;color:#62304c}
.field-map-message,.field-error,.field-demo {position:absolute;z-index:4;margin:0;padding:8px 11px;font-size:.76rem}
.field-map-message {top:14px;left:50%;transform:translateX(-50%);text-align:center}
.field-error {bottom:13px;left:18px;color:#732733}
.field-demo {bottom:46px;left:22px}
.field-team {position:absolute;inset:24px 24px auto auto;width:clamp(235px,21vw,310px);height:auto;max-height:calc(100% - 100px);overflow:auto;z-index:2;padding:15px;color:#38232d}
.field-team-title {margin-bottom:10px}
.field-team-detail {padding:11px;border:1px solid #fff;border-radius:14px;background:#fff9fb}
.field-person {display:flex;gap:9px;align-items:center;min-width:0}
.field-person img,.field-initials {width:47px;height:47px;flex:none;object-fit:contain;border-radius:50%;background:#f1dce7}
.field-initials {display:grid;place-items:center;font-weight:650}
.field-person h3 {margin:2px 0 5px;font-size:1.05rem;line-height:1.1;overflow-wrap:anywhere}
.field-person p {margin:0;color:#644857;font-size:.74rem}
.field-status {display:inline-flex;padding:3px 7px;border-radius:999px;background:#e4efe9;color:#235741;font-size:.68rem;font-weight:650}
.field-status[data-state=break] {background:#fff0ca;color:#754b11}
.field-status[data-state=leave] {background:#f7e0ea;color:#79294e}
.field-team-detail dl {margin:10px 0 0}
.field-team-detail dl div {display:grid;grid-template-columns:auto 1fr;gap:8px;padding:8px 0;border-top:1px solid #e5cfd9;font-size:.76rem}
.field-team-detail dt {display:flex;align-items:center;gap:4px}
#home-page .field-team-detail dt svg,.field-team-actions svg {width:15px;height:15px}
.field-team-detail dd {margin:0;text-align:right;font-weight:650;overflow-wrap:anywhere}
.field-team-actions:not(:empty) {display:flex;gap:6px;justify-content:flex-end;margin-top:6px}
.field-team-actions a {display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#f2dce7;color:#6e3351}
.field-roster {display:grid;gap:4px;margin:0 0 8px;max-height:220px;overflow:auto}
#home-page .field-roster button {min-height:36px;text-align:left;padding:5px 8px;background:#fff8fb;border:1px solid #ead5df;font-size:.74rem}
#home-page .field-roster button[aria-pressed=true] {background:#eed6e2}
.field-empty {margin:0;color:#644857;font-size:.78rem}
@media(max-width:1250px){
  #workspace-nav .nav-item{gap:4px;padding-inline:7px;font-size:.8rem}
  #workspace-nav .nav-item svg{width:16px;height:16px}
}
@media(max-width:1080px){
  #shell-sidebar{grid-template-columns:1fr auto}
  #shell-header{justify-self:start}
  #workspace-nav{border-radius:16px;grid-template-columns:repeat(2,minmax(0,1fr));width:min(100%,480px)!important}
  #workspace-nav .nav-item{justify-content:flex-start;padding-inline:12px}
  #workspace-menu[aria-expanded=true]~#shell-header{grid-column:1/-1}
}
@media(max-width:900px){
  #home-page{display:grid;grid-template-columns:1fr 1fr;gap:12px;min-height:0;padding:12px}
  .field-map-area,.field-left,.field-team,.field-error,.field-demo{position:relative;inset:auto;width:auto}
  .field-map-area{grid-column:1/-1;grid-row:1;aspect-ratio:1440/824;border-radius:14px;overflow:hidden}
  .field-team{max-height:none;align-self:start}
  .field-map-switch{bottom:20px}
  .field-error,.field-demo{grid-column:1/-1;justify-self:start}
}
@media(max-width:530px){
  #home-page{display:flex;flex-direction:column}
  .field-team{order:1;width:100%}
  .field-left{order:2}
  .field-demo,.field-error{order:3;align-self:start}
  .field-chart-body{max-width:420px;margin-inline:auto}
  #home-page .field-marker{width:28px;height:28px;padding:3px}
  #home-page .field-marker-person{width:33px;height:33px}
  #home-page .field-marker svg{width:17px;height:17px}
  #home-page .field-map-switch button{min-height:28px;font-size:.72rem}
}
