/* Smartphone only. Units describe the unzoomed device in layout pixels, including
   compact PWA windows with a wide layout viewport. Nothing here sets a maximum height. */
#carnet.cr-carnet-phone-type {
 --u:var(--cr-carnet-type-unit,1px); --s:var(--cr-carnet-scale,1);
 --room:max(0px,calc(var(--cr-carnet-usable,100svh) - env(safe-area-inset-bottom,0px)));
 --gy:clamp(calc(4 * var(--u)),calc(var(--room) / 130),calc(7 * var(--u)));
 --py:clamp(calc(5 * var(--u)),calc(var(--room) / 100),calc(9 * var(--u)));
 --main-size:calc(clamp(1rem,4.4vw,1.10rem) * var(--s));
 --riddle-size:calc(clamp(1.125rem,4.9vw,1.25rem) * var(--s));
 --sub-size:calc(.90625rem * var(--s)); /* 14.5 at a 16px root; follows larger text. */
}
#carnet.cr-carnet-phone-type>.cr-reveal-shell {
 box-sizing:border-box; width:calc(100% - 12 * var(--u));
 padding-inline-start:env(safe-area-inset-left,0px); padding-inline-end:env(safe-area-inset-right,0px);
}
#carnet.cr-carnet-phone-type.is-open>.cr-reveal-shell {padding-block:var(--gy);}
/* Expanded only: retain the section title, description, status and real disclosure
   button without its closed-state poster proportions. Never touch navigation or reads. */
#carnet.cr-carnet-phone-type.is-open>.cr-reveal-shell>.cr-reveal-trigger {
 min-height:calc(44 * var(--u)); padding:var(--py) calc(9 * var(--u));
 grid-template-columns:auto minmax(0,1fr) auto;column-gap:calc(6 * var(--u));row-gap:0;
}
#carnet.cr-carnet-phone-type.is-open .cr-reveal-trigger .cr-reveal-index {
 grid-row:1;grid-column:1;align-self:start;margin:0;padding:0;
 font-size:calc(1.3rem * var(--s));line-height:1.1;
}
#carnet.cr-carnet-phone-type.is-open .cr-reveal-trigger .cr-reveal-copy {grid-column:2;grid-row:1;}
#carnet.cr-carnet-phone-type.is-open .cr-reveal-trigger .cr-reveal-symbol {
 grid-column:3;grid-row:1;width:calc(24 * var(--u));height:calc(24 * var(--u));align-self:start;
}
#carnet.cr-carnet-phone-type.is-open .cr-reveal-symbol span {width:calc(12 * var(--u));}
#carnet.cr-carnet-phone-type.is-open .cr-portal-kicker {font-size:calc(.75rem * var(--s));margin:0;line-height:1.2;}
#carnet.cr-carnet-phone-type.is-open .cr-portal-title {font-size:calc(1.55rem * var(--s));margin:0;line-height:1.12;}
#carnet.cr-carnet-phone-type.is-open .cr-portal-lead,
#carnet.cr-carnet-phone-type.is-open .crc-summary {
 font-size:var(--sub-size);line-height:1.23;margin:calc(3 * var(--u)) 0 0; min-height:0;
}
#carnet.cr-carnet-phone-type.is-open .crc-summary-detail {font-size:1em;min-height:0;}
#carnet.cr-carnet-phone-type.is-open .crc-summary-detail:empty {display:none;}
#carnet.cr-carnet-phone-type .cr-carnet-top,
#carnet.cr-carnet-phone-type .cr-enigma-grid {
 display:grid;gap:var(--gy) calc(5 * var(--u));align-items:stretch;
}
#carnet.cr-carnet-phone-type .cr-carnet-top {
 grid-template-columns:repeat(3,minmax(0,1fr)); margin:var(--gy) 0 calc(1.5 * var(--gy));
}
#carnet.cr-carnet-phone-type .cr-enigma-grid {grid-template-columns:repeat(2,minmax(0,1fr));}
#carnet.cr-carnet-phone-type .cr-carnet-top>.cr-carnet-card,
#carnet.cr-carnet-phone-type .cr-carnet-top>#campement,
#carnet.cr-carnet-phone-type .cr-enigma-grid>.cr-enigma-link {
 display:grid;position:relative;box-sizing:border-box;min-width:0;min-height:calc(48 * var(--u));height:auto;
 padding:var(--py) calc(7 * var(--u));margin:0;align-content:center;justify-items:stretch;align-items:start;
 gap:calc(3 * var(--u)) calc(3 * var(--u));text-align:start;overflow:visible;
}
#carnet.cr-carnet-phone-type .cr-carnet-top>.cr-carnet-card,
#carnet.cr-carnet-phone-type .cr-carnet-top>#campement {grid-column:auto;grid-template-columns:minmax(0,1fr);min-height:calc(68 * var(--u));}
#carnet.cr-carnet-phone-type .cr-carnet-card>span:not([aria-hidden]):not(.cr-carnet-number) {display:block;min-width:0;}
#carnet.cr-carnet-phone-type .cr-carnet-card>span[aria-hidden],
#carnet.cr-carnet-phone-type .cr-carnet-card>.cr-carnet-number {display:none;}
#carnet.cr-carnet-phone-type .cr-carnet-card::before {content:none;}
#carnet.cr-carnet-phone-type .cr-carnet-card strong,
#carnet.cr-carnet-phone-type .cr-enigma-link>span:first-child {
 display:block;min-width:0;line-height:1.13;letter-spacing:0;word-break:normal;overflow-wrap:anywhere;
}
#carnet.cr-carnet-phone-type .cr-carnet-card strong {font-size:var(--main-size);}
#carnet.cr-carnet-phone-type .cr-carnet-card strong::before {
 content:"";display:inline-block;vertical-align:.04em;width:.64em;height:.68em;margin-inline-end:.2em;
 background:currentColor;-webkit-mask:var(--cr-carnet-mark) center/contain no-repeat;mask:var(--cr-carnet-mark) center/contain no-repeat;
}
#carnet.cr-carnet-phone-type .cr-carnet-card small {display:block;margin:calc(3 * var(--u)) 0 0;font-size:var(--sub-size);line-height:1.2;letter-spacing:0;overflow-wrap:anywhere;}
#carnet .cr-carnet-card small [hidden] {display:none!important;}
#carnet.cr-carnet-phone-type .cr-enigma-grid>.cr-enigma-link {grid-template-columns:minmax(0,1fr) auto;min-height:calc(54 * var(--u));}
#carnet.cr-carnet-phone-type .cr-enigma-link>span:first-child {grid-column:1;grid-row:1;font-size:var(--riddle-size);}
#carnet.cr-carnet-phone-type .cr-enigma-link>b[aria-hidden] {grid-column:2;grid-row:1;align-self:center;justify-self:end;font-size:calc(.95rem * var(--s));line-height:1;}
/* Keep the original gilt seal without reserving a separate band above each title. */
#carnet.cr-carnet-phone-type .cr-enigma-link::before {content:none;}
#carnet.cr-carnet-phone-type .cr-enigma-link>span:first-child::before {
 content:"";display:inline-block;vertical-align:.08em;width:.48em;height:.5em;margin-inline-end:.18em;
 background:currentColor;-webkit-mask:var(--cr-carnet-mark) center/contain no-repeat;mask:var(--cr-carnet-mark) center/contain no-repeat;
}
#carnet.cr-carnet-phone-type .cr-discussion-cell .crn-cell-info,
#carnet.cr-carnet-phone-type .crn-update {margin:0;min-width:0;gap:calc(2 * var(--u));font-size:var(--sub-size);line-height:1.18;align-self:start;}
#carnet.cr-carnet-phone-type #campement .crn-cell-info {margin-top:calc(3 * var(--u));}
#carnet.cr-carnet-phone-type .crn-cell-total,
#carnet.cr-carnet-phone-type .crn-cell-attention {
 min-width:0;min-height:0;gap:calc(4 * var(--u));font-size:var(--sub-size);line-height:1.18;
 align-items:center;justify-content:flex-start;
}
#carnet.cr-carnet-phone-type .crn-cell-total>span,
#carnet.cr-carnet-phone-type .crn-cell-attention>span:first-child {min-width:0;overflow-wrap:anywhere;}
#carnet.cr-carnet-phone-type .crn-cell-total svg {width:.95em;height:.95em;flex:none;}
#carnet.cr-carnet-phone-type .crn-cell-attention {flex-wrap:wrap;}
#carnet.cr-carnet-phone-type .crn-cell-attention[hidden] {display:none!important;}
/* The invitation stays in the accessible link name. Its repeat need not occupy a row. */
#carnet.cr-carnet-phone-type [data-discussion-state="invitation"] .crn-cell-attention:not([hidden]) {
 position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0;
}
#carnet.cr-carnet-phone-type .crn-cell-info .crn-badge,#carnet.cr-carnet-phone-type .crn-update>.crn-badge {
 box-sizing:border-box;flex:none;height:auto;min-height:calc(20 * var(--u));min-width:calc(21 * var(--u));
 padding:calc(2 * var(--u)) calc(4 * var(--u));font:700 calc(.84rem * var(--s))/1.12 Georgia,serif;
}
#carnet.cr-carnet-phone-type .crn-update .crn-detail,#carnet.cr-carnet-phone-type .crn-cell-error {font-size:var(--sub-size);line-height:1.2;overflow-wrap:anywhere;}

/* A heading, not a fourth action. The elbow starts below the first card only. */
#carnet .cr-carnet-discussions-title { display:none; }
#carnet.cr-carnet-phone-type .cr-carnet-top { margin-block-end:0; }
#carnet.cr-carnet-phone-type .cr-carnet-discussions-title {
 display:block; position:relative; box-sizing:border-box;
 margin:0; padding:calc(4 * var(--u)) 0 calc(4 * var(--u)) calc(23 * var(--u));
 font-family:var(--cr-display,Georgia,serif); font-weight:600;
 font-size:calc(.9375rem * var(--s)); line-height:1.25; letter-spacing:.015em;
 text-transform:none; color:var(--cr-cream); overflow-wrap:break-word;
}
#carnet.cr-carnet-phone-type .cr-carnet-discussions-title::before {
 content:""; position:absolute; inset-block-start:0; inset-block-end:50%;
 inset-inline-start:calc(9 * var(--u)); inline-size:calc(8 * var(--u));
 border-inline-start:max(1px,var(--u)) solid var(--cr-gold-soft);
 border-block-end:max(1px,var(--u)) solid var(--cr-gold-soft); pointer-events:none;
}
#carnet.cr-carnet-phone-type #cr-enigma-grid {
 scroll-margin-block-start:calc(var(--cr-header-height,80px) + 2rem * var(--s));
}
#carnet-observations { margin-block-start:1.15rem; scroll-margin-block-start:calc(var(--cr-header-height,80px) + 1rem); }
#carnet-observations:focus-visible { outline:2px solid var(--cr-gold-soft,#d1af64); outline-offset:3px; }
#carnet-observations h3 { margin:0 0 .45em; font:600 1.08rem/1.25 var(--cr-display,Georgia,serif); color:var(--cr-cream,#f4e7c9); }
#carnet #carnet-observations .cr-enigma-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
#carnet-observations .cr-enigma-link { min-inline-size:0; overflow-wrap:break-word; }
#carnet-observations .cr-observation-subtitle { display:block; font-size:.9rem; line-height:1.25; font-weight:normal; color:inherit; text-transform:none; }
#carnet.cr-carnet-phone-type #carnet-observations h3 { font-size:calc(1rem * var(--s)); }
#carnet.cr-carnet-phone-type #carnet-observations .cr-observation-subtitle { font-size:calc(.9rem * var(--s)); }
