/* Independent application design system. Public homepage and legacy CSS are untouched. */
@font-face{
  font-family:Geist;
  src:url('fonts/geist-latin-wght-normal.woff2') format('woff2');
  font-weight:100 900;
  font-display:swap
}
@font-face{
  font-family:Geist;
  src:url('fonts/geist-latin-ext-wght-normal.woff2') format('woff2');
  font-weight:100 900;
  font-display:swap;
  unicode-range:U+0100-024F
}
@font-face{
  font-family:Bricolage;
  src:url('fonts/bricolage-grotesque-latin-wght-normal.woff2') format('woff2');
  font-weight:200 800;
  font-display:swap
}
@font-face{
  font-family:Bricolage;
  src:url('fonts/bricolage-grotesque-latin-ext-wght-normal.woff2') format('woff2');
  font-weight:200 800;
  font-display:swap;
  unicode-range:U+0100-024F
}
:root{
  --navy:#13273e;
  --ink:#21354a;
  --muted:#627383;
  --green:#087c59;
  --line:#e3e9ed;
  --canvas:#f5f7fa;
  --white:#fff;
  --radius:18px
}
*{
  box-sizing:border-box
}
html{
  scroll-padding-top:100px
}
body.safetery-app{
  margin:0;
  background:var(--canvas);
  color:var(--ink);
  font:14px/1.55 Geist,system-ui,sans-serif
}
a{
  color:inherit;
  text-decoration:none
}
button,input{
  font:inherit
}
button,a,input{
  touch-action:manipulation
}
button{
  cursor:pointer
}
a:focus-visible,button:focus-visible,input:focus-visible,main:focus-visible{
  outline:3px solid #27987d;
  outline-offset:4px
}
h1,h2,h3,p{
  margin-top:0
}
h1,h2,h3{
  color:var(--navy)
}
h1{
  font:700 clamp(27px,3vw,36px)/1.2 Bricolage,Geist,sans-serif;
  letter-spacing:-1px;
  margin-bottom:10px
}
h2{
  font-size:19px;
  letter-spacing:-.4px;
  margin-bottom:0
}
h3{
  font-size:17px;
  margin-bottom:16px
}
p{
  margin-bottom:12px
}
.app-icon{
  width:21px;
  height:21px;
  flex-shrink:0;
  vertical-align:middle
}
.subtle,small{
  color:var(--muted)
}
.sr-only{
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip:rect(0,0,0,0)
}
.skip-link{
  position:fixed;
  top:-100px;
  left:20px;
  z-index:20;
  padding:12px;
  background:white;
  border-radius:8px
}
.skip-link:focus{
  top:12px
}
.app-sidebar{
  position:fixed;
  inset:0 auto 0 0;
  width:248px;
  background:var(--navy);
  color:#b9c8d5;
  padding:30px 18px 20px;
  display:flex;
  flex-direction:column;
  z-index:5;
  overflow-y:auto
}
.app-brand{
  display:flex;
  align-items:center;
  gap:10px;
  color:white;
  padding:0 8px;
  margin-bottom:44px;
  font-size:20px;
  font-weight:750;
  letter-spacing:1.1px
}
.app-brand img{
  object-fit:contain
}
.app-brand small{
  display:block;
  font-size:10px;
  letter-spacing:0;
  font-weight:400;
  color:#a8bccb;
  max-width:155px;
  margin-top:3px
}
.nav-caption{
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:1.5px;
  padding-left:14px;
  margin-bottom:12px
}
.app-sidebar nav{
  display:grid;
  gap:5px
}
.app-sidebar nav a{
  display:flex;
  align-items:center;
  gap:13px;
  min-height:47px;
  padding:12px 14px;
  border-radius:10px;
  font-size:13px;
  font-weight:500
}
.app-sidebar nav a:hover{
  color:white;
  background:#20384e
}
.app-sidebar nav a[aria-current]{
  background:#234b49;
  color:#c9f3de;
  box-shadow:inset 3px 0 #61c89c
}
.sidebar-note{
  margin:36px 10px 28px;
  padding:18px 12px;
  border:1px solid #345063;
  border-radius:12px;
  font-size:12px
}
.sidebar-note .app-icon{
  display:block;
  color:#7edbb0;
  margin-bottom:12px
}
.sidebar-note strong{
  display:block;
  color:#e9f2f5;
  margin-bottom:6px
}
.sidebar-note p{
  margin:0;
  color:#acbecc;
  font-size:11px
}
.side-secondary{
  margin-top:auto
}
.sidebar-logout{
  border-top:1px solid #2e4356;
  margin:18px 8px 0;
  padding-top:12px
}
.sidebar-logout button{
  display:flex;
  align-items:center;
  gap:12px;
  border:0;
  color:#c3ced8;
  background:none;
  min-height:44px;
  width:100%;
  text-align:left;
  padding:10px 6px
}
.app-workspace{
  margin-left:248px;
  min-width:0
}
.app-topbar{
  position:sticky;
  top:0;
  z-index:4;
  height:82px;
  background:rgba(255,255,255,.96);
  border-bottom:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 38px;
  gap:16px
}
.desktop-crumb{
  color:var(--muted);
  font-size:12px
}
.desktop-crumb>span{
  padding:0 12px;
  color:#bac6ce
}
.topbar-actions{
  display:flex;
  align-items:center;
  gap:20px;
  min-width:0
}
.language-menu{
  display:flex;
  gap:2px
}
.language-button{
  border:0;
  background:none;
  color:var(--muted);
  font-size:11px;
  font-weight:600;
  min-width:32px;
  min-height:44px;
  padding:8px 5px;
  border-radius:8px
}
.language-button.active{
  color:var(--green);
  background:#edf7f2
}
.notification-link{
  position:relative;
  display:grid;
  place-items:center;
  min-width:44px;
  height:44px;
  border:1px solid var(--line);
  border-radius:12px;
  color:var(--muted)
}
.notification-count{
  position:absolute;
  right:-5px;
  top:-5px;
  background:var(--green);
  color:white;
  border-radius:20px;
  padding:1px 5px;
  font-size:10px
}
.profile-link{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:600;
  min-width:0
}
.avatar{
  display:grid;
  place-items:center;
  width:38px;
  height:38px;
  background:#e6f2eb;
  color:var(--green);
  border-radius:50%;
  flex-shrink:0
}
.profile-name{
  max-width:125px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap
}
.profile-summary{display:grid;min-width:0}
.profile-email{display:block;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:400;color:var(--muted)}
.mobile-brand,.bottom-nav{
  display:none
}
.app-content{
  max-width:1600px;
  margin:auto;
  padding:38px;
  min-width:0
}
.page-heading{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:24px;
  margin-bottom:30px
}
.page-heading>div{
  min-width:0
}
.greeting{
  color:var(--green);
  font-weight:600;
  margin-bottom:8px
}
.page-heading .subtle{
  margin-bottom:0
}
.actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap
}
.dashboard-heading-actions{
  justify-content:flex-end;
  max-width:270px
}
.button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:44px;
  padding:11px 17px;
  border:1px solid var(--green);
  border-radius:10px;
  background:var(--green);
  color:white;
  font-size:13px;
  font-weight:600;
  text-align:center
}
.button:hover{
  background:#056345
}
.button.secondary{
  background:white;
  color:var(--ink);
  border-color:var(--line)
}
.button.secondary:hover{
  background:#f0f5f4
}
.button .app-icon{
  width:18px;
  height:18px
}
.stats{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;
  margin-bottom:26px
}
.stat{
  background:white;
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:22px;
  box-shadow:0 3px 12px #13273e03
}
.stat-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:8px;
  color:var(--muted);
  font-size:12px;
  font-weight:500
}
.stat-icon{
  display:grid;
  place-items:center;
  width:35px;
  height:35px;
  border-radius:10px;
  background:#eef2f6;
  color:#52708b;
  flex-shrink:0
}
.stat>strong{
  display:block;
  font:700 36px/1.3 Bricolage,Geist,sans-serif;
  letter-spacing:-1px;
  margin:13px 0 5px
}
.stat small{
  font-size:11px
}
.stat.ok .stat-icon{
  background:#eaf7ef;
  color:#087c59
}
.stat.soon .stat-icon{
  background:#fff6df;
  color:#996600
}
.stat.expired .stat-icon{
  background:#fff0ee;
  color:#bd433a
}
.stat:hover{
  border-color:#b3c9c0
}
.panel{
  background:white;
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:24px;
  min-width:0
}
.dashboard-overview{
  display:grid;
  grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);
  gap:22px;
  margin-bottom:24px
}
.section-heading{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
  margin-bottom:20px
}
.section-heading .subtle{
  font-size:11px;
  text-align:right
}
.section-kicker{
  color:var(--muted);
  font-size:10px;
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:1.5px;
  margin-bottom:5px
}
.upcoming-row{
  display:flex;
  align-items:center;
  gap:12px;
  padding:18px 0;
  border-top:1px solid #edf1f4
}
.row-icon{
  display:grid;
  place-items:center;
  width:38px;
  height:38px;
  flex-shrink:0;
  border-radius:12px;
  background:#f0f5f6;
  color:#547281
}
.row-description{
  flex:1;
  min-width:0
}
.row-description strong{
  display:block;
  font-size:13px;
  overflow-wrap:anywhere
}
.row-description small{
  display:block;
  font-size:11px;
  overflow-wrap:anywhere;
  margin-top:3px
}
.upcoming-date{
  flex-shrink:0;
  display:grid;
  gap:4px;
  text-align:right;
  font-size:12px
}
.badge{
  display:inline-flex;
  align-items:center;
  border-radius:6px;
  padding:3px 8px;
  font-size:11px;
  font-weight:600;
  width:fit-content
}
.badge.ok{
  background:#edf7f1;
  color:#08764e
}
.badge.soon{
  background:#fff5de;
  color:#876000
}
.badge.expired{
  background:#fff0ee;
  color:#b63e34
}
.upcoming-date .badge{
  margin-left:auto
}
.activity-explanation{
  font-size:12px;
  margin-top:-8px
}
.activity-row{
  display:flex;
  align-items:flex-start;
  gap:12px;
  padding:16px 0;
  border-top:1px solid #edf1f4
}
.activity-dot{
  background:var(--green);
  width:8px;
  height:8px;
  border:4px solid #e6f3ec;
  box-sizing:content-box;
  border-radius:50%;
  margin-top:4px;
  flex-shrink:0
}
.activity-row>div{
  flex:1;
  min-width:0;
  overflow-wrap:anywhere
}
.activity-row strong{
  font-size:13px
}
.activity-row p{
  font-size:12px;
  margin:3px 0
}
.activity-row small{
  font-size:11px
}
.activity-row>.app-icon{
  width:15px;
  margin-top:5px;
  color:#80909e
}
.quiet-empty{
  text-align:center;
  padding:26px 10px;
  color:var(--muted)
}
.quiet-empty>.app-icon{
  width:32px;
  height:32px;
  color:#a9bbc5
}
.quiet-empty p{
  max-width:290px;
  margin:15px auto;
  font-size:13px
}
.section-count{
  border-radius:8px;
  background:#edf6f1;
  color:var(--green);
  padding:4px 10px;
  font-weight:600
}
.reminder-section{
  margin-bottom:32px
}
.reminder-section h2{
  display:flex;
  align-items:center;
  gap:9px
}
.reminders-empty{
  display:flex;
  align-items:center;
  gap:12px;
  background:#f3f8f5;
  color:var(--green);
  padding:18px;
  border-radius:12px
}
.reminders-empty p{
  margin:0;
  font-size:13px
}
.reminder-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px
}
.reminder-card{
  border:1px solid #ecd9a9;
  border-left:3px solid #b28a24;
  border-radius:12px;
  background:#fffdf7;
  padding:20px;
  min-width:0
}
.reminder-urgent,.reminder-overdue{
  border-color:#edc6bf;
  border-left-color:#bc4437;
  background:#fff8f6
}
.reminder-near{
  border-left-color:#bc8130
}
.reminder-card-heading{
  display:flex;
  align-items:center;
  gap:9px;
  margin-bottom:16px
}
.reminder-card-heading h3{
  margin:0;
  overflow-wrap:anywhere
}
.reminder-icon{
  color:#9b741c
}
.reminder-urgent .reminder-icon,.reminder-overdue .reminder-icon{
  color:#bc4437
}
.reminder-meta{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  font-size:12px
}
.reminder-meta>div{
  min-width:0
}
dt{
  color:var(--muted);
  font-size:11px
}
dd{
  margin:3px 0 0;
  overflow-wrap:anywhere
}
.reminder-message{
  font-size:16px;
  font-weight:600;
  line-height:1.6
}
.reminder-day-count{
  font-size:23px
}
.reminder-reason{
  font-size:11px;
  color:var(--muted);
  border-top:1px solid #e8dfcc;
  padding-top:12px;
  margin-bottom:15px
}
.reminder-reason p{
  margin:4px 0
}
.reminder-open{
  background:white;
  color:var(--ink);
  border-color:#d7dfdc;
  font-size:12px
}
.reminder-open:hover{
  color:white
}
.dashboard-tools{
  padding:18px 20px;
  margin-bottom:18px
}
.dashboard-tools label{
  font-size:12px;
  font-weight:600;
  display:block;
  margin-bottom:9px
}
.search-row{
  display:flex;
  gap:10px
}
.search-row input{
  min-width:0;
  flex:1;
  border:1px solid var(--line);
  border-radius:9px;
  padding:12px 14px;
  min-height:44px;
  background:#fafcfd;
  color:var(--ink)
}
.filter-buttons{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-top:12px
}
.filter-button{
  min-height:44px;
  border:0;
  border-radius:8px;
  background:#f2f5f7;
  padding:10px 14px;
  font-size:12px;
  color:var(--muted);
  font-weight:500
}
.filter-button.active{
  background:#e8f5ee;
  color:#076448
}
.reset-link{
  font-size:12px;
  align-self:center;
  padding:12px;
  color:var(--green)
}
.item-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px
}
.item-card{
  display:flex;
  flex-direction:column;
  padding:22px;
  position:relative;
  overflow:hidden
}
.item-card h3{
  overflow-wrap:anywhere;
  margin:15px 0
}
.item-photo{
  width:100%;
  height:145px;
  object-fit:cover;
  border-radius:10px;
  margin-bottom:15px
}
.card-meta{
  margin:0 0 18px;
  display:grid;
  gap:10px
}
.card-meta dd{
  font-size:14px
}
.card-deadline{
  border-top:1px solid var(--line);
  padding-top:14px;
  display:grid;
  gap:4px;
  margin-top:auto
}
.card-deadline>span{
  font-size:11px;
  color:var(--muted)
}
.card-deadline strong{
  font-size:18px;
  letter-spacing:-.4px
}
.card-deadline small{
  font-size:14px
}
.card-open{
  margin-top:15px;
  padding:12px 0;
  min-height:44px;
  border-top:1px solid var(--line);
  font-size:12px;
  font-weight:600;
  color:var(--green)
}
.empty{
  text-align:center;
  padding:40px 25px
}
.empty-icon{
  display:grid;
  place-items:center;
  border-radius:16px;
  background:#eef6f2;
  color:var(--green);
  width:56px;
  height:56px;
  margin:0 auto 20px
}
.empty p{
  max-width:450px;
  margin:0 auto 20px
}
.alert{
  padding:14px 18px;
  background:#eaf6ef;
  border:1px solid #c0e2cd;
  border-radius:10px;
  margin-bottom:20px
}
.alert.error{
  background:#fff0ee;
  border-color:#edc6bf
}
.app-footer{
  display:flex;
  justify-content:space-between;
  gap:16px;
  padding:32px 0 0;
  color:#7d8c99;
  font-size:10px
}
.app-footer>span:first-child{
  font-weight:700;
  letter-spacing:1px
}
.placeholder-panel{
  min-height:350px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:14px;
  justify-content:center;
  padding:40px
}
.placeholder-panel>.app-icon{
  width:42px;
  height:42px;
  color:var(--green)
}
.placeholder-panel h2,.placeholder-panel p{
  margin:0
}
.profile-data{
  width:100%;
  max-width:450px
}
.profile-data>div{
  padding:12px 0;
  border-bottom:1px solid var(--line)
}
[id]{
  scroll-margin-top:100px
}
@media(min-width:1500px){
  .dashboard-heading-actions{
  max-width:none
}
}
@media(max-width:1150px){
  .app-sidebar{
  width:216px;
  padding-left:12px;
  padding-right:12px
}
.app-workspace{
  margin-left:216px
}
.app-content{
  padding:28px
}
.app-topbar{
  padding:0 28px
}
.stats{
  gap:12px
}
.stat{
  padding:17px
}
.stat-top{
  align-items:flex-start
}
.stat-top>span:first-child{
  max-width:75px
}
.dashboard-overview{
  grid-template-columns:minmax(0,1fr)
}
.item-grid{
  grid-template-columns:repeat(2,minmax(0,1fr))
}
.topbar-actions{
  gap:12px
}
.profile-name{
  max-width:80px
}
}
@media(max-width:900px){
  .profile-summary{display:none}
  .app-sidebar{
  display:none
}
.app-workspace{
  margin-left:0
}
.app-topbar{
  height:70px;
  padding:0 24px
}
.desktop-crumb{
  display:none
}
.mobile-brand{
  display:block;
  font-size:16px;
  font-weight:750;
  letter-spacing:.8px;
  color:var(--navy)
}
.profile-name{
  display:none
}
.app-content{
  padding:28px 24px calc(110px + env(safe-area-inset-bottom))
}
.bottom-nav{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  position:fixed;
  bottom:0;
  left:0;
  right:0;
  z-index:8;
  border-top:1px solid var(--line);
  background:white;
  padding:8px 8px calc(8px + env(safe-area-inset-bottom));
  box-shadow:0 -5px 24px #13273e06
}
.bottom-nav>a{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:5px;
  min-height:52px;
  color:var(--muted);
  font-size:10px;
  font-weight:500;
  min-width:0
}
.bottom-nav>a[aria-current]{
  color:var(--green)
}
.bottom-nav>a[aria-current] .app-icon{
  stroke-width:2.3
}
.bottom-nav .quick-add>span{
  display:grid;
  place-items:center;
  width:46px;
  height:46px;
  border-radius:14px;
  background:var(--green);
  color:white;
  box-shadow:0 4px 10px #087c5925
}
.bottom-nav .app-icon{
  width:22px;
  height:22px
}
}
@media(max-width:600px){
  .app-topbar{
  height:65px;
  padding:0 16px;
  gap:8px
}
.mobile-brand{
  font-size:13px
}
.topbar-actions{
  gap:7px
}
.language-button{
  min-width:27px;
  font-size:10px
}
.notification-link{
  min-width:36px;
  width:36px;
  height:40px;
  border:0
}
.avatar{
  width:32px;
  height:32px
}
.app-content{
  padding:24px 16px calc(104px + env(safe-area-inset-bottom))
}
.page-heading{
  display:block;
  margin-bottom:24px
}
.greeting{
  font-size:12px
}
.page-heading .subtle{
  font-size:12px;
  line-height:1.7
}
.dashboard-heading-actions{
  max-width:none;
  justify-content:flex-start;
  margin-top:20px
}
.dashboard-heading-actions .button{
  font-size:12px;
  flex:1
}
.dashboard-heading-actions .secondary{
  flex-basis:100%
}
.stats{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  margin-bottom:20px
}
.stat{
  padding:16px;
  border-radius:14px
}
.stat-top{
  font-size:11px;
  align-items:center;
  gap:4px
}
.stat-top>span:first-child{
  max-width:none;
  flex:1
}
.stat-icon{
  width:29px;
  height:29px;
  border-radius:8px
}
.stat-icon .app-icon{
  width:17px;
  height:17px
}
.stat>strong{
  font-size:31px;
  margin:8px 0 4px
}
.stat small{
  font-size:10px
}
.panel{
  padding:20px 16px;
  border-radius:14px
}
.dashboard-overview{
  gap:18px;
  margin-bottom:18px
}
.section-heading{
  gap:8px;
  align-items:flex-start
}
.section-heading h2{
  font-size:17px
}
.section-heading>.subtle{
  max-width:100px;
  font-size:10px
}
.section-kicker{
  font-size:9px
}
.row-icon{
  width:32px;
  height:32px;
  border-radius:9px
}
.upcoming-row{
  gap:8px
}
.row-description strong{
  font-size:12px
}
.row-description small{
  font-size:10px
}
.upcoming-date{
  font-size:11px
}
.upcoming-date .badge{
  font-size:10px;
  padding:3px 6px
}
.reminder-grid,.item-grid{
  grid-template-columns:minmax(0,1fr)
}
.reminder-card{
  padding:16px
}
.reminder-section{
  margin-bottom:26px
}
.reminders-empty{
  padding:14px;
  align-items:flex-start
}
.reminders-empty p{
  font-size:12px
}
.items-section>.section-heading{
  display:block
}
.items-section>.section-heading>.subtle{
  max-width:none;
  display:block;
  margin-top:8px;
  text-align:left;
  font-size:11px
}
.dashboard-tools{
  padding:16px
}
.search-row{
  gap:7px
}
.search-row input{
  font-size:12px;
  padding:11px
}
.search-row .button{
  padding:11px 13px;
  font-size:12px
}
.filter-button{
  font-size:11px;
  padding:10px
}
.filter-buttons{
  gap:4px
}
.item-card{
  padding:22px
}
.app-footer{
  display:block;
  font-size:9px
}
.app-footer>span{
  display:block;
  margin-bottom:6px
}
.placeholder-panel{
  padding:26px 20px
}
.bottom-nav>a{
  font-size:9px
}
.bottom-nav{
  padding-left:4px;
  padding-right:4px
}
}
@media(prefers-reduced-motion:reduce){
  html{
  scroll-behavior:auto
}
}
