.thpd-card{box-sizing:border-box;max-width:820px;margin:20px auto;padding:28px 32px;background:#fff;border:1px solid #e3e3e3;border-radius:10px;box-shadow:0 1px 3px rgba(0,0,0,.05);color:#333}
.thpd-card *{box-sizing:border-box}
.thpd-title{margin:0 0 20px;font-size:32px;line-height:1.2;font-weight:700;color:#2b2b2b}
.thpd-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px 24px}
.thpd-full{grid-column:1 / -1}
.thpd-f{display:flex;flex-direction:column;gap:5px}
.thpd-f label{font-size:15px;color:#444}
.thpd-f small{font-size:12px;color:#6b7280}
.thpd-f input,.thpd-f select{width:100%;height:40px;padding:6px 10px;font-size:16px;color:#222;background:#fff;border:1px solid #9a9a9a;border-radius:4px;box-shadow:none}
.thpd-f input:focus,.thpd-f select:focus{outline:none;border-color:#00669b;box-shadow:0 0 0 2px rgba(0,102,155,.2)}
.thpd-inline{display:flex;gap:8px}
.thpd-card .thpd-only{display:none}
.thpd-card[data-method="lmp"] .thpd-m-lmp,
.thpd-card[data-method="conception"] .thpd-m-conception,
.thpd-card[data-method="ivf"] .thpd-m-ivf,
.thpd-card[data-method="ultrasound"] .thpd-m-ultrasound{display:flex}
.thpd-buttons{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:22px}
.thpd-btn{cursor:pointer;height:42px;padding:0 26px;font-size:15px;font-weight:700;border-radius:4px;line-height:1}
.thpd-calc{color:#fff;background:#00669b;border:1px solid #00669b}
.thpd-calc:hover{background:#004f78;border-color:#004f78}
.thpd-share{color:#555;background:#fff;border:2px solid #c9c9c9}
.thpd-share:hover{border-color:#999;color:#333}
.thpd-reset{cursor:pointer;background:none;border:0;padding:8px 6px;font-size:14px;color:#00669b;text-decoration:underline}
.thpd-message{margin-top:16px;font-size:15px;line-height:1.5}
.thpd-message.thpd-error{color:#b3261e;background:#fdeceb;border:1px solid #f5c6c2;border-radius:4px;padding:10px 14px}
.thpd-message.thpd-ok{color:#14532d;background:#ecfdf3;border:1px solid #bbf7d0;border-radius:4px;padding:10px 14px}
.thpd-results{margin-top:24px;padding-top:22px;border-top:1px solid #e3e3e3}
.thpd-big{padding:18px 20px;margin-bottom:18px;background:#f2f8fc;border:1px solid #cfe3ef;border-radius:8px}
.thpd-big span{display:block;font-size:14px;color:#4a5560}
.thpd-big strong{display:block;margin-top:2px;font-size:30px;line-height:1.25;color:#00669b}
.thpd-big em{display:block;margin-top:4px;font-style:normal;font-size:13px;color:#4a5560}
.thpd-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px;margin-bottom:20px}
.thpd-stat{padding:12px 14px;border:1px solid #e3e3e3;border-radius:6px}
.thpd-stat span{display:block;font-size:13px;color:#6b7280}
.thpd-stat strong{display:block;margin-top:2px;font-size:18px;color:#222}
.thpd-prog{margin:4px 0 22px}
.thpd-track{height:14px;background:#e8eef2;border-radius:7px;overflow:hidden}
.thpd-fill{height:100%;background:#00669b;border-radius:7px}
.thpd-prog small{display:flex;justify-content:space-between;margin-top:6px;font-size:12px;color:#6b7280}
.thpd-h{margin:0 0 8px;font-size:17px;font-weight:700;color:#2b2b2b}
.thpd-table-wrap{overflow:auto;border:1px solid #e3e3e3;border-radius:6px}
.thpd-table{width:100%;border-collapse:collapse;font-size:14px;margin:0}
.thpd-table th,.thpd-table td{padding:9px 12px;text-align:left;border-bottom:1px solid #eee}
.thpd-table thead th{background:#f5f7f9;color:#333;border-bottom:1px solid #d5d9dd}
.thpd-table tr.thpd-past td{color:#8a949c}
.thpd-table tr.thpd-due td{font-weight:700;background:#f2f8fc}
.thpd-note{margin:16px 0 0;font-size:13px;line-height:1.5;color:#6b7280}
@media (max-width:640px){
.thpd-card{padding:20px 16px}
.thpd-title{font-size:26px}
.thpd-grid{grid-template-columns:1fr}
.thpd-big strong{font-size:24px}
.thpd-btn{flex:1 1 140px}
}
