/* SEG Académie R9.2 — mes cahiers : un seul panneau, épuré et compact.
   Modifications visuelles uniquement ; le catalogue et les contrôles gardent leurs IDs. */
body.seg-cmc-page .seg-cmc-hero {
 min-height: 0 !important;
 width: calc(100% - 32px);
 max-width: 1152px;
 margin: 13px auto 0;
 padding: 23px 30px !important;
 border-radius: 17px;
 box-shadow: 0 7px 20px rgba(5,50,86,.13);
}
body.seg-cmc-page .seg-cmc-hero h1 {
 margin: 0 0 5px;
 font-size: clamp(25px,2.65vw,33px);
 line-height: 1.22;
}
body.seg-cmc-page .seg-cmc-hero p {
 font-size: 13px;
 line-height: 1.4;
 margin: 0;
}
body.seg-cmc-page .seg-cmc-main {
 padding-bottom: 44px;
 gap: 12px;
}
body.seg-cmc-page .seg-cmc-main > .seg-cmc-unified { margin-top: 12px; }
body.seg-cmc-page .seg-cmc-catalogue.seg-cmc-unified {
 padding: 21px 23px 23px !important;
 background: linear-gradient(135deg,#e5f5fb,#f2fbfd);
 border: 1.5px solid #8bbfd1;
 border-top: 4px solid #0c95aa;
 border-radius: 17px;
 box-shadow: 0 7px 20px rgba(14,82,114,.075);
}
body.seg-cmc-page .seg-cmc-unified .seg-cmc-filter-inline {
 display: block;
 padding: 0 !important;
 margin: 0 !important;
 width: 100%;
 background: transparent !important;
 border: none !important;
 border-radius: 0 !important;
 box-shadow: none !important;
}
body.seg-cmc-page .seg-cmc-unified .seg-cmc-filter-heading {
 margin: 0 0 13px;
 gap: 8px;
 display: flex;
 align-items: center;
 justify-content: space-between;
}
body.seg-cmc-page .seg-cmc-unified .seg-cmc-filter-heading h2 {
 font-size: clamp(19px,2vw,23px);
 margin: 0;
 color: #0a3658;
 letter-spacing: -.01em;
}
body.seg-cmc-page .seg-cmc-unified .seg-cmc-filter-grid {
 grid-template-columns: minmax(0,1.02fr) minmax(0,.71fr) minmax(0,1.27fr);
 gap: 12px;
}
body.seg-cmc-page .seg-cmc-unified .seg-cmc-filter-grid label {
 gap: 5px;
 font-size: 12px;
 line-height: 1.4;
 font-weight: 800;
 color: #153e60;
}
body.seg-cmc-page .seg-cmc-unified .seg-cmc-filter select {
 min-height: 43px !important;
 padding: 8px 11px;
 border-radius: 9px;
 background: #fff;
}
body.seg-cmc-page .seg-cmc-unified #segCmcCount:not(:empty) {
 font-size: 11px;
 padding: 5px 10px;
 flex-shrink: 0;
}
body.seg-cmc-page .seg-cmc-unified .seg-cmc-status {
 padding: 7px 10px;
 margin: 10px 0 0;
 border: 1px solid #b0dce8;
 border-radius: 9px;
 background: rgba(218,242,251,.7);
 font-size: 12px;
 line-height: 1.4;
}
body.seg-cmc-page .seg-cmc-unified .seg-cmc-list {
 margin-top: 12px;
 padding-top: 12px;
 border-top: 1px solid #c1dfe9;
 gap: 12px;
}
body.seg-cmc-page .seg-cmc-unified .seg-cmc-empty {
 margin: 0;
 padding: 14px;
 border: 1px dashed #a9cbda;
 border-radius: 9px;
 font-size: 12px;
}
body.seg-cmc-page .seg-cmc-unified .seg-cmc-card {
 padding: 15px 17px;
 gap: 7px;
 border-radius: 12px;
 box-shadow: 0 3px 10px rgba(19,77,119,.06);
}
body.seg-cmc-page .seg-cmc-unified .seg-cmc-card h3 {
 font-size: 15px;
 line-height: 1.4;
}
body.seg-cmc-page .seg-cmc-unified .seg-cmc-card a {
 min-height: 40px;
 padding: 8px 13px;
 margin-top: 7px;
}
body.seg-cmc-page .seg-cmc-note#segCmcTfe {
 padding: 16px 20px;
 margin: 0;
}
@media(max-width:850px) {
 body.seg-cmc-page .seg-cmc-unified .seg-cmc-filter-grid {
  grid-template-columns: repeat(2,minmax(0,1fr));
 }
 body.seg-cmc-page .seg-cmc-unified .seg-cmc-filter-grid label:last-child {grid-column: 1 / -1;}
}
@media(max-width:600px) {
 body.seg-cmc-page .seg-cmc-hero {
  width:100%;
  margin:0;
  border-radius:0 0 16px 16px;
  border:none;
  padding: 19px 17px 21px !important;
 }
 body.seg-cmc-page .seg-cmc-main {
  padding:0 11px 55px;
  gap:9px;
 }
 body.seg-cmc-page .seg-cmc-main > .seg-cmc-unified { margin-top: 9px; }
 body.seg-cmc-page .seg-cmc-catalogue.seg-cmc-unified {
  padding:16px 14px 17px !important;
  border-radius: 13px;
 }
 body.seg-cmc-page .seg-cmc-unified .seg-cmc-filter-heading {margin-bottom: 12px;}
 body.seg-cmc-page .seg-cmc-unified .seg-cmc-filter-heading h2 {font-size:19px;}
 body.seg-cmc-page .seg-cmc-unified .seg-cmc-filter-grid {grid-template-columns:minmax(0,1fr); gap:9px;}
 body.seg-cmc-page .seg-cmc-unified .seg-cmc-filter-grid label:last-child {grid-column: auto;}
 body.seg-cmc-page .seg-cmc-unified .seg-cmc-filter select {min-height:45px !important;}
 body.seg-cmc-page .seg-cmc-unified .seg-cmc-list {grid-template-columns:minmax(0,1fr);gap:9px;}
 body.seg-cmc-page .seg-cmc-unified .seg-cmc-card {padding:14px;}
}
