/* Extension des tokens et composants de la vitrine : aucune police ou image distante. */
.review-strip { border-bottom:1px solid var(--line); background:var(--surface-soft); color:var(--muted); font-size:11px; padding:7px 0; }
.portal-entry { color:var(--accent); font-size:14px; font-weight:600; margin-bottom:18px; }
.portal-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; }
.portal-card { display:flex; flex-direction:column; align-items:flex-start; padding:30px; border:1px solid var(--line); border-radius:var(--radius); background:var(--bg); min-width:0; }
.portal-card.featured { border-color:var(--accent); background:var(--accent-soft); }
.portal-card-top { display:flex; justify-content:space-between; align-items:center; gap:12px; width:100%; margin-bottom:29px; }
.portal-status { display:inline-flex; flex-wrap:wrap; align-items:center; gap:7px; padding:5px 10px; color:var(--muted); border:1px solid var(--line); border-radius:4px; font-size:11px; line-height:1.5; }
.portal-status.is-local { color:var(--ink); border-color:var(--accent); }
.portal-status.is-local:before { content:''; width:5px; height:5px; border-radius:50%; background:var(--accent); }
.portal-card h3 { font-size:27px; margin-bottom:16px; }
.portal-card h2 { font-size:28px; margin:20px 0 16px; }
.portal-card p { color:var(--muted); font-size:15px; }
.portal-card .text-link { margin-top:auto; border-top:1px solid var(--line); padding-top:15px; width:100%; justify-content:space-between; }
.portal-split { display:grid; grid-template-columns:1fr 1fr; gap:80px; align-items:start; }
.portal-split p { color:var(--muted); font-size:17px; }
.portal-explain { margin-top:40px; margin-bottom:36px; }
.portal-explain .portal-card { background:var(--surface-soft); }
.portal-explain .portal-card h2 { margin-top:0; }
.portal-notice { display:block; padding:24px 28px; border-left:3px solid var(--accent); background:var(--surface-soft); border-radius:0 var(--radius) var(--radius) 0; color:var(--muted); margin:0 0 32px; }
.portal-notice strong { display:block; color:var(--ink); font-size:17px; margin-bottom:8px; }
.portal-notice p { margin:0; }
.portal-narrow { max-width:850px; }
.portal-narrow > p { color:var(--muted); }
.portal-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:24px; }
.portal-faq { border-block:1px solid var(--line); margin-top:36px; }
.portal-faq p { color:var(--muted); }
.portal-shortcuts { display:flex; flex-wrap:wrap; gap:12px; margin:0 0 28px; }
.portal-shortcuts a { display:inline-flex; align-items:center; min-height:48px; border:1px solid var(--line); border-radius:4px; text-decoration:none; padding:10px 17px; font-size:14px; }
.portal-shortcuts a:hover { border-color:var(--accent); color:var(--accent); }
.portal-tool { padding:38px; border:1px solid var(--line); border-radius:var(--radius); background:var(--surface); margin-bottom:30px; scroll-margin-top:110px; }
.portal-tool-heading { display:flex; justify-content:space-between; align-items:start; gap:38px; margin-bottom:24px; }
.portal-tool-heading > div { max-width:620px; }
.portal-tool-heading h2 { font-size:38px; margin:22px 0 18px; }
.portal-tool-heading p { color:var(--muted); }
.portal-small { font-size:12px; color:var(--muted); line-height:1.7; }
.portal-tool fieldset, .owner-review fieldset { margin:0; border:0; padding:0; min-width:0; }
.portal-tool label, .owner-review label { display:block; font-size:15px; color:var(--ink); margin-bottom:20px; }
.portal-tool input, .portal-tool select, .portal-tool textarea, .owner-review input { display:block; width:100%; min-height:50px; background:var(--bg); color:var(--ink); border:1px solid var(--line); border-radius:4px; padding:12px 14px; font-size:16px; line-height:1.5; margin-top:8px; }
.portal-tool textarea { resize:vertical; }
.portal-tool input::placeholder, .portal-tool textarea::placeholder, .owner-review input::placeholder { color:var(--muted); opacity:1; }
.portal-fields { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:0 24px; }
.portal-error { border-left:3px solid var(--accent); padding:12px 16px; background:var(--accent-soft); margin:24px 0 0; color:var(--ink); }
.portal-result { padding:28px; background:var(--surface-soft); border:1px solid var(--line); border-radius:var(--radius); margin-top:28px; }
.portal-result > strong { display:block; font-size:clamp(2rem,5vw,3.2rem); line-height:1.25; margin:14px 0 18px; font-weight:500; letter-spacing:-.03em; overflow-wrap:anywhere; }
.portal-result > span { color:var(--muted); font-size:14px; }
.portal-result p:last-child { margin-bottom:0; }
.portal-paper, #need-output { white-space:pre-wrap; overflow-wrap:anywhere; font:inherit; font-size:15px; line-height:1.8; padding:24px; border:1px solid var(--line); border-radius:var(--radius); background:var(--bg); }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.owner-review { padding-bottom:48px; }
.owner-top { display:flex; align-items:center; justify-content:space-between; gap:24px; padding:50px 0 36px; }
.owner-top h1 { font-size:clamp(2.5rem,6vw,4.5rem); margin-bottom:0; }
.owner-top .eyebrow { margin-bottom:20px; }
.owner-toolbar { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:24px; margin:30px 0; }
.owner-toolbar p { margin-bottom:0; }
.owner-metrics { margin-bottom:36px; }
.owner-metrics h2 { font-size:20px; margin-top:0; }
.owner-value { font-size:44px; font-weight:400; color:var(--accent); line-height:1.5; }
.owner-metrics details { width:100%; border-top:1px solid var(--line); }
.owner-metrics summary { min-height:44px; padding:8px 0; font-size:14px; color:var(--accent); }
.owner-metrics details p { font-size:14px; margin-top:12px; }
#owner-answer:not(:empty) { padding:20px; background:var(--surface-soft); border:1px solid var(--line); margin-top:24px; }
@media(max-width:1100px) {
 .portal-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .portal-card { padding:26px; }
 .portal-split { gap:45px; }
 .main-nav { gap:14px; }
 .main-nav a { font-size:12px; }
}
@media(max-width:899px) {
 .main-nav a { font-size:15px; }
 .portal-fields { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .portal-tool-heading { display:block; }
 .portal-tool { padding:28px; }
 .portal-tool-heading > .portal-small { margin-top:16px; }
 .portal-split { grid-template-columns:1fr; gap:14px; }
 .owner-top { align-items:start; }
 .owner-top .button { padding:10px; min-width:70px; }
}
@media(max-width:599px) {
 .portal-grid, .portal-fields { grid-template-columns:1fr; }
 .portal-card { padding:26px; }
 .portal-card h3 { font-size:27px; }
 .portal-tool { padding:23px; }
 .portal-tool-heading h2 { font-size:32px; }
 .portal-tool label { font-size:15px; }
 .portal-actions { flex-direction:column; }
 .portal-actions .button { width:100%; justify-content:space-between; }
 .portal-result { padding:20px; }
 .portal-status { font-size:11px; }
 .portal-notice { padding:22px; font-size:15px; }
 .portal-hero .breadcrumb { gap:10px; }
 .portal-shortcuts { flex-direction:column; }
 .portal-shortcuts a { width:100%; }
 .owner-top { flex-direction:column; }
 .owner-metrics .portal-card { padding:24px; }
 .owner-toolbar { align-items:start; }
 .review-strip { font-size:10px; }
 .portal-paper, #need-output { padding:18px; font-size:14px; }
}
