/* Shared simulation tool chrome — teal palette inside container layout */

body {
    background: linear-gradient(135deg, #0f766e 0%, #0891b2 50%, #0369a1 100%);
}

.sim-tool {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sim-tool-nav {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.sim-tool-nav a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #0f766e;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95em;
    padding: 6px 12px;
    border-radius: 8px;
    background: #ccfbf1;
    transition: background 0.2s;
}

.sim-tool-nav a:hover {
    background: #99f6e4;
}

.sim-tool-nav .current {
    color: #64748b;
    font-size: 0.9em;
}

.sim-tool h1 {
    margin: 0;
    font-size: 1.35rem;
    color: #0f766e;
}

.sim-tool .muted {
    margin: 0;
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.5;
    max-width: 720px;
}

.sim-tool .controls {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.sim-tool .controls label {
    font-size: 0.9rem;
    color: #334155;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.sim-tool .controls input[type="number"] {
    width: 80px;
    padding: 6px 8px;
    border-radius: 6px;
    border: 1px solid #99f6e4;
}

.sim-tool button {
    background: #0d9488;
    color: #fff;
    border: none;
    padding: 10px 18px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s;
}

.sim-tool button:hover {
    background: #0f766e;
}

.sim-tool button.secondary {
    background: #0891b2;
}

.sim-tool button.secondary:hover {
    background: #0e7490;
}

.sim-tool canvas {
    display: block;
    max-width: 100%;
    border: 1px solid #99f6e4;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(15, 118, 110, 0.08);
}

.sim-tool .row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: flex-start;
}

.sim-tool .panel {
    background: #fff;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid #a5f3fc;
    min-width: 220px;
}

.sim-tool .panel strong {
    color: #0e7490;
}

.sim-tool .panel p {
    margin: 0 0 8px 0;
}
