:root {
  --ink: #262534;
  --muted: #777785;
  --purple: #7647df;
  --line: #e8e7ed;
  --bg: #f7f7fa;
  --sidebar: 215px;
  --radius: 15px;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
html {
  font-family:
    Inter, "Pretendard", "Apple SD Gothic Neo", "Noto Sans CJK KR",
    "Noto Sans KR", "Malgun Gothic", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button {
  background: none;
  border: 0;
}
a {
  color: var(--purple);
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #b291f7;
  outline-offset: 2px;
}
button {
  transition:
    background 0.15s,
    box-shadow 0.15s,
    color 0.15s;
}
svg {
  flex-shrink: 0;
  vertical-align: middle;
  stroke-width: 1.8;
}
h1,
h2,
h3,
p {
  margin: 0;
}
button,
strong,
h1,
h2,
h3,
b {
  word-break: keep-all;
}
small {
  font-size: 0.8125rem;
}
.muted,
.helper {
  color: var(--muted);
}
.tiny {
  font-size: 0.8125rem;
}
.helper {
  font-size: 0.84rem;
  line-height: 1.65;
  margin-top: 12px;
}
.shell {
  min-height: 100vh;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 10;
  width: var(--sidebar);
  background: #fff;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 32px 23px 28px;
  text-align: left;
  color: #282536;
}
.brand > span {
  font:
    750 1.65rem/0.98 Inter,
    Arial,
    sans-serif;
  letter-spacing: -1.1px;
}
.brandlogo {
  display: block;
  height: 24px;
  width: auto;
}
.brand small {
  display: block;
  font:
    650 0.84rem/1.4 "Noto Sans CJK KR",
    sans-serif;
  letter-spacing: -0.01em;
  color: #5d5a6b;
  margin-top: 8px;
}
.navgroups {
  padding: 9px 14px;
  overflow-y: auto;
}
.navgroups > label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: #90909c;
  letter-spacing: 0.025em;
  margin: 15px 12px 11px;
}
.navgroups > label:not(:first-child) {
  margin-top: 33px;
}
.navitem {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  margin: 4px 0;
  color: #62616f;
  border-radius: 9px;
  padding: 10px 12px;
  text-align: left;
  font-size: 0.925rem;
  letter-spacing: -0.025em;
  font-weight: 500;
}
.navitem:hover {
  background: #f6f4fa;
}
.navitem.active {
  background: #eee8fc;
  color: #7143d9;
  font-weight: 720;
}
.navcount {
  margin-left: auto;
  font-size: 0.75rem;
  font-weight: 650;
  color: #976526;
  background: #fff0d9;
  padding: 1px 7px;
  border-radius: 6px;
}
.workspaceprofile {
  margin-top: auto;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 21px 21px;
}
.prof {
  height: 34px;
  width: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e9e0fb;
  color: #734ac2;
  font: 750 1rem Arial;
}
.workspaceprofile strong,
.workspaceprofile small {
  display: block;
}
.workspaceprofile strong {
  font-size: 0.84rem;
  font-weight: 650;
}
.workspaceprofile small {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 3px;
}
.shell > main {
  margin-left: var(--sidebar);
  min-width: 0;
}
.topbar {
  height: 62px;
  border-bottom: 1px solid var(--line);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 2.45vw, 42px);
  gap: 12px;
}
.crumb,
.topactions,
.topdate {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #777583;
  font-size: 0.8rem;
}
.crumb b {
  font-weight: 600;
  color: #4e4b59;
}
.crumb > svg:first-child {
  color: #85828e;
}
.topactions {
  gap: 17px;
}
.topdate {
  gap: 8px;
  color: #696774;
}
.searchtop {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #858191;
  font-size: 0.8rem;
  padding: 6px;
  border-radius: 7px;
}
.searchtop:hover {
  background: #f5f3f8;
}
.searchtop kbd {
  font-family: inherit;
  border: 1px solid #e7e5eb;
  border-radius: 4px;
  font-size: 0.7rem;
  padding: 1px 4px;
  color: #878391;
}
.vline {
  width: 1px;
  height: 17px;
  background: var(--line);
}
.mobileMenu,
.scrim {
  display: none !important;
}
.content {
  padding: 26px clamp(20px, 2.45vw, 42px) 42px;
  max-width: 1710px;
  margin: auto;
}
.pagetitle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 21px;
}
.pagetitle h1 {
  font-size: clamp(1.65rem, 2vw, 2.15rem);
  font-weight: 750;
  letter-spacing: -0.065em;
  line-height: 1.35;
}
.pagetitle p {
  font-size: 0.9rem;
  color: #777582;
  margin-top: 6px;
  letter-spacing: -0.025em;
}
.pageactions,
.rowend,
.dialogfoot {
  display: flex;
  align-items: center;
  gap: 8px;
}
.btn {
  border: 1px solid #dedce5;
  border-radius: 8px;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  white-space: nowrap;
  padding: 9px 14px;
  min-height: 38px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  box-shadow: 0 1px 2px #15102905;
}
.btn:hover {
  background: #f7f6fa;
}
.btn.primary {
  background: var(--purple);
  border-color: var(--purple);
  color: white;
  box-shadow: 0 2px 4px #6235bb1a;
}
.btn.primary:hover {
  background: #6639cb;
}
.btn.soft {
  background: #f2ecff;
  color: var(--purple);
  border-color: #dacaf8;
}
.hero {
  min-height: 163px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(106deg, #6135bb 0%, #7f4bda 45%, #a989ed 100%);
  border-radius: var(--radius);
  color: white;
  display: flex;
  align-items: center;
}
.hero:after {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(
    rgba(255, 255, 255, 0.22) 0.7px,
    transparent 0.9px
  );
  background-size: 13px 13px;
  mask-image: linear-gradient(105deg, transparent 33%, #0008 70%, transparent);
}
.heroCopy {
  padding: 19px 27px 20px;
  position: relative;
  z-index: 1;
}
.brief {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff1b;
  border: 1px solid #ffffff32;
  padding: 3px 9px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 550;
  line-height: 1.3;
  color: #fff;
}
.hero h2 {
  font-size: clamp(1.3rem, 1.75vw, 1.8rem);
  line-height: 1.4;
  margin: 9px 0 3px;
  letter-spacing: -0.052em;
  font-weight: 740;
}
.hero h2 em {
  font-style: normal;
  color: #e0ffab;
}
.hero p {
  font-size: 0.85rem;
  color: #f0e8ff;
  letter-spacing: -0.02em;
}
.hero button {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 0;
  margin-top: 13px;
  line-height: 1.5;
  color: white;
  font-size: 0.82rem;
  font-weight: 650;
}
.hero button:hover {
  text-decoration: underline;
}
.track {
  position: absolute;
  right: 1%;
  top: -5%;
  height: 112%;
  width: 51%;
  z-index: 0;
  overflow: visible;
  pointer-events: none;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 17px 0;
}
.metric {
  padding: 16px 18px 14px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  text-align: left;
  position: relative;
  box-shadow: 0 2px 3px #26213302;
}
.metric:hover,
.boarditem:hover {
  border-color: #cdb8ef;
  box-shadow: 0 3px 12px #4a32750b;
}
.metrichead {
  display: flex;
  align-items: center;
  gap: 9px;
}
.metrichead strong {
  font-size: 0.9rem;
  line-height: 1.25;
  color: #595563;
  font-weight: 600;
}
.tile {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
}
.lilac,
.tone0 {
  background: #eee7fd;
  color: #8350df;
}
.mint,
.tone2 {
  background: #e2f5eb;
  color: #2f996f;
}
.peach,
.tone3 {
  background: #fff0e3;
  color: #d4863a;
}
.sky,
.tone1 {
  background: #e7f0ff;
  color: #588cce;
}
.tone4 {
  background: #f4eaf4;
  color: #b17eae;
}
.metricnum {
  font-family: Inter, Arial, sans-serif;
  font-weight: 650;
  font-size: 1.95rem;
  line-height: 1.2;
  letter-spacing: -0.045em;
  margin-top: 9px;
}
.metricnum small {
  font:
    500 0.91rem/1.2 "Noto Sans CJK KR",
    Arial,
    sans-serif;
  color: #74707e;
  margin-left: 5px;
}
.metricfoot {
  display: block;
  font-size: 0.76rem;
  color: #888390;
  margin-top: 4px;
  letter-spacing: -0.02em;
}
.dashgrid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: 16px;
  margin-bottom: 18px;
}
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 5px #26213302;
  min-width: 0;
}
.panelhead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 19px 21px 12px;
  min-height: 56px;
}
.panelhead > div:first-child {
  display: flex;
  align-items: center;
  gap: 9px;
}
.headingmark {
  color: #786191;
  display: flex;
}
.panel h2,
.dialoghead h2 {
  font-size: 1.08rem;
  letter-spacing: -0.045em;
  font-weight: 700;
}
.more,
.textBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: #736f81;
  padding: 4px 0;
  font-size: 0.8rem;
  font-weight: 500;
}
.more:hover,
.textBtn:hover {
  color: var(--purple);
  text-decoration: underline;
}
.textBtn {
  color: var(--purple);
  font-size: 0.875rem;
  gap: 6px;
}
.textBtn.muted {
  color: #817c88;
}
.countbadge {
  font:
    600 0.75rem/1.4 Inter,
    Arial,
    sans-serif;
  color: #8152ce;
  background: #f1eafd;
  padding: 2px 7px;
  border-radius: 6px;
}
.chartbody {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 38px);
  padding: 7px 24px 19px 20px;
  min-height: 172px;
}
.donut {
  position: relative;
  width: clamp(120px, 12.1vw, 182px);
  flex-shrink: 0;
  aspect-ratio: 1;
}
.donut svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.donut > div {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  pointer-events: none;
}
.donut b {
  font:
    650 clamp(1.65rem, 2.3vw, 2.5rem) / 1.1 Inter,
    Arial,
    sans-serif;
  letter-spacing: -0.055em;
}
.donut small {
  font-size: 0.75rem;
  color: #817b88;
  margin-top: 3px;
  max-width: 60%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.legend {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 6px;
}
.legend button {
  display: flex;
  align-items: center;
  text-align: left;
  gap: 8px;
  font-size: 0.84rem;
  padding: 4px 0;
  color: #69636f;
}
.legend button:hover {
  color: var(--purple);
}
.legend i,
.pill i,
.daylist > button i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.legend span {
  flex: 1;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}
.legend b {
  font-family: Arial, sans-serif;
  color: #42404c;
  font-weight: 650;
}
.legend b small {
  margin-left: 3px;
  color: #888390;
  font-family: inherit;
  font-size: 0.73rem;
  font-weight: 400;
}
select {
  appearance: none;
  background: #fff
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m2 2 4 4 4-4' fill='none' stroke='%237b7486' stroke-width='1.5'/%3E%3C/svg%3E")
    no-repeat right 10px center;
  border: 1px solid #dedbe4;
  border-radius: 7px;
  padding: 8px 29px 8px 10px;
  min-width: 0;
  font-size: 0.875rem;
}
.smallselect {
  font-size: 0.78rem;
  max-width: 130px;
  padding: 5px 26px 5px 10px;
}
.weekcenter {
  padding: 0 21px 15px;
}
.weekmonth,
.weekmonth > div {
  display: flex;
  align-items: center;
}
.weekmonth {
  justify-content: space-between;
  margin: 0 0 7px;
}
.weekmonth > b {
  font-size: 0.83rem;
  letter-spacing: -0.02em;
  font-weight: 600;
}
.weekmonth button,
.pagination button {
  width: 25px;
  height: 25px;
  display: inline-grid;
  place-items: center;
  color: #797481;
  border-radius: 5px;
}
.weekmonth button:hover,
.pagination button:hover {
  background: #f2edf9;
}
.weekstrip {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 5px;
}
.weekstrip > button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 61px;
  border-radius: 9px;
  padding: 4px 0 3px;
}
.weekstrip small {
  font-size: 0.74rem;
  color: #8e8896;
}
.weekstrip b {
  font:
    600 1rem/1.2 Inter,
    Arial,
    sans-serif;
  margin: 6px 0 3px;
}
.weekstrip i {
  height: 4px;
  width: 4px;
  border-radius: 50%;
  background: transparent;
}
.weekstrip i.event {
  background: var(--purple);
}
.weekstrip > button:hover {
  background: #f5f1fa;
}
.weekstrip > button.today small {
  color: var(--purple);
}
.weekstrip > button.selected {
  color: white;
  background: var(--purple);
  box-shadow: 0 2px 5px #7444cd1a;
}
.weekstrip > button.selected small {
  color: #eee7ff;
}
.weekstrip > button.selected .event {
  background: #d7ffae;
}
.daylist {
  border-top: 1px solid #eeedf0;
  margin-top: 10px;
  padding-top: 11px;
}
.dayempty,
.daylist > button {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #8a8392;
  font-size: 0.8rem;
  min-height: 26px;
}
.dayempty > svg {
  color: #9e90ac;
}
.dayempty button {
  margin-left: auto;
  color: var(--purple);
  font-weight: 600;
  font-size: 0.77rem;
}
.daylist > button {
  width: 100%;
  text-align: left;
}
.daylist > button i {
  background: var(--purple);
  width: 6px;
  height: 6px;
}
.daylist > button span {
  margin-left: auto;
}
.daylist > button strong {
  color: #55505e;
}
.recent .panelhead {
  padding-bottom: 17px;
}
.tablewrap {
  width: 100%;
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  font-size: 0.845rem;
  text-align: left;
}
th {
  background: #f9f8fb;
  color: #8b8592;
  font-size: 0.77rem;
  font-weight: 500;
  white-space: nowrap;
}
th,
td {
  padding: 12px 14px;
  border-bottom: 1px solid #efedf2;
}
td {
  color: #595460;
}
th:first-child,
td:first-child {
  padding-left: 21px;
}
th:last-child,
td:last-child {
  padding-right: 14px;
}
tbody tr:last-child td {
  border-bottom: 0;
}
.partners {
  white-space: nowrap;
}
.partners tr {
  cursor: pointer;
}
.partners tbody tr:hover {
  background: #faf8fe;
}
.partners th,
.partners td {
  padding-top: 10px;
  padding-bottom: 10px;
}
.company {
  display: flex;
  align-items: center;
  gap: 11px;
  text-align: left;
  padding: 0;
  max-width: clamp(165px, 23vw, 410px);
}
.company > span:last-child {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 4px;
}
.company b {
  font-size: 0.875rem;
  font-weight: 610;
  letter-spacing: -0.035em;
  color: #373340;
}
.company small,
.company b {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.company small {
  font-size: 0.73rem;
  color: #99929f;
  font-weight: 400;
}
.avatar {
  width: 33px;
  height: 33px;
  border-radius: 9px;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
}
.industry {
  font-size: 0.8rem;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  padding: 3px 8px;
  font-size: 0.76rem;
  font-weight: 550;
  border-radius: 20px;
  color: #746d80;
  background: #f0edf4;
}
.pill i {
  width: 5px;
  height: 5px;
  background: currentColor;
}
.neutral {
  color: #7c7585;
  background: #f1eff4;
}
.green {
  color: #2f946b;
  background: #e2f5eb;
}
.purple {
  color: #8454ce;
  background: #f0e8fc;
}
.blue {
  color: #477fc0;
  background: #e8f1fc;
}
.amber {
  color: #a87526;
  background: #fff1d8;
}
.phoneval {
  font-family: Inter, Arial, sans-serif;
  letter-spacing: 0.01em;
  font-size: 0.845rem;
}
.toolbar,
.filterrow,
.listcount,
.pagination {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
}
.toolbar {
  flex-wrap: wrap;
}
.inputsearch {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 12px;
  border: 1px solid #dedbe5;
  background: #fff;
  border-radius: 8px;
  min-height: 38px;
  color: #9990a2;
}
.inputsearch input {
  outline: none;
  box-shadow: none;
  border: 0;
  min-width: 0;
  width: 100%;
  background: transparent;
  font-size: 0.875rem;
}
.inputsearch:focus-within {
  border-color: var(--purple);
  box-shadow: 0 0 0 2px #efe6ff;
}
.toolbar .inputsearch {
  flex: 1;
  min-width: 185px;
  max-width: 430px;
  margin-right: auto;
}
.toolbar select {
  height: 38px;
}
.listcount {
  font-size: 0.85rem;
  padding-top: 0;
  padding-bottom: 12px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #f3ecfd;
  color: var(--purple);
  border-radius: 7px;
  padding: 4px 7px;
  font-size: 0.76rem;
}
.filterrow {
  background: #faf9fc;
  flex-wrap: wrap;
  border-block: 1px solid var(--line);
  margin-bottom: 12px;
}
.filterrow label,
.controlLabel,
.formgrid label,
.mapgrid label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.85rem;
  font-weight: 550;
  color: #5c5665;
}
.filterrow select {
  min-width: 130px;
}
.pagination {
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
}
.pagination > div {
  display: flex;
  align-items: center;
  gap: 15px;
}
.pagination b {
  font-weight: 550;
}
.qualitycards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}
.qualitycards button {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  text-align: left;
  padding: 16px 18px;
}
.qualitycards button.selected {
  border-color: var(--purple);
  background: #f6f0ff;
}
.qualitycards span {
  font-size: 0.875rem;
  color: #756c7d;
  display: block;
}
.qualitycards b {
  font-size: 1.6rem;
  display: block;
  margin-top: 8px;
}
.qualitycards small {
  font-weight: 450;
  color: var(--muted);
  margin-left: 4px;
}
.scheduleSummary {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #706977;
  font-size: 0.875rem;
  margin: 0 0 19px;
}
.board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
}
.board > section {
  border: 1px solid var(--line);
  background: #f1f0f5;
  min-height: 230px;
  border-radius: 13px;
  padding: 14px;
}
.board header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}
.board header > b {
  font-size: 0.85rem;
  color: #837d8c;
}
.boarditem {
  display: grid;
  text-align: left;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
  gap: 9px;
  width: 100%;
  margin-bottom: 9px;
}
.boarditem > small,
.boarditem > span:not(.pill) {
  font-size: 0.8rem;
  color: var(--muted);
}
.boarditem > span:not(.pill) {
  display: flex;
  align-items: center;
  gap: 5px;
}
.boarditem .pill {
  justify-self: start;
}
.laneempty {
  font-size: 0.83rem;
  text-align: center;
  color: #938b9b;
  margin: 54px 0;
}
.empty {
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}
.emptyico {
  display: grid;
  place-items: center;
  width: 49px;
  height: 49px;
  border-radius: 15px;
  color: #a087bc;
  background: #f3eff8;
}
.empty strong {
  color: #62596b;
  font-size: 1rem;
}
.empty small {
  color: var(--muted);
}
.library {
  max-width: 960px;
}
.library .templateBox {
  padding: 12px 22px 24px;
}
.templateBox .controlLabel {
  margin-bottom: 16px;
}
.seg,
.tabs {
  display: flex;
  gap: 4px;
}
.seg {
  padding: 4px;
  background: #f3f1f6;
  border-radius: 9px;
  flex-wrap: wrap;
}
.seg button {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 8px 6px;
  border-radius: 6px;
  color: #736b7c;
  font-size: 0.8rem;
}
.seg button.on {
  background: #fff;
  box-shadow: 0 1px 4px #1f123515;
  color: var(--purple);
  font-weight: 650;
}
.script {
  padding: 22px;
  white-space: pre-wrap;
  line-height: 1.85;
  font-size: 0.91rem;
  background: #fcfbfe;
  border: 1px solid #eae4f3;
  border-radius: 11px;
  margin: 16px 0;
  color: #4d4459;
}
.rowend {
  justify-content: flex-end;
}
.backdrop {
  position: fixed;
  inset: 0;
  background: #27203950;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(2px);
}
.backdrop.right {
  justify-content: flex-end;
  padding: 0;
}
.dialog {
  background: #fff;
  width: min(480px, 100%);
  max-height: 90dvh;
  border-radius: 17px;
  box-shadow: 0 18px 70px #25163828;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  outline: 0;
}
.dialog.wide {
  width: min(700px, 100%);
}
.dialog.drawer {
  width: min(530px, 100%);
  height: 100dvh;
  max-height: none;
  border-radius: 16px 0 0 16px;
}
.dialog > form {
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.dialoghead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 19px 22px;
  border-bottom: 1px solid var(--line);
}
.dialoghead h2 {
  font-size: 1.16rem;
  line-height: 1.45;
}
.dialoghead .tiny {
  display: block;
  margin-bottom: 4px;
}
.iconbtn {
  width: 32px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  border-radius: 7px;
  color: #786f83;
}
.iconbtn:hover {
  background: #f4f0f7;
}
.dialogbody {
  padding: 20px 22px;
  overflow: auto;
  min-height: 0;
}
.dialogbody.grow {
  flex: 1;
}
.dialogfoot {
  flex-shrink: 0;
  justify-content: flex-end;
  border-top: 1px solid var(--line);
  padding: 14px 22px;
  background: #fff;
}
.formgrid,
.mapgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.span2 {
  grid-column: 1/-1;
}
.formgrid label {
  position: relative;
}
.formgrid label em {
  position: absolute;
  top: 0;
  left: 42px;
  font-style: normal;
  color: var(--purple);
}
input:not([type="checkbox"]):not([type="file"]),
textarea {
  border: 1px solid #dedbe5;
  background: #fff;
  border-radius: 7px;
  padding: 9px 10px;
  min-width: 0;
  font-size: 0.875rem;
  line-height: 1.45;
}
.inputsearch input:not([type="checkbox"]) {
  border: 0;
  padding: 9px 0;
  outline: 0;
}
.formgrid input,
.formgrid select,
.formgrid textarea,
.controlLabel textarea,
.mapgrid select {
  width: 100%;
  font-weight: 400;
}
input::placeholder,
textarea::placeholder {
  color: #aaa3b1;
}
input[type="checkbox"] {
  accent-color: var(--purple);
  width: 16px;
  height: 16px;
}
.checkline {
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 0.85rem;
  margin-top: 17px;
}
.notice,
.qc {
  border: 1px solid #f0debd;
  background: #fff8ec;
  color: #88632a;
  padding: 11px 13px;
  border-radius: 9px;
  font-size: 0.84rem;
  line-height: 1.6;
  margin-bottom: 15px;
}
.notice {
  display: flex;
  align-items: center;
  gap: 8px;
}
.qc strong,
.source strong {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
}
.qc p,
.source p {
  font-size: 0.8rem;
  margin: 4px 0;
  line-height: 1.6;
}
.drawerbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 22px;
}
.tabs {
  padding: 0 22px;
  border-bottom: 1px solid var(--line);
  gap: 17px;
}
.tabs button {
  padding: 10px 3px;
  color: #8e8596;
  font-size: 0.875rem;
  font-weight: 550;
  border-bottom: 2px solid transparent;
}
.tabs .active {
  color: var(--purple);
  border-color: var(--purple);
}
.tabs b {
  margin-left: 4px;
  background: #f0edf6;
  padding: 1px 6px;
  font-size: 0.73rem;
  border-radius: 6px;
}
.info {
  margin: 0;
}
.info > div {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  font-size: 0.875rem;
  line-height: 1.6;
  padding: 9px 0;
  border-bottom: 1px solid #f0eef3;
}
.info dt {
  color: #8b8292;
}
.info dd {
  margin: 0;
  color: #514959;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
.source {
  margin: 15px 0;
  background: #f7f5fa;
  padding: 15px;
  border-radius: 9px;
  color: #756b7f;
}
.source a {
  font-size: 0.78rem;
  margin-right: 9px;
}
.history article {
  display: flex;
  gap: 13px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.history strong,
.history p {
  font-size: 0.875rem;
}
.history p {
  margin: 5px 0;
  color: #655c6e;
  white-space: pre-wrap;
}
.history small {
  color: var(--muted);
}
.tag {
  background: #f1eff5;
  border-radius: 6px;
  font-size: 0.75rem;
  margin-left: 6px;
  padding: 2px 5px;
}
.drop {
  border: 2px dashed #ccbbe4;
  background: #fbf8ff;
  padding: 36px 14px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
}
.drop:hover,
.drop.drag {
  background: #f1e9fe;
}
.drop small,
.fileinfo {
  color: var(--muted);
}
.fileinfo {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.85rem;
  padding: 12px;
  margin-bottom: 16px;
  background: #f4f1f8;
  border-radius: 9px;
}
.fileinfo b {
  overflow-wrap: anywhere;
}
.fileinfo .textBtn {
  margin-left: auto;
  white-space: nowrap;
}
.spaceTop {
  margin-top: 18px;
}
h3.spaceTop {
  margin-bottom: 10px;
  font-size: 0.95rem;
}
h3 small {
  font-weight: 450;
  color: var(--muted);
  margin-left: 4px;
}
.mapgrid {
  margin-top: 12px;
  background: #f7f5fa;
  padding: 14px;
  border-radius: 10px;
}
.mini td,
.mini th {
  font-size: 0.78rem;
  padding: 8px;
}
.mini td:last-child {
  max-width: 230px;
}
.pad {
  padding: 0 20px 12px;
}
.searchresults {
  max-height: 55vh;
  overflow: auto;
}
.searchresults > button {
  display: flex;
  text-align: left;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--line);
  width: 100%;
  padding: 12px 2px;
}
.searchresults > button > span:nth-child(2) {
  display: grid;
  gap: 4px;
  flex: 1;
}
.searchresults small {
  color: var(--muted);
}
.searchresults b {
  font-size: 0.9rem;
}
.toast {
  position: fixed;
  bottom: 23px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 80;
  background: #32283c;
  color: white;
  border-radius: 10px;
  box-shadow: 0 5px 18px #30203920;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 19px;
  font-size: 0.9rem;
}
@media (min-width: 1550px) {
  :root {
    --sidebar: 245px;
  }
  .content {
    padding-top: 35px;
  }
  .hero {
    min-height: 185px;
  }
  .metrics {
    gap: 18px;
    margin: 21px 0;
  }
  .metric {
    padding: 20px 23px;
  }
  .dashgrid {
    gap: 19px;
  }
  .chartbody {
    justify-content: space-evenly;
    padding: 12px 34px 23px;
  }
  .weekstrip > button {
    min-height: 74px;
  }
  .weekmonth {
    margin: 8px 0 12px;
  }
  .topbar {
    height: 68px;
  }
}
@media (max-width: 1180px) {
  :root {
    --sidebar: 190px;
  }
  .brand {
    padding-left: 18px;
  }
  .navgroups {
    padding-inline: 10px;
  }
  .navitem {
    gap: 9px;
  }
  .content {
    padding-inline: 21px;
  }
  .topbar {
    padding-inline: 21px;
  }
  .panelhead {
    padding-inline: 16px;
  }
  .chartbody {
    gap: 14px;
    padding-inline: 12px;
  }
  .weekcenter {
    padding-inline: 16px;
  }
  .metrics {
    gap: 10px;
  }
  .metric {
    padding: 14px;
  }
  .legend {
    gap: 5px;
  }
  .legend button {
    font-size: 0.78rem;
  }
  .dashgrid {
    gap: 12px;
  }
  .board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .company {
    max-width: 220px;
  }
}
@media (max-width: 960px) {
  :root {
    --sidebar: 165px;
  }
  .brand {
    gap: 8px;
    padding-inline: 13px;
  }
  .brand > span {
    font-size: 1.4rem;
  }
  .brand > svg {
    width: 33px;
  }
  .navitem {
    font-size: 0.85rem;
    padding-inline: 8px;
  }
  .workspaceprofile {
    padding: 15px 10px;
  }
  .metrics {
    gap: 8px;
  }
  .metric {
    padding: 12px;
  }
  .metrichead {
    gap: 5px;
  }
  .metrichead strong {
    font-size: 0.8rem;
  }
  .metric .tile {
    width: 27px;
    height: 27px;
  }
  .metricfoot {
    font-size: 0.75rem;
  }
  .pagetitle {
    align-items: flex-start;
  }
  .pageactions .btn {
    font-size: 0.78rem;
    padding: 8px 9px;
  }
  .topactions {
    gap: 7px;
  }
  .searchtop span,
  .searchtop kbd {
    display: none;
  }
  .dashgrid {
    grid-template-columns: 1fr 1fr;
  }
  .chartbody {
    flex-direction: column;
    gap: 4px;
    align-items: stretch;
  }
  .donut {
    align-self: center;
    width: 118px;
  }
  .legend {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 10px;
  }
  .legend button {
    min-width: 0;
    font-size: 0.75rem;
    gap: 4px;
  }
  .legend b small {
    display: none;
  }
  .weekstrip {
    gap: 2px;
  }
  .weekstrip > button {
    min-height: 73px;
  }
  .weekmonth {
    margin-top: 9px;
    margin-bottom: 12px;
  }
  .weekcenter {
    padding-inline: 12px;
  }
  .dayempty {
    font-size: 0.77rem;
    flex-wrap: wrap;
  }
  .topdate {
    font-size: 0.75rem;
  }
  .track {
    right: -6%;
    width: 53%;
  }
  .content {
    padding-inline: 16px;
  }
  .company {
    max-width: 175px;
  }
  .board {
    gap: 10px;
  }
}
@media (max-width: 760px) {
  :root {
    --sidebar: 0px;
  }
  .sidebar {
    width: 222px;
    transform: translateX(-105%);
    transition: transform 0.2s;
    z-index: 35;
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .scrim {
    display: block !important;
    position: fixed;
    inset: 0;
    z-index: 32;
    background: #28223355;
  }
  .mobileMenu {
    display: grid !important;
  }
  .brand {
    padding: 23px 20px;
  }
  .brand > span {
    font-size: 1.6rem;
  }
  .navitem {
    font-size: 0.95rem;
    padding: 12px;
  }
  .topbar {
    height: 52px;
    padding: 0 13px;
    gap: 6px;
  }
  .topactions {
    margin-left: auto;
  }
  .topdate {
    font-size: 0.75rem;
  }
  .crumb {
    font-size: 0.76rem;
    gap: 5px;
  }
  .crumb > svg:first-child {
    display: none;
  }
  .topactions .vline {
    display: none;
  }
  .pagetitle {
    align-items: center;
  }
  .content {
    padding: 20px 14px 36px;
  }
  .pagetitle p {
    font-size: 0.82rem;
  }
  .hero {
    min-height: 148px;
  }
  .heroCopy {
    padding: 16px 18px;
  }
  .track {
    width: 52%;
    right: -5%;
    top: 0;
    height: 100%;
  }
  .dashgrid {
    grid-template-columns: 1fr 1fr;
  }
  .metrics {
    margin: 12px 0;
  }
  .legend {
    grid-template-columns: 1fr;
  }
  .chartbody {
    flex-direction: row;
    align-items: center;
    gap: 8px;
  }
  .donut {
    width: 103px;
  }
  .weekmonth {
    margin: 0 0 5px;
  }
  .weekstrip > button {
    min-height: 53px;
  }
  .panelhead {
    padding: 14px 13px 10px;
    min-height: 45px;
  }
  .panel h2 {
    font-size: 0.96rem;
  }
  .weekcenter {
    padding: 0 12px 13px;
  }
  .chartbody {
    min-height: 143px;
  }
  .metricfoot {
    font-size: 0.72rem;
  }
  .qualitycards {
    gap: 7px;
  }
  .qualitycards button {
    padding: 12px;
  }
  .topbar .searchtop {
    padding: 5px;
  }
  .workspaceprofile {
    padding: 15px 20px;
  }
}
@media (max-width: 620px) {
  .pagetitle {
    align-items: flex-start;
    gap: 12px;
    flex-direction: column;
    margin-bottom: 14px;
  }
  .pagetitle h1 {
    font-size: 1.65rem;
  }
  .pageactions {
    width: 100%;
  }
  .pageactions:empty {
    display: none;
  }
  .pageactions .btn {
    font-size: 0.84rem;
    min-height: 36px;
    padding: 7px 12px;
  }
  .topdate {
    letter-spacing: -0.04em;
  }
  .hero {
    min-height: 147px;
  }
  .heroCopy {
    padding: 15px;
    max-width: 74%;
  }
  .hero h2 {
    font-size: 1.18rem;
  }
  .hero p {
    font-size: 0.76rem;
  }
  .track {
    width: 48%;
    right: -10%;
    top: 14%;
    height: 87%;
    opacity: 0.86;
  }
  .brief {
    font-size: 0.71rem;
  }
  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .metric {
    padding: 12px 14px;
  }
  .metricnum {
    font-size: 1.65rem;
    margin-top: 6px;
  }
  .metrichead strong {
    font-size: 0.85rem;
  }
  .metricfoot {
    font-size: 0.75rem;
  }
  .dashgrid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 12px;
  }
  .chartbody {
    flex-direction: row;
    gap: 22px;
    min-height: 142px;
    padding: 2px 21px 13px;
  }
  .donut {
    width: 124px;
  }
  .legend button {
    font-size: 0.83rem;
  }
  .legend b small {
    display: inline;
  }
  .legend {
    gap: 5px;
  }
  .panelhead {
    padding: 15px 16px 10px;
  }
  .panel h2 {
    font-size: 1rem;
  }
  .weekcenter {
    padding-inline: 16px;
  }
  .weekstrip > button {
    min-height: 57px;
  }
  .toolbar {
    padding: 13px;
    gap: 8px;
  }
  .toolbar .inputsearch {
    flex-basis: 100%;
    max-width: none;
  }
  .filterrow,
  .listcount {
    padding-inline: 13px;
  }
  .qualitycards {
    grid-template-columns: repeat(2, 1fr);
  }
  .board {
    grid-template-columns: 1fr 1fr;
  }
  .board > section {
    padding: 10px;
    min-height: 170px;
  }
  .qualitycards button span {
    font-size: 0.8rem;
  }
  .dialogbody {
    padding: 16px;
  }
  .backdrop {
    padding: 10px;
  }
  .dialoghead,
  .dialogfoot {
    padding: 13px 16px;
  }
  .dialog.drawer {
    border-radius: 0;
  }
  .formgrid,
  .mapgrid {
    gap: 11px;
  }
  .script {
    padding: 14px;
  }
  .inputsearch input:not([type="checkbox"]),
  input:not([type="checkbox"]):not([type="file"]),
  textarea,
  select {
    font-size: 1rem;
  }
  .smallselect {
    font-size: 0.8rem;
  }
  .btn {
    min-height: 38px;
  }
  .toast {
    width: max-content;
    max-width: 94vw;
    bottom: 12px;
    font-size: 0.84rem;
  }
  .boarditem b {
    font-size: 0.89rem;
  }
  .seg button {
    font-size: 0.77rem;
  }
  .topbar .crumb span {
    display: none;
  }
  .topbar .crumb > svg {
    display: none;
  }
  .topbar .crumb b {
    font-size: 0.85rem;
  }
  .track path,
  .track rect {
    vector-effect: none;
  }
  .drawerbar {
    padding: 12px 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
.reviewflags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  max-width: 165px;
}
.reviewflags span {
  font-size: 0.73rem;
  color: #966e36;
  background: #fff4e3;
  border-radius: 5px;
  padding: 2px 5px;
}

/* 로그인·접근 승인·팀 관리 화면. 나머지 스타일은 오프라인 버전에서 가져온 styles.css */
#gate:empty { display: none; }
.gatewrap {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 20px;
}
.gatemsg { color: var(--muted); font-size: 0.9rem; }
.gatecard {
  width: min(400px, 100%);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 17px;
  box-shadow: 0 18px 70px #25163814;
  padding: 30px 28px 24px;
}
.gatebrand { display: grid; gap: 8px; margin-bottom: 24px; }
.gatebrand small { color: #5d5a6b; font-size: 0.84rem; font-weight: 650; }
.gatecard h1 { font-size: 1.2rem; margin: 0 0 6px; letter-spacing: -0.03em; }
.gatecard p { color: var(--muted); font-size: 0.875rem; line-height: 1.6; margin: 0 0 18px; }
.gatecard form { display: grid; gap: 13px; }
.gatecard label { display: grid; gap: 6px; font-size: 0.8rem; font-weight: 600; color: #5d5a6b; }
.gatecard input {
  border: 1px solid #dedce5;
  border-radius: 8px;
  padding: 10px 12px;
  min-height: 40px;
  font-size: 0.92rem;
  background: #fff;
}
.gatecard .btn { width: 100%; min-height: 42px; }
.gatefoot { display: flex; justify-content: space-between; gap: 10px; margin-top: 16px; }

.team .workspaceprofile { cursor: pointer; }
.team .workspaceprofile:hover { background: #f7f6fa; }
.dialoghead h2 { margin: 0; }

.members { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.members li {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
}
.members .who { flex: 1; min-width: 0; }
.members .who b { display: block; font-size: 0.88rem; }
.members .who small { color: var(--muted); font-size: 0.76rem; overflow-wrap: anywhere; }
.members .btn { min-height: 32px; padding: 5px 10px; font-size: 0.8rem; }
.acctbox { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.acctbox .who { flex: 1; min-width: 0; }
.acctbox b { display: block; }
.acctbox small { color: var(--muted); font-size: 0.8rem; overflow-wrap: anywhere; }
.secttitle { font-size: 0.82rem; font-weight: 650; color: #5d5a6b; margin: 0 0 9px; }
