* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, Segoe UI, sans-serif;
  background: #f5f6f8;
  color: #1c1c1e;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: #1c1c1e;
  color: #fff;
}

header h1 {
  font-size: 16px;
  margin: 0;
}

#session-indicator {
  font-size: 12px;
  color: #9bd49b;
}

.view {
  display: none;
  padding: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.view.active {
  display: block;
}

#view-login {
  max-width: 480px;
}

#view-login h2 {
  margin-top: 0;
}

.hint {
  font-size: 12px;
  color: #666;
  margin-bottom: 18px;
}

label {
  display: block;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 600;
}

input {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 9px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-weight: normal;
  font-size: 13px;
}

button {
  padding: 9px 16px;
  border: none;
  border-radius: 6px;
  background: #4da3ff;
  color: #fff;
  cursor: pointer;
  font-size: 13px;
}

button:hover {
  background: #2d8cf0;
}

#logout-btn {
  background: #888;
}

#logout-btn:hover {
  background: #666;
}

.toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.toolbar input {
  flex: 1;
  min-width: 180px;
  margin-top: 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
}

th, td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid #eee;
  font-size: 13px;
}

th {
  background: #fafafa;
  font-weight: 600;
}

input.price-input {
  width: 90px;
  padding: 6px;
  margin-top: 0;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.row-save-btn {
  padding: 5px 10px;
  font-size: 12px;
}

.row-status {
  font-size: 12px;
  margin-left: 6px;
}

#status-text, #login-status {
  font-size: 12px;
  color: #666;
}
