:root {
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Apple SD Gothic Neo",
    "Malgun Gothic",
    sans-serif;
  color: #22312f;
  background: #f7f8fa;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  border: 1px solid #146b55;
  background: #146b55;
  color: white;
  padding: 11px 19px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
}
button:hover {
  filter: brightness(0.95);
}
button:disabled {
  opacity: 0.4;
  cursor: default;
}
.secondary {
  background: white;
  border-color: #dce3e0;
  color: #41514d;
}
aside {
  width: 244px;
  background: #fff;
  border-right: 1px solid #e6e9e8;
  position: fixed;
  inset: 0 auto 0 0;
  padding: 36px 23px;
  display: flex;
  flex-direction: column;
}
.wordmark {
  font-weight: 850;
  font-size: 22px;
  letter-spacing: 2px;
  text-decoration: none;
  color: #172e27;
}
.wordmark span {
  color: #249475;
}
.workspace-label {
  font-size: 10px;
  letter-spacing: 2px;
  color: #a0aaa5;
  margin: 49px 12px 18px;
}
nav button {
  display: block;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  color: #7b8581;
  margin: 7px 0;
  padding: 13px 12px;
  font-weight: 500;
}
nav button.active {
  background: #e9f4ef;
  color: #146b55;
  font-weight: 700;
}
nav button span {
  margin-right: 13px;
  font-size: 17px;
}
.nav-group-heading {
  display: flex;
  align-items: center;
}
.nav-group-heading > [data-group-tab] {
  flex: 1;
}
.nav-group-heading > [data-menu-toggle] {
  width: 34px;
  flex-shrink: 0;
  text-align: center;
  padding: 12px 0;
}
.subnav[hidden] {
  display: none;
}
nav {
  overflow-y: auto;
  min-height: 0;
}
.resize-controls {
  border-top: 1px solid #edf0ee;
  margin-top: 16px;
  padding-top: 4px;
}
.aside-bottom {
  margin-top: auto;
  color: #61716b;
  font-size: 12px;
  line-height: 2;
}
.aside-bottom small {
  color: #a0aaa5;
  font-size: 11px;
}
.dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #2d9c77;
  border-radius: 50%;
  margin-right: 5px;
}
main {
  margin-left: 244px;
  padding: 0 48px 110px;
  max-width: 1800px;
}
header {
  height: 87px;
  border-bottom: 1px solid #e4e9e6;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.breadcrumb {
  font-size: 12px;
  color: #9aa39f;
}
.breadcrumb span {
  margin: 0 10px;
}
.breadcrumb span:last-child {
  color: #4b5b54;
}
.heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 39px 0 28px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 2px;
  color: #289478;
  font-weight: 700;
}
h1 {
  font-size: 30px;
  margin: 10px 0 11px;
  letter-spacing: -1px;
}
p {
  color: #8b9791;
  font-size: 13px;
  line-height: 1.7;
  margin: 0;
}
.connection {
  background: #fff;
  border: 1px solid #e4e9e6;
  border-radius: 10px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}
.connection strong {
  font-size: 13px;
}
.connection p {
  margin-left: 29px;
  font-size: 11px;
}
.folder-icon {
  font-size: 23px;
  color: #85958c;
  margin-right: 12px;
}
.tag {
  background: #eef3f0;
  color: #5d786b;
  padding: 6px 10px;
  border-radius: 5px;
  font-size: 10px;
}
.section-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 30px 0 20px;
}
h2 {
  font-size: 19px;
  letter-spacing: -0.5px;
}
h3 {
  font-size: 15px;
  margin: 0 0 9px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.card {
  background: white;
  border: 1px solid #e3e8e5;
  border-radius: 12px;
  padding: 24px;
  min-width: 0;
}
.brand-card {
  cursor: pointer;
  text-align: left;
  width: 100%;
  color: #233e33;
  transition: transform 0.15s;
}
.brand-card:hover {
  transform: translateY(-3px);
  border-color: #81b29b;
}
.brand-icon {
  background: #eef4ef;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 24px;
  color: #38806a;
  margin-bottom: 24px;
}
.brand-card h3 {
  font-size: 21px;
}
.brand-card .meta {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #eef1ef;
  margin-top: 25px;
  padding-top: 17px;
  color: #84928a;
  font-size: 11px;
}
.preview {
  background: repeating-conic-gradient(#4e6258 0% 25%, #40534a 0% 50%) 50%/16px
    16px;
  border: 1px solid #edf0ee;
  border-radius: 8px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px 0;
  color: #adb7b1;
  font-size: 12px;
  overflow: hidden;
}
.preview img,
.preview video {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.file-drop-zone {
  transition:
    outline-color 0.15s,
    background-color 0.15s;
}
.file-drop-zone.drag-over {
  outline: 2px dashed #278066;
  outline-offset: -2px;
  background-color: #edf8f1;
}
.drop-hint {
  display: block;
  margin-top: 8px;
  color: #278066;
  font-size: 11px;
}
.path {
  display: block;
  color: #86958c;
  font-size: 10px;
  line-height: 1.6;
  overflow-wrap: anywhere;
  font-family: ui-monospace, monospace;
  margin: 9px 0;
}
.path-editor {
  border-top: 1px solid #edf0ee;
  border-bottom: 1px solid #edf0ee;
  padding: 4px 0 10px;
  margin-top: 12px;
}
.path-editor button {
  margin-top: 8px;
}
label {
  display: block;
  font-size: 12px;
  color: #52635a;
  margin: 14px 0 7px;
}
input,
select,
textarea {
  width: 100%;
  border: 1px solid #dbe3df;
  border-radius: 7px;
  padding: 11px 12px;
  color: #2d4438;
  background: #fff;
  font-size: 13px;
  margin-top: 7px;
}
input[type="checkbox"] {
  width: auto;
  margin-right: 8px;
}
input[type="file"] {
  font-size: 11px;
  padding: 9px;
}
input[type="color"] {
  height: 42px;
  padding: 4px;
}
.row {
  display: flex;
  gap: 10px;
  align-items: end;
}
.row > * {
  flex: 1;
}
.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.ini-group {
  border: 1px solid #dbe3df;
  border-radius: 8px;
  padding: 12px 16px 18px;
  margin: 18px 0;
  min-width: 0;
}
.ini-group legend {
  color: #2d4438;
  font-weight: 600;
  padding: 0 6px;
}
.muted {
  font-size: 11px;
  color: #99a69e;
}
.error {
  color: #b44434;
  font-size: 12px;
}
.ok {
  color: #278066;
}
.badge {
  font-size: 10px;
  padding: 4px 8px;
  background: #f1f5f2;
  color: #5f7d6c;
  border-radius: 4px;
}
.badge.pending {
  background: #fff2db;
  color: #a17728;
}
#status:not(:empty) {
  padding: 14px 18px;
  background: #edf4f0;
  border: 1px solid #d5e7db;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 12px;
  white-space: pre-line;
  overflow-wrap: anywhere;
}
#status.error {
  background: #fff2ed;
  border-color: #f0cdc0;
}
.empty {
  text-align: center;
  padding: 75px 20px;
  background: white;
  border: 1px dashed #dbe4df;
  border-radius: 12px;
}
.empty h2 {
  margin-top: 18px;
}
.empty button {
  margin-top: 24px;
}
footer {
  position: fixed;
  bottom: 0;
  left: 244px;
  right: 0;
  border-top: 1px solid #e0e7e2;
  background: #fff;
  padding: 18px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 5;
  font-size: 12px;
}
footer[hidden] {
  display: none;
}
footer button {
  margin-left: 8px;
}
dialog {
  border: 0;
  border-radius: 14px;
  padding: 30px;
  max-width: 560px;
  box-shadow: 0 24px 100px #10291c40;
}
dialog::backdrop {
  background: #0b201950;
}
.dialog-actions {
  display: flex;
  gap: 10px;
  margin-top: 25px;
}
.list-item {
  border: 1px solid #e3e8e5;
  border-radius: 9px;
  padding: 16px;
  margin: 12px 0;
  background: white;
}
.list-item .row {
  margin-top: 12px;
}
.warning {
  background: #fff7e7;
  border: 1px solid #efe1bb;
  padding: 14px;
  border-radius: 8px;
  font-size: 12px;
  color: #8c783f;
  margin: 15px 0;
}
a {
  color: #146b55;
}
summary {
  cursor: pointer;
  font-size: 12px;
  color: #60796b;
  margin-top: 18px;
}
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.compare .preview {
  height: 140px;
}
.text-settings {
  margin: 12px 0;
}
.status-line {
  display: flex;
  gap: 8px;
  align-items: center;
}
.search {
  width: 260px;
  margin: 0;
}
.counts {
  display: flex;
  gap: 20px;
  color: #84998b;
  font-size: 12px;
}
.lock-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 1000px) {
  aside {
    width: 200px;
  }
  main {
    margin-left: 200px;
    padding: 0 24px 100px;
  }
  footer {
    left: 200px;
    padding: 16px 24px;
  }
  .lock-columns {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 650px) {
  aside {
    position: static;
    width: 100%;
    padding: 16px;
  }
  .workspace-label,
  .aside-bottom {
    display: none;
  }
  nav {
    display: flex;
    overflow: auto;
    margin-top: 10px;
  }
  nav button {
    white-space: nowrap;
    width: auto;
    margin: 0;
  }
  main {
    margin-left: 0;
    padding: 0 18px 120px;
  }
  header {
    height: 65px;
  }
  .heading {
    margin: 25px 0;
  }
  h1 {
    font-size: 25px;
  }
  .heading p {
    max-width: 230px;
  }
  .heading button {
    padding: 10px;
  }
  .connection {
    padding: 15px;
  }
  .two,
  .compare {
    grid-template-columns: 1fr;
  }
  .section-top {
    flex-wrap: wrap;
  }
  .search {
    width: 100%;
  }
  footer {
    left: 0;
    padding: 14px 18px;
  }
  .dialog-actions {
    flex-wrap: wrap;
  }
}

.subnav {
  padding-left: 20px;
  border-left: 2px solid #e9f4ef;
  margin-left: 20px;
}
.subnav button {
  font-size: 12px;
}
#conversion {
  padding: 16px;
  border-radius: 8px;
  background: #fff7e7;
  margin-bottom: 20px;
}
#conversion button {
  margin-left: 20px;
}
input[readonly] {
  background: #f7f8fa;
}
