* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f4f7f8;
  color: #172326;
}
a { color: inherit; }
.pro-shell { min-height: 100vh; display: grid; grid-template-rows: auto 1fr; }
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px clamp(16px, 3vw, 32px);
  background: #ffffff;
  border-bottom: 1px solid #d8e1e4;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 42px; height: 42px; object-fit: contain; }
.brand strong { display: block; }
.brand span, .label { color: #607175; font-size: 0.82rem; }
.workspace { width: min(1120px, 100%); margin: 0 auto; padding: 24px clamp(14px, 3vw, 32px); }
.panel {
  background: #ffffff;
  border: 1px solid #d8e1e4;
  border-radius: 8px;
  padding: 18px;
  margin-bottom: 16px;
}
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
h1, h2, h3, p { margin-top: 0; }
.grid-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.item-list { display: grid; gap: 12px; }
.item-card, .data-card {
  border: 1px solid #d8e1e4;
  border-radius: 8px;
  padding: 14px;
  background: #fbfdfe;
}
.item-card { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.meta-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pill, .status-chip {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.78rem;
  border: 1px solid #ccd8dc;
  background: #eef4f5;
}
.status-chip.ok { background: #e8f6ee; border-color: #b9dec7; }
.status-chip.review { background: #fff7de; border-color: #ead181; }
.status-chip.tech { background: #e7f0ff; border-color: #bfd1f5; }
.status-chip.validation { background: #f0eafd; border-color: #d3c2f4; }
.status-chip.completed { background: #e3f5f2; border-color: #acd8d1; }
.status-chip.blocked { background: #ffe9e7; border-color: #f0b9b2; }
button, input, textarea {
  font: inherit;
}
input, textarea {
  width: 100%;
  border: 1px solid #cbd7da;
  border-radius: 6px;
  padding: 10px 12px;
}
textarea { min-height: 96px; resize: vertical; }
.primary-action, .ghost-action, .danger-action {
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 9px 12px;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}
.primary-action { background: #12383f; color: #ffffff; }
.ghost-action { background: #ffffff; color: #12383f; border-color: #cbd7da; }
.danger-action { background: #fff3f1; color: #8d2418; border-color: #efc2ba; }
button:disabled { opacity: 0.65; cursor: wait; }
.notice-line {
  border-left: 3px solid #8fb6bd;
  background: #f1f7f8;
  padding: 10px 12px;
  color: #405155;
  border-radius: 6px;
}
.hidden { display: none !important; }
.login-card { max-width: 440px; margin: 8vh auto; }
@media (max-width: 720px) {
  .topbar, .item-card { align-items: flex-start; flex-direction: column; }
  .grid-two { grid-template-columns: 1fr; }
  .primary-action, .ghost-action, .danger-action { width: 100%; text-align: center; }
}
