body.task-login {
  min-height: 100vh;
  background: radial-gradient(ellipse at 55% 25%, var(--lk-accent,#25303d), transparent 55%), var(--lk-base,#11151b) !important;
}
body.task-login.lk-has-photo {
  background: linear-gradient(140deg, #11151bc9, #11151b90), var(--lk-photo) center/cover fixed !important;
}
.task-login #layout {
  height: 100vh;
  height: 100dvh;
}
.task-login #layout-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  min-height: 0;
  padding: max(1rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right))
    max(1rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
  overflow: auto;
  background: transparent !important;
}
.task-login #login-form {
  flex: 0 0 auto;
  top: auto;
  width: min(100%, clamp(20rem, 33vw, 26rem));
  margin: auto;
}
.task-login #login-form .form-control { min-width: 0; }
.task-login #login-form table { width: 100%; }

.task-login #logo { display: none; }
.lk-login-header { margin: 0 0 1.45rem; text-align: center; }
.lk-login-header h1 { font: 650 1.55rem/1.25 system-ui,sans-serif; color: #f5f8ff; margin: 0; }
.lk-login-header p { margin: .55rem 0 0; color: #b6c3d7; }
html.dark-mode body #layout-sidebar { background: var(--lk-base, #11151b); }
html.dark-mode body.lk-has-photo #layout-sidebar { background: linear-gradient(#10151bc9,#10151bee), var(--lk-photo) center/cover; }
.lk-admin { max-width: 48rem; margin: 0 auto; padding: 1.5rem; }
.lk-admin h1 { font-size: 1.35rem; margin-bottom: 1.25rem; }
.lk-admin legend { font-size: 1rem; }
.lk-palettes { display: grid; grid-template-columns: repeat(auto-fit,minmax(7rem,1fr)); gap: .75rem; }
.lk-palettes label { border: 1px solid #52627a; border-radius: .75rem; padding: .65rem; margin: 0; cursor: pointer; }
.lk-swatch { display: block; height: 3rem; margin: .4rem 0; border-radius: .4rem; }
.lk-admin .lk-row { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: .85rem 0; }

.action-compose .lk-drive { margin-left: .5rem; }
.lk-desktop-compose #layout-sidebar { display: none !important; }
.lk-desktop-compose #layout-content > .header {
  justify-content: flex-start;
  gap: .7rem;
  padding-inline: 1rem;
}
.lk-desktop-compose #layout-content > .header > .send { align-self: center; margin: 0; }
.lk-desktop-compose #toolbar-menu { margin-inline: 0; }
.lk-desktop-compose #toolbar-menu a.options { display: none; }
.lk-desktop-compose #compose-content .formcontent { padding-inline: 1rem; }
.lk-desktop-compose .lk-compose-attachments {
  display: grid;
  gap: .35rem;
  margin-block: .65rem .8rem;
}
.lk-desktop-compose #compose-attachments {
  margin: 0;
  padding: .8rem 1rem;
  min-height: 5rem;
  text-align: left;
}
.lk-desktop-compose #compose-attachments .upload-form {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .3rem .65rem;
  padding: 0;
}
.lk-desktop-compose #compose-attachments .lk-drive { margin-left: 0; }
.lk-desktop-compose #compose-attachments::after {
  display: block;
  position: static;
  width: auto;
  color: inherit;
  content: '파일을 끌어다 놓을 수 있어요';
  font: inherit;
  opacity: .7;
  margin-top: .4rem;
}
.lk-compose-options > summary { cursor: pointer; font-size: .88rem; }
.lk-upload-status { margin: .4rem 0 0; font-size: .9rem; }

body:is(.lk-mail-shell, .lk-studio-frame) {
  --lk-mail-paper: #fff;
  --lk-mail-line: #e3e6ec;
  --lk-mail-ink: #252b36;
  --lk-mail-muted: #5e697b;
  --lk-mail-soft: #f5f7fb;
  --lk-mail-selected: #eaf0fa;
  --lk-mail-read-mark: #687486;
  --lk-mail-unread-mark: #b44b0c;
  --lk-mail-read-text: #5e697b;
  --lk-mail-button: #435d91;
  --lk-mail-button-hover: #344c7c;
}
html.dark-mode body:is(.lk-mail-shell, .lk-studio-frame) {
  --lk-mail-paper: #171d24;
  --lk-mail-line: #333d4a;
  --lk-mail-ink: #e4ebf5;
  --lk-mail-muted: #a9b6ca;
  --lk-mail-soft: #222b36;
  --lk-mail-selected: #2b3b54;
  --lk-mail-read-mark: #a3b1c1;
  --lk-mail-unread-mark: #ffa45b;
  --lk-mail-read-text: #a9b6ca;
  --lk-mail-button: #3d5890;
  --lk-mail-button-hover: #4a66a1;
}
.lk-mail-masthead, .lk-mail-compose { display: none; }
.lk-mail-shell #layout-list,
.lk-mail-shell #layout-content,
.lk-mail-shell #layout > :is(#layout-sidebar, #layout-list, #layout-content) > .header,
.lk-mail-shell #layout > :is(#layout-sidebar, #layout-list, #layout-content) > .footer {
  border-color: var(--lk-mail-line);
}
.lk-mail-shell #layout > :is(#layout-list, #layout-content) > .header {
  background: var(--lk-mail-paper);
  color: var(--lk-mail-ink);
}
.lk-mail-shell #messagelist thead th {
  background: var(--lk-mail-soft);
  color: var(--lk-mail-muted);
}
.lk-mail-shell #messagelist tbody td { border-color: var(--lk-mail-line); }
.lk-mail-shell #messagelist tbody tr:not(.selected):hover td { background: var(--lk-mail-soft); }
.lk-mail-shell #messagelist tbody tr.selected td { background: var(--lk-mail-selected); }
.lk-mail-shell #folderlist-content li.selected > a {
  background: var(--lk-mail-selected);
  color: var(--lk-mail-ink);
  font-weight: 650;
}
.lk-mail-shell #compose-attachments {
  border: 1px solid var(--lk-mail-line);
  background: var(--lk-mail-soft);
  color: var(--lk-mail-muted);
}
.lk-mail-shell #compose-headers td, .lk-mail-shell #compose-headers th {
  border-color: var(--lk-mail-line);
}
@media (min-width: 1024px) {
  html.layout-large .lk-mail-shell .lk-mail-masthead {
    height: 52px;
    display: flex;
    align-items: center;
    gap: .65rem;
    padding-inline: 16px;
    border-bottom: 1px solid var(--lk-mail-line);
    background: var(--lk-mail-paper);
    color: var(--lk-mail-ink);
    font-size: 16px;
    font-weight: 700;
  }
  .lk-mail-mark {
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 7px;
    background: var(--lk-mail-button);
    color: #fff;
    font-size: 15px;
  }
  html.layout-large .lk-mail-shell #layout {
    height: calc(100vh - 52px);
    height: calc(100dvh - 52px);
  }
  html.layout-large .lk-mail-shell #layout-menu {
    width: 58px;
    min-width: 58px;
    background: var(--lk-mail-soft);
    border-color: var(--lk-mail-line);
  }
  html.layout-large .lk-mail-shell #taskmenu { background: var(--lk-mail-soft); }
  html.layout-large .lk-mail-shell #taskmenu > a,
  html.layout-large .lk-mail-shell #taskmenu :is(.action-buttons, .special-buttons) > a {
    padding-inline: 2px;
    color: var(--lk-mail-muted);
    font-size: 11px;
  }
  html.layout-large .lk-mail-shell #taskmenu > a.selected {
    background: var(--lk-mail-selected);
    color: var(--lk-mail-ink);
  }
  html.layout-large .lk-mail-shell.lk-has-compose-shortcut #layout-sidebar {
    width: 174px;
    min-width: 174px;
    background-color: var(--lk-mail-paper);
    color: var(--lk-mail-ink);
  }
  html.layout-large .lk-mail-shell.lk-has-compose-shortcut #layout-sidebar > .header {
    justify-content: flex-start;
    background: transparent;
    color: var(--lk-mail-ink);
  }
  html.layout-large .lk-mail-shell .lk-mail-compose {
    display: block;
    flex: 0 0 auto;
    margin: 10px 8px;
    min-height: 36px;
    border: 0;
    border-radius: 4px;
    background: var(--lk-mail-button);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
  }
  html.layout-large .lk-mail-shell .lk-mail-compose:hover { background: var(--lk-mail-button-hover); }
  html.layout-large .lk-mail-shell.lk-has-compose-shortcut:not(:has(#layout-sidebar.hidden)) #taskmenu .action-buttons > .compose { display: none; }
  html.layout-large .lk-mail-shell #folderlist-content li > a { padding-block: .38rem; }
  html.layout-large .lk-mail-shell #messagelist { font-size: 13px; }
  html.layout-large .lk-mail-shell #messagelist tbody td { padding-block: .42rem; }
  html.layout-large .lk-desktop-compose #compose-content .formcontent { padding-inline: 25px; }
}

#mailboxlist > li.lk-custom-folder-start {
  margin-top: 10px;
  border-top: 1px solid var(--lk-mail-line);
}
#mailboxlist > li.lk-custom-folder-start::before {
  content: '내 메일함';
  display: block;
  padding: 12px 12px 5px;
  color: var(--lk-mail-muted);
  font-size: 12px;
  font-weight: 700;
}
@media (min-width: 1024px) {
  html.layout-large .lk-mail-shell.lk-has-compose-shortcut #layout-sidebar {
    flex: 0 0 172px;
    min-width: 172px;
  }
  html.dark-mode.layout-large .lk-mail-shell.lk-has-compose-shortcut #layout-sidebar {
    background-color: var(--lk-base, #11151b);
  }
}

/* Keep the task labels inside the rail at both desktop and narrow widths. */
#taskmenu :is(.action-buttons, .special-buttons) {
  width: 100%;
  max-width: 100%;
}
#taskmenu :is(.action-buttons, .special-buttons) > a,
#taskmenu > a {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
#taskmenu .special-buttons > a .inner {
  white-space: normal;
  line-height: 1.2;
  overflow: visible;
  text-overflow: clip;
}
#taskmenu .special-buttons > .logout,
#taskmenu .special-buttons > .logout::before {
  color: #526987;
}
html.dark-mode #taskmenu .special-buttons > .logout,
html.dark-mode #taskmenu .special-buttons > .logout::before {
  color: #b1c1da;
}
#taskmenu .special-buttons > .logout::before { content: '\f2f5'; }

.lk-mail-shell :is(.btn, .searchbar, #compose-attachments, .tox-tinymce),
#layout :is(.form-control, .custom-select) { border-radius: 6px; }
#layout .input-group > :not(:last-child):not(.dropdown-toggle) {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
#layout .input-group > :not(:first-child) {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}
.lk-mail-shell #folderlist-content li > a {
  margin-inline: 4px;
  border-radius: 5px;
}
.lk-mail-shell #compose-content .formcontent { padding-inline: clamp(12px, 1.25vw, 20px); }
.lk-mail-shell #compose-headers .form-group { margin-bottom: 6px; }
.lk-mail-shell #compose-headers .col-form-label { font-weight: 600; }
.lk-mail-shell #compose-attachments::after { opacity: 1; }
.lk-mail-shell #compose-attachments .hint { color: var(--lk-mail-muted); }
.lk-mail-shell #compose-attachments .upload-form { align-items: center; }

@media (min-width: 900px) {
  .lk-mail-shell #compose-headers .form-group.row {
    margin-inline: 0;
    column-gap: 10px;
    align-items: center;
  }
  .lk-mail-shell #compose-headers .form-group.row > .col-form-label {
    flex: 0 0 74px;
    max-width: 74px;
    padding-inline: 0;
  }
  .lk-mail-shell #compose-headers .form-group.row > .col-10 {
    flex: 1 1 0;
    max-width: none;
    min-width: 0;
    padding-inline: 0;
  }
  .lk-mail-shell #compose-attachments { min-height: 0; padding: 9px 12px; }
  .lk-mail-shell .lk-compose-attachments { margin-block: 7px 9px; }
}

@media (min-width: 1024px) {
  html.layout-large .lk-mail-shell #layout-menu { width: 66px; min-width: 66px; }
  html.layout-large .lk-mail-shell #taskmenu .special-buttons > a { min-height: 48px; }
  html.layout-large .lk-mail-shell #layout:has(#messagecontframe[src*="watermark.html"]) #layout-content {
    display: none;
  }
  html.layout-large .lk-mail-shell #layout:has(#messagecontframe[src*="watermark.html"]) #layout-list {
    flex: 1 1 0;
    width: auto !important;
    max-width: none;
    min-width: 0;
  }
  html.layout-large .lk-mail-shell #layout:has(#messagecontframe[src*="watermark.html"]) #messagelist-header {
    justify-content: flex-start;
    padding-inline: 10px min(34%, 19rem);
  }
  html.layout-large .lk-mail-shell #layout:has(#messagecontframe[src*="watermark.html"]) #toolbar-list-menu {
    margin-inline: 0;
  }
}

@media (min-width: 900px) {
  .lk-desktop-compose .lk-compose-attachments {
    --lk-attachment-label-width: 74px;
    grid-template-columns: var(--lk-attachment-label-width) minmax(0, 1fr);
    gap: 6px 10px;
    align-items: start;
  }

  .lk-desktop-compose .lk-compose-attachments > :is(#compose-attachments, .lk-compose-options) {
    grid-column: 2;
  }

  .lk-desktop-compose .lk-attachment-toggle {
    grid-column: 1;
    grid-row: 1;
    display: inline-flex;
    align-items: center;
    justify-self: start;
    gap: 7px;
    padding: 6px 0;
    color: var(--lk-mail-ink);
    background: transparent;
    border: 0;
    cursor: pointer;
    font: inherit;
    font-weight: 600;
  }

  .lk-desktop-compose .lk-attachment-toggle::after {
    content: '';
    width: 6px;
    height: 6px;
    border: solid currentColor;
    border-width: 0 1px 1px 0;
    transform: translateY(2px) rotate(225deg);
  }

  .lk-desktop-compose .lk-attachment-toggle[aria-expanded="false"]::after {
    transform: translateY(-2px) rotate(45deg);
  }

  .lk-desktop-compose .lk-attachments-collapsed > #compose-attachments { display: none; }

  .lk-desktop-compose #compose-attachments {
    grid-row: 1;
    min-height: 32px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .lk-desktop-compose #compose-attachments .upload-form { gap: 6px; }
  .lk-desktop-compose #compose-attachments .upload-form .btn {
    padding: 3px 8px;
    min-height: 28px;
    margin: 0;
    color: var(--lk-mail-ink);
    background: var(--lk-mail-paper);
    border: 1px solid var(--lk-mail-line);
    border-radius: 4px;
    font-size: 12px;
  }

  .lk-desktop-compose #compose-attachments .upload-form .btn:not(:disabled):hover {
    background: var(--lk-mail-soft);
  }

  .lk-desktop-compose #compose-attachments .upload-form .hint {
    order: 1;
    margin: 0 0 0 auto;
    color: var(--lk-mail-muted);
    font-size: 12px;
    font-style: normal;
  }

  .lk-desktop-compose .lk-attachment-drop-hint {
    display: grid;
    place-items: center;
    min-height: 66px;
    padding: 8px 12px;
    margin-top: 7px;
    border: 1px solid var(--lk-mail-line);
    border-radius: 5px;
    background: var(--lk-mail-soft);
    color: var(--lk-mail-muted);
    text-align: center;
    font-size: 13px;
    pointer-events: none;
  }

  .lk-desktop-compose #compose-attachments::after { content: none; }
}

body:not(.lk-desktop-compose) .lk-attachment-drop-hint { display: none; }

@media (min-width: 1024px) {
  html.layout-large .lk-mail-shell #layout-menu { position: relative; }
  html.layout-large .lk-mail-shell #layout-menu #taskmenu .special-buttons {
    inset-inline: 0;
    width: 65px;
    max-width: 65px;
  }
  html.layout-large .lk-mail-shell #layout-menu #taskmenu > a,
  html.layout-large .lk-mail-shell #layout-menu #taskmenu :is(.action-buttons, .special-buttons) > a {
    width: 65px !important;
    min-width: 0 !important;
    max-width: 100%;
    margin-inline: 0;
  }
}

.lk-compose-folders, .lk-mailbox-shortcuts { display: none; }
@media (min-width: 1024px) {
  html.layout-large .lk-mail-shell .lk-compose-folders {
    display: flex;
    flex: 0 0 172px;
    min-width: 0;
    flex-direction: column;
    background: var(--lk-mail-paper);
    border-inline-end: 1px solid var(--lk-mail-line);
  }
  .lk-compose-folder-identity {
    padding: 12px 10px;
    color: var(--lk-mail-ink);
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .lk-compose-folder-links { overflow: auto; padding: 4px 5px 10px; }
  .lk-compose-folder-links a {
    display: block;
    color: var(--lk-mail-ink);
    padding: 6px 7px;
    border-radius: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .lk-compose-folder-links a:hover { background: var(--lk-mail-selected); }
  .lk-compose-folder-links h2 {
    color: var(--lk-mail-muted);
    border-top: 1px solid var(--lk-mail-line);
    font-size: 12px;
    margin: 8px 5px 2px;
    padding-top: 8px;
  }
  html.layout-large .lk-mail-shell .lk-mailbox-shortcuts:not([hidden]) {
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    padding-inline: 12px;
    border-bottom: 1px solid var(--lk-mail-line);
    background: var(--lk-mail-paper);
    overflow-x: auto;
  }
  .lk-mailbox-shortcuts button {
    flex: 0 0 auto;
    font-size: 12px;
    padding: 4px 9px;
    border: 1px solid var(--lk-mail-line);
    border-radius: 4px;
    background: var(--lk-mail-paper);
    color: var(--lk-mail-ink);
  }
  .lk-mailbox-shortcuts button[aria-current="true"] {
    background: var(--lk-mail-button);
    color: white;
    border-color: transparent;
  }
}

@media (min-width: 1024px) {
  html.layout-large .lk-mail-shell:not(.action-compose) :is(#layout-sidebar > .header, #messagelist-header, #layout-content > .header) {
    height: 32px;
    min-height: 32px;
    flex-basis: 32px;
  }

  html.layout-large .lk-mail-shell:not(.action-compose) #layout-sidebar > .header :is(.header-title, .sidebar-menu) {
    height: 31px;
    min-height: 31px;
    line-height: 31px;
    align-self: center;
  }

  html.layout-large .lk-mail-shell:not(.action-compose) :is(#messagelist-header #toolbar-list-menu, #layout-content > .header .toolbar) {
    height: 31px;
    min-height: 0;
    align-items: center;
  }

  html.layout-large .lk-mail-shell:not(.action-compose) :is(#messagelist-header #toolbar-list-menu > li > a, #messagelist-header > .refresh, #layout-content > .header .toolbar > li > a) {
    display: inline-flex;
    align-items: center;
    height: 30px;
    min-height: 0;
    gap: 5px;
    padding: 0 7px;
    line-height: 1.15;
  }

  html.layout-large .lk-mail-shell:not(.action-compose) :is(#messagelist-header #toolbar-list-menu > li > a, #messagelist-header > .refresh, #layout-content > .header .toolbar > li > a)::before {
    display: inline-block;
    height: auto;
    margin: 0;
    font-size: 14px;
    line-height: 1.15;
  }

  html.layout-large .lk-mail-shell .lk-mailbox-shortcuts:not([hidden]) { min-height: 34px; }



  html.layout-large .lk-mail-shell:has(#layout-sidebar .sidebar-menu) .popover:has(#mailboxoptions-menu) {
    position: fixed !important;
    left: var(--lk-folder-menu-x, 250px) !important;
    top: var(--lk-folder-menu-y, 54px) !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    max-width: calc(100vw - var(--lk-folder-menu-x, 250px) - 12px);
    width: max-content;
    margin: 0;
  }

  .lk-mail-shell .popover:has(#mailboxoptions-menu) > .arrow { display: none; }
  .lk-mail-shell .popover:has(#mailboxoptions-menu) > .popover-body { padding: 0; }

  .lk-mail-shell .popover #mailboxoptions-menu ul.menu {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    margin: 0;
  }

  .lk-mail-shell .popover #mailboxoptions-menu li { border: 0; }
  .lk-mail-shell .popover #mailboxoptions-menu li + li { border-inline-start: 1px solid var(--lk-mail-line); }

  .lk-mail-shell .popover #mailboxoptions-menu li > a {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 3px 9px;
    line-height: 1.2;
    white-space: nowrap;
  }

  .lk-mail-shell .popover #mailboxoptions-menu li > a::before {
    margin-inline-end: 5px;
    font-size: 13px;
  }
}

@media (min-width: 900px) {
  .lk-desktop-compose #compose-content #compose-options.formcontent { padding: 4px 0 2px; }

  .lk-desktop-compose #compose-options .form-group.row {
    display: grid;
    grid-template-columns: minmax(0, 168px) minmax(0, 260px);
    column-gap: 14px;
    align-items: center;
    margin: 0 0 5px;
    padding: 0;
  }

  .lk-desktop-compose #compose-options .form-group.row > .col-6 {
    width: auto;
    max-width: none;
    min-width: 0;
    padding: 0;
  }

  .lk-desktop-compose #compose-options .col-form-label { line-height: 1.3; }
  .lk-desktop-compose #compose-options .custom-switch { margin: 0; }
}

@media (min-width: 1024px) {




}

.lk-mail-shell #messagelist tbody tr.message .msgicon.status {
  color: var(--lk-mail-read-mark);
}

.lk-mail-shell #messagelist tbody tr.message.unread .msgicon.status {
  color: var(--lk-mail-unread-mark);
}

.lk-mail-shell #messagelist tbody tr.message:not(.selected) td.subject > .subject a,
.lk-mail-shell #messagelist tbody tr.message:not(.selected) td.subject > :is(.fromto, .date) {
  color: var(--lk-mail-read-text);
}

.lk-mail-shell #messagelist tbody tr.message.unread td.subject > .subject a,
.lk-mail-shell #messagelist tbody tr.message.unread td.subject > .fromto {
  font-weight: 700;
}

.lk-mail-shell #messagelist tbody tr.message.unread:not(.selected) td.subject > .subject a,
.lk-mail-shell #messagelist tbody tr.message.unread:not(.selected) td.subject > :is(.fromto, .date) {
  color: var(--lk-mail-ink);
}

.lk-mail-shell #messagelist tbody tr.message .msgicon.status:is([title=""], .unread) {
  display: inline-block;
  position: relative;
  inline-size: 12px;
  block-size: 1lh;
  line-height: inherit;
  vertical-align: top;
}

.lk-mail-shell #messagelist tbody tr.message .msgicon.status:is([title=""], .unread)::before {
  box-sizing: border-box;
  content: "";
  position: absolute;
  inset: 0;
  width: 8px;
  height: 8px;
  margin: auto;
  border-radius: 50%;
  background: var(--lk-mail-read-text);
}

.lk-mail-shell #messagelist tbody tr.message.unread .msgicon.status.unread::before {
  background: var(--lk-mail-unread-mark);
}

@media (max-width: 767px) {
  .lk-mail-shell #messagelist tbody tr.message > td {
    padding-block: .38rem;
  }

  .lk-mail-shell #messagelist td.subject {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .lk-mail-shell #messagelist td.subject > .subject {
    font-size: .93rem;
    line-height: 1.4;
  }

  .lk-mail-shell #messagelist td.subject > :is(.fromto, .date) {
    line-height: 1.3;
  }

  .task-login #login-form :is(.form-control, button[type="submit"]),
  .lk-mail-shell.action-compose #compose-content .form-control {
    min-height: 44px;
    font-size: 16px;
  }

  .lk-mail-shell.action-compose #compose-attachments {
    min-height: 0;
    padding: .55rem;
  }

  .lk-mail-shell.action-compose #compose-attachments .upload-form {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
  }

  .lk-mail-shell.action-compose #compose-attachments .upload-form .btn {
    min-height: 44px;
    margin: 0;
  }
}
.lk-mail-shell #layout-menu .popover-header:has(> #logo) { display: none; }

.lk-mail-shell #messagelist tbody tr.message { position: relative; }
.lk-mail-shell #messagelist tbody tr.message > td.selection {
  display: table-cell;
  width: 28px;
  min-width: 28px;
  padding: 0;
  text-align: center;
  vertical-align: middle;
}
.lk-mail-shell #messagelist td.selection input,
.lk-mail-controls input { accent-color: var(--lk-mail-button); cursor: pointer; }

.lk-mail-shell #layout #messagelist tbody tr.message > td.subject { padding-inline-start: 25px; }

.lk-mail-shell #layout #messagelist tbody tr.message > td.flags > .flag {
  position: absolute;
  inset-inline-start: 28px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 23px;
  height: 30px;
  font: 20px/1 system-ui, sans-serif;
  color: var(--lk-mail-muted);
}

.lk-mail-shell #messagelist tbody .flag > :is(.flagged, .unflagged) {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  cursor: pointer;
}
.lk-mail-shell #messagelist tbody .flag > .unflagged::before { content: "☆"; }
.lk-mail-shell #messagelist tbody .flag > .flagged::before {
  content: "★";
  color: var(--lk-mail-unread-mark);
}
.lk-mail-shell #messagelist tbody .flag > :is(.flagged, .unflagged)::before {
  font: inherit;
  margin: 0;
  width: auto;
  height: auto;
}

.lk-mail-controls {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 3px;
  min-height: 39px;
  padding: 3px 8px;
  overflow: auto hidden;
  background: var(--lk-mail-paper);
  border-bottom: 1px solid var(--lk-mail-line);
  color: var(--lk-mail-ink);
  white-space: nowrap;
}
.lk-mail-controls :is(button,select), .lk-mail-context button {
  color: inherit;
  border: 0;
  background: transparent;
  font: inherit;
}
.lk-mail-controls :is(button,select) { min-height: 31px; padding: 3px 8px; }
.lk-mail-controls select {
  margin-inline-start: 5px;
  border-inline-start: 1px solid var(--lk-mail-line);
  background: var(--lk-mail-paper);
}
.lk-mail-controls button:disabled, .lk-mail-context button:disabled { opacity: .48; }
.lk-mail-controls button:hover:enabled, .lk-mail-context button:hover:enabled {
  background: var(--lk-mail-soft);
  border-radius: 5px;
}
.lk-mail-controls .lk-select-page {
  display: grid;
  place-items: center;
  flex: 0 0 21px;
  min-height: 31px;
}
.lk-mail-context:not([hidden]) { display: grid; }
.lk-mail-context {
  position: fixed;
  z-index: 1090;
  min-width: 180px;
  max-width: calc(100vw - 16px);
  max-height: calc(100dvh - 16px);
  overflow: auto;
  padding: 5px;
  color: var(--lk-mail-ink);
  background: var(--lk-mail-paper);
  border: 1px solid var(--lk-mail-line);
  border-radius: 7px;
  box-shadow: 0 5px 20px #0003;
}
.lk-mail-context button { min-height: 32px; padding: 5px 10px; text-align: start; }

body.task-settings #layout-menu .popover-header:has(> #logo),
body.task-settings #taskmenu a.theme { display: none; }

.lk-sidebar-compose {
  display: flex;
  flex: 0 0 auto;
  margin: 8px 10px 4px;
  gap: 5px;
}
.lk-sidebar-compose .lk-mail-compose {
  display: block;
  flex: 1;
  margin: 0;
}
.lk-sidebar-quick, .lk-sidebar-settings {
  display: flex;
  flex: 0 0 auto;
  gap: 4px;
  padding: 5px 10px;
  border-bottom: 1px solid var(--lk-mail-line);
}
.lk-sidebar-settings {
  flex-direction: column;
  border-top: 1px solid var(--lk-mail-line);
  border-bottom: 0;
}
.lk-sidebar-quick button, .lk-sidebar-settings a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  color: var(--lk-mail-ink);
  background: var(--lk-mail-paper);
  border: 0;
  border-radius: 5px;
  white-space: nowrap;
}
.lk-sidebar-quick button { flex: 1 1 0; padding-inline: 4px; }
.lk-sidebar-settings a { justify-content: flex-start; padding-inline: 8px; }
.lk-sidebar-quick button:hover, .lk-sidebar-settings a:hover { background: var(--lk-mail-selected); }
.lk-sidebar-quick button[aria-pressed="true"] { background: var(--lk-mail-selected); font-weight: 700; }

@media (min-width: 1024px) {
  html.layout-large .lk-single-mail-sidebar #layout-menu { display: none; }
  html.layout-large .lk-single-mail-sidebar #layout-sidebar { min-width: 190px; }
  html.layout-large .lk-single-mail-sidebar #mailboxlist li.mailbox > a {
    line-height: 33px;
    min-height: 33px;
  }
  html.layout-large .lk-single-mail-sidebar #mailboxlist li.mailbox > a::before { line-height: inherit; }
  body.task-settings #layout-sidebar { width: 230px; min-width: 188px; max-width: 290px; }
  body.task-settings #layout-content > .header { justify-content: flex-start; padding-inline: 12px; }
  body.task-settings #layout-content > .header .toolbar { margin-inline: 0; }
}

#lkstudio-admin.lk-admin {
  width: min(100%, 49rem);
  max-width: 100%;
  margin: 0;
  padding: clamp(14px, 3vw, 26px);
  align-self: flex-start;
}
#lkstudio-admin form { min-width: 0; }
#lkstudio-admin fieldset { margin-block: 14px 18px; }
#lkstudio-admin .lk-palettes {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 8rem), 1fr));
  gap: 9px;
}
#lkstudio-admin .lk-palettes label { min-width: 0; margin: 0; }
#lkstudio-admin .lk-row { min-height: 32px; align-items: center; margin: 7px 0; gap: 8px; }
#lkstudio-admin .lk-row input[type="file"] { max-width: 100%; }
#lkstudio-admin .lk-mode-toggle { margin-inline-start: auto; min-height: 34px; }
#lkstudio-admin .lk-row:first-of-type { max-width: 23rem; }

body.lk-folder-editor form { max-width: 49rem; margin-inline: 0; }
@media (min-width: 580px) {
  body.lk-folder-editor .form-group.row { display: grid; grid-template-columns: 8rem minmax(0,1fr); gap: 8px; }
  body.lk-folder-editor .form-group.row > [class*="col-"] { width: auto; max-width: none; }
}

.lk-folder-batch {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-bottom: 1px solid #8793a34d;
}
.lk-folder-batch input, .lk-folder-select { cursor: pointer; }
.lk-folder-select-line { position: relative; }
.lk-folder-select-line > a { padding-inline-start: 30px !important; }
.lk-folder-select {
  position: absolute;
  inset-inline-start: 8px;
  top: 18px;
  transform: translateY(-50%);
  z-index: 1;
}
.lk-folder-confirm {
  width: min(92vw, 28rem);
  max-height: 75vh;
  overflow: auto;
  color: inherit;
  background: #fff;
  border: 1px solid #8191a3;
  border-radius: 9px;
  padding: 18px;
}
html.dark-mode .lk-folder-confirm { color: #e4ebf5; background: #222b36; }
.lk-folder-confirm::backdrop { background: #0006; }
.lk-folder-confirm .lk-confirm-buttons { display: flex; justify-content: flex-end; gap: 8px; }
.lk-folder-confirm ul { max-height: 12rem; overflow: auto; }

.lk-mail-shell #messagelist tbody tr.message.unread td.subject > .subject a,
.lk-mail-shell #messagelist tbody tr.message.unread td.subject > .fromto { font-weight: 550; }

.lk-mail-shell #messagelist-header > a.refresh::before {
  content: "";
  width: 18px;
  height: 18px;
  margin: 0;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.55' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19.5 9a8 8 0 1 0 .4 5m-.4-10v5h-5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.lk-mail-shell #messagelist-header > a.refresh { color: var(--lk-mail-muted); }
.lk-mail-shell #messagelist-header > a.refresh:hover { color: var(--lk-mail-ink); }

:is(html.touch, html.layout-phone, html.layout-normal) .lk-mail-shell #messagelist-header > a.refresh {
  display: grid;
  place-items: center;
  inline-size: 44px;
  min-inline-size: 44px;
  block-size: 44px;
  align-self: center;
  border-radius: 7px;
}
:is(html.touch, html.layout-phone, html.layout-normal) .lk-mail-shell #messagelist-header > a.refresh > .inner { display: none; }

:is(html.touch, html.layout-phone, html.layout-normal) .lk-mail-shell .lk-mail-controls > :is(button, select),

:is(html.touch, html.layout-phone, html.layout-normal) .lk-mail-shell .lk-mail-context {
  max-height: min(65dvh, 480px);
  overflow: auto;
}
:is(html.touch, html.layout-phone, html.layout-normal) .lk-mail-shell .lk-mail-context button {
  min-height: 44px;
  padding-inline: 13px;
}

@media (max-width: 767px) {
  .lk-mail-shell.action-compose #compose-content .formcontent { padding-inline: 10px; }
  .lk-mail-shell.action-compose #compose-attachments .upload-form { gap: 6px; }
  .lk-mail-shell.action-compose #compose-attachments .upload-form .btn { padding-inline: 9px; }
  .lk-mail-shell .lk-sidebar-compose button,
  .lk-mail-shell .lk-sidebar-quick button,
  .lk-mail-shell .lk-sidebar-settings a { min-height: 44px; }
}

.lk-single-mail-sidebar #layout-sidebar > .header .header-title {
  justify-content: flex-start;
  text-align: start;
  padding-inline-start: 10px;
}
.lk-single-mail-sidebar #layout-sidebar .lk-sidebar-compose {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 6px;
}
.lk-single-mail-sidebar #layout-sidebar .lk-sidebar-compose > .lk-mail-compose {
  width: 100%;
  min-width: 0;
  min-height: 38px;
  margin: 0;
  font-weight: 550;
}
.lk-mail-shell #messagelist tbody .flag > :is(.flagged, .unflagged)::before { translate: 0 -1.5px; }
.lk-mail-shell #messagelist tbody tr.message td.subject { cursor: pointer; }
.lk-mail-shell #messagelist tbody tr.message td.subject:hover > .subject a,
.lk-mail-shell #messagelist tbody tr.message td.subject > .subject a:focus-visible {
  text-decoration: underline;
  text-underline-offset: .16em;
}
.lk-mail-shell #messagelist .lk-contact-compose { color: inherit; cursor: pointer; }
.lk-mail-shell #messagelist .lk-contact-compose:is(:hover, :focus-visible) {
  text-decoration: underline;
  text-underline-offset: .16em;
}
@media (max-width: 767px) {
  .lk-single-mail-sidebar #layout-sidebar .lk-sidebar-compose > .lk-mail-compose { min-height: 44px; }
}

body.lk-studio-frame {
  display: flex;
  flex-direction: column;
  height: 100vh;
  height: 100dvh;
  min-height: 0;
  overflow: hidden;
}
body.lk-studio-frame > #layout {
  position: relative;
  inset: auto;
  flex: 1 1 0;
  height: auto !important;
  min-height: 0;
  width: 100%;
}
body.lk-studio-frame > .lk-mail-masthead {
  flex: 0 0 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
  padding-inline: 14px;
  gap: 10px;
  border-bottom: 1px solid var(--lk-mail-line);
  background: var(--lk-mail-paper);
  color: var(--lk-mail-ink);
}
.lk-studio-frame .lk-mail-home {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 7px;
  min-height: 34px;
  color: var(--lk-mail-ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}
.lk-studio-frame .lk-mail-mark {
  display: inline-grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 6px;
  background: var(--lk-mail-button);
  color: white;
  font-size: 14px;
  line-height: 1;
}
.lk-studio-frame .lk-app-navigation {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 4px;
}
.lk-studio-frame .lk-app-navigation a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-inline: 9px;
  min-height: 30px;
  border-radius: 6px;
  color: var(--lk-mail-muted);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.lk-studio-frame .lk-app-navigation a[aria-current="page"],
.lk-studio-frame .lk-app-navigation a:hover {
  color: var(--lk-mail-ink);
}
.lk-studio-frame .lk-app-navigation a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--lk-mail-muted);
  text-decoration-thickness: 1px;
  text-underline-offset: .35em;
}
.lk-studio-frame #layout > :is(#layout-sidebar,#layout-list,#layout-content) > .header {
  border-color: var(--lk-mail-line);
  background: var(--lk-mail-paper);
  color: var(--lk-mail-ink);
}
.lk-studio-frame #layout-sidebar .listing li.selected > a {
  background: var(--lk-mail-selected);
  color: var(--lk-mail-ink);
}
.lk-studio-frame #layout-menu .popover-header:has(> #logo) { display: none; }
@media (min-width: 1024px) {
  html.layout-large body.lk-studio-frame #layout-menu { display: none; }
  html.layout-large body.lk-studio-frame:is(.task-settings,.task-addressbook) #layout-sidebar {
    width: 216px;
    min-width: 190px;
    max-width: 260px;
  }
  html.layout-large body.lk-studio-frame:is(.task-settings,.task-addressbook) #layout > :is(#layout-sidebar,#layout-list,#layout-content) > .header {
    flex-basis: 39px;
    min-height: 39px;
    height: 39px;
    padding-inline: 10px;
    justify-content: flex-start;
  }
  html.layout-large body.lk-studio-frame:is(.task-settings,.task-addressbook) #layout > :is(#layout-sidebar,#layout-list,#layout-content) > .header .header-title {
    text-align: start;
    justify-content: flex-start;
    padding-inline-start: 0;
  }
}
@media (max-width: 520px) {
  body.lk-studio-frame > .lk-mail-masthead { padding-inline: 8px; gap: 4px; }
  .lk-studio-frame .lk-mail-home { font-size: 13px; }
  .lk-studio-frame .lk-app-navigation { gap: 1px; }
  .lk-studio-frame .lk-app-navigation a { min-height: 44px; padding-inline: 6px; font-size: 12px; }
}

.lk-single-mail-sidebar {
  --lk-list-check: 36px;
  --lk-list-icon: 17px;
  --lk-list-gap: clamp(8px, 1.15vw, 17px);
  --lk-list-sender: #566579;
}
html.dark-mode .lk-single-mail-sidebar { --lk-list-sender: #8fa0b5; }

.lk-single-mail-sidebar #layout-list,
.lk-single-mail-sidebar #messagelist-content { min-width: 0; }

.lk-single-mail-sidebar #messagelist {
  display: block;
  width: 100%;
  max-width: 100%;
}
.lk-single-mail-sidebar #messagelist > tbody { display: block; }
.lk-single-mail-sidebar #messagelist > thead { display: none; }
.lk-single-mail-sidebar #layout #messagelist tbody tr.message {
  box-sizing: border-box;
  position: relative;
  display: grid;
  grid-template-columns: var(--lk-list-check) minmax(0, 1fr);
  width: 100%;
  min-height: 63px;
  overflow: visible;
}
.lk-single-mail-sidebar #layout #messagelist tbody tr.message > td.selection {
  display: grid;
  place-items: center;
  width: var(--lk-list-check);
  min-width: 0;
  max-width: none;
  height: auto;
  padding: 0;
}
.lk-single-mail-sidebar #layout #messagelist td.selection input,
.lk-single-mail-sidebar #layout .lk-select-page input {
  margin: 0;
  inline-size: 15px;
  block-size: 15px;
}
.lk-single-mail-sidebar #layout #messagelist tbody tr.message > td.subject {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  grid-template-areas: "subject date" "sender .";
  align-content: center;
  align-items: center;
  gap: 3px var(--lk-list-gap);
  height: auto;
  min-height: 63px;
  min-width: 0;
  width: auto;
  margin: 0;
  padding: 8px var(--lk-list-gap) 8px 38px;
}
.lk-single-mail-sidebar #layout #messagelist td.subject > :is(.fromto,.date,.subject) {
  position: static;
  float: none;
  min-width: 0;
  width: auto;
  height: 18px;
  margin: 0;
  padding: 0;
  translate: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 18px;
}
.lk-single-mail-sidebar #layout #messagelist td.subject > .subject {
  display: flex;
  align-items: center;
  grid-area: subject;
  font-size: 14px;
}
.lk-single-mail-sidebar #layout #messagelist td.subject > .subject > a {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 18px;
}
.lk-single-mail-sidebar #layout #messagelist td.subject > .fromto {
  display: block;
  grid-area: sender;
  padding-inline-start: 13px;
  font-size: 12px;
  font-weight: 400;
  color: var(--lk-list-sender);
}
.lk-single-mail-sidebar #layout #messagelist td.subject > .fromto .lk-contact-compose {
  color: var(--lk-list-sender);
}
.lk-single-mail-sidebar #layout #messagelist td.subject > .date {
  display: block;
  grid-area: date;
  align-self: center;
  text-align: end;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}
.lk-single-mail-sidebar #layout #messagelist td.subject > .size { display: none; }
.lk-single-mail-sidebar #layout #messagelist td.subject > .subject > .msgicon.status {
  position: relative;
  flex: 0 0 13px;
  width: 13px;
  height: 18px;
  margin: 0;
  line-height: 18px;
}
.lk-single-mail-sidebar #layout #messagelist td.subject > .subject > .msgicon.status:is([title=""], .unread)::before {
  inset: 0;
  margin: auto;
}

.lk-single-mail-sidebar #layout #messagelist tbody tr.message > td.flags {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: auto;
  min-width: 0;
  height: auto;
  padding: 0;
  overflow: visible;
  pointer-events: none;
  background: transparent !important;
  border: 0;
}
.lk-single-mail-sidebar #layout #messagelist tbody tr.message > td.flags > .flag {
  inset-inline-start: var(--lk-list-check);
  display: grid;
  place-items: center;
  width: 36px;
  height: 44px;
  font-size: 17px;
  pointer-events: auto;
}
.lk-single-mail-sidebar #layout #messagelist tbody tr.message > td.flags > .flag,
.lk-single-mail-sidebar #layout #messagelist tbody tr.message > td.flags > .flag > :is(.flagged,.unflagged) {
  visibility: visible !important;
}
.lk-single-mail-sidebar #layout #messagelist tbody tr.message > td.flags > .flag > :is(.flagged,.unflagged)::before {
  translate: none;
}
.lk-single-mail-sidebar #layout #messagelist tbody td.flags > .attachment {
  position: absolute;
  display: block;
  inset-inline-end: var(--lk-list-gap);
  inset-block-end: 7px;
  font-size: 11px;
}

.lk-single-mail-sidebar #layout .lk-mail-controls {
  padding-inline-start: 0;
  align-items: center;
}
.lk-single-mail-sidebar #layout .lk-mail-controls .lk-select-page {
  display: grid;
  place-items: center;
  min-width: var(--lk-list-check);
  width: var(--lk-list-check);
  flex-basis: var(--lk-list-check);
}

.lk-single-mail-sidebar #messagelist-header :is(ul.toolbar > li > a, a.refresh) {
  align-items: center;
  line-height: 1;
}
.lk-single-mail-sidebar #messagelist-header ul.toolbar > li > a > .inner {
  margin-block: 0;
  line-height: 16px;
}

.lk-single-mail-sidebar #mailboxlist li.mailbox > a::before,
.lk-single-mail-sidebar #taskmenu a::before,
.lk-single-mail-sidebar #messagelist-header :is(ul.toolbar > li > a,a.back-sidebar-button,a.refresh,a.toolbar-menu-button,a.toolbar-list-button)::before {
  font-size: var(--lk-list-icon) !important;
}
.lk-single-mail-sidebar :is(#taskmenu a, #mailboxlist li.mailbox a, #messagelist-header a, .lk-list-actions a)[style*="--lk-outline"]::before {
  content: "" !important;
  display: inline-block;
  width: var(--lk-list-icon) !important;
  height: var(--lk-list-icon) !important;
  flex: 0 0 var(--lk-list-icon);
  vertical-align: middle;
  background: currentColor;
  mask: var(--lk-outline) center / contain no-repeat;
}
.lk-single-mail-sidebar #taskmenu a[style*="--lk-outline"]::before {
  display: block;
  margin: 0 auto;
}
html:is(.layout-small, .layout-normal) .lk-single-mail-sidebar #taskmenu a[style*="--lk-outline"] {
  position: relative;
}
html:is(.layout-small, .layout-normal) .lk-single-mail-sidebar #taskmenu a[style*="--lk-outline"]::before {
  position: absolute;
  inset: 50% auto auto 50%;
  margin: 0;
  transform: translate(-50%, -50%);
}
.lk-single-mail-sidebar #mailboxlist li.mailbox a[style*="--lk-outline"]::before {
  margin-inline-end: 10px;
}
.lk-single-mail-sidebar #messagelist-header a[style*="--lk-outline"]::before {
  margin-block: 0;
}
.lk-single-mail-sidebar #messagelist-header > a.back-sidebar-button[style*="--lk-outline"],
.lk-single-mail-sidebar #messagelist-header > a.toolbar-menu-button[style*="--lk-outline"],
.lk-single-mail-sidebar #messagelist-header > a.toolbar-list-button[style*="--lk-outline"] {
  place-items: center;
}
.lk-single-mail-sidebar #messagelist-header > a:is(.back-sidebar-button,.toolbar-menu-button,.toolbar-list-button)[style*="--lk-outline"]:not(.hidden) {
  align-content: center;
}
.lk-single-mail-sidebar #messagelist-header > a.selection:not(.hidden):not([hidden]) {
  position: relative;
  display: inline-grid;
  place-items: center;
  min-width: 27px;
}
.lk-single-mail-sidebar #layout #messagelist-header > a.selection::before {
  content: "";
  float: none;
  width: var(--lk-list-icon) !important;
  height: var(--lk-list-icon) !important;
  margin: 0;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Cpath d='m7.5 12 3 3 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.lk-single-mail-sidebar #messagelist-header > a.selection > .inner {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

@media (min-width: 768px) {
  .lk-single-mail-sidebar #layout:has(#messagecontframe[src*="watermark.html"]) > #layout-content:not(.selected) {
    display: none;
  }
  .lk-single-mail-sidebar #layout:has(#messagecontframe[src*="watermark.html"]) > #layout-list {
    flex: 1 1 0 !important;
    width: 0 !important;
    max-width: 100%;
    min-width: 0 !important;
  }
}
@media (min-width: 1050px) {
  .lk-single-mail-sidebar #layout:has(#messagecontframe[src*="watermark.html"]) > #layout-menu {
    display: none;
  }
  .lk-single-mail-sidebar #layout:has(#messagecontframe[src*="watermark.html"]) > #layout-sidebar {
    display: flex !important;
    flex: 0 0 210px !important;
    width: 210px !important;
    min-width: 210px;
    max-width: 210px;
    position: relative;
    inset: auto;
  }
  .lk-single-mail-sidebar #layout:has(#messagecontframe[src*="watermark.html"]) #messagelist-header .back-sidebar-button {
    display: none;
  }
}

.lk-studio-frame > .lk-studio-footer {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 3px 14px;
  padding: 6px 10px;
  border-top: 1px solid var(--lk-mail-line);
  background: var(--lk-mail-paper);
  color: var(--lk-mail-muted);
  font-size: 11px;
  line-height: 1.35;
  text-align: center;
}

.lk-single-mail-sidebar #layout-list > .lk-mailbox-shortcuts:not([hidden]) {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  min-height: 37px;
  padding: 5px 8px;
  border-bottom: 1px solid var(--lk-mail-line);
  background: var(--lk-mail-paper);
}
.lk-single-mail-sidebar .lk-mailbox-shortcuts button {
  appearance: none;
  flex: 0 0 auto;
  padding: 4px 8px;
  font-family: inherit;
  font-size: 12px;
  line-height: 17px;
  border: 1px solid var(--lk-mail-line);
  border-radius: 4px;
  background: var(--lk-mail-paper);
  color: var(--lk-mail-ink);
}
.lk-single-mail-sidebar .lk-mailbox-shortcuts button[aria-current="true"] {
  background: var(--lk-mail-button);
  color: white;
  border-color: transparent;
}

.lk-single-mail-sidebar #layout-list > .lk-list-actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  align-items: center;
  min-height: 34px;
  padding-inline: 7px;
  gap: 2px;
  border-bottom: 1px solid var(--lk-mail-line);
  background: var(--lk-mail-paper);
}
.lk-single-mail-sidebar .lk-list-actions > #toolbar-list-menu {
  display: flex !important;
  position: static;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px;
  background: transparent;
}
.lk-single-mail-sidebar .lk-list-actions > #toolbar-list-menu > li {
  display: flex;
  height: auto;
  margin: 0;
  padding: 0;
  border: 0;
}
.lk-single-mail-sidebar .lk-list-actions :is(#toolbar-list-menu > li > a, a.refresh) {
  display: inline-flex;
  align-items: center;
  justify-content: start;
  flex: 0 0 auto;
  gap: 5px;
  width: auto;
  height: auto;
  min-height: 32px;
  margin: 0;
  padding: 0 6px;
  color: inherit;
  font-size: 12px;
  line-height: 17px;
  border-radius: 4px;
  white-space: nowrap;
}
.lk-single-mail-sidebar .lk-list-actions :is(#toolbar-list-menu > li > a, a.refresh) > .inner {
  display: inline;
  position: static;
  margin: 0;
  padding: 0;
  clip: auto;
  width: auto;
  height: auto;
  vertical-align: middle;
  line-height: 17px;
}
.lk-single-mail-sidebar #layout-list > .lk-list-actions :is(a[style*="--lk-outline"], a.refresh)::before {
  float: none;
  width: var(--lk-list-icon) !important;
  height: var(--lk-list-icon) !important;
  flex: 0 0 var(--lk-list-icon);
  margin: 0;
  line-height: 1;
}
.lk-single-mail-sidebar .lk-list-actions a.refresh::before {
  content: "";
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.55' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19.5 9a8 8 0 1 0 .4 5m-.4-10v5h-5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.lk-single-mail-sidebar #layout-list > .lk-mail-controls {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 3px;
  min-height: 42px;
  padding: 2px 8px 2px 0;
  overflow: visible;
}
.lk-single-mail-sidebar #layout-list > .lk-mail-controls > :is(button,select,.lk-select-page) {
  width: auto;
  min-width: 0;
  min-height: 36px;
  margin: 0;
  padding-inline: 5px;
  font-family: inherit;
  font-size: 12px;
  white-space: nowrap;
}
.lk-single-mail-sidebar #layout-list > .lk-mail-controls > button:not([hidden]) { display: inline-block; }
.lk-single-mail-sidebar #layout-list > .lk-mail-controls > select { min-width: 100px; }
.lk-single-mail-sidebar #layout-list > .lk-mail-controls > .lk-select-page {
  width: var(--lk-list-check);
  flex: 0 0 var(--lk-list-check);
}

.lk-single-mail-sidebar #layout-list > .searchbar {
  position: relative;
  inset: auto;
  z-index: auto;
  flex: 0 0 auto;
  width: auto;
  min-height: 36px;
  margin: 0;
  border: 0;
  border-bottom: 1px solid var(--lk-mail-line);
  border-radius: 0;
}

.lk-single-mail-sidebar #layout-sidebar .lk-sidebar-compose > .lk-mail-compose {
  appearance: none;
  height: 38px;
  min-height: 38px;
  padding-inline: 6px;
  border: 1px solid transparent;
  border-radius: 4px;
  background: var(--lk-mail-button);
  color: white;
  font-family: inherit;
  font-size: 12px;
  font-weight: 650;
  white-space: nowrap;
}
.lk-single-mail-sidebar #layout-sidebar .lk-sidebar-compose > .lk-mail-compose:hover {
  background: var(--lk-mail-button-hover);
}

body.lk-studio-frame.lk-single-mail-sidebar {
  --lk-masthead-height: 38px;
  --lk-mailbox-header-height: 45px;
}
body.lk-studio-frame.lk-single-mail-sidebar > .lk-mail-masthead {
  flex-basis: var(--lk-masthead-height);
  height: var(--lk-masthead-height);
  min-height: var(--lk-masthead-height);
  padding-block: 0;
}
.lk-studio-frame.lk-single-mail-sidebar #layout > :is(#layout-list, #layout-sidebar) > :is(#messagelist-header, .header) {
  flex-basis: var(--lk-mailbox-header-height);
  height: var(--lk-mailbox-header-height);
  min-height: var(--lk-mailbox-header-height);
  align-items: center;
  padding-block: 0;
}
.lk-studio-frame.lk-single-mail-sidebar #layout > :is(#layout-list, #layout-sidebar) > :is(#messagelist-header, .header) > :is(.header-title, a) {
  height: calc(var(--lk-mailbox-header-height) - 1px);
  min-height: 0;
  padding-block: 0;
  line-height: calc(var(--lk-mailbox-header-height) - 1px);
}
.lk-studio-frame.lk-single-mail-sidebar #messagelist-header > a::before,
.lk-studio-frame.lk-single-mail-sidebar #layout-sidebar > .header > a::before {
  line-height: 1;
}
@media (max-width: 767px) {
  .lk-studio-frame.lk-single-mail-sidebar #messagelist-header {
    --lk-mailbox-header-height: 36px;
  }
}
@media (pointer: coarse), (max-width: 520px) {
  body.lk-studio-frame.lk-single-mail-sidebar { --lk-masthead-height: 44px; }
  body.lk-studio-frame > .lk-mail-masthead { min-height: 44px; }
  .lk-studio-frame :is(.lk-mail-home,.lk-app-navigation a) { min-height: 44px; }
}
@media (min-width: 768px) and (hover: hover) and (pointer: fine) {
  body.lk-studio-frame.lk-single-mail-sidebar {
    --lk-masthead-height: 38px;
    --lk-mailbox-header-height: 40px;
  }
  html.layout-large body.lk-studio-frame.lk-single-mail-sidebar { --lk-mailbox-header-height: 32px; }
}

.lk-single-mail-sidebar #layout-sidebar #mailboxlist > li.mailbox > a {
  display: flex;
  align-items: center;
  gap: 8px;
  height: auto;
  min-height: 33px;
  padding-block: 0;
  padding-inline-start: 9px;
  line-height: 18px;
}
.lk-single-mail-sidebar #layout-sidebar #mailboxlist > li.mailbox > a::before {
  display: block;
  align-self: center;
  margin: 0;
  line-height: 1;
}
.lk-single-mail-sidebar #layout-sidebar #mailboxlist > li.mailbox > a .unreadcount {
  inset-block-start: 50%;
  transform: translateY(-50%);
  margin-block: 0;
}
.lk-single-mail-sidebar #layout-sidebar .lk-sidebar-compose {
  margin: 6px 9px 3px;
}
.lk-single-mail-sidebar #layout-sidebar .lk-sidebar-compose > .lk-mail-compose {
  height: 34px;
  min-height: 34px;
}
.lk-single-mail-sidebar #layout-sidebar .lk-sidebar-quick {
  padding: 3px 9px 5px;
}
.lk-single-mail-sidebar #layout-sidebar .lk-sidebar-quick button {
  min-height: 30px;
}
.lk-single-mail-sidebar #layout-sidebar #mailboxlist > li.lk-custom-folder-start {
  margin-top: 5px;
}
.lk-single-mail-sidebar #layout-sidebar #mailboxlist > li.lk-custom-folder-start::before {
  padding: 5px 9px 3px;
  font-weight: 600;
}

.lk-single-mail-sidebar #layout-sidebar > .header .sidebar-menu {
  position: relative;
  flex: 0 0 27px;
  align-self: center;
}
.lk-single-mail-sidebar #layout-sidebar > .header .sidebar-menu::before {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 2.5px;
  height: 2.5px;
  margin: 0;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 -4px 0 currentColor, 0 4px 0 currentColor;
}
.lk-single-mail-sidebar #layout-sidebar #folderlist-content {
  scrollbar-width: none;
}
.lk-single-mail-sidebar #layout-sidebar #folderlist-content::-webkit-scrollbar {
  display: none;
}

