/* Widget CSS for hydroponic-system-cost-budget-breakdown - extracted 2 inline style blocks */
.mc-calc-container {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 24px 28px;
    margin: 25px 0;
    box-shadow: 0 4px 20px rgba(6, 78, 59, 0.04);
    box-sizing: border-box;
    width: 100%;
    max-width: 920px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.mc-calc-title {
    margin: 0 0 4px 0 !important;
    font-size: 1.5rem !important;
    font-weight: 800 !important;
    color: #064E3B;
    letter-spacing: -0.3px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.mc-calc-title .badge {
    font-size: 0.6rem;
    font-weight: 700;
    color: #16a34a;
    background: #dcfce7;
    padding: 2px 12px;
    border-radius: 30px;
}
.mc-calc-title .version {
    font-size: 0.55rem;
    font-weight: 600;
    color: #94a3b8;
    background: #f1f5f9;
    padding: 2px 10px;
    border-radius: 30px;
}
.mc-calc-desc {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 6px 0 22px 0;
}
.mc-tab-header {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    background: #f1f5f9;
    border-radius: 14px;
    margin-bottom: 24px;
    padding: 4px;
    border: 1px solid #e5e7eb;
    width: 100%;
    box-sizing: border-box;
}
.mc-tab-btn {
    flex: 1 1 auto;
    min-width: 60px;
    padding: 10px 12px !important;
    border: none !important;
    background: transparent !important;
    cursor: pointer !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    text-align: center !important;
    transition: all 0.2s ease !important;
    outline: none !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 10px;
    touch-action: manipulation !important;
    user-select: none !important;
    color: #6b7280;
}
.mc-tab-btn-active {
    background: #ffffff !important;
    color: #16a34a !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05) !important;
}
.mc-tab-btn-inactive {
    color: #6b7280 !important;
}
.mc-tab-content {
    display: none;
    animation: fadeSlide 0.3s ease;
}
@keyframes fadeSlide {
    0% { opacity:0.3; transform:translateY(6px); }
    100% { opacity:1; transform:translateY(0); }
}
.mc-calc-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 28px;
}
@media (max-width: 760px) {
    .mc-calc-grid { grid-template-columns: 1fr; gap: 24px; }
}
.mc-calc-group {
    margin-bottom: 16px;
}
.mc-calc-group label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.mc-calc-group label .hint {
    font-weight: 400;
    text-transform: none;
    color: #94a3b8;
    font-size: 0.65rem;
}
.mc-calc-group input,
.mc-calc-group select {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.95rem;
    background: #ffffff;
    color: #1e293b;
    transition: border-color 0.15s, box-shadow 0.15s;
    touch-action: manipulation;
    box-sizing: border-box;
}
.mc-calc-group input:focus,
.mc-calc-group select:focus {
    outline: none;
    border-color: #16a34a;
    box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.08);
}
.mc-input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
@media (max-width: 480px) {
    .mc-input-row { grid-template-columns: 1fr; gap: 0; }
}
.mc-calc-outputs {
    display: flex;
    flex-direction: column;
    gap: 14px;
    justify-content: flex-start;
}
.mc-output-card {
    padding: 18px 20px;
    border-radius: 14px;
    text-align: center;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}
.mc-output-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}
.mc-output-card.CAPEX::before { background: #3b82f6; }
.mc-output-card.OPEX::before { background: #10b981; }
.mc-output-card.PERPLANT::before { background: #8b5cf6; }
.mc-output-card.COSTLEVEL::before { background: #f59e0b; }

.mc-output-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 2px;
}
.mc-output-val {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 2px;
}
.mc-output-val small {
    font-size: 1rem;
    font-weight: 600;
    color: #64748b;
}
.mc-output-sub {
    font-size: 0.75rem;
    color: #475569;
}
.mc-output-detail {
    font-size: 0.7rem;
    color: #475569;
    margin-top: 6px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 12px;
}
.mc-output-detail span {
    background: #f1f5f9;
    padding: 2px 10px;
    border-radius: 16px;
    white-space: nowrap;
}
.mc-cost-badge {
    display: inline-block;
    padding: 3px 16px;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.mc-cost-badge.low { background: #dcfce7; color: #166534; }
.mc-cost-badge.medium { background: #fef3c7; color: #92400e; }
.mc-cost-badge.high { background: #fee2e2; color: #991b1b; }
.mc-cost-badge.very-high { background: #fecaca; color: #7f1d1d; }
.mc-export-btn {
    background: #f1f5f9;
    border: 1px solid #e5e7eb;
    padding: 8px 18px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.75rem;
    cursor: pointer;
    transition: 0.15s;
    touch-action: manipulation;
    color: #1e293b;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.mc-export-btn:hover { background: #e2e8f0; }
.mc-calc-footer {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
    font-size: 0.85rem;
    color: #475569;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}
.mc-calc-footer strong { color: #064E3B; }
.mc-footer-text { font-size: 0.75rem; color: #94a3b8; }
.mc-footer-text a { color: #16a34a; text-decoration: none; font-weight: 600; }
.mc-footer-text a:hover { text-decoration: underline; }
.mc-embed-textarea {
    font-family: monospace;
    font-size: 12px;
    background: #f1f5f9;
    border-radius: 10px;
    cursor: pointer;
    width: 100%;
    padding: 12px;
    border: 1px solid #e5e7eb;
    resize: vertical;
    min-height: 100px;
}
.mc-embed-textarea:focus {
    background: #f8fafc;
    border-color: #16a34a;
}
.mc-embed-copy-btn {
    background: #16a34a;
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: 0.15s;
    touch-action: manipulation;
    margin-top: 10px;
}
.mc-embed-copy-btn:hover { background: #15803d; }

@media (max-width: 600px) {
    .mc-tab-btn { font-size: 0.7rem !important; padding: 8px 6px !important; min-width: 50px; }
    .mc-tab-header { gap: 3px; padding: 3px; }
    .mc-calc-container { padding: 16px !important; border-radius: 16px; }
    .mc-calc-title { font-size: 1.2rem !important; }
    .mc-calc-title .badge { font-size: 0.5rem; padding: 1px 8px; }
    .mc-calc-desc { font-size: 0.85rem; }
    .mc-calc-group input, .mc-calc-group select { padding: 10px; font-size: 0.85rem; }
    .mc-output-val { font-size: 1.6rem; }
    .mc-output-detail span { font-size: 0.6rem; padding: 1px 8px; white-space: normal; }
    .mc-calc-footer { flex-direction: column; align-items: stretch; text-align: center; }
}
@media (max-width: 400px) {
    .mc-tab-btn { font-size: 0.6rem !important; padding: 6px 4px !important; min-width: 40px; }
    .mc-output-card { padding: 14px; }
    .mc-output-val { font-size: 1.3rem; }
}

.mc-table-wrapper {

  overflow-x: auto;

  margin: 2em auto;

  max-width: 100%;

  border-radius: 8px;

  box-shadow: 0 4px 12px rgba(0,0,0,0.04);

  border: 1px solid #e2e8f0;

}

.mc-styled-table {

  width: 100%;

  border-collapse: collapse;

  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, sans-serif;

  font-size: 0.95rem;

  text-align: left;

}

.mc-styled-table th {

  background-color: #2d3748;

  color: #ffffff;

  font-weight: 600;

  padding: 15px;

  border-bottom: 2px solid #e2e8f0;

  text-transform: uppercase;

  font-size: 0.8rem;

  letter-spacing: 0.5px;

}

.mc-styled-table td {

  padding: 15px;

  border-bottom: 1px solid #edf2f7;

  color: #4a5568;

  line-height: 1.5;

  vertical-align: top;

}

.mc-styled-table tr:last-child td {

  border-bottom: none;

}

.mc-styled-table tbody tr:hover {

  background-color: #f8fafc;

}

.mc-highlight-cell {

  background-color: #f7faf8;

}

.mc-tag {

  display: inline-block;

  padding: 3px 8px;

  border-radius: 4px;

  font-size: 0.75rem;

  font-weight: 700;

  text-transform: uppercase;

}

.mc-tag.green {

  background-color: #def7ec;

  color: #03543f;

}

/* --- Second-pass re-widget 2026-08-28 appended: 14 classes (was 86 inline, style_blocks 0), greedy to <50; previous widget 9145 bytes, 73 classes --- */
.mc-hydroponic_system_-rw2-c1 { margin-bottom: 6px; }
.mc-hydroponic_system_-rw2-c2 { display: flex; flex-direction: column; gap: 16px; }
.mc-hydroponic_system_-rw2-c3 { background-color: #f8fafc; border-left: 4px solid #2e7d32; border-radius: 6px; padding: 20px; margin: 24px 0; box-shadow: 0 2px 4px rgba(0,0,0,0.02); max-width: 100%; }
.mc-hydroponic_system_-rw2-c4 { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #e2e8f0; padding-bottom: 8px; }
.mc-hydroponic_system_-rw2-c5 { font-size: 14px; color: #718096; }
.mc-hydroponic_system_-rw2-c6 { font-size: 14px; color: #2d3748; }
.mc-hydroponic_system_-rw2-c7 { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; border: 1px solid #e2e8f0; border-left: 5px solid #2e7d32; border-radius: 8px; padding: 24px; margin: 24px 0; background-color: #fcfdfc; box-shadow: 0 4px 6px rgba(0,0,0,0.05); max-width: 100%; }
.mc-hydroponic_system_-rw2-c8 { background-color: #2e7d32; color: white; font-size: 11px; font-weight: bold; text-transform: uppercase; padding: 4px 8px; border-radius: 4px; letter-spacing: 0.5px; }
.mc-hydroponic_system_-rw2-c9 { margin: 8px 0 4px 0; font-size: 20px; font-weight: 700; color: #1a202c; }
.mc-hydroponic_system_-rw2-c10 { margin: 0; font-size: 14px; color: #718096; font-style: italic; }
.mc-hydroponic_system_-rw2-c11 { background: #ffffff; border: 1px dashed #cbd5e0; border-radius: 6px; padding: 16px; }
.mc-hydroponic_system_-rw2-c12 { font-size: 14px; color: #2d3748; display: block; margin-bottom: 8px; }
.mc-hydroponic_system_-rw2-c13 { margin: 0; padding-left: 20px; font-size: 14px; color: #4a5568; line-height: 1.6; }
.mc-hydroponic_system_-rw2-c14 { margin-bottom: 0; }
.mc-w-c8cdf6 { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 8px; }
.mc-w-fdd6a7 { display: inline-block; background-color: #e67e22; color: white; text-decoration: none; font-weight: bold; font-size: 16px; padding: 12px 28px; border-radius: 6px; text-align: center; transition: background 0.2s ease; box-shadow: 0 2px 4px rgba(230, 126, 34, 0.2); }
.mc-w-449594 { font-size: 11px; color: #a0aec0; font-style: italic; }
.mc-w-78b0b1 { margin: 0 0 12px 0; font-size: 14px; font-weight: 700; color: #2e7d32; text-transform: uppercase; letter-spacing: 0.5px; }
.mc-w-038669 { margin: 0 0 16px 0; font-size: 15px; color: #4a5568; line-height: 1.6; font-style: italic; }
.mc-w-578b24 { display: flex; flex-direction: column; gap: 12px; }
.mc-w-9d9c3b { display: flex; justify-content: space-between; align-items: center; padding-top: 4px; }
.mc-w-677819 { font-size: 15px; font-weight: 700; color: #1a202c; }
.mc-w-ad5ecd { font-size: 16px; color: #2e7d32; background-color: #e8f5e9; padding: 4px 10px; border-radius: 4px; font-weight: 700; }
.mc-w-3c4a3d { margin: 0 0 16px 0; font-size: 15px; color: #4a5568; line-height: 1.6; }
.mc-w-f8d882 { border-bottom: 1px solid #e2e8f0; padding-bottom: 12px; }
.mc-w-7739d0 { font-size: 14px; color: #2d3748; display: block; margin-bottom: 4px; }
.mc-w-55c3a7 { font-size: 14px; color: #4a5568; line-height: 1.5; display: block; }
.mc-w-8ad1bd { padding-top: 4px; }
.mc-w-4ab093 { display:flex; justify-content:space-between; align-items:flex-start; flex-wrap:wrap; gap:8px; margin-bottom:4px; }
.mc-w-fe0dc0 { display:inline-block; background:#f1f5f9; padding:0 10px; border-radius:12px; font-size:0.7rem; font-weight:600; color:#475569; }
.mc-w-bb680e { margin-top:4px; }
.mc-w-2e1da6 { display:block; margin-top:4px; }
.mc-w-7b7c10 { color:#94a3b8; font-size:0.65rem; }
.mc-w-c61c56 { margin:0 0 8px 0; font-size:1.2rem; color:#064E3B; }
.mc-w-1f231a { margin:0 0 16px 0; font-size:0.9rem; color:#64748b; line-height:1.5; }
.mc-w-8e956f { font-weight:700; font-size:0.85rem; color:#064E3B; display:block; margin-bottom:4px; }
.mc-w-6d928b { margin-top:12px; font-size:0.75rem; color:#94a3b8; }
.mc-w-f96a9f { color:#16a34a; font-weight:600; }
.mc-w-406306 { width:100%; border:0; background:transparent; min-height:700px; }
.mc-w-f0b70b { margin: 0 0 16px 0; font-size: 14px; font-weight: 700; color: #2e7d32; text-transform: uppercase; letter-spacing: 0.5px; }
.mc-w-8ecc81 { background-color: #ffffff; border: 1px solid #e2e8f0; border-radius: 6px; padding: 16px; }
.mc-w-f83ea9 { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.mc-w-ff8707 { font-size: 15px; color: #1a202c; display: flex; align-items: center; gap: 6px; }
.mc-w-d34cf6 { font-size: 12px; font-weight: 700; color: #2e7d32; background-color: #e8f5e9; padding: 4px 10px; border-radius: 4px; white-space: nowrap; }
.mc-w-f3ade2 { margin: 0; font-size: 14px; color: #4a5568; line-height: 1.6; }
.mc-w-93add2 { font-size: 12px; font-weight: 700; color: #d35400; background-color: #fdf2e9; padding: 4px 10px; border-radius: 4px; white-space: nowrap; }
.mc-w-f6f6b1 { width: 20%; }
.mc-w-fc3a44 { width: 40%; background-color: #f3fbf6; color: #1e3a1e; }
.mc-w-5172a7 { width: 40%; }
