/* app.css */
:root { --primary:#f97316; --primary-color:var(--primary); --primary-ink:#0f172a; }

body {
  font-family: inherit;
}

.kpi-group {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.kpi .value {
    font-size: 2.5em;
    font-weight: bold;
}

.kpi .label {
    font-size: 0.9em;
}

.kpi .unit {
    margin-left: 4px;
    color: #666;
}

.alert {
  margin-bottom: 1rem;
  padding: 1rem;
  border-left: 4px solid;
}

.alert:last-child {
  margin-bottom: 0;
}

#judgement .alert {
  border-left-color: #007bff;
}

#breakdownTable th, #breakdownTable td,
#profitTable th, #profitTable td {
  text-align: right;
  padding: 8px;
}
#breakdownTable th:first-child, #breakdownTable td:first-child,
#profitTable th:first-child, #profitTable td:first-child {
  text-align: left;
}


#scenarioList .scenario-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    border-bottom: 1px solid #eee;
}

#scenarioList .scenario-item:hover {
    background-color: #f5f5f5;
}

#modal .modal {
    width: 90%;
    max-width: 600px;
}

#paramsContent {
    max-height: 60vh;
    overflow-y: auto;
    margin-bottom: 1rem;
}

#paramsContent .row {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

#paramsContent label {
    flex: 1;
}

#paramsContent input {
    width: 120px;
}

@media print {
  .no-print, #proBtn, #editParamsBtn, #copyResultBtn, #saveScenarioBtn, #about, .app-footer a {
    display: none;
  }
  .card, .container {
    box-shadow: none;
    border: 1px solid #ccc;
  }
}
