/* DUKBAP LIVE v4.14 DENSITY
   Desktop / tablet density improvements only.
   Mobile UI (<=759px) remains untouched.
*/

/* canonical card system */
:root{
  --v410-card-radius:22px;
  --v410-card-border:rgba(120,128,150,.13);
  --v410-card-shadow:0 8px 26px rgba(43,48,67,.055);
  --v410-card-shadow-hover:0 12px 32px rgba(43,48,67,.075);
  --v410-modal-backdrop:rgba(27,32,45,.38);
  --v410-modal-blur:12px;
}

.section-card{
  border-radius:var(--v410-card-radius);
  border:1px solid var(--v410-card-border);
  box-shadow:var(--v410-card-shadow);
}


@media(hover:hover) and (pointer:fine){
  .section-card,
  .metric-card{
    transition:
      transform .18s ease,
      box-shadow .18s ease,
      border-color .18s ease;
  }

  .section-card:hover,
  .metric-card:hover{
    transform:translateY(-1px);
    box-shadow:var(--v410-card-shadow-hover);
  }
}

@media(max-width:430px){
  .section-card{
    border-radius:20px;
  }
}

/* v5.1 canonical mobile metric / meal layout */
@media(max-width:759px){
  .metric-grid{
    margin:0 0 10px;
  }

  .meal-card{
    padding:14px 16px;
    display:flex;
    flex-direction:column;
    overflow:hidden;
  }

  .meal-card .section-head{
    flex:0 0 auto;
    margin-bottom:7px;
  }

  .meal-card .meal-list{
    flex:1 1 auto;
    min-height:0;
    height:auto;
    margin:0;
    overflow-y:auto;
    scrollbar-width:none;
  }

  .meal-card .meal-list::-webkit-scrollbar{
    display:none;
  }


}

@media(min-width:760px){

  /*
   * Dashboard top workspace
   * Left  : temperature + humidity
   * Right : FLOW panel
   */
  .dashboard-top-grid .metric-grid{
    width:100%;
    min-width:0;
    max-width:100%;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:14px;
    margin:0;
  }

  .dashboard-top-grid .metric-card{
    min-width:0;
  }

  /* Calendar shared sizing */
  .calendar-card .calendar-day{
    aspect-ratio:1;
    min-height:0;
  }

  .calendar-card .calendar-detail{
    padding:18px;
  }




}

/* v5.1 canonical install hint */
#v500-install-hint{
  position:fixed;
  z-index:95;
  transform:translateY(-50%);
  padding:8px 11px;
  border:1px solid var(--line);
  border-radius:12px;
  background:var(--surface-strong);
  color:var(--text);
  box-shadow:var(--shadow-soft);
  font-size:10px;
  font-weight:850;
  white-space:nowrap;
  cursor:pointer;
}

#v500-install-hint::before{
  content:"";
  position:absolute;
  left:-5px;
  top:50%;
  width:9px;
  height:9px;
  transform:translateY(-50%) rotate(45deg);
  border-left:1px solid var(--line);
  border-bottom:1px solid var(--line);
  background:var(--surface-strong);
}

@media(max-width:759px){
  #v500-install-hint{
    right:auto;
    top:auto;
    bottom:calc(69px + env(safe-area-inset-bottom));
    transform:translateX(-50%);
    border-radius:999px;
  }

  #v500-install-hint::before{
    left:50%;
    top:auto;
    bottom:-5px;
    transform:translateX(-50%) rotate(-45deg);
  }
}

/* v5.1 canonical meal date navigation */
.meal-date-controls{
  grid-column:2;
  grid-row:2;

  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));

  width:100%;
  min-width:0;
  height:26px;

  border:1px solid var(--line);
  border-radius:999px;
  overflow:hidden;

  background:var(--surface);
  box-shadow:var(--shadow-soft);
  box-sizing:border-box;
}

.meal-date-controls button{
  position:relative;
  display:grid;
  place-items:center;
  min-width:0;
  padding:0;
  border:0;
  background:transparent;
  color:var(--muted);
  font-size:0;
  line-height:0;
  cursor:pointer;
}

.meal-date-controls button + button{
  border-left:1px solid var(--line);
}

.meal-date-controls button::before{
  content:"";
  position:absolute;
  left:50%;
  top:50%;
  width:5px;
  height:5px;
  border-top:2px solid currentColor;
  border-right:2px solid currentColor;
  transform-origin:center;
}

.meal-date-controls button:first-child::before{
  left:56%;
  transform:translate(-50%,-50%) rotate(-135deg);
}

.meal-date-controls button:last-child::before{
  left:44%;
  transform:translate(-50%,-50%) rotate(45deg);
}

/* v5.1 canonical FLOW */

.flow-card{
  padding:14px 16px;
  margin:0;
}

.flow-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:7px;
  margin-bottom:7px;
}

.flow-head h2{
  margin-top:3px;
  font-size:20px;
  line-height:1.2;
  letter-spacing:-.5px;
}

.flow-head p:last-child{
  margin-top:4px;
  color:var(--muted);
  font-size:10px;
  line-height:1.45;
}

.flow-current{
  width:100%;
  margin:0;
  padding:14px;
  border:1px solid var(--line);
  border-radius:17px;
  background:var(--surface-strong);
  box-shadow:var(--shadow-soft);
}

:root:not([data-theme="dark"]) .flow-current{
  background:#fff;
}

.flow-current-main{
  display:flex;
  flex-direction:row;
  align-items:flex-start;
  justify-content:space-between;
  gap:7px;
  width:100%;
}

.flow-current-main > div:first-child{
  display:flex;
  flex:1 1 auto;
  flex-direction:column;
  gap:4px;
  min-width:0;
}

.flow-kicker{
  color:var(--purple);
  font-size:10px;
  font-weight:900;
}

#flow-current-title{
  font-size:20px;
  line-height:1.25;
  letter-spacing:-.4px;
  white-space:normal;
  word-break:keep-all;
}

#flow-current-time{
  color:var(--muted);
  font-size:10px;
  white-space:nowrap;
}

.flow-current .flow-next{
  display:grid;
  grid-template-columns:auto auto;
  grid-template-areas:
    "label time"
    "title title";
  flex:0 0 auto;
  width:max-content;
  min-width:0;
  max-width:48%;
  margin:0;
  padding:9px 10px;
  border:0;
  border-radius:14px;
  
  column-gap:8px;
  row-gap:3px;

  background:rgba(114,87,246,.065);
}

.flow-current .flow-next > span{
  grid-area:label;
  justify-self:start;
  color:var(--purple);
  font-size:9px;
  font-weight:900;
}

.flow-current .flow-next > small{
  grid-area:time;
  justify-self:end;
  color:var(--muted);
  font-size:9px;
  white-space:nowrap;font-weight:600;}

.flow-current .flow-next > strong{
  grid-area:title;
  justify-self:start;
  font-size:11px;
  line-height:1.3;
  text-align:left;
  white-space:nowrap;
  word-break:keep-all;
}

/* v5.4.3 ARCHITECT - metric optical alignment migrated from settings.css */
@media(min-width:900px){
  .dashboard-top-grid .metric-card .metric-value{
    transform:translateY(-2px);
  }
}

/* Desktop + tablet */
@media(min-width:900px){
  .dashboard-top-grid{
    display:grid;
    grid-template-columns:minmax(0,.84fr) minmax(0,1.16fr);
    gap:17px;
    align-items:start;
    margin-bottom:17px;
  }

  .dashboard-top-left,
  .dashboard-top-right{
    display:flex;
    flex-direction:column;
    gap:13px;
    min-width:0;
  }

  .dashboard-top-left{grid-column:1}
  .dashboard-top-right{grid-column:2}

  .dashboard-top-left > .metric-grid,
  .dashboard-top-left > .meal-card,
  .dashboard-top-right > .flow-card,
  .dashboard-top-right > .calendar-card{
    width:100%;
    margin:0;
  }

  .dashboard-top-right > .flow-card{
    display:block;
    height:auto;
    align-self:auto;
  }

  .dashboard-top-right > .flow-card .flow-current{
    display:block;
  }

  .dashboard-top-right > .flow-card .flow-next{
    max-width:52%;
  }

  /* Calendar: compact left / detail right */
  .dashboard-top-right > .calendar-card{
    display:grid;
    grid-template-columns:minmax(220px,.82fr) minmax(180px,1.18fr);
    grid-template-rows:auto auto 1fr;
    column-gap:18px;
    row-gap:0;
    align-items:start;
    padding:16px;
  }

  .dashboard-top-right > .calendar-card .calendar-head{
    grid-column:1 / -1;
    grid-row:1;
    margin-bottom:12px;
  }

  .dashboard-top-right > .calendar-card .calendar-weekdays{
    grid-column:1;
    grid-row:2;
    width:100%;
    max-width:none;
    margin:0 0 5px;
    padding:0 3px;
    box-sizing:border-box;
    justify-self:stretch;
    font-size:9px;
  }

  .dashboard-top-right > .calendar-card .calendar-grid{
    grid-column:1;
    grid-row:3;
    width:100%;
    max-width:none;
    min-width:0;
    padding:3px;
    box-sizing:border-box;
    gap:6px;
    justify-self:stretch;
  }

  .dashboard-top-right > .calendar-card .calendar-day{
    border-radius:11px;
  }

  .dashboard-top-right > .calendar-card .calendar-day.is-selected{
    outline-width:2px;
    outline-offset:-1px;
  }

  .dashboard-top-right > .calendar-card .calendar-detail{
    grid-column:2;
    grid-row:2 / 4;
    width:100%;
    min-width:0;
    margin:0;
    align-self:stretch;
  }

}

/* Tablet */
@media(min-width:900px) and (max-width:1023px){
  .dashboard-top-grid{
    grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);
    gap:16px;
  }

  .dashboard-top-left,
  .dashboard-top-right{
    gap:12px;
  }

  .dashboard-top-right > .calendar-card{
    grid-template-columns:minmax(190px,.9fr) minmax(160px,1.1fr);
    column-gap:14px;
  }

  .dashboard-top-right > .calendar-card .calendar-grid{
    font-size:10px;
  }
}

/* Mobile */
@media(max-width:899px){
  .dashboard-top-grid{
    display:flex;
    flex-direction:column;
    gap:10px;
    margin-bottom:0;
  }

  .dashboard-top-left,
  .dashboard-top-right{
    display:contents;
  }

  .dashboard-top-grid .metric-grid{
    order:1;
    margin:0;
  }

  .dashboard-top-grid .flow-card{
    order:2;
    margin:0;
  }

  .dashboard-top-grid .meal-card{
    order:3;
    margin:0;
  }

  .dashboard-top-grid .calendar-card{
    order:4;
    margin:0;
  }
}

/* v5.1.2 FLOW / timetable - canonical */

.flow-head-actions{
  display:flex;
  flex:0 0 auto;
  flex-direction:column;
  align-items:flex-end;
  gap:4px;
}

#flow-timetable-button{
  cursor:pointer;
}

.v511-timetable-panel{
  box-sizing:border-box;
  width:min(680px,calc(100vw - 24px));
  max-width:680px;
  height:auto;
}

.v511-timetable-panel::after{
  content:"";
  position:absolute;
  z-index:4;
  left:1px;
  right:1px;
  bottom:1px;
  height:20px;
  border-radius:0 0 24px 24px;
  pointer-events:none;
  background:linear-gradient(
    to top,
    var(--surface) 0%,
    var(--surface) 18%,
    transparent 100%
  );
}

.v511-timetable-panel .v48-notification-head{
  flex:0 0 auto;
  margin-bottom:8px;
}

#v511-timetable-subtitle{
  margin:4px 0 0;
  color:var(--muted);
  font-size:10px;
  line-height:1.35;
}
#v511-timetable-body{
  min-height:0;
  max-height:calc(100dvh - 180px);
  overflow:auto;
  padding:8px 8px 10px;
  overscroll-behavior:contain;
}

.v511-timetable-table{
  width:100%;
  min-width:0;
  margin:0;
  table-layout:fixed;
  border-collapse:separate;
  border-spacing:0;
  border:1px solid var(--line);
  border-radius:15px;
  overflow:hidden;
  background:transparent;
}

.v511-timetable-table th,
.v511-timetable-table td{
  height:46px;
  padding:6px 4px;
  border-right:1px solid var(--line);
  border-bottom:1px solid var(--line);
  background:transparent;
  text-align:center;
  vertical-align:middle;
}

.v511-timetable-table tr > :last-child{
  border-right:0;
}

.v511-timetable-table tbody tr:last-child > *{
  border-bottom:0;
}
.v511-timetable-table thead th{
  color:var(--muted);
  font-size:11px;
  font-weight:900;
}

.v511-timetable-table thead th:first-child,
.v511-timetable-table tbody th{
  width:34px;
}

.v511-timetable-table tbody th{
  color:var(--muted);
  font-size:10px;
  font-weight:850;
}

.v511-timetable-table td{
  color:var(--text);
  font-size:10.5px;
  font-weight:800;
  line-height:1.3;
}

.v511-timetable-table td.is-empty{
  color:var(--muted);
  opacity:.45;
}

.v511-timetable-table thead small{
  display:none;
}
.v512-timetable-notes{
  display:flex;
  flex-direction:column;
  gap:8px;
  margin-top:6px;
}

.v512-timetable-note-list{
  display:grid;
  gap:7px;
}

.v512-timetable-note-list:empty{
  display:none;
}

.v512-timetable-note-tile{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:10px 10px 10px 14px;
  border:1px solid var(--line);
  border-radius:12px;
  
  color:var(--text);
  font-size:10.5px;
  font-weight:800;
  line-height:1.5;
}

.v512-timetable-note-tile > span{
  flex:1 1 auto;
  min-width:0;
  padding-left:4px;
  padding-right:8px;
}
.v512-timetable-note-remove{
  display:grid;
  place-items:center;
  flex:0 0 36px;
  width:36px;
  height:36px;
  min-width:36px;
  min-height:36px;
  padding:0;
  margin:0;
  border:1px solid var(--line);
  border-radius:999px;
  background:var(--surface-strong);
  color:var(--text);
  opacity:1;
  visibility:visible;
  font-family:Arial,sans-serif;
  font-size:17px;
  font-weight:500;
  line-height:1;
  cursor:pointer;
}

.v512-timetable-note-remove:active{
  transform:scale(.92);
}
.v512-timetable-note-composer{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:6px;
  width:100%;
  min-height:46px;
  margin:0;
  padding:4px 4px 4px 12px;
  border:1px solid var(--line);
  border-radius:999px;
  background:transparent;
  box-shadow:none;
}

.v512-timetable-note-composer:focus-within{
  border-color:rgba(82,92,220,.42);
  box-shadow:0 0 0 3px rgba(91,94,230,.10);
}

#v512-timetable-note-input{
  width:100%;
  min-width:0;
  height:30px;
  padding:0;
  border:0;
  outline:0;
  background:transparent;
  box-shadow:none;
  color:var(--text);
  font:inherit;
  font-size:10.5px;
}

#v512-timetable-note-input::placeholder{
  color:var(--muted);
  opacity:.8;
  font-size:10px;
}
#v512-timetable-note-submit{
  display:grid;
  place-items:center;
  flex:none;
  width:36px;
  min-width:36px;
  height:36px;
  padding:0;
  border:0;
  border-radius:50%;
  background:var(--surface-strong);
  color:var(--purple);
  cursor:pointer;
}

#v512-timetable-note-submit svg{
  display:block;
  width:15px;
  height:15px;
  fill:none;
  stroke:currentColor;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
}

#v512-timetable-note-submit:active{
  transform:scale(.92);
}
@media(max-width:759px){
  .v511-timetable-panel{
    width:calc(100vw - 18px);
    max-width:none;
    max-height:calc(100dvh - 24px);
    margin:auto;
  }

  #v511-timetable-body{
    width:100%;
    max-height:calc(100dvh - 145px);
    overflow-y:auto;
    overflow-x:hidden;
    padding:8px 6px 10px;
  }

  .v511-timetable-table th,
  .v511-timetable-table td{
    height:42px;
    padding:5px 2px;
  }

  .v511-timetable-table thead th:first-child,
  .v511-timetable-table tbody th{
    width:28px;
  }

  .v511-timetable-table thead th{
    font-size:11.5px;
  }

  .v511-timetable-table tbody th{
    font-size:10.5px;
  }

  .v511-timetable-table td{
    font-size:11px;
    line-height:1.3;
  }
  .flow-current .flow-next{
  border:0;
    border-radius:10px;
  
  background:rgba(114,87,246,.065);
}

  .v512-timetable-notes{
    gap:6px;
    margin-top:5px;
  }

  .v512-timetable-note-tile{
    padding:9px 9px 9px 13px;
    border-radius:10px;
    font-size:11.5px;
  }

  .v512-timetable-note-tile > span{
    padding-left:3px;
    padding-right:7px;
  }

  .v512-timetable-note-remove{
    flex-basis:36px;
    width:36px;
    height:36px;
    min-width:36px;
    min-height:36px;
    font-size:15px;
  }

  .v512-timetable-note-composer{
    min-height:46px;
    padding-left:10px;
  }

  #v512-timetable-note-input{
    height:28px;
    font-size:11.5px;
  }

  #v512-timetable-note-input::placeholder{
    font-size:10.5px;
  }

  #v512-timetable-note-submit{
    width:36px;
    min-width:36px;
    height:36px;
  }

  #v512-timetable-note-submit svg{
    width:14px;
    height:14px;
  }
}


/* v5.1.2 DUKBAP LIVE information card */
.dukbap-info-card{
  position:relative;
  overflow:hidden;
  padding:20px;
}

.dukbap-info-card .section-head{
  position:relative;
  z-index:1;
  margin-bottom:14px;
}

.dukbap-info-card .section-head h2{
  margin-top:3px;
  font-size:19px;
  letter-spacing:-.5px;
}

.dukbap-info-card .section-head > div > p:last-child{
  margin-top:4px;
  color:var(--muted);
  font-size:11px;
}

.dukbap-info-grid{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  grid-template-rows:none;
  gap:8px;
  width:100%;
  height:auto;
}

.dukbap-info-grid > div{
  min-width:0;
  padding:11px 12px;
  border:1px solid var(--line);
  border-radius:13px;
  
}

.dukbap-info-grid span,
.dukbap-info-grid strong,
.dukbap-info-grid small{
  display:block;font-weight:600;}

.dukbap-info-grid span{
  color:var(--purple);
  font-size:7px;
  font-weight:900;
  letter-spacing:.9px;
}

.dukbap-info-grid strong{
  margin-top:5px;
  color:var(--text);
  font-size:11px;
  font-weight:900;
  line-height:1.25;
}

.dukbap-info-grid small{
  margin-top:3px;
  color:var(--muted);
  font-size:8px;
  line-height:1.35;font-weight:600;}

@media(max-width:759px){
  .dukbap-info-card{
    padding:17px;
  }

  .dukbap-info-grid{
    gap:7px;
  }

  .dukbap-info-grid > div{
    padding:10px;
    border-radius:11px;
  }

  .dukbap-info-grid strong{
    font-size:10px;
  }

  .dukbap-info-grid small{
    font-size:7.5px;font-weight:600;}
}

/* v5.1.3 SUKSIK - canonical meal controls */

.meal-card .section-head{
  align-items:flex-start;
  margin-bottom:8px;
}

.meal-card .section-head > div:first-child{
  flex:1 1 auto;
  min-width:0;
  align-self:flex-start;
}

#meal-title{
  margin-top:3px;
  margin-bottom:1px;
}

.meal-date-stack{
  display:grid;
  grid-template-columns:50px auto;
  grid-template-rows:26px 26px;
  column-gap:5px;
  row-gap:5px;

  flex:0 0 auto;
  min-width:0;

  align-items:stretch;
  align-self:flex-start;
}

#meal-dinner-button{
  grid-column:1;
  grid-row:1 / 3;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:5px;

  width:46px;
  min-width:46px;
  height:57px;
  min-height:57px;
  padding:0 4px;

  border:1px solid var(--line);
  border-radius:13px;
  background:var(--surface);
  color:var(--muted);
  box-shadow:var(--shadow-soft);

  font:inherit;
  font-size:9px;
  font-weight:850;
  cursor:pointer;
}

#meal-dinner-button svg{
  width:16px;
  height:16px;
  flex:0 0 auto;
  fill:none;
  stroke:currentColor;
  stroke-width:2.1;
  stroke-linecap:round;
  stroke-linejoin:round;
}

#meal-dinner-button span{
  display:block;
  color:inherit;
  font-size:8px;
  font-weight:900;
  line-height:1;
  white-space:nowrap;
}

#meal-date{
  grid-column:2;
  grid-row:1;
}

@media(max-width:759px){
  .meal-date-stack{
    grid-template-columns:48px auto;
    grid-template-rows:26px 26px;
    column-gap:4px;
    row-gap:4px;
  }

  #meal-dinner-button{
    width:44px;
    min-width:44px;
    height:56px;
    min-height:56px;
    padding:0 4px;
    border-radius:12px;
  }
}

.hero > div > p:last-child,
.page-heading > div > p:last-child,
.staff-heading > div > p:last-child{
  margin-top:6px;
  color:var(--muted);
  font-size:12px;
  line-height:1.45;
}

@media(min-width:760px){
  .hero h1,
  .page-heading h1,
  .staff-heading h1,
  #dashboard-title{
    margin-bottom:0;
    font-size:40px;
    line-height:1.08;
    letter-spacing:-1.8px;
  }

  .staff-heading{
    margin-bottom:18px;
  }
}

@media(max-width:759px){
  .hero h1,
  .page-heading h1{
    margin-bottom:0;
  }
}

/* section descriptions */
.section-head p:not(.section-eyebrow){
  margin-top:5px;
  color:var(--muted);
  font-size:11px;
  line-height:1.5;font-weight:600;}

/* meal / calendar / FLOW descriptions */
.meal-card .section-head > div > p:last-child,
.calendar-card .section-head p:not(.section-eyebrow),
.flow-head p:last-child{
  margin-top:5px;
  font-size:11px;
  line-height:1.45;font-weight:600;}

/* mobile subtitle rhythm */
@media(max-width:759px){
  .hero > div > p:last-child,
  .page-heading > div > p:last-child,
  .staff-heading > div > p:last-child{
    margin-top:6px;
    font-size:12px;
  }

  .section-head p:not(.section-eyebrow){
    margin-top:5px;
    font-size:11px;font-weight:600;}
}

/* FLOW progress */
.flow-progress{
  display:block;
  width:100%;
  height:6px;
  margin-top:12px;
  overflow:hidden;
  border-radius:999px;
  
  box-shadow:
    inset 0 1px 2px rgba(20,26,44,.08),
    0 2px 6px rgba(95,85,190,.10);
}

.flow-progress[hidden]{
  display:none!important;
}

#flow-progress-bar{
  display:block;
  width:0;
  height:100%;
  border-radius:inherit;
  background:linear-gradient(
    90deg,
    var(--purple),
    var(--blue)
  );
  box-shadow:0 1px 4px rgba(92,82,210,.18);
  transition:width .45s ease;
}

:root[data-theme="dark"] .flow-progress{
  background:rgba(255,255,255,.08);
  box-shadow:
    inset 0 1px 2px rgba(0,0,0,.25),
    0 2px 6px rgba(80,75,180,.12);
}

@media(max-width:759px){
  .flow-progress{
    height:5px;
    margin-top:10px;
  }
}

/* top brand */
@media(min-width:760px){
  .topbar .brand-wordmark{
    display:block;
    height:auto;
    object-fit:contain;
    object-position:left center;
  }
}

/* canonical loading skeleton */
.v410-loading,
.skeleton-line{
  position:relative;
  overflow:hidden;
  color:transparent;
  user-select:none;
}

.v410-loading{
  display:block;
  min-height:68px;
  padding:0;

  background:
    linear-gradient(rgba(116,124,145,.12) 0 0) 0 7px/72% 12px no-repeat,
    linear-gradient(rgba(116,124,145,.09) 0 0) 0 30px/48% 10px no-repeat,
    linear-gradient(rgba(116,124,145,.07) 0 0) 0 51px/60% 9px no-repeat;
}

.skeleton-line{
  display:block;
  min-height:46px;
  border-radius:12px;

  background:
    linear-gradient(rgba(116,124,145,.12) 0 0) 0 8px/68% 11px no-repeat,
    linear-gradient(rgba(116,124,145,.08) 0 0) 0 29px/44% 9px no-repeat;
}

.v410-loading::after,
.skeleton-line::after{
  content:"";
  position:absolute;
  inset:0;
  transform:translateX(-110%);

  background:linear-gradient(
    100deg,
    transparent 20%,
    rgba(255,255,255,.16) 36%,
    rgba(255,255,255,.72) 50%,
    rgba(255,255,255,.16) 64%,
    transparent 80%
  );

  animation:v410-shimmer 1.45s ease-in-out infinite;
}

@keyframes v410-shimmer{
  100%{
    transform:translateX(110%);
  }
}

@media(prefers-reduced-motion:reduce){
  .v410-loading::after,
  .skeleton-line::after{
    animation:none;
  }
}

@media(max-width:759px){
  .request-list .v410-loading{
    min-height:62px;
    margin:10px 0 0;
  }

  .chat-window .v410-loading{
    margin:14px;
  }

  .meal-list .skeleton-line{
    margin:0;
  }
}

/* v5.4.3 ARCHITECT - brand theme migrated from v411-fun.css */

html[data-theme="dark"] .brand-wordmark,
body[data-theme="dark"] .brand-wordmark{
  filter:brightness(0) invert(1);
  opacity:1;
}

@media(prefers-color-scheme:dark){
  html:not([data-theme="light"]) .brand-wordmark{
    filter:brightness(0) invert(1);
  }
}
