* { box-sizing: border-box; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
body { margin: 0; background: #f3f5f7; color: #1e2a32; }
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 20px; background: #0b3d5c; color: #fff; position: sticky; top: 0; z-index: 10;
  flex-wrap: wrap; gap: 8px;
}
.topbar h1 { font-size: 1.1rem; margin: 0; }
.actions button, .save-bar button, .data-table button {
  cursor: pointer; border: 1px solid #c8d2da; background: #fff; color: #0b3d5c;
  padding: 6px 12px; border-radius: 6px; font-size: 0.9rem;
}
.actions button:hover { background: #e8eef3; }
.save-bar button.primary { background: #0b8a4f; color: #fff; border-color: #0b8a4f; }
main { max-width: 1200px; margin: 20px auto; padding: 0 16px; }
.hidden { display: none !important; }
.card { background: #fff; border-radius: 8px; padding: 16px; margin-bottom: 16px; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.card h2 { font-size: 1rem; margin: 0 0 12px; color: #0b3d5c; border-bottom: 1px solid #e2e8ee; padding-bottom: 6px; }
label { display: flex; flex-direction: column; font-size: 0.85rem; color: #45535e; gap: 4px; margin-bottom: 10px; }
input { padding: 8px; border: 1px solid #c8d2da; border-radius: 6px; font-size: 0.9rem; }
input:focus { outline: 2px solid #0b8a4f33; border-color: #0b8a4f; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 16px; }
@media (max-width: 760px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.data-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.data-table th, .data-table td { border: 1px solid #e2e8ee; padding: 6px 8px; text-align: left; vertical-align: top; }
.data-table th { background: #f0f4f8; font-weight: 600; }
.data-table input { width: 100%; border: none; padding: 4px; font-size: 0.88rem; }
.data-table input:focus { outline: 1px solid #0b8a4f; }
.status-cell { color: #6b7a86; font-style: italic; }
.status-exchanged { color: #b35300; font-weight: 600; font-style: normal; }
.status-unchanged { color: #0b8a4f; }
.gcu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px 16px; font-size: 0.85rem; }
@media (max-width: 760px) { .gcu-grid { grid-template-columns: 1fr 1fr; } }
.save-bar { display: flex; align-items: center; gap: 12px; margin: 20px 0 40px; }
#saveMsg { color: #0b8a4f; font-size: 0.9rem; }
.gcu-select { width: 100%; padding: 4px; font-size: 0.85rem; }

@media print {
  .topbar, .actions, .save-bar, .data-table button { display: none !important; }
  body { background: #fff; }
  .card { box-shadow: none; border: 1px solid #ccc; page-break-inside: avoid; }
  main { max-width: none; margin: 0; padding: 0; }
}
