
:root {
  color-scheme: dark;
  font-family: Consolas, "Courier New", monospace;
  font-size: 13px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #111418;
  color: #d0d7de;
}

.container {
  max-width: 960px;
  margin: 40px auto;
  padding: 0 20px;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 12px;
  border-bottom: 1px solid #39434d;
}

h1 {
  margin: 0;
  font-size: 20px;
  letter-spacing: 2px;
}

header span,
footer span {
  color: #788794;
  font-size: 11px;
}

.toolbar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 24px 0;
}

input,
textarea,
button {
  font: inherit;
}

input[type="date"] {
  padding: 8px;
  background: #1b2229;
  color: #d0d7de;
  border: 1px solid #39434d;
}

#status {
  margin-left: auto;
  color: #8b949e;
  font-size: 11px;
}

.work-section {
  margin-bottom: 24px;
}

.work-section label {
  display: block;
  margin-bottom: 10px;
  color: #9aaab7;
  font-weight: bold;
}

textarea {
  display: block;
  width: 100%;
  min-height: 130px;
  padding: 12px;
  resize: vertical;
  background: #171d23;
  color: #d0d7de;
  border: 1px solid #39434d;
  line-height: 1.7;
  outline: none;
}

textarea:focus {
  border-color: #6c91ad;
}

footer {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid #39434d;
}

button {
  padding: 9px 20px;
  background: #202a33;
  color: #d0d7de;
  border: 1px solid #465563;
  cursor: pointer;
}

button:hover:not(:disabled) {
  background: #2b3945;
}

button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

footer span {
  margin-left: auto;
}

@media (max-width: 600px) {
  .container {
    margin: 20px auto;
  }

  header span {
    display: none;
  }

  .toolbar {
    gap: 10px;
  }
}


/* 제작현황 입력 표 */

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.section-heading label {
  margin: 0;
}

.section-heading button {
  padding: 7px 12px;
}

.table-scroll {
  overflow-x: auto;
}

.entry-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 850px;
  margin-bottom: 16px;
}

.entry-table th,
.entry-table td {
  border: 1px solid #39434d;
  padding: 6px;
  text-align: center;
}

.entry-table th {
  background: #202a33;
  color: #b6c4cf;
  font-weight: 600;
}

.entry-table input,
.entry-table select {
  width: 100%;
  min-width: 0;
  padding: 7px 5px;
  background: #171d23;
  color: #d0d7de;
  border: 1px solid #39434d;
  font: inherit;
}

.entry-table input[type="checkbox"] {
  width: auto;
}

.entry-table input:disabled,
.entry-table select:disabled {
  opacity: 0.4;
}

.entry-table .remove-btn {
  padding: 6px 9px;
  white-space: nowrap;
}

.entry-table tr.cancelled {
  opacity: 0.55;
}

.sub-label {
  display: block;
  margin: 12px 0 10px;
  color: #9aaab7;
  font-weight: bold;
}

@media (max-width: 600px) {
  input, select, textarea { font-size: 16px !important; }
  .section-heading { flex-wrap: wrap; }
  button { min-height: 44px; }
  .container { padding: 0 12px; }
}
