#notifications-open{position:relative;display:grid;place-items:center;width:40px;height:40px;min-height:40px;padding:8px;margin-left:auto;border-color:transparent;background:transparent;color:#3d5549;flex:none}
#notifications-open:hover{background:#f1f1ec}
#notifications-open>svg{width:23px;height:23px}
#notifications-badge{position:absolute;top:0;right:0;display:grid;place-items:center;min-width:18px;height:18px;padding:0 4px;border-radius:9px;border:2px solid #fff;background:#b83c36;color:#fff;font-size:10px;font-weight:650;line-height:14px}
.sidebar-bottom{margin-top:auto;padding-top:24px;flex:none}
.sidebar-bottom .sidebar-footnote{margin-top:0;padding:0 12px 12px}
#app-sidebar #logout{display:flex;align-items:center;gap:10px;min-height:42px;width:100%;padding:10px 12px;border:0;border-top:1px solid #e9e9e4;border-radius:0;background:transparent;text-align:left;color:#576e63;font-size:13px;font-weight:500}
#app-sidebar #logout:hover{background:#f2f2ed;border-radius:7px}
#logout svg{width:20px;height:20px;flex:none}
@media(min-width:1101px){#workspace.sidebar-collapsed #logout{justify-content:center;padding:10px}#workspace.sidebar-collapsed #logout>span{display:none}}
#notification-center{position:fixed;inset:calc(var(--header-height) + 8px) 16px auto auto;margin:0;width:440px;max-width:calc(100vw - 32px);max-height:calc(100dvh - var(--header-height) - 24px);padding:0;border:1px solid #e4e4df;border-radius:14px;background:#fff;box-shadow:0 16px 64px #182c2230}
#notification-center[open]{display:flex;flex-direction:column}
#notification-center::backdrop{background:#203b2e24;backdrop-filter:none}
.notification-center-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:20px 20px 14px;flex:none}
.notification-center-head h2{font-size:18px;line-height:26px;margin:0}
.notification-center-head .muted{display:block;font-size:12px;margin-top:3px}
.notification-center-head .dialog-x{width:30px;height:30px;min-height:30px;font-size:22px}
.notification-center-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 16px 12px;border-bottom:1px solid #edede8;flex:none}
.notification-center-toolbar>div{display:flex;gap:4px}
.notification-center-toolbar button{min-height:32px;padding:6px 9px;font-size:12px;border:0;background:transparent;color:#647b70;font-weight:450;border-radius:6px}
.notification-center-toolbar [aria-pressed=true]{background:#efefea;color:#2e5241;font-weight:600}
.notification-center-toolbar #notifications-read-all{color:#3d6552;font-size:11px}
#notification-list{overflow-y:auto;min-height:100px;max-height:60dvh;overscroll-behavior:contain;scrollbar-width:thin}
.notification-entry{position:relative;border-bottom:1px solid #f2f2ed;background:#fff}
.notification-entry.is-unread{background:#f7f7f2}
.notification-entry:hover{background:#f2f2ed}
.notification-entry-open{display:flex;align-items:flex-start;gap:12px;width:100%;border:0;background:transparent;color:#465e52;text-align:left;border-radius:0;padding:17px 46px 17px 20px;font-size:13px;line-height:20px;font-weight:400;min-height:90px}
.notification-entry-open:hover{background:transparent}
.notification-entry-open>span:nth-child(2){display:flex;flex-direction:column;gap:6px;min-width:0}
.notification-entry-open strong{color:#24322b;font-size:13px;font-weight:600;line-height:20px}
.notification-entry-open small{font-size:11px;color:#758a80;margin-top:2px}
.notification-entry-open>span>span,.notification-entry-open strong{overflow-wrap:anywhere}
.notification-type-icon{width:32px;height:32px;min-width:32px;border-radius:9px;background:#e8eef0;color:#537364;display:grid;place-items:center}
.notification-type-icon svg{width:19px;height:19px}
.notification-type-icon.order_late{background:#f6ecd7;color:#967024}
.notification-type-icon.order_ready{background:#e2eee5;color:#4a7757}
.notification-type-icon.sync_error{background:#f6e7e4;color:#aa5148}
.notification-unread-dot{position:absolute;top:19px;right:19px;width:7px;height:7px;background:#466c5a;border-radius:50%}
#notification-center .notification-read-toggle{position:absolute;right:10px;bottom:14px;background:transparent;border-color:transparent;color:#618674;font-size:17px;min-height:30px;width:30px;padding:3px}
#notification-center .notification-read-toggle:hover{background:#e6e6e1}
.notification-center-pages{display:flex;align-items:center;justify-content:center;gap:14px;padding:10px 16px;font-size:11px;flex:none;border-top:1px solid #f2f2ed}
.notification-center-pages button{font-size:13px;min-height:28px;padding:4px 10px;border-color:transparent}
.notification-center-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border-top:1px solid #edede8;background:#fdfdf8;flex:none}
.notification-center-footer button{border:0;background:transparent;min-height:32px;padding:6px 8px;font-size:12px}
.notification-empty{padding:40px 24px;color:#687f74;text-align:center;font-size:13px;line-height:20px}
.notification-empty strong{display:block;color:#3c5448;font-weight:550;margin-bottom:8px}
.notification-empty p{font-size:12px;margin:0}
#notifications-error{margin:12px 16px;padding:10px 12px;font-size:12px;color:#9c453c;background:#fff0ec;border-radius:7px}
.notification-settings-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(280px,1fr);gap:20px;align-items:start}
.notification-settings-grid>article,.notification-settings-grid>aside{min-width:0}
.notification-settings-grid h3{font-size:16px;margin-bottom:10px}
.notification-settings-grid .muted{font-size:13px;margin-bottom:18px}
.notification-device-status{padding:12px 14px;border:1px solid #dfdfda;background:#f5f5f0;border-radius:8px;font-size:13px;line-height:21px;margin-bottom:16px;color:#476154;overflow-wrap:anywhere}
.notification-settings-grid .actions{gap:8px}
.notification-settings-grid .actions button{font-size:12px}
#push-preferences-form{margin-top:24px}
#push-type-options{border-top:1px solid #e9e9e4;margin-bottom:20px}
.push-type-choice{display:flex;flex-direction:row;gap:12px;align-items:flex-start;border-bottom:1px solid #efefea;padding:16px 0;margin:0;cursor:pointer}
.push-type-choice input{margin-top:3px;flex:none}
.push-type-choice>span{min-width:0}
.push-type-choice strong{display:block;font-size:13px;font-weight:550;color:#304239}
.push-type-choice small{display:block;font-size:12px;line-height:19px;color:#6a8075;margin-top:5px}
#notification-monitor-status{overflow-wrap:anywhere}
@media(max-width:1100px){.notification-settings-grid{grid-template-columns:1fr}#app-sidebar #logout{min-height:48px}}
@media(max-width:700px){
  #notifications-open{height:42px;width:42px;min-height:42px;margin-left:0}
  #notification-center{inset:calc(var(--header-height) + 6px) 8px auto;width:calc(100vw - 16px);max-width:calc(100vw - 16px);max-height:calc(100dvh - var(--header-height) - 14px);border-radius:12px}
  .notification-center-head{padding:16px 16px 12px}
  .notification-center-toolbar{padding:0 10px 10px;gap:4px}
  .notification-center-toolbar button{min-height:38px;padding:8px;font-size:12px}
  .notification-center-toolbar #notifications-read-all{font-size:11px;padding:8px 5px}
  .notification-entry-open{padding:16px 42px 16px 14px;gap:10px}
  #notification-list{max-height:55dvh}
  #notification-center .notification-read-toggle{width:36px;min-height:36px;right:5px;bottom:10px}
  .notification-center-footer{padding:10px 12px max(10px,env(safe-area-inset-bottom));gap:4px}
  .notification-center-footer button{font-size:12px;min-height:40px;padding:8px}
  .notification-settings-grid{gap:16px}
  .notification-settings-grid .panel{padding:18px}
  .notification-settings-grid .actions>button{flex:1;min-height:44px;font-size:13px}
  #push-preferences-save{width:100%;min-height:44px}
  .push-type-choice{padding:18px 0}
  .push-type-choice strong{font-size:14px}
  .push-type-choice small{font-size:13px}
}

@media(max-width:700px){
  #notification-center{top:calc(var(--header-height) + 6px);bottom:8px;height:calc(100dvh - var(--header-height) - 14px);max-height:calc(100dvh - var(--header-height) - 14px)}
  #notification-list{flex:1;min-height:0;max-height:none}
  .notification-settings-grid .actions>button{flex-basis:100%;width:100%;overflow-wrap:normal;white-space:normal}
}
