:root{font-family:system-ui,-apple-system,Segoe UI,Arial,sans-serif;color:#26303c;background:#f6f7f9}*{box-sizing:border-box}body{margin:0}.top{background:white;border-bottom:1px solid #ddd;display:flex;justify-content:space-between;align-items:center;padding:18px max(18px,calc((100vw - 1060px)/2));gap:16px}.top strong{font-size:1.35rem}.top small{display:block;color:#687280;margin-top:4px}.version{font-size:.75rem;font-weight:700;color:#6c487e;background:#f2eaf7;border-radius:12px;padding:6px 10px;white-space:nowrap}nav{max-width:1060px;margin:16px auto 0;padding:0 16px;display:flex;flex-wrap:wrap;gap:8px}nav a{background:white;border:1px solid #d8dbe1;border-radius:8px;padding:9px 12px;color:#334155;text-decoration:none;font-size:.9rem}nav a[aria-current=page]{background:#334155;color:white}main{max-width:1060px;margin:20px auto 60px;padding:0 16px;min-height:50vh}h1{font-size:1.8rem;margin:0 0 8px}h2{font-size:1.15rem;margin:0 0 12px}p{line-height:1.55;color:#516070}.muted{color:#687280}.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:14px;margin-top:24px}.card,.panel{background:white;border:1px solid #e0e3e8;border-radius:12px;padding:20px}.card h2{margin:4px 0}.card a{color:#365a88;font-weight:600}.tag{display:inline-block;font-size:.74rem;padding:4px 8px;border-radius:8px;background:#eef1f5;color:#475569}.tag.ready{background:#e3f4eb;color:#256241}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(195px,1fr));gap:14px}.field{display:flex;flex-direction:column;gap:6px;margin:10px 0}.field label{font-size:.85rem;font-weight:650}input,select,button{font:inherit}input,select{width:100%;padding:10px;border:1px solid #aab4c2;border-radius:8px;background:white}button{border:none;border-radius:8px;padding:10px 15px;background:#334155;color:white;cursor:pointer}button.secondary{background:#e7ebf0;color:#243042}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #8a63a5;outline-offset:2px}.actions{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}.result{margin-top:18px;padding:16px;background:#f2f5f9;border-radius:10px}.result strong{font-size:1.2rem}.error{color:#a12f2f}.note{font-size:.85rem}.tablewrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:.9rem}th,td{padding:9px;border-bottom:1px solid #e3e7eb;text-align:left}td input{min-width:80px}footer{padding:20px;text-align:center;background:white;border-top:1px solid #ddd;color:#667085;font-size:.83rem}@media(max-width:600px){.top{padding:14px 16px;align-items:flex-start}.top strong{font-size:1.1rem}h1{font-size:1.5rem}}

.barn-highlight{padding:16px 18px;margin-bottom:18px;background:#f9eff7;border:1px solid #ddbdd8;border-radius:10px}.barn-highlight-label{font-size:.83rem;font-weight:750;letter-spacing:.035em;color:#77335c}.barn-highlight-number{font-size:2rem;line-height:1.15;font-weight:800;color:#39223d;margin-top:5px}.barn-highlight p{margin:8px 0 0;color:#593e57}.barn-highlight strong{font-size:1rem}.result .grid>div{min-width:0}

/* Homepage acknowledgement and calculator-specific FAQs */
.about-section,.faq-section{margin-top:28px;padding:24px;background:#fff;border:1px solid #e0e3e8;border-radius:12px}
.about-section h2,.faq-section h2{font-size:1.4rem;color:#3e254b;margin-bottom:14px}
.about-section p{margin:0 0 15px}
.about-section strong{color:#3f284a}
.about-section .sandbox-quote{font-size:1.18rem;font-weight:800;color:#823a77;border-left:4px solid #bd7cb2;padding:12px 16px;background:#fbf4fa;border-radius:0 8px 8px 0}
.about-section .signature{margin-top:18px;color:#42294a}
.about-section .disclaimer{font-size:.84rem;color:#687280;border-top:1px solid #e4e1e7;padding-top:12px;margin-bottom:0}
.faq-intro{margin-top:0}
.faq-item{border-top:1px solid #e7e1e9;padding:12px 0}
.faq-item summary{font-weight:650;color:#3d2d47;cursor:pointer}
.faq-item[open] summary{color:#82427e}
.faq-item p{margin:10px 0 0}
.faq-help{padding:12px 15px;background:#f8f0f8;border-radius:8px;color:#523354;margin-bottom:0}
@media(max-width:600px){.about-section,.faq-section{padding:17px}}
/* Run Manager */
.manager-note{background:#fff5fc;border:1px solid #e7cce3;border-radius:10px;padding:14px 18px;margin:14px 0}.manager-note p{margin:5px 0}.manager-header{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:16px}.manager-header p{margin:3px 0}.manager-section{margin:18px 0}.manager-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;align-items:end}.manager-form .field{margin:0}.run-card{border:1px solid #e4dce8;border-radius:11px;padding:17px;margin:12px 0;background:white}.run-card h3{margin:0 0 5px}.run-card p{margin:4px 0}.manager-badges{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0}.manager-badge{background:#f4e9f3;color:#6b3564;font-size:.78rem;border-radius:8px;padding:4px 8px}.manager-small{font-size:.84rem}.manager-table{overflow-x:auto}.manager-table table{min-width:650px}.manager-table button{white-space:nowrap}.manager-pills{display:flex;gap:6px;flex-wrap:wrap}.manager-pills button{background:#efe8f1;color:#4a3351}.manager-pills button.active{background:#5a3556;color:white}.manager-danger{background:#a12f2f}.manager-success{color:#206747}.manager-empty{padding:22px;border:1px dashed #d9c8db;border-radius:12px;background:#fcf9fc}.manager-status{min-height:22px}.manager-warning{font-size:.83rem;color:#873b20}.manager-cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px}.manager-compact td{vertical-align:middle}.manager-compact input{min-width:90px}button:disabled{opacity:.55;cursor:not-allowed}textarea{font:inherit;width:100%;min-height:70px;padding:10px;border:1px solid #aab4c2;border-radius:8px}details.manager-details{padding:10px 0;border-top:1px solid #ddd}details.manager-details summary{cursor:pointer;font-weight:650}.manager-list{list-style:none;padding:0}.manager-list li{border-bottom:1px solid #e2dbe4;padding:10px 0}

.ranch-personal-note{padding:15px 18px;border:1px solid #dbbfd7;border-radius:10px;background:#fff3fa;margin:14px 0}.ranch-personal-note p{margin:9px 0;color:#563651}

/* Community-created calculators */
.community-calculators{margin-top:28px;padding:24px;background:#fff;border:1px solid #e0e3e8;border-radius:12px}.community-calculators h2{font-size:1.4rem;color:#3e254b}.community-calculators h3{margin:5px 0 8px}.community-calculators .cards{margin-top:16px}@media(max-width:600px){.community-calculators{padding:17px}}
