/* T4Y Portfolio — couleurs de time4you (bleu accessible #1660D6, marine #001931, texte #4D5E6F) */
.t4yp{--b:#1660D6;--m:#001931;--t:#4D5E6F;--l:#E3E8EE;--bg:#fff;color:var(--t);font-size:16px;line-height:1.5;max-width:1100px;margin:0 auto;padding:0 16px}
.t4yp h2,.t4yp h3,.t4yp h4{color:var(--m);margin:1.2em 0 .5em}
.t4yp a{color:var(--b)}
.t4yp-nav{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 16px}
.t4yp-nav a{padding:10px 14px;border:1px solid var(--l);border-radius:10px;text-decoration:none;min-height:44px;box-sizing:border-box}
.t4yp-nav a[aria-current]{background:var(--b);color:#fff;border-color:var(--b)}
.t4yp-msg{background:#E8F5E9;border-left:4px solid #2E7D32;padding:10px 14px;border-radius:6px;margin:8px 0}
.t4yp-muted{color:#6B7785;font-size:.92em}
.t4yp-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px}
.t4yp-card{display:block;border:1px solid var(--l);border-radius:12px;padding:16px;text-decoration:none;background:var(--bg)}
.t4yp-card b{display:block;color:var(--m);font-size:1.1em}
.t4yp-card span{color:var(--b);font-size:.92em}
.t4yp-list{list-style:none;padding:0}.t4yp-list li{border-bottom:1px solid var(--l);padding:10px 0}
.t4yp-form label{display:block;margin:10px 0;font-weight:600;color:var(--m)}
.t4yp-form input[type=text],.t4yp-form input[type=number],.t4yp-form input[type=date],.t4yp-form select,.t4yp-form textarea{display:block;width:100%;box-sizing:border-box;margin-top:4px;padding:10px;border:1px solid #B8C2CC;border-radius:8px;font:inherit;font-weight:400;min-height:44px}
.t4yp-form fieldset{border:1px solid var(--l);border-radius:12px;padding:12px 16px;margin:14px 0}
.t4yp-form legend{font-weight:700;color:var(--m);padding:0 6px}
.t4yp-check{display:flex!important;gap:8px;align-items:flex-start;font-weight:400!important;color:var(--t)!important}
.t4yp-check input{margin-top:4px;width:20px;height:20px;flex:none}
.t4yp-bloc{margin:10px 0}.t4yp-bloc>b{display:block;color:var(--m);margin-bottom:4px}
.t4yp-row{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-end}.t4yp-row>label{flex:1 1 140px}
.t4yp-btn{display:inline-block;background:var(--b);color:#fff!important;border:0;border-radius:10px;padding:12px 18px;font:inherit;font-weight:600;cursor:pointer;text-decoration:none;min-height:44px}
.t4yp-sec{background:#fff;color:var(--b)!important;border:1px solid var(--b)}
.t4yp-danger{background:#B3261E}
.t4yp-sticky{position:sticky;bottom:0;background:rgba(255,255,255,.96);padding:10px 0;margin:0;border-top:1px solid var(--l);z-index:5}
.t4yp-eleve{border:1px solid var(--l);border-radius:12px;padding:12px;margin:10px 0}
.t4yp-eleve-h{display:flex;justify-content:space-between;gap:8px;color:var(--m)}
.t4yp-eleve-h output{font-weight:700;color:var(--b)}
.t4yp-eleve summary,.t4yp-comp summary,.t4yp-box summary{cursor:pointer;padding:8px 0;font-weight:600;color:var(--m);min-height:28px}
.t4yp-crit{font-weight:400!important}
.t4yp-badge{display:inline-block;border-radius:999px;padding:2px 10px;font-size:.85em;font-weight:700;white-space:nowrap}
.t4yp-badge.t4yp-non_evaluee,td.t4yp-non_evaluee{background:#EEF1F4;color:#4D5E6F}
.t4yp-badge.t4yp-en_cours,td.t4yp-en_cours{background:#FFF3D6;color:#7A4B00}
.t4yp-badge.t4yp-acquise,td.t4yp-acquise{background:#DFF3E4;color:#17642E}
.t4yp-badge.t4yp-maitrisee,td.t4yp-maitrisee{background:#1660D6;color:#fff}
.t4yp-ok{color:#17642E;font-weight:600}.t4yp-ko{color:#8A4B00;font-weight:600}
.t4yp-comp{border-bottom:1px solid var(--l)}
.t4yp-comp summary span{font-weight:400;color:var(--t)}
.t4yp-tent{margin:4px 0 10px}
.t4yp-head{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.t4yp-head h2{margin-right:auto}
.t4yp-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch}
.t4yp-table{border-collapse:collapse;width:100%;font-size:.92em}
.t4yp-table th,.t4yp-table td{border:1px solid var(--l);padding:6px 8px;text-align:left;vertical-align:top}
.t4yp-table td.t4yp-non_evaluee,.t4yp-table td.t4yp-en_cours,.t4yp-table td.t4yp-acquise,.t4yp-table td.t4yp-maitrisee{text-align:center;font-weight:700}
.t4yp-table input{width:100%;box-sizing:border-box;padding:6px;border:1px solid #B8C2CC;border-radius:6px}
.t4yp-dec{border:1px solid var(--l);border-radius:12px;padding:10px 12px;margin:8px 0}
.t4yp-box{border:1px solid var(--l);border-radius:12px;padding:4px 12px;margin:10px 0}
@media print{.t4yp-nav,.t4yp-btn,.t4yp-noprint,.t4yp-form,.t4yp-box{display:none!important}.t4yp details{display:block}.t4yp details>*{display:block}.t4yp{max-width:none}}
.t4yp-table td.t4yp-hors{color:#9AA5B1;text-align:center;background:#FAFBFC}
.t4yp-cover-top{max-width:420px;margin:8px 0 4px}
@media print{.t4yp-cover-top{max-width:300px}}
