:host,:root{color-scheme:light;font:16px/1.5 system-ui,sans-serif;color:#203b2e;background:#f5f6ef}*{box-sizing:border-box}:host{display:block}body{margin:0}header{border-bottom:1px solid #cbd3c4;display:flex;gap:18px;align-items:center;padding:16px max(5vw,20px);background:#fff}header strong{letter-spacing:.12em}header button{margin-left:auto}main{max-width:1000px;margin:52px auto;padding:0 22px}h1,h2,h3{font-family:Georgia,serif;font-weight:500;line-height:1.12}h1{font-size:clamp(38px,6vw,62px);margin:.4em 0}h2{font-size:34px}h3{font-size:24px;margin:4px 0}section{margin-bottom:32px}button,a.action{border:0;background:#234b36;color:white;padding:11px 18px;border-radius:6px;font:inherit;cursor:pointer}button:disabled{opacity:.5;cursor:wait}#out,#cancel,#remove,#people button{background:white;border:1px solid #bac4b5;color:#294637}#remove{color:#922f22}label{display:grid;gap:4px;margin:12px 0}input,select{padding:10px;border:1px solid #a4b39f;border-radius:5px;font:inherit;max-width:100%}form{background:white;padding:24px;border:1px solid #d1d9ca;border-radius:12px;max-width:560px}#notice:empty{display:none}#notice{padding:12px 16px;background:#e3ebd9;border-radius:6px}#people{margin:18px 0}#people button{margin:4px;text-align:left}.actions{display:flex;gap:8px;flex-wrap:wrap}fieldset{border:0;padding:0;margin:16px 0}legend{font-weight:650}[hidden]{display:none!important}
.staff-header { gap:12px; }
.staff-brandmark { display:grid; place-content:center; flex:0 0 50px; height:50px; overflow:hidden; border-radius:6px; background:#234b36; }
.staff-brandmark img { display:block; width:78px; height:78px; max-width:none; }
.staff-header-title { display:grid; gap:2px; line-height:1.25; }
.staff-header-title > span { font-size:.875rem; }
@media (max-width:400px) {
  .staff-header { padding:12px; }
  .staff-header #out { padding-inline:12px; }
}
/* Shared by the company staff homepage and its one-use password link. */
.account-panel {
  max-width: 30rem;
  margin: 0 auto 2rem;
  padding: clamp(1.25rem,4vw,2.5rem);
  background: #fff;
  border: 1px solid #cbd3c4;
  border-radius: 12px;
}
.account-panel h1 { margin: 1.4rem 0 .6rem; font-size: clamp(2rem,5vw,2.75rem); }
.account-panel > h1:first-child { margin-top: 0; }
.account-panel p { margin: .6rem 0 1.25rem; }
.account-panel form { border: 0; padding: 0; max-width: none; }
.account-panel label { display: block; margin: 1rem 0 .35rem; font-weight: 600; }
.account-panel input { width: 100%; min-height: 46px; }
.account-panel button { width: 100%; margin-top: 1.25rem; min-height: 46px; }
.account-panel a { color: #234b36; text-underline-offset: .18em; }
.account-nav { display: flex; gap: 1.5rem; border-bottom: 1px solid #ccd5c9; }
.account-nav a { padding: 0 .15rem .65rem; color: #536353; text-decoration: none; }
.account-nav a[aria-current="page"] { border-bottom: 3px solid #234b36; color: #203b2e; font-weight: 700; }
.account-panel .account-help { margin: .8rem 0 1rem; }
.account-panel .password-tip { border-top: 1px solid #e0e5df; padding-top: 1rem; font-size: .9rem; }
.account-panel .account-message:not(:empty) { border-left: 3px solid #507757; padding: .65rem .85rem; background: #eff3ec; }
.account-message:empty { display: none; }
.account-panel :focus-visible { outline: 3px solid #597951; outline-offset: 3px; }
.account-panel small { display: block; margin-top: .3rem; }
#systemEntry { max-width: 30rem; margin: 1rem auto; }
@font-face { font-family:'Google Sans Button'; font-style:normal; font-weight:500; font-display:swap; src:url('./fonts/google-sans-button.ttf') format('truetype'); }
#googleAccess button {
  display:flex; align-items:center; justify-content:center; gap:12px; margin-top:.25rem; padding:10px 12px; min-height:58px;
  background:#131314; color:#e3e3e3; border:1px solid #8e918f; border-radius:9px;
  font:500 16px/24px 'Google Sans Button',Arial,sans-serif; box-shadow:0 3px 10px #13131418;
}
#googleAccess button:not(:disabled):hover { background:#282829; }
.google-icon { display:grid; place-items:center; width:34px; height:34px; flex:0 0 34px; background:#fff; border-radius:50%; }
.google-icon img { display:block; width:24px; height:24px; }
#login:has(#googleAccess:not([hidden])) #send { background:#fff; color:#294637; border:1px solid #bac4b5; box-shadow:none; }
#login:has(#googleAccess:not([hidden])) #send:not(:disabled):hover { background:#f5f6ef; }
.account-panel .email-help { font-size:.875rem; color:#536353; margin:.75rem 0; }
.method-divider { display:flex; align-items:center; gap:.75rem; margin:1.5rem 0 1rem; color:#677168; font-size:.82rem; }
.method-divider::before,.method-divider::after { content:''; flex:1; border-top:1px solid #ccd5c9; }
#people {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(250px,100%),1fr));gap:8px}
#people button {display:grid;gap:3px;margin:0;overflow-wrap:anywhere}
#people small,.signin-details p {color:#46594c}
.signin-details {margin:14px 0 20px;border-block:1px solid #d5ded3;padding:12px 0}
.signin-details h4,.signin-details p {margin:0 0 5px}
.signin-details a {color:#234b36;font-weight:600}
.account-panel label.show-new-password {display:flex;align-items:center;gap:8px;font-weight:400}
.account-panel .show-new-password input {width:auto;min-height:0;margin:0}
@media(max-width: 540px) {
  main { margin: 1.5rem auto; padding: 0 1rem; }
}

main:has(#home:not([hidden])) {
  width:min(100%, 1260px); max-width:none; margin:0 auto; padding:clamp(32px,5vw,72px) clamp(18px,4vw,52px) 52px;
}
#home { color:#203f32; margin:0; }
.toolbox-heading { display:flex; align-items:flex-end; justify-content:space-between; flex-wrap:wrap; gap:14px 30px; margin-bottom:clamp(24px,3.6vw,46px); }
#toolboxTitle { font-size:clamp(48px,6.4vw,82px); line-height:1.04; letter-spacing:-.05em; margin:0; }
#toolboxTitle em { color:#547548; font-weight:400; }
.toolbox-account { display:grid; gap:2px; margin:0 0 3px; color:#42574a; overflow-wrap:anywhere; }
.toolbox-account span,.system-role dt { font-size:.75rem; font-weight:600; color:#5b685e; }
.toolbox-account strong { font-size:.9rem; font-weight:550; }
#cards { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); column-gap:clamp(12px,1.5vw,20px); row-gap:0; }
.system-card {
  --inset:clamp(15px,1.6vw,23px); display:grid; grid-template-rows:subgrid; grid-row:span 5; min-width:0; overflow:hidden;
  background:#fffefa; border:1px solid #d5dbce; border-radius:16px; margin:0 0 20px;
}
.system-picture {
  aspect-ratio:1.65; background-position:center; background-repeat:no-repeat; background-size:cover; border-bottom:1px solid #00000009;
}
.system-picture[data-system="inventory"] { background-color:#d9e6d0; background-image:url('./art/inventory.webp'); }
.system-picture[data-system="voucher"] { background-color:#f0d4c7; background-image:url('./art/voucher.webp'); }
.system-picture[data-system="leads"] { background-color:#d7e7ef; background-image:url('./art/leads.webp'); }
.system-picture[data-system="expense"] { background-color:#f1dfb5; background-image:url('./art/expense.webp'); }
.system-card h2 {
  font-size:clamp(26px,2.3vw,33px); line-height:1.08; letter-spacing:-.035em; align-self:start;
  margin:20px var(--inset) 0; font-weight:500; color:#203f32;
}
.system-description { margin:10px var(--inset) 20px; font-size:.94rem; line-height:1.46; color:#4f5d53; }
.system-role {
  margin:0 var(--inset); padding-top:13px; border-top:1px solid #dce1d5;
  display:flex; align-items:baseline; flex-wrap:wrap; column-gap:8px; row-gap:2px;
}
.system-role dd { margin:0; color:#2c4837; font-size:.86rem; font-weight:650; }
.system-launch {
  display:flex; align-items:center; justify-content:space-between; gap:8px; min-height:44px;
  margin:14px var(--inset) 18px; padding:10px 14px; border-radius:8px; font-size:.9rem; font-weight:620;
  background:#234b36; color:#fff; text-align:left;
}
.system-launch:not(:disabled)::after { content:'↗' / ''; font-size:1.24rem; line-height:1; }
.system-launch:not(:disabled):hover { background:#163a2a; }
.system-launch:focus-visible { outline:3px solid #637e45; outline-offset:3px; }
.system-launch:disabled { background:#e9ece4; color:#536052; opacity:1; cursor:default; }
.system-launch[aria-busy="true"] { background:#234b36; color:#fff; cursor:wait; }
.system-launch[aria-busy="true"]::after { content:''; width:16px; height:16px; border:2px solid #ffffff60; border-top-color:#fff; border-radius:50%; animation:staff-opening 1s linear infinite; }
@keyframes staff-opening { to { transform:rotate(360deg); } }
@media(prefers-reduced-motion:reduce) { .system-launch[aria-busy="true"]::after { animation:none; } }
#keepOpen { margin:2px 0 0; color:#556357; font-size:.86rem; }
#management { margin-top:44px; padding-top:28px; border-top:1px solid #cbd3c4; }
.management-heading { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:14px; }
.management-heading h2 { margin:0; letter-spacing:-.025em; }
@media (max-width:1050px) {
  #cards { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .system-picture { aspect-ratio:2.25; }
}
@media (min-width:581px) and (max-width:1050px) {
  .system-picture[data-system="leads"], .system-picture[data-system="expense"] { aspect-ratio:1.65; }
}
@media (max-width:580px) {
  #cards { grid-template-columns:1fr; row-gap:12px; }
  .toolbox-heading { display:grid; gap:12px; }
  .toolbox-account { display:flex; flex-wrap:wrap; align-items:baseline; gap:3px 8px; }
  .system-card {
    --inset:14px; grid-row:auto; grid-template-columns:94px minmax(0,1fr); grid-template-rows:auto 1fr auto auto;
    column-gap:14px; padding:var(--inset); margin:0; border-radius:14px; align-items:start;
  }
  .system-picture { grid-column:1; grid-row:1 / 3; width:100%; height:100%; min-height:84px; border:0; border-radius:8px; aspect-ratio:auto; }
  .system-card h2 { grid-column:2; margin:2px 0 0; font-size:1.55rem; line-height:1.12; }
  .system-description { grid-column:2; margin:5px 0 2px; font-size:.875rem; line-height:1.4; }
  .system-role { grid-column:1/-1; margin:12px 0 0; padding-top:9px; }
  .system-launch { grid-column:1/-1; margin:9px 0 0; }
  #keepOpen { margin-top:17px; }
}
.system-picture[data-system="pos"] { background-color:#d8c0c9; background-image:url('./art/pos.webp'); }
main:has(#posWorkspace:not([hidden])) {max-width:none;margin:12px auto;padding:0 14px}
.pos-toolbar {display:flex;flex-wrap:wrap;align-items:center;gap:18px}
.pos-toolbar h1 {font-size:clamp(25px,3vw,40px);margin:8px 0}
.pos-toolbar a {color:#24543c;text-underline-offset:3px}
.pos-future {font-size:14px;color:#46594a;margin:4px 0 10px}
.pos-launches {display:flex;gap:6px;flex-wrap:wrap;grid-column:1/-1;align-self:end;margin-top:12px}
.pos-launches a {padding:9px 12px;border:1px solid #bccbbd;border-radius:7px;color:#234b36;text-decoration:none;background:white}
.pos-launches a:first-child {background:#234b36;color:white;border-color:#234b36}
