/* Presentazione: gerarchia chiara, caratteri leggibili e nessuna inclinazione. */
body { font-size:16px; -webkit-font-smoothing:antialiased; }
.header { min-height:92px; height:auto; padding-block:22px; gap:28px; background:#fff; }
.header nav { gap:24px; }
.header nav button { font-size:13px; font-weight:550; }
.header nav button.active { color:var(--green); box-shadow:0 2px var(--green); }
.header nav button[data-action="video"] { color:var(--green); }
.brand { font-size:22px; letter-spacing:-.8px; }
.brand small { font-size:12px; color:var(--muted); }
.demo-ribbon { background:#142e39; font-size:10px; height:32px; }
.ribbon-detail { opacity:1; color:#c6d9dd; }
.button { border-radius:8px; font-size:14px; min-height:50px; transition:background .15s,box-shadow .15s; }
.button.dark { background:#164e53; box-shadow:0 5px 15px #164e5312; }
.button.dark:hover { background:#103d42; box-shadow:0 7px 20px #164e5326; }
.button.light:hover { background:#eef4f5; }
.eyebrow { color:#50717b; font-size:11px; font-weight:700; letter-spacing:1.5px; }
h1,h2 { font-family:'Segoe UI',system-ui,sans-serif; }
h1 { font-weight:650; letter-spacing:-2.7px; }
h1 em { color:#268b81; font-style:normal; font-weight:650; }
.home { max-width:1440px; padding-top:60px; grid-template-columns:1.14fr 1fr; gap:44px 6vw; }
.hero-copy { padding-top:10px; }
.hero-copy h1 { font-size:clamp(44px,4.6vw,66px); line-height:1.1; }
.hero-copy .eyebrow { display:flex; align-items:center; gap:9px; }
.hero-copy .eyebrow>span { width:7px; height:7px; background:#268b81; border-radius:50%; }
.lead { max-width:480px; font-size:17px; line-height:1.75; margin-top:24px; }
.hero-actions { gap:12px; margin-top:29px; }
.hero-actions .button { gap:14px; }
.hero-note { font-size:12px; margin-top:20px; }
.hero-signature { display:flex; gap:0; flex-wrap:wrap; margin-top:29px; font-size:12px; font-weight:600; color:#405e68; }
.hero-signature span+span::before { content:'•'; color:#93b4bb; padding:0 10px; }
.hero-visual { padding:22px 18px 0; background:radial-gradient(ellipse,#e5f0ed 0%,#eef4f4 50%,#f7f9fa 80%); }
.floating-label { font-size:11px; margin-bottom:17px; }
.preview-window { transform:none; border-color:#cfdee0; box-shadow:0 22px 50px #244a5414; border-radius:14px; }
.window-top { height:45px; font-size:9px; color:#597780; background:#fcfdfd; }
.window-dots { color:#b8c9ce; }
.preview-tag { border:1px solid #d8e5e8; border-radius:4px; padding:2px 5px; font-size:8px; }
.preview-content { padding:26px 29px; }
.assistant-avatar { background:#eaf4f2; color:#247f77; width:43px; height:43px; font-size:27px; margin-bottom:19px; }
.preview-content h2 { font:600 33px/1.18 'Segoe UI',system-ui,sans-serif; letter-spacing:-1px; }
.preview-content .eyebrow { font-size:9px; }
.sample-answer { font-size:13px; margin:21px 0 16px; padding:13px; }
.preview-status { background:#eaf4f1; padding:16px; }
.preview-status strong { font-size:14px; }
.preview-status p { font-size:12px; }
.orbit { color:#26776b; border-color:#a1c8be; }
.mini-steps { font-size:9px; color:#577b7c; margin-top:22px; }
.visual-caption { font-size:11px; line-height:1.6; margin-top:21px; gap:12px; }
.caption-number { color:#567982; font-size:9px; }
.video-feature { grid-column:1/-1; display:grid; grid-template-columns:1.25fr 1fr; gap:48px; padding:32px; border:1px solid var(--line); border-radius:18px; background:white; margin-top:13px; align-items:center; }
.film-preview { position:relative; display:block; width:100%; padding:0; border:0; aspect-ratio:8/5; overflow:hidden; border-radius:10px; background:#152f3a; text-align:left; color:#fff; }
.film-preview img { width:100%; height:100%; object-fit:cover; display:block; opacity:.7; }
.film-preview::after { content:''; position:absolute; inset:0; background:linear-gradient(180deg,#142e3980,transparent 40%,#142e39eb); pointer-events:none; }
.film-topline { position:absolute; z-index:1; top:21px; left:22px; right:20px; font-size:10px; font-weight:600; letter-spacing:1.1px; }
.film-play { position:absolute; z-index:1; left:50%; top:50%; transform:translate(-50%,-50%); display:grid; place-items:center; border-radius:50%; width:66px; height:66px; background:#fff; color:#164e53; font-size:22px; padding-left:3px; box-shadow:0 5px 20px #0002; }
.film-preview:hover .film-play { background:#ddf5ed; }
.film-bottomline { position:absolute; z-index:1; bottom:22px; left:22px; right:22px; display:flex; justify-content:space-between; align-items:center; gap:15px; font-size:17px; font-weight:600; }
.film-bottomline>span { font-size:11px; font-weight:400; }
.feature-copy .eyebrow { margin-bottom:14px; }
.feature-copy h2 { font-size:34px; letter-spacing:-1.1px; line-height:1.15; font-weight:650; }
.feature-copy>p:not(.eyebrow) { font-size:14px; color:var(--muted); margin-top:17px; line-height:1.75; max-width:390px; }
.feature-steps { padding:0; list-style:none; margin:20px 0 12px; font-size:13px; }
.feature-steps li { display:flex; gap:12px; padding:9px 0; }
.feature-steps span { color:#268b81; font-size:11px; font-weight:650; padding-top:1px; }
.feature-copy small { display:block; color:var(--muted); font-size:10px; margin-top:6px; }
.solutions-heading { grid-column:1/-1; padding-top:14px; }
.solutions-heading .eyebrow { margin-bottom:11px; }
.solutions-heading h2 { font-size:30px; font-weight:600; letter-spacing:-1px; }
.solutions-heading>p:last-child { color:var(--muted); font-size:14px; margin-top:8px; }
.pillars { border:0; gap:18px; margin-top:-20px; }
.pillars>button { border:1px solid var(--line); border-radius:11px; background:white; padding:25px 22px; align-items:flex-start; }
.pillars>button+button { border:1px solid var(--line); }
.pillars>button:hover { background:#edf5f4; border-color:#abcac6; }
.pillar-number { font:600 12px/1.5 'Segoe UI',system-ui,sans-serif; color:#33857e; padding-top:3px; }
.pillars h3 { font-size:16px; }
.pillars p { font-size:12px; line-height:1.8; margin-top:8px; }
.section-heading h1 { font-weight:600; }
.section-heading p:not(.eyebrow),.limit-note { font-size:13px; }
.portal-title h2 { font:600 26px/1.3 'Segoe UI',system-ui,sans-serif; }
dialog { border-color:#c7d9dd; border-radius:16px; }
dialog h2 { font-size:28px; letter-spacing:-.8px; }
.dialog-eyebrow { font-size:10px; color:#40747b; font-weight:600; }
#dialog-body { font-size:15px; color:#526b75; line-height:1.75; }
.dialog-note { background:#f1f6f7; border-color:#78a8b0; font-size:12px; }
#video-dialog h2 { font:600 30px/1.25 'Segoe UI',system-ui,sans-serif; }
.video-intro { font-size:14px; }
.video-selector { display:flex; gap:8px; flex-wrap:wrap; margin:0 0 15px; }
.video-selector button { background:#f1f5f6; border:1px solid transparent; border-radius:7px; padding:10px 14px; font-size:13px; font-weight:600; }
.video-selector button[aria-pressed="true"] { background:#164e53; color:white; }
.video-selector button span { font-size:10px; font-weight:400; opacity:.8; margin-left:9px; }
.video-bottom>span { font-size:12px; }
footer { padding-top:32px; padding-bottom:32px; font-size:11px; }
@media(max-width:1150px) {
 .header { flex-wrap:wrap; gap:16px; }
 .header nav { order:3; width:100%; justify-content:space-between; gap:12px; }
 .hero-actions { align-items:stretch; }
 .hero-actions .button { padding:12px 15px; font-size:12px; }
 .hero-copy h1 { font-size:50px; }
 .home { gap:38px; }
 .preview-content { padding:23px; }
 .preview-content h2 { font-size:30px; }
 .mini-steps { flex-wrap:wrap; gap:10px; }
 .video-feature { gap:30px; padding:25px; }
 .feature-copy h2 { font-size:29px; }
 .pillars>button { padding:21px 15px; gap:12px; }
 .pillars h3 { font-size:14px; }
}
@media(max-width:800px) {
 .home { grid-template-columns:1fr; max-width:680px; padding-top:35px; }
 .hero-copy h1 { font-size:52px; }
 .lead { max-width:100%; }
 .hero-visual { width:100%; max-width:480px; margin:auto; }
 .preview-content { padding:28px; }
 .preview-content h2 { font-size:33px; }
 .mini-steps { flex-wrap:nowrap; }
 .video-feature { grid-template-columns:1fr; gap:25px; }
 .feature-copy h2 br { display:none; }
 .feature-copy h2 { max-width:400px; }
 .feature-copy>p:not(.eyebrow) { max-width:none; }
 .pillars { grid-template-columns:1fr; display:grid; margin-top:-16px; }
 .pillars>button { padding:24px; width:100%; }
 .pillars h3 { font-size:17px; }
}
@media(max-width:700px) {
 .header { padding:17px 5vw 13px; }
 .header nav { flex-wrap:wrap; justify-content:flex-start; gap:13px 19px; }
 .header nav button { font-size:12px; padding-bottom:5px; }
 .header nav button[data-action="video"] { font-size:12px; }
 .header>.button { font-size:11px; }
 .brand { font-size:20px; }
 .ribbon-detail { max-width:215px; font-size:8px; }
 .hero-copy h1 { font-size:47px; letter-spacing:-2px; }
 .hero-copy .eyebrow { font-size:9px; letter-spacing:1px; }
 .lead { font-size:15px; }
 .hero-actions { gap:10px; }
 .hero-actions .button { font-size:13px; min-height:49px; }
 .hero-note { font-size:11px; }
 .hero-signature { font-size:10px; margin-top:22px; }
 .hero-signature span+span::before { padding:0 7px; }
 .hero-visual { padding:10px 0 0; margin-top:30px; }
 .floating-label { font-size:10px; }
 .preview-content { padding:25px; }
 .sample-answer { font-size:11px; gap:10px; }
 .mini-steps { font-size:8px; }
 .visual-caption { font-size:10px; }
 .video-feature { padding:17px; margin-top:32px; }
 .film-topline { font-size:8px; top:15px; left:14px; }
 .film-play { width:54px; height:54px; font-size:18px; }
 .film-bottomline { left:14px; right:14px; bottom:16px; font-size:14px; }
 .film-bottomline>span { font-size:9px; }
 .feature-copy h2 { font-size:29px; }
 .feature-copy>p:not(.eyebrow) { font-size:13px; }
 .feature-steps { font-size:12px; }
 .solutions-heading { padding-top:36px; }
 .solutions-heading h2 { font-size:27px; }
 .pillars { margin-top:22px; gap:12px; }
 .pillars p { font-size:12px; }
 .section-heading h1 { font-size:35px; }
 .section-heading p:not(.eyebrow),.limit-note { font-size:12px; }
 #dialog-body { font-size:14px; }
 dialog h2 { font-size:25px; }
 #video-dialog h2 { font-size:25px; }
 .video-selector { gap:7px; }
 .video-selector button { font-size:11px; padding:10px; flex:1; }
 .video-selector button span { display:block; margin:3px 0 0; }
 footer { font-size:10px; }
}

/* Solo per la registrazione illustrativa. */

  body.video-mode.dire-video .header,body.video-mode.dire-video footer,body.video-mode.dire-video .section-heading,body.video-mode.dire-video .limit-note {display:none!important}
  body.video-mode.dire-video .workspace {padding:25px 55px 110px;max-width:none}
  body.video-mode.dire-video .demo-ribbon {height:35px;font-size:11px}
  body.video-mode.dire-video .dire-simulation {min-height:645px}
  body.video-mode.dire-video .practice-paper {min-height:430px}
  body.dire-video #video-caption {bottom:25px;left:12%;right:12%;font-size:21px;line-height:1.45;padding:19px 24px;border-radius:12px;background:#142e39f5}
  body.dire-video .recording-card {position:fixed;inset:0;background:#f7f9fa;z-index:80;display:flex;flex-direction:column;justify-content:center;padding:100px 12%;color:#142e39}
  body.dire-video .recording-card>span {font-size:14px;letter-spacing:2px;color:#36887d;font-weight:650;margin-bottom:30px}
  body.dire-video .recording-card h1 {font:650 73px/1.1 'Segoe UI',sans-serif;letter-spacing:-3px;max-width:1000px}
  body.dire-video .recording-card h1 em {color:#268b81;font-style:normal}
  body.dire-video .recording-card p {font-size:25px;color:#60747d;max-width:820px;margin-top:35px;line-height:1.6}
  body.dire-video .recording-card small {font-size:16px;color:#60747d;margin-top:70px}
 

body.video-mode.dire-video {overflow:hidden}
body.video-mode.dire-video .demo-ribbon {position:fixed;top:0;left:0;right:0;z-index:40}
body.video-mode.dire-video .workspace {padding-top:55px}
body.video-mode.dire-video .dire-simulation .case-content {padding:23px 30px}
body.video-mode.dire-video .dire-simulation .field-grid {gap:18px 28px;margin-top:20px}
body.video-mode.dire-video .dire-simulation .field {min-height:50px}
body.video-mode.dire-video .dire-simulation .case-banner {margin-top:20px}
body.video-mode.dire-video .dire-simulation .case-actions {margin-top:16px;padding-top:15px}

/* Apertura da prodotto software, senza impaginazione editoriale. */
.home {max-width:1500px;padding-top:30px;gap:32px}
.hero-stage {grid-column:1/-1;display:grid;grid-template-columns:1.1fr 1fr;align-items:center;gap:45px;padding:45px 48px 38px;border-radius:22px;background:radial-gradient(ellipse at 95% 0%,#235e69 0%,#142e42 50%,#112a3a 100%);border:1px solid #1d4154;box-shadow:0 15px 35px #17374b12;color:white}
.hero-stage .hero-copy {padding:0}
.hero-stage .hero-copy h1 {font-size:clamp(40px,4.2vw,62px);line-height:1.12;letter-spacing:-2.5px}
.hero-stage h1 em {color:#85dfcf}
.hero-stage .hero-copy .eyebrow {color:#b1d8df;font-size:10px}
.hero-stage .lead {color:#c4d5df;font-size:16px;max-width:470px}
.hero-stage .hero-actions .button.dark {background:#8ee6d2;color:#153d44;box-shadow:none}
.hero-stage .hero-actions .button.dark:hover {background:#b7f6e8}
.hero-stage .hero-actions .button.light {background:transparent;border-color:#547489;color:#fff}
.hero-stage .hero-actions .button.light:hover {background:#24465a}
.hero-stage .hero-note {color:#c4d5df;font-size:11px}
.hero-stage .small-check {border-color:#547f87;color:#a8e4d7}
.hero-stage .hero-signature {color:#c9dee5}
.hero-stage .hero-visual {padding:0;background:none;margin:0;color:var(--ink)}
.hero-stage .floating-label {color:#c2d9e0}
.hero-stage .preview-window {box-shadow:0 16px 45px #06152240;border-color:#6c9fa940}
.hero-stage .visual-caption {color:#bbd3dc}
.hero-stage .caption-number {color:#82bdc6}
.hero-stage .preview-content {padding:24px 28px}
.hero-stage .preview-content h2 {font-size:30px}
.hero-stage .mini-steps {gap:8px;font-size:8px}
.hero-stage .assistant-avatar {margin-bottom:15px;width:38px;height:38px}
.hero-stage .sample-answer {margin-top:18px}
.hero-stage .preview-explanation{margin:12px 0 0;color:#365b6c;font-size:13px;line-height:1.6}
.video-feature {margin-top:0;grid-template-columns:1.05fr 1fr;gap:38px;padding:28px;border-radius:16px}
.feature-copy h2 {font-size:31px}
.feature-copy h2 br {display:none}
.solutions-heading {padding-top:4px}
.solutions-heading h2 {font-size:27px}
.pillars {margin-top:-9px}
@media(max-width:1150px) {.hero-stage{padding:35px;gap:30px}.hero-stage .hero-copy h1{font-size:45px}.hero-stage .hero-actions{flex-direction:column;align-items:flex-start}.hero-stage .hero-actions .button{min-width:245px}.hero-stage .preview-content{padding:23px}.hero-stage .preview-content h2{font-size:27px}.hero-stage .hero-signature{font-size:10px}.hero-stage .hero-signature span+span::before{padding:0 6px}}
@media(max-width:800px) {.home{max-width:720px}.hero-stage{grid-template-columns:1fr;gap:32px}.hero-stage .hero-visual{margin:auto;width:100%;max-width:430px}.hero-stage .hero-copy h1{font-size:49px}.hero-stage .hero-actions{flex-direction:row;align-items:center}.hero-stage .hero-actions .button{min-width:0}.hero-stage .hero-signature{font-size:11px}.video-feature{grid-template-columns:1fr}}
@media(max-width:700px) {.home{padding:20px 4vw 0}.hero-stage{padding:30px 22px 26px;border-radius:17px}.hero-stage .hero-copy h1{font-size:41px;letter-spacing:-1.8px}.hero-stage .lead{font-size:14px}.hero-stage .hero-copy .eyebrow{font-size:8px;letter-spacing:1px}.hero-stage .hero-actions{gap:10px;flex-direction:column;align-items:stretch;margin-top:23px}.hero-stage .hero-actions .button{width:100%;font-size:13px}.hero-stage .hero-note{font-size:10px}.hero-stage .hero-signature{font-size:9px}.hero-stage .hero-signature span+span::before{padding:0 5px}.hero-stage .preview-content{padding:21px}.hero-stage .preview-content h2{font-size:27px}.hero-stage .sample-answer{font-size:10px;padding:11px}.hero-stage .mini-steps{font-size:7px}.hero-stage .floating-label{font-size:9px}.hero-stage .visual-caption{font-size:9px}.video-feature{padding:17px;gap:23px}.solutions-heading{padding-top:25px}.pillars{margin-top:20px}}

/* Uscita dal lettore sempre riconoscibile. */
#close-video-top {display:grid;place-items:center;position:absolute;top:15px;right:15px;width:44px;height:44px;padding:0;border:2px solid white;border-radius:50%;background:#142e39;color:white;font:400 31px/1 'Segoe UI',sans-serif;box-shadow:0 3px 12px #142e3924;z-index:3}
#close-video-top:hover {background:#247b77}
#video-dialog h2 {margin-right:55px}
@media(max-width:700px){#close-video-top{top:11px;right:11px}#video-dialog .dialog-eyebrow{margin-right:48px}#video-dialog h2{margin-right:38px}}

.video-gallery{grid-column:1/-1;min-width:0}
.gallery-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:30px;margin:10px 0 23px}
.gallery-heading .eyebrow{margin-bottom:12px}
.gallery-heading h2{font-size:31px;letter-spacing:-1px}
.gallery-heading>p{font-size:13px;line-height:1.7;color:var(--muted)}
.video-cards{display:grid;grid-template-columns:1fr 1fr;gap:23px}
.video-card{border:1px solid var(--line);border-radius:15px;overflow:hidden;background:white;display:flex;flex-direction:column}
.video-gallery .film-preview{border-radius:0;aspect-ratio:16/9}
.video-gallery .film-preview img{opacity:1}
.video-gallery .film-preview::after{background:linear-gradient(180deg,#142e3933,transparent 40%,#142e39d9)}
.video-card-copy{padding:25px 26px;display:flex;flex-direction:column;flex:1}
.video-card-copy .eyebrow{font-size:9px;margin-bottom:9px}
.video-card-copy h3{font-size:21px;line-height:1.3;letter-spacing:-.5px}
.video-card-copy>p:not(.eyebrow){color:var(--muted);font-size:14px;line-height:1.75;margin:13px 0 15px}
.video-card-copy .text-button{margin-top:auto;align-self:flex-start}
.gallery-note{color:var(--muted);font-size:11px;line-height:1.7;margin-top:15px}
.managed-service{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;gap:35px;border:1px solid #bdd3d8;background:#eaf3f3;padding:32px 34px;border-radius:14px}
.managed-service .eyebrow{margin-bottom:12px}
.managed-service h2{font-size:29px;font-weight:600}
.managed-service p:not(.eyebrow){font-size:14px;color:var(--muted);max-width:660px;margin-top:13px}
.managed-service .button{flex-shrink:0;background:#164e53;color:white}
.facsimile-distinta{background:white;max-width:850px;margin:0 auto;padding:32px 45px;border:1px solid #d4dfe4;box-shadow:0 5px 20px #1837480a}
.distinta-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;border-bottom:2px solid #1c6276;padding-bottom:18px;font-size:10px;letter-spacing:.7px;color:#366477}
.distinta-heading b{border:1px solid #b9cbd2;padding:5px 8px;font-size:10px}
.facsimile-distinta h2{font-size:28px;margin-top:25px;text-transform:none;letter-spacing:-.7px}
.distinta-subtitle{font-size:13px;color:#60747d;margin-top:6px}
.facsimile-distinta dl{margin-top:24px}
.facsimile-distinta dl>div{display:grid;grid-template-columns:145px 1fr;gap:18px;padding:12px 0;border-bottom:1px solid #e3e9ec;font-size:13px}
.facsimile-distinta dt{color:#60747d}.facsimile-distinta dd{margin:0;font-weight:550}
.distinta-stamp{margin-top:24px;padding:13px 15px;background:#edf5f7;color:#17617b;font-size:11px;font-weight:600;text-align:center;letter-spacing:.3px}
.distinta-note{font-size:11px;color:#60747d;line-height:1.7;margin-top:15px}
.facsimile-distinta .case-actions{margin-top:20px;display:flex;justify-content:flex-end}
.dire-simulation[data-mode="agency"] .simulated-registry-header{border-top:4px solid #338c83}
@media(max-width:800px){.gallery-heading{align-items:flex-start;flex-direction:column;gap:12px}.gallery-heading>p br{display:none}.video-cards{grid-template-columns:1fr}.video-card-copy{padding:23px}.managed-service{align-items:flex-start;flex-direction:column;gap:22px}.managed-service h2{font-size:26px}}
@media(max-width:700px){.gallery-heading{margin-top:30px}.gallery-heading h2{font-size:28px}.video-card-copy h3{font-size:21px}.video-card-copy>p:not(.eyebrow){font-size:13px}.video-gallery .film-topline{font-size:7px;letter-spacing:.7px}.video-gallery .film-bottomline{font-size:13px}.managed-service{margin-top:25px;padding:26px 22px}.managed-service p:not(.eyebrow){font-size:13px}.managed-service .button{width:100%}.facsimile-distinta{padding:23px 18px}.facsimile-distinta h2{font-size:23px}.distinta-heading{font-size:8px}.facsimile-distinta dl>div{grid-template-columns:90px 1fr;gap:12px;font-size:11px}.distinta-stamp{font-size:9px}.distinta-note{font-size:10px}}

.video-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:19px}.video-card-copy{padding:23px}.video-card-copy h3{font-size:20px}.video-gallery .film-topline{font-size:8px;letter-spacing:.6px;top:16px;left:16px}.video-gallery .film-bottomline{font-size:13px;left:16px;right:16px;bottom:16px}.video-gallery .film-bottomline>span{font-size:9px}.video-gallery .film-play{width:54px;height:54px;font-size:18px}
.service-prominent{display:grid;grid-template-columns:1.2fr .8fr;background:#e1f4ef;border:1px solid #9fcfc2;box-shadow:0 9px 25px #163d3c08;gap:35px;padding:32px;margin:0}.service-prominent h2{font-size:36px;color:#174a49}.service-prominent .eyebrow{color:#36786f;font-size:10px}.service-prominent .button{margin-top:20px;background:#164e53;box-shadow:0 4px 12px #164e5324}.service-prominent small{display:block;font-size:11px;color:#57786e;margin-top:10px}.service-prominent figure{margin:0;min-width:0}.service-prominent figure img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:10px}.service-prominent figcaption{font-size:9px;color:#57786e;margin-top:7px}.service-header{background:#164e53!important;box-shadow:none!important}
.professional-picker{display:flex;align-items:center;gap:12px;margin:17px 25px 0;font-size:11px;color:var(--muted)}.professional-picker select{font-size:12px;color:var(--ink);border:1px solid var(--line);border-radius:6px;padding:8px 12px;background:white}.video-selector button{font-size:12px}
@media(max-width:1050px){.video-cards{grid-template-columns:1fr 1fr}.video-card:last-child{grid-column:1/-1;max-width:610px;width:100%;justify-self:center}.service-prominent{grid-template-columns:1fr 1fr}.service-prominent h2{font-size:31px}}
@media(max-width:700px){.video-cards{grid-template-columns:1fr}.video-card:last-child{grid-column:auto}.service-prominent{display:flex;flex-direction:column;padding:25px 22px}.service-prominent h2{font-size:30px}.service-prominent .button{font-size:12px;width:100%}.service-prominent figure{width:100%}.video-selector button{flex:auto;width:100%;text-align:left}.video-selector button span{display:inline;margin-left:8px}.professional-picker{margin:15px 15px 0;gap:8px;flex-wrap:wrap}.professional-picker select{font-size:11px}.filter-tabs{flex-wrap:wrap}}

/* Inquadratura dei filmati: solo l’ambiente dimostrativo. */
body.video-mode.agency-video .header,body.video-mode.agency-video footer,body.video-mode.agency-video .section-heading,body.video-mode.agency-video .limit-note,body.video-mode.agenda-video .header,body.video-mode.agenda-video footer{display:none!important}
body.video-mode.agency-video .workspace{padding:35px 55px 105px;max-width:none}
body.video-mode.agenda-video .workspace{padding:24px 55px 105px;max-width:none}
body.video-mode.agenda-video #deadline-list{max-height:450px;overflow:hidden}
body.video-mode.agenda-video .section-heading{margin-bottom:24px}
body.video-mode.agenda-video .section-heading h1{font-size:38px}
body.video-mode.agency-video #video-caption,body.video-mode.agenda-video #video-caption{bottom:20px;left:10%;right:10%;font-size:20px;padding:18px 23px;background:#142e39f5}
body.video-mode.dire-video .facsimile-distinta{padding:22px 35px}
body.video-mode.dire-video .facsimile-distinta h2{margin-top:18px}
body.video-mode.dire-video .facsimile-distinta dl{margin-top:16px}
body.video-mode.dire-video .facsimile-distinta dl>div{padding:8px 0;font-size:12px}
body.video-mode.dire-video .facsimile-distinta .case-actions{display:none}

/* Invito all’incarico compatto; la visibilità viene dal comando in alto. */
.service-prominent{display:block;padding:22px 28px;border-radius:12px;box-shadow:none}.service-prominent>div{display:grid;grid-template-columns:1fr auto;column-gap:30px}.service-prominent .eyebrow{grid-column:1;margin:0 0 6px;font-size:9px}.service-prominent h2{grid-column:1;font-size:26px;line-height:1.25}.service-prominent p:not(.eyebrow){grid-column:1;max-width:720px;font-size:13px;margin-top:8px;line-height:1.65}.service-prominent .button{grid-column:2;grid-row:2/4;align-self:center;font-size:13px;min-height:44px;margin:0;white-space:nowrap}.service-prominent small{display:none}
.portal-visual-note{display:flex;align-items:center;gap:22px;margin-bottom:24px;border:1px solid var(--line);background:#fff;padding:14px;border-radius:12px}.portal-visual-note figure{margin:0;width:200px;flex-shrink:0}.portal-visual-note img{width:100%;height:100px;object-fit:cover;border-radius:7px;display:block}.portal-visual-note figcaption{font-size:8px;color:var(--muted);margin-top:4px}.portal-visual-note p{font-size:16px;color:var(--muted);line-height:1.7}.portal-visual-note strong{font-size:20px;color:var(--ink);font-weight:600}
@media(max-width:900px){.service-prominent>div{display:block}.service-prominent .button{margin-top:14px;width:auto}.service-prominent h2{font-size:25px}}
@media(max-width:700px){.service-prominent{padding:22px;margin-top:0}.service-prominent .button{font-size:12px;width:100%}.portal-visual-note{gap:14px}.portal-visual-note figure{width:110px}.portal-visual-note img{height:105px}.portal-visual-note p{font-size:12px}.portal-visual-note strong{font-size:15px}}

/* La gestione su incarico è un’alternativa, l’autocompilazione resta primaria. */
.service-header{background:transparent!important;color:#164e53!important;border:1px solid #a7c5c1!important;box-shadow:none!important}.service-header:hover{background:#eaf4f1!important}.service-prominent{background:#f0f6f4;border-color:#d3e4df}.service-prominent h2{font-size:24px}.service-prominent .button{background:white;color:#164e53;border-color:#8eb9ae;box-shadow:none;font-size:12px}

body.video-mode.agenda-video #deadline-list{max-height:none;overflow:visible}
body.video-mode.agenda-video .deadline:has(details[open]),body.video-mode.agency-video .deadline:has(details[open]){background:#edf8f4;border-left:3px solid #59b49c}

/* Home è il riferimento principale della navigazione. */
.header nav{align-items:center}.header nav .home-nav-button{display:inline-flex;align-items:center;gap:8px;padding:10px 15px;border:1px solid #a8d0c5;border-radius:8px;background:#e4f5ef;color:#164e53;font-weight:700;box-shadow:none}.header nav .home-nav-button svg{width:18px;height:18px;flex-shrink:0}.header nav .home-nav-button.active{background:#164e53;border-color:#164e53;color:white;box-shadow:0 4px 12px #164e5314}.header nav .home-nav-button:hover{background:#ccebe0;color:#164e53}.practice-entry-actions{display:flex;flex-direction:column;align-items:stretch;gap:10px;min-width:245px;max-width:300px}.practice-entry-actions .button{font-size:13px;gap:12px}.practice-entry-actions>span{font-size:11px;color:var(--muted);line-height:1.6;max-width:260px}.practice-introduction .practice-demo-label{font-size:11px!important;color:#4f7d78!important;margin-top:10px!important}.practice-introduction>div:first-child{max-width:650px}
@media(max-width:700px){.header nav .home-nav-button{padding:8px 12px;font-size:12px}.header nav .home-nav-button svg{width:16px;height:16px}.practice-entry-actions{max-width:none;width:100%;min-width:0}.practice-entry-actions>span{max-width:none;font-size:10px}.practice-introduction .practice-demo-label{font-size:10px!important}}

/* Studio illustrativo dietro l’apertura, velato per conservare il contrasto. */
.quick-filled{animation:quick-field-reveal .55s ease-out}
.quick-preview-picker{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:20px}.quick-preview-picker button{border:1px solid #cbdadd;border-radius:8px;background:white;padding:11px 17px;font-size:13px}.quick-preview-picker button[aria-pressed="true"]{background:#164e53;color:white;border-color:#164e53}.quick-preview-picker button:focus-visible{outline:3px solid #72baa7;outline-offset:var(--portal-focus-offset,-2px)}
@keyframes quick-field-reveal{from{background:#d7f1e9}to{background:transparent}}
@media(prefers-reduced-motion:reduce){.quick-filled{animation:none}}
.hero-stage{background:linear-gradient(90deg,rgba(10,62,80,.76),rgba(24,89,109,.54)),url('/presentation/assets/studio-hero-v3.png') center calc(50% + 78px)/cover no-repeat;background-color:#142e42}
@media(max-width:700px){.hero-stage{background:linear-gradient(180deg,rgba(10,62,80,.79),rgba(24,89,109,.78)),url('/presentation/assets/studio-hero-v3.png') 28% calc(50% + 55px)/auto 100% no-repeat;background-color:#142e42}}

/* Richiesta semplice e leggibile, con anteprima locale invece dell’invio. */
#contact-dialog{width:min(690px,calc(100% - 32px));max-height:90dvh;border:1px solid #d6e4e4;border-radius:16px;padding:35px 38px;color:var(--ink);box-shadow:0 25px 90px #122e3b30}
#contact-dialog h2{font-size:29px;margin-right:25px}#contact-dialog::backdrop{background:#112d3a90;backdrop-filter:blur(4px)}
.contact-intro{color:var(--muted);font-size:14px;line-height:1.75;margin:13px 0 18px}.contact-demo-note{border-left:3px solid #72b9a7;background:#edf6f2;border-radius:0 6px 6px 0;padding:12px 14px;font-size:12px;line-height:1.7;margin:0 0 23px}
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px 20px}#contact-form label{display:block;font-size:12px;font-weight:600;margin-bottom:17px}#contact-form label>span{font-weight:400;color:var(--muted)}
#contact-form input,#contact-form select,#contact-form textarea{display:block;width:100%;min-width:0;border:1px solid #cad9db;border-radius:7px;padding:11px 12px;margin-top:7px;font:400 14px/1.5 'Segoe UI',sans-serif;color:var(--ink);background:#fff}#contact-form textarea{resize:vertical}#contact-form input:focus,#contact-form select:focus,#contact-form textarea:focus{outline:2px solid #80bcae;outline-offset:var(--portal-focus-offset,-2px)}
.contact-recipient{font-size:11px;color:var(--muted);line-height:1.7;margin:16px 0 22px;overflow-wrap:anywhere}.contact-actions{display:flex;justify-content:flex-end;gap:12px;border-top:1px solid var(--line);padding-top:20px}.contact-actions .button{font-size:12px;gap:7px}.contact-summary{margin:20px 0}.contact-summary>div{display:grid;grid-template-columns:85px 1fr;gap:18px;padding:12px 0;border-bottom:1px solid var(--line);font-size:13px}.contact-summary dt{color:var(--muted)}.contact-summary dd{margin:0;overflow-wrap:anywhere;white-space:pre-wrap}

/* Struttura del modulo RLI, sempre dichiarata come ricostruzione. */
.rli-form{background:#fff;padding:28px 32px;color:#18374a;max-width:970px;margin:auto;border:1px solid #d5e1e6}.rli-masthead{display:flex;justify-content:space-between;align-items:center;border-bottom:2px solid #28576c;padding-bottom:12px;margin-bottom:16px;font-size:17px;line-height:1.25;font-weight:650}.rli-masthead small{font-size:9px;color:#66818b;font-weight:400}.rli-masthead>b{font-size:32px;letter-spacing:2px}.rli-form h2{font-size:22px;letter-spacing:0}.rli-subtitle{font-size:12px;color:#66818b;margin:5px 0 20px}.rli-section-title{background:#e7eff3;border-block:1px solid #bdcfd8;padding:7px 10px;font-size:12px;display:flex;gap:22px;align-items:center}.rli-section-title>b{font-size:10px;letter-spacing:.7px}.rli-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px 25px;padding:15px 10px 19px}.rli-field>span{font-size:10px;display:block;color:#5e7480}.rli-field>strong{display:block;border:1px solid #b9cbd4;background:#fcfdfe;min-height:33px;font-size:12px;font-weight:600;padding:6px 9px;margin-top:4px}.rli-field .rli-placeholder{color:#9aa9b1;font-weight:400}.rli-annotation{font-size:10px;line-height:1.6;color:#637c87;border-left:3px solid #8bb6bc;padding:8px 11px;margin-top:6px}.rli-form .case-actions{margin-top:18px}

/* Sei riquadri del facsimile Comunica, senza loghi o dati reali. */
.comunica-sheet{color:#1c394c;padding:24px 30px;border:1px solid #bfcfd9;max-width:900px;box-shadow:0 7px 30px #1837480a;font-family:Arial,sans-serif}.comunica-masthead{display:flex;justify-content:space-between;font-size:12px;color:#395a70;gap:20px}.comunica-title{display:flex;align-items:center;justify-content:space-between;margin:17px 0 8px;gap:20px}.comunica-title h2{font-size:26px!important;color:#b07847;letter-spacing:0;margin:0!important;font-weight:400}.comunica-title p{font-size:12px;margin-top:4px;color:#45687b}.comunica-title>b{border:2px solid #b9574c;color:#a4473e;letter-spacing:1px;font-size:12px;padding:7px 10px;transform:rotate(-3deg)}.comunica-disclaimer{font-size:9px;color:#73838c;margin-bottom:18px}.comunica-section{margin:0 0 12px}.comunica-section h3{background:#ccebf3;color:#224e63;font-size:12px;font-weight:500;padding:6px 8px;letter-spacing:0}.comunica-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px 24px;padding:9px 8px 3px}.comunica-fields.single{grid-template-columns:1fr}.comunica-fields>div{min-width:0}.comunica-fields span{display:block;font-size:9px;color:#60747d}.comunica-fields strong{font-size:10px;border-bottom:1px solid #d8c9a1;display:block;min-height:23px;padding:4px 0 3px;font-weight:500;overflow-wrap:anywhere}.comunica-fields small{display:block;font-size:9px;margin-top:4px;color:#60747d}.comunica-documents{display:grid;grid-template-columns:1fr 110px;font-size:10px;margin:6px 8px;gap:0 16px}.comunica-documents>*{padding:5px 0;border-bottom:1px solid #d8c9a1}.comunica-documents span{font-size:9px;color:#637b87}.comunica-documents strong{font-weight:500}.comunica-sheet .distinta-stamp{font-size:10px;padding:10px;margin-top:15px}.comunica-sheet .distinta-note{font-size:9px;line-height:1.6;margin-top:10px}.comunica-sheet .case-actions{margin-top:18px}
body.video-mode.dire-video:has(.comunica-sheet) .simulated-registry-header,body.video-mode.dire-video:has(.comunica-sheet) .journey,body.video-mode.dire-video:has(.comunica-sheet) .paper-top{display:none!important}body.video-mode.dire-video:has(.comunica-sheet) .workspace{padding-top:22px}body.video-mode.dire-video .comunica-sheet{padding:22px 30px}.video-mode.dire-video:has(.comunica-sheet) .practice-paper{background:transparent;padding:0;border:0;box-shadow:none}.video-mode.dire-video:has(.comunica-sheet) .practice-layout{background:transparent;border:0;box-shadow:none}
body.video-mode.agency-video .rli-form{padding:17px 25px}.video-mode.agency-video .rli-masthead{font-size:14px;padding-bottom:8px;margin-bottom:10px}.video-mode.agency-video .rli-masthead>b{font-size:25px}.video-mode.agency-video .rli-form h2{font-size:20px}.video-mode.agency-video .rli-subtitle{margin:3px 0 12px;font-size:11px}.video-mode.agency-video .rli-section-title{padding:4px 8px}.video-mode.agency-video .rli-fields{padding:8px;gap:8px 25px}.video-mode.agency-video .rli-field>strong{min-height:27px;padding:3px 8px;font-size:11px}.video-mode.agency-video .rli-annotation{font-size:9px;padding:5px 9px}.video-mode.agency-video .rli-form .case-actions{margin-top:9px;padding-top:9px}.video-mode.agency-video .rli-form .case-actions .button{min-height:38px;font-size:12px;padding:8px 15px}
body.video-mode.agency-video .simulated-registry-header,body.video-mode.agency-video .journey,body.video-mode.agency-video .paper-top{display:none!important}body.video-mode.agency-video .rli-form{padding:25px 32px;max-width:1050px}body.video-mode.agency-video .rli-fields{padding:13px 8px;gap:13px 25px}
body.video-mode.dire-video .comunica-section{margin-bottom:9px}.video-mode.dire-video .comunica-fields{padding:7px 8px 2px;gap:6px 24px}.video-mode.dire-video .comunica-fields strong{min-height:20px;padding:2px 0}.video-mode.dire-video .comunica-disclaimer{margin-bottom:12px}.video-mode.dire-video .comunica-title{margin-top:12px}.video-mode.dire-video .comunica-sheet .distinta-stamp{margin-top:10px}.video-mode.dire-video .comunica-sheet .distinta-note{margin-top:7px}
@media(max-width:700px){#contact-dialog{padding:26px 21px;max-height:92dvh}#contact-dialog h2{font-size:25px}.contact-grid{grid-template-columns:1fr;gap:0}.contact-actions{flex-direction:column-reverse}.contact-actions .button{width:100%}.contact-summary>div{grid-template-columns:65px 1fr;gap:12px;font-size:12px}.rli-form{padding:19px 14px}.rli-form h2{font-size:19px}.rli-fields{gap:13px;padding:14px 4px}.rli-field>strong{font-size:10px;min-height:39px}.rli-section-title{gap:13px;font-size:10px}.rli-annotation{font-size:9px}.comunica-sheet{padding:20px 13px}.comunica-masthead{font-size:8px;gap:10px}.comunica-title{gap:10px}.comunica-title h2{font-size:21px!important}.comunica-title p{font-size:10px}.comunica-title>b{font-size:8px;padding:5px}.comunica-fields{gap:12px;padding:9px 5px 4px;grid-template-columns:1fr}.comunica-section h3{font-size:10px}.comunica-documents{grid-template-columns:1fr 72px;font-size:9px;gap:0 10px}.comunica-disclaimer{font-size:8px}.rli-form .case-actions{align-items:flex-start;gap:15px}}

/* Didascalie nel filmato: spazio libero per la barra nativa del lettore. */
.demo-list-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:25px 25px 13px}.demo-list-heading h2{font-size:19px;font-weight:600}.demo-list-heading>span{font-size:11px;color:var(--muted)}.demo-list-columns{display:grid;grid-template-columns:88px 1fr 230px;gap:18px;padding:12px 25px;background:#f1f5f7;border-block:1px solid #dde6ea;font-size:11px;font-weight:600;color:#4b6975}.deadline{display:grid;grid-template-columns:88px 1fr 230px;gap:18px;padding:21px 25px;align-items:start}.deadline-date-group{display:flex;align-items:flex-start;gap:10px}.deadline-date{width:auto;text-align:left}.deadline-date strong{font-size:20px;font-weight:600}.deadline-date span{font-size:9px;letter-spacing:0}.deadline-body .type-chip{display:inline-block;margin:7px 0 0;background:#edf3f5;color:#58717d;font-size:9px}.deadline-body details{margin-top:9px}.demo-deadline-actions{display:flex;flex-direction:column;align-items:flex-start;gap:10px;border-left:1px solid #e2e9ec;padding-left:20px}.demo-status-choice{display:flex;gap:10px;align-items:center;font-size:12px;font-weight:500;cursor:pointer}.deadline .demo-status-choice input{appearance:none;width:32px;height:19px;flex-shrink:0;border-radius:12px;background:#c0ccd3;position:relative;margin:0;cursor:pointer;transition:background .15s}.deadline .demo-status-choice input:before{content:'';position:absolute;width:13px;height:13px;top:3px;left:3px;background:white;border-radius:50%;transition:transform .15s}.deadline .demo-status-choice input:checked{background:#33896e}.deadline .demo-status-choice input:checked:before{transform:translateX(13px)}.demo-deadline-actions .text-button{font-size:11px;padding:0;font-weight:500}.demo-deadline-actions>small{font-size:9px;color:var(--muted)}.demo-performed-date{display:block;margin-top:9px;color:#32806b;font-size:10px}.deadline.performed{background:#f3faf7}.fulfillment-picker{margin-top:12px;margin-bottom:10px}
@media(max-width:700px){.demo-list-columns{display:none}.demo-list-heading{margin:20px 15px 4px;align-items:flex-start;flex-direction:column;gap:3px}.demo-list-heading h2{font-size:17px}.demo-list-heading>span{font-size:10px}.deadline{grid-template-columns:55px 1fr;gap:12px;padding:17px 15px}.deadline-date-group{gap:7px}.deadline-date strong{font-size:18px}.deadline-date span{font-size:8px}.deadline-date-group>input{width:13px;height:13px}.demo-deadline-actions{grid-column:2;border-left:0;border-top:1px solid #e2e9ec;padding:12px 0 0;margin-top:0;gap:9px}.demo-status-choice{font-size:11px}.demo-deadline-actions>small{display:none}.fulfillment-picker{margin-bottom:5px}}
body.video-mode.dire-video #video-caption,body.video-mode.agency-video #video-caption,body.video-mode.agenda-video #video-caption{bottom:110px;left:8%;right:8%;font-size:30px;line-height:1.35;font-weight:600;padding:18px 24px;background:#122e3bf7;text-wrap:balance;box-shadow:0 4px 18px #102f3b25}
@media(max-width:700px){.quick-preview-picker{gap:8px}.quick-preview-picker button{font-size:11px;padding:10px 12px;flex:1}.rli-masthead>b{font-size:25px}}
.quick-turn{display:flex;align-items:center;gap:12px;padding:15px 20px;border:1px solid #bedbd2;background:#edf8f4;color:#24584e;border-radius:10px;margin-bottom:16px;font-size:14px;font-weight:600;line-height:1.55}.quick-turn:before{content:'✦';font-size:20px}.quick-turn[data-turn="client"]{background:#fff8e7;border-color:#e5d2a3;color:#705319}.quick-turn[data-turn="client"]:before{content:'→'}
.rli-web-demo{color:#183e61;background:white;font:13px/1.5 'Segoe UI',Arial,sans-serif}.rw-masthead{display:flex;align-items:center;justify-content:space-between;gap:20px;background:#f2f4f6;padding:18px 24px;border-top:8px solid #252a2d}.rw-masthead small{display:block;font-size:9px;letter-spacing:.5px;color:#677782}.rw-masthead strong{display:block;font-size:26px;font-weight:500;margin-top:5px}.rw-masthead b{display:block;font-size:19px;font-weight:600}.rw-masthead>span{font-size:10px;border:1px solid #728fa9;padding:5px 10px}.rw-nav{display:flex;gap:24px;background:#005b9f;color:white;padding:10px 24px;font-size:12px}.rw-breadcrumb{font-size:10px;margin:16px 24px;color:#416783}.rw-layout{display:grid;grid-template-columns:125px 1fr;gap:22px;padding:0 24px 26px}.rw-layout aside{border-bottom:1px solid #0064b3;align-self:start;display:flex;flex-direction:column;font-size:11px}.rw-layout aside strong{background:#004b84;color:white;padding:8px}.rw-layout aside span{padding:9px 8px}.rw-layout aside .current{font-weight:700;background:#eef4f9}.rw-main h2{font:500 27px/1.2 'Segoe UI',sans-serif!important;letter-spacing:0;margin:0 0 14px!important}.rw-contract{border:1px solid #c5cdd2;background:#f3f4f5;padding:8px 11px;font-weight:600}.rw-note{font-size:10px;color:#627987;margin:12px 0;line-height:1.6}.rw-main fieldset{border:1px solid #cfd7dc;margin:0 0 15px;padding:5px 12px 12px}.rw-main legend{font-size:10px;padding:0 5px}.rw-fields{display:grid;grid-template-columns:1fr 1fr;gap:15px 20px}.rw-field{min-width:0}.rw-field>span{display:block;font-size:11px;margin-bottom:5px}.rw-field>strong{display:block;border:1px solid #aebdc9;background:white;padding:8px 10px;min-height:36px;font-size:12px;font-weight:400;overflow-wrap:anywhere}.rw-field>strong.rw-placeholder{color:#8a99a4}.rw-wide{grid-column:1/-1}.rw-fake-save{display:inline-block;padding:7px 14px;background:#0066bc;color:white;border-radius:3px;font-size:12px}
.rli-final-sheet{max-width:900px;margin:0 auto;background:white;border:1px solid #b7c7d4;padding:28px 32px;color:#213b52;font-family:Arial,sans-serif}.rli-final-head{display:flex;justify-content:space-between;align-items:center;gap:20px;border-bottom:3px solid #426d91;padding-bottom:17px}.rli-final-head span{font-size:9px;color:#627a8e}.rli-final-head h2{font-size:32px;letter-spacing:1px;margin:10px 0 6px}.rli-final-head p{font-size:11px}.rli-final-head>b{padding:8px;border:2px solid #ab655c;color:#ab655c;font-size:13px;letter-spacing:1px}.rli-final-description{font-size:14px;margin:22px 0}.rli-final-sheet h3{font-size:13px;padding:10px 12px;background:#dfeaf2;color:#245477}.rli-final-section{border:1px solid #c5d5e0;padding:15px 16px;margin-top:15px}.rli-final-section>strong{font-size:12px}.rli-final-section dl{display:grid;grid-template-columns:1fr 1fr;gap:17px 25px;margin-top:16px}.rli-final-section dt{font-size:10px;color:#6b7b87}.rli-final-section dd{font-size:12px;margin:5px 0 0;border-bottom:1px solid #bdcbd5;padding-bottom:5px;overflow-wrap:anywhere}.rli-final-stamp{font-size:12px;font-weight:700;color:#8f554e;background:#fbf3ed;border:1px solid #e6c5b4;padding:13px;margin-top:18px;text-align:center}.rli-final-note{font-size:10px;line-height:1.7;color:#697e8b;margin-top:14px}.rli-final-sheet .case-actions{font-size:11px;gap:20px}
.demo-profile-loader{display:flex;align-items:center;justify-content:space-between;gap:20px;background:#f4f6fc;border:1px solid #e0e2ed;border-radius:10px;padding:14px 19px;margin:18px 0}.demo-profile-loader p{font-size:12px;color:#58677d;line-height:1.5}.demo-profile-loader .button{font-size:12px;min-height:40px}.profile-preview td:last-child{white-space:nowrap}
body.video-mode #quick-turn,body.video-mode .quick-preview-picker{display:none!important}body.video-mode.agency-video .rli-web-demo{max-width:1120px;margin:auto}body.video-mode.agency-video .rw-layout{padding-bottom:14px}body.video-mode.agency-video .rw-masthead{padding:12px 24px}body.video-mode.agency-video .rw-breadcrumb{margin-block:12px}body.video-mode.agency-video .rw-field>strong{min-height:32px;padding:5px 9px}body.video-mode.agency-video .rli-final-sheet{padding:23px 30px}body.video-mode.agency-video .rli-final-sheet .case-actions{display:none}body.video-mode.agency-video:has(.rli-final-sheet) .practice-paper{padding:0;background:transparent;border:0}body.video-mode.agency-video:has(.rli-final-sheet) .practice-layout{border:0;box-shadow:none;background:transparent}
@media(max-width:700px){.quick-turn{font-size:12px;padding:12px 15px}.rw-masthead{padding:14px;gap:12px}.rw-masthead strong{font-size:21px}.rw-masthead>span{font-size:8px;padding:4px 6px}.rw-nav{padding:9px 14px;font-size:10px;gap:16px}.rw-breadcrumb{margin:13px 14px;font-size:9px}.rw-layout{display:block;padding:0 14px 20px}.rw-layout aside{flex-direction:row;align-items:center;flex-wrap:wrap;border-bottom:1px solid #c7d8e6;margin-bottom:18px;font-size:9px}.rw-layout aside span{padding:8px}.rw-main h2{font-size:23px!important}.rw-fields{gap:13px 10px}.rw-field>strong{font-size:10px;padding:7px;min-height:40px}.rw-field>span{font-size:10px}.rw-contract{font-size:11px}.rli-final-sheet{padding:21px 14px}.rli-final-head{gap:10px}.rli-final-head h2{font-size:26px}.rli-final-head>b{font-size:9px;padding:6px}.rli-final-head span{font-size:8px}.rli-final-head p{font-size:10px}.rli-final-description{font-size:12px}.rli-final-section{padding:13px 11px}.rli-final-section dl{grid-template-columns:1fr;gap:14px}.rli-final-section dd{font-size:11px}.rli-final-sheet .case-actions{flex-direction:column;align-items:stretch}.demo-profile-loader{align-items:stretch;flex-direction:column;gap:12px;padding:14px}.demo-profile-loader p{font-size:11px}.profile-preview{font-size:11px}}
#video-stage{background:#122e3b;border-radius:10px;overflow:hidden}#video-stage #project-video{display:block;margin:0;width:100%;max-height:58vh;object-fit:contain;background:#0c202a}.video-readable-caption{min-height:55px;padding:14px 20px;font-size:17px;line-height:1.5;color:#fff;background:#193b49;margin:0;font-weight:500}.video-controls{display:flex;gap:14px;align-items:center;padding:10px 15px;background:#102d39;color:white}.video-controls[hidden]{display:none}.video-controls button{border:1px solid #6d8b95;background:transparent;color:white;border-radius:5px;padding:7px 10px;font-size:12px;white-space:nowrap}.video-controls input{flex:1;min-width:30px;accent-color:#90d5c3}.video-controls output{font-size:11px;white-space:nowrap}.video-controls button:focus-visible{outline:2px solid #9adbc7;outline-offset:var(--portal-focus-offset,-2px)}#video-stage:fullscreen{display:flex;flex-direction:column;justify-content:center;border-radius:0}#video-stage:fullscreen #project-video{max-height:calc(100dvh - 145px);aspect-ratio:auto}#video-stage:fullscreen .video-readable-caption{font-size:21px;text-align:center}
.dire-simulation[data-mode="agency"]:has(.rli-web-demo,.rli-final-sheet) .simulated-registry-header,.dire-simulation[data-mode="agency"]:has(.rli-web-demo,.rli-final-sheet) .journey,.dire-simulation[data-mode="agency"]:has(.rli-web-demo,.rli-final-sheet) .paper-top{display:none}.dire-simulation[data-mode="agency"]:has(.rli-web-demo,.rli-final-sheet){display:block;padding:0}.dire-simulation[data-mode="agency"]:has(.rli-final-sheet){background:transparent;border:0;box-shadow:none}
.hero-copy>.eyebrow{display:inline-flex;align-items:center;gap:12px;font-size:14px!important;font-weight:700;letter-spacing:1.5px;color:#d8f4ec!important;background:#102d4380;border:1px solid #b4e2d85e;border-radius:7px;padding:11px 15px;margin-bottom:25px}.hero-copy>.eyebrow>span{background:#9ce1c9;width:7px;height:7px;box-shadow:0 0 0 4px #9ce1c91a}.hero-copy h1{overflow-wrap:normal}
@media(max-width:700px){.hero-copy>.eyebrow{font-size:11px!important;letter-spacing:1px;padding:10px 12px;margin-bottom:22px;gap:10px}.hero-copy h1{font-size:clamp(38px,10.6vw,47px)}}
.hero-stage{gap:40px;padding:43px 44px}.hero-stage .hero-copy h1{font-size:clamp(39px,4vw,59px);line-height:1.14;letter-spacing:-2px}.hero-stage .lead{max-width:510px;font-size:16px;line-height:1.75;margin-top:24px}.hero-actions{gap:12px;margin-top:26px}.hero-actions .button{font-size:13px;padding:13px 17px;gap:15px}.hero-visual{padding:0}.hero-signature{margin-top:24px!important}.hero-guided-link{display:inline-flex;font-size:11px;color:#d4ebe9;background:none;border:0;padding:0;margin-top:15px;text-decoration:underline;text-underline-offset:4px}.home>.pillars{margin:23px 0 0;background:white;border:1px solid #d9e5e5;border-radius:12px;overflow:hidden}.home>.pillars>button{padding:23px 22px}.home>.pillars h3{font-size:15px}.home>.pillars p{font-size:12px;line-height:1.65}.home>.service-prominent{margin-top:0}.home>.video-gallery{margin-block:35px}
@media(max-width:1050px) and (min-width:701px){.hero-stage{gap:25px;padding:32px}.hero-stage .hero-copy h1{font-size:43px}.hero-stage .lead{font-size:14px}.hero-copy>.eyebrow{font-size:11px!important;padding:9px 11px;letter-spacing:1px}.hero-actions .button{font-size:12px;padding:11px 12px}}
@media(max-width:700px){.hero-stage{padding:29px 23px;gap:28px}.hero-stage .hero-copy h1{font-size:clamp(34px,9.5vw,44px);letter-spacing:-1.5px}.hero-stage .lead{font-size:14px;line-height:1.7;margin-top:20px}.hero-actions{display:flex;flex-direction:column;align-items:stretch;gap:10px}.hero-actions .button{width:100%;font-size:12px}.hero-visual{padding:0;margin:0}.hero-guided-link{font-size:11px}.hero-signature{font-size:10px!important;gap:12px!important}.home>.pillars{margin-top:0}.home>.pillars>button{padding:19px 17px}.home>.pillars p{font-size:11px}.home>.video-gallery{margin-block:0}.hero-copy>.eyebrow{font-size:10px!important;letter-spacing:.7px;padding:10px 11px;gap:9px}}
.service-header-label{text-align:left;line-height:1.35}.hero-copy .hero-note{margin-top:30px}.hero-copy .hero-guided-link{display:flex;width:fit-content;line-height:1.6;margin-top:26px}.hero-copy .hero-signature{margin-top:30px!important;line-height:1.7}
@media(max-width:700px){.service-header-label>span{display:block;font-size:9px;margin-bottom:2px;opacity:.8}.header>.service-header{gap:10px}.hero-copy .hero-note{margin-top:25px;line-height:1.7}.hero-copy .hero-guided-link{margin-top:23px}.hero-copy .hero-signature{margin-top:26px!important}}
.home>.path-intro{grid-column:1/-1;color:#4f7379;font-size:13px;font-weight:500;line-height:1.7;margin:27px 2px -8px}.home>.path-intro+.pillars{margin-top:0}
@media(max-width:700px){.home>.path-intro{font-size:12px;line-height:1.7;margin:3px 4px -12px}}
.hero-copy .hero-note{margin-top:34px;font-size:11px;font-weight:400;line-height:1.6;color:#c5dce1}.guided-detail-link{font-size:11px;line-height:1.6;text-align:left;align-self:flex-start;padding:5px 0;color:#557b7b;font-weight:400}
@media(max-width:700px){.hero-copy .hero-note{margin-top:28px;font-size:10px}.guided-detail-link{font-size:11px}}
.practice-entry-actions{flex-direction:row;align-items:center;justify-content:space-between;flex-wrap:wrap;min-width:0;max-width:none;width:100%;gap:12px;margin:0 0 12px}.practice-entry-actions .text-button{font-size:12px;color:#366c72}.practice-introduction>.guided-detail-link{max-width:230px;align-self:center;margin:0;font-size:12px}.quick-preview-picker{margin-bottom:14px}
@media(max-width:700px){.practice-entry-actions .button{flex:1;font-size:12px}.practice-entry-actions .text-button{font-size:11px}.practice-introduction>.guided-detail-link{align-self:flex-start;max-width:none;font-size:11px}.practice-entry-actions{gap:10px;margin-bottom:10px}}
.hero-stage{position:relative;padding-bottom:76px}.hero-stage .preview-content .preview-try{width:100%;background:#164e53;color:white;margin:0 0 18px;min-height:45px;font-size:13px;border-color:#164e53}.hero-stage .preview-content .preview-try:hover{background:#24656a}.hero-demo-note{position:absolute;left:44px;right:44px;bottom:19px;color:#c5dce1;font-size:11px;line-height:1.5;margin:0}.hero-copy .hero-actions{margin-bottom:0}
@media(max-width:700px){.hero-stage{padding-bottom:66px}.hero-demo-note{left:23px;right:23px;bottom:20px;font-size:10px}.hero-stage .preview-content .preview-try{font-size:12px;min-height:44px;margin-bottom:16px}}
.official-rli-sheet{max-width:960px;border:0;background:white;padding:20px 24px}.official-rli-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:0 0 15px}.official-rli-heading h2{font-size:20px!important;letter-spacing:0;margin:0!important}.official-rli-heading>span{font-size:9px;color:#7c5b51}.official-rli-page{position:relative;container-type:inline-size;margin:0 auto;max-width:820px;background:white;box-shadow:0 3px 18px #1e3d4a15}.official-rli-page>img{display:block;width:100%;height:auto}.official-rli-stamp{position:absolute;left:36%;top:13.2%;padding:.7cqw 1.2cqw;border:.18cqw solid #a84f45;color:#9c483e;background:#fff8f4e8;font:700 1.6cqw/1.5 Arial,sans-serif;letter-spacing:.12cqw}.official-rli-watermark{position:absolute;left:21%;top:44%;color:#9c483e22;transform:rotate(-28deg);font:700 7cqw/1 Arial,sans-serif;white-space:nowrap;pointer-events:none}.official-rli-value{position:absolute;font:600 1.35cqw/1.2 Arial,sans-serif;color:#173c5c;white-space:nowrap}.rli-contract-type{left:20.8%;top:21.3%}.rli-operation{left:18.7%;top:47.2%}.rli-day{left:19.9%;top:51.5%}.rli-month{left:24.9%;top:51.5%}.rli-year{left:30%;top:51.5%}.rli-contract-demo{left:52.2%;top:51.4%;font-size:1.1cqw;letter-spacing:.45cqw}.rli-surname{left:18.6%;top:60.1%}.rli-name{left:59.8%;top:60.1%}
body.video-mode.agency-video .official-rli-sheet{padding:0;background:transparent;max-width:900px}body.video-mode.agency-video .official-rli-heading{display:none}body.video-mode.agency-video .official-rli-page{width:510px;max-width:100%;margin:auto}body.video-mode.agency-video .official-rli-sheet .rli-final-note{font-size:10px;max-width:700px;margin:10px auto;color:#556b75}
@media(max-width:700px){.official-rli-sheet{padding:15px 8px}.official-rli-heading{align-items:flex-start;flex-direction:column;gap:8px}.official-rli-heading h2{font-size:18px!important}.official-rli-heading>span{font-size:9px}.official-rli-page{max-width:none}.official-rli-sheet .rli-final-note{font-size:10px;line-height:1.7}.official-rli-sheet .case-actions{font-size:10px}}
@media(max-width:700px){#video-stage #project-video{max-height:45dvh}.video-readable-caption{font-size:15px;padding:12px 14px;min-height:75px}.video-controls{flex-wrap:wrap;gap:10px;padding:10px}.video-controls button{font-size:11px;padding:8px}.video-controls input{order:4;flex-basis:100%}.video-controls output{margin-left:auto}#video-stage:fullscreen .video-readable-caption{font-size:16px}}

body.video-mode .practice-entry-actions{display:none!important}

/* Alternativa su incarico: stessa evidenza visiva del comando Home. */
.header>.service-header{background:#164e53!important;color:#fff!important;border:1px solid #164e53!important;border-radius:8px;box-shadow:0 4px 12px #164e5314!important;font-weight:700}.header>.service-header:hover{background:#24656a!important;color:#fff!important}.header>.service-header:focus-visible{outline:3px solid #74c9b4;outline-offset:var(--portal-focus-offset,-2px)}



.subscriber-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.subscriber-metrics .metric{min-width:0}.subscriber-metrics .metric>span{font-size:9px;line-height:1.5}.subscriber-block-title{font-size:14px;margin:23px 0 12px;color:#264c5a}.subscriber-agenda{margin-top:25px;padding-top:20px;border-top:1px solid #dce7e7}.subscriber-agenda .portal-title h3{font-size:15px}.subscriber-agenda .text-button{font-size:11px}.subscriber-date{display:flex;align-items:center;gap:14px;width:100%;background:transparent;border:0;border-top:1px solid #edf1f2;padding:14px 0;text-align:left;color:#244654;font-size:12px}.subscriber-date time{color:#50757b;font-size:11px;white-space:nowrap}.subscriber-date>span{flex:1}.subscriber-demo-note{font-size:10px;color:#637b81;line-height:1.6;margin-top:20px}.subscriber-summary{margin:20px 0}.subscriber-summary>div{padding:10px 0;border-bottom:1px solid #dce7e7}.subscriber-summary dt{font-size:11px;color:#617981}.subscriber-summary dd{margin:5px 0 0;font-weight:650}@media(max-width:900px){.subscriber-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.subscriber-date{align-items:flex-start;gap:9px}.subscriber-agenda .portal-title{align-items:flex-start;gap:12px;flex-wrap:wrap}}


.portal-intro-layout{display:grid;grid-template-columns:1.1fr .9fr;gap:45px;align-items:center;margin:0 0 38px}.portal-intro-layout>.section-heading{display:block;margin:0}.portal-intro-layout h1{font-size:clamp(36px,4vw,54px);line-height:1.16}.portal-intro-layout .section-heading>div>p:not(.eyebrow){font-size:15px;line-height:1.75;max-width:560px}.portal-intro-layout .portal-control-copy{font-size:12px!important;color:#607782;margin-top:12px}.portal-intro-layout .button{margin-top:24px}.portal-intro-image{margin:0;min-width:0}.portal-intro-image img{display:block;width:100%;height:300px;object-fit:cover;border-radius:17px;border:1px solid #d7e1e7}.portal-intro-image figcaption{font-size:9px;color:#75868f;margin-top:9px;line-height:1.5}.portal-feature-heading{border-top:1px solid #dce5e9;padding-top:28px}.portal-feature-heading h2,.portal-dashboard-heading h2{font-size:25px;line-height:1.3;letter-spacing:-.5px;color:#173e52}.portal-feature-heading>p:not(.eyebrow),.portal-dashboard-heading p:not(.eyebrow){font-size:13px;color:#607782;line-height:1.7;margin-top:8px}.portal-features{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin:23px 0 42px}.portal-features>button{display:flex;flex-direction:column;align-items:flex-start;text-align:left;background:white;border:1px solid #dce5e9;border-radius:12px;padding:23px 20px;color:#1a4255;transition:border-color .2s,box-shadow .2s}.portal-features>button:hover{border-color:#80abb7;box-shadow:0 8px 22px #213d5610}.portal-feature-number{font-size:11px;color:#738c99;margin-bottom:17px}.portal-features h3{font-size:16px;line-height:1.45;margin:0 0 10px}.portal-features p{font-size:12px;line-height:1.8;color:#667d87;margin:0 0 20px}.portal-feature-link{font-size:11px;font-weight:650;line-height:1.6;margin-top:auto;color:#225d70}.portal-dashboard-heading{display:flex;justify-content:space-between;gap:20px;align-items:flex-end;margin:0 0 20px}.portal-dashboard-heading .status-pill{font-size:8px}.portal-intro-layout .eyebrow,.portal-feature-heading .eyebrow,.portal-dashboard-heading .eyebrow{margin-bottom:12px}@media(max-width:1050px){.portal-features{grid-template-columns:repeat(2,minmax(0,1fr))}.portal-intro-layout{gap:25px}.portal-intro-image img{height:280px}}@media(max-width:700px){.portal-intro-layout{grid-template-columns:1fr;gap:25px;margin-bottom:30px}.portal-intro-layout h1{font-size:36px}.portal-intro-layout .section-heading>div>p:not(.eyebrow){font-size:13px}.portal-intro-image img{height:210px}.portal-feature-heading h2,.portal-dashboard-heading h2{font-size:22px}.portal-features{gap:11px;margin-bottom:32px}.portal-features>button{padding:18px 15px}.portal-features h3{font-size:14px}.portal-features p{font-size:11px}.portal-feature-link{font-size:10px}.portal-dashboard-heading{align-items:flex-start;flex-direction:column;gap:13px}}@media(max-width:400px){.portal-features{grid-template-columns:1fr}.portal-features>button{padding:20px}}

/* Scadenzario: didascalie soltanto fuori dal filmato. */
#video-dialog:has([data-film="agenda"][aria-pressed="true"]) .video-readable-caption{background:#e9f1fb;color:#234d79;border:1px solid #cbddef;box-shadow:none}

/* Tutti i video: una sola didascalia esterna, nessun testo narrativo duplicato nel fotogramma. */
body.video-mode #video-caption{display:none!important}#video-dialog .video-readable-caption{background:#e9f1fb!important;color:#234d79!important;border:1px solid #cbddef;box-shadow:none}

#scadenzario>.section-heading>.date-picker{display:none}.original-agenda-stage{width:100%;border:1px solid #cddde3;border-radius:14px;overflow:hidden;background:#edf3f6}.original-agenda-stage iframe{display:block;width:100%;height:920px;border:0;background:#edf3f6}.agenda-guided-examples{margin-top:24px;border-top:1px solid #dce5e9;padding-top:20px}.agenda-guided-examples>summary{color:#53717d;font-size:12px;cursor:pointer;margin-bottom:20px}@media(max-width:700px){.original-agenda-stage{border-radius:9px}.original-agenda-stage iframe{height:1050px}}

/* La finestra del prodotto resta entro lo schermo, anche quando apre un dialogo. */
.original-agenda-stage iframe{height:min(920px,82dvh)}@media(max-width:700px){.original-agenda-stage iframe{height:80dvh}}

/* Blu notte riservato al Portale, su scelta del cliente. */
#portale .portal-intro-layout{background:linear-gradient(125deg,#153653,#234d74);padding:35px 38px;border-radius:18px;border:1px solid #2d5578;gap:38px}#portale .portal-intro-layout h1{color:#fff}#portale .portal-intro-layout h1 em{color:#b8d8fa}#portale .portal-intro-layout .eyebrow{color:#c2d9ee}#portale .portal-intro-layout .section-heading>div>p:not(.eyebrow){color:#e0eaf5}#portale .portal-intro-layout .portal-control-copy{color:#c0d1e2!important}#portale .portal-intro-layout .button{background:#f0f6fd;color:#193d61;border:1px solid #d1e2f5;box-shadow:none}#portale .portal-intro-image img{border-color:#7891a942;height:290px}#portale .portal-intro-image figcaption{color:#c4d4e3}#portale .portal-feature-number{background:#eaf1f9;color:#325e85;padding:5px 8px;border-radius:5px}#portale .portal-feature-link{color:#315f88}#portale .portal-sidebar{background:#edf2f8}#portale .portal-sidebar button.selected{background:#dce7f5;color:#1d466b}#portale .metric strong{font-family:inherit;font-weight:650;color:#1d466b}#portale .portal-title h2,#portale .portal-feature-heading h2,#portale .portal-dashboard-heading h2{color:#1d466b}body:has(#portale:not([hidden])) .header>.service-header{background:#193f65!important;border-color:#193f65!important}body:has(#portale:not([hidden])) .header nav [data-view="portale"].active{color:#193f65;border-color:#193f65}@media(max-width:1050px){#portale .portal-intro-layout{padding:29px;gap:25px}}@media(max-width:700px){#portale .portal-intro-layout{padding:26px 22px;gap:24px;border-radius:12px}#portale .portal-intro-image img{height:200px}}

/* Autocompilazione: blu chiaro in armonia con DIRE, moduli simulati invariati. */
#pratiche>.practice-introduction{padding:27px 30px;background:#c9deef;border:1px solid #9dbed7;border-radius:15px;margin-bottom:25px}#pratiche .practice-introduction h1 em{color:#2d6f9d}#pratiche .practice-introduction .eyebrow{color:#47789a}#pratiche .guided-detail-link{color:#306c95}#pratiche .quick-preview-picker button[aria-pressed="true"],#pratiche .practice-entry-actions .button.dark{background:#3175a6;border-color:#3175a6;color:white}#pratiche .quick-turn{background:#edf6fd;border-color:#c7deef;color:#275e85}#pratiche .practice-entry-actions .text-button{color:#306c95}body:has(#pratiche:not([hidden])) .header nav [data-view="pratiche"].active{color:#3175a6;border-color:#3175a6}body:has(#pratiche:not([hidden])) .header>.service-header{background:#3175a6!important;border-color:#3175a6!important}@media(max-width:700px){#pratiche>.practice-introduction{padding:23px 20px;border-radius:11px}}

/* Immagini di sezione e gerarchia dell’anteprima: spazi separati e testi leggibili. */
#pratiche>.practice-introduction,#scadenzario>.agenda-introduction{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,.75fr);align-items:center;gap:34px}
.section-intro-copy{min-width:0}.section-intro-image{margin:0;min-width:0}.section-intro-image img{display:block;width:100%;height:220px;object-fit:cover;border-radius:11px}.section-intro-image figcaption{font-size:9px;line-height:1.5;color:#52758f;margin-top:8px}
#pratiche .section-intro-copy .guided-detail-link{display:inline-block;margin-top:16px;line-height:1.7;font-size:12px}
#scadenzario>.agenda-introduction{padding:27px 30px;margin-bottom:30px;background:#b9d6db;border:1px solid #90b9c1;border-radius:15px}
#scadenzario .section-intro-image figcaption{color:#537a81}#scadenzario .section-intro-copy>button{margin-top:16px;line-height:1.7}
.agenda-preview-label{margin:0 0 18px}.agenda-preview-label h2{font-size:20px;line-height:1.4;color:#214d5d}.agenda-preview-label p{font-size:13px;line-height:1.7;color:#607b87;margin-top:6px}
@media(max-width:900px){#pratiche>.practice-introduction,#scadenzario>.agenda-introduction{grid-template-columns:minmax(0,1fr) minmax(0,.7fr);gap:23px}.section-intro-image img{height:210px}}
@media(max-width:700px){#pratiche>.practice-introduction,#scadenzario>.agenda-introduction{grid-template-columns:1fr;padding:23px 20px;gap:22px}.section-intro-image img{height:160px;object-position:center}.section-intro-image figcaption{font-size:8px}.agenda-preview-label{margin-bottom:15px}.agenda-preview-label h2{font-size:18px}.agenda-preview-label p{font-size:12px}}

/* Riferimento comune: tipografia e dimensioni delle immagini del Portale. */
:root{--presentation-font:'Segoe UI',system-ui,sans-serif;--section-title:clamp(36px,4vw,54px);--section-image-height:290px}
.hero-stage .hero-copy h1,:is(#pratiche>.practice-introduction,#portale>.portal-intro-layout,#scadenzario>.agenda-introduction) h1{font-family:var(--presentation-font);font-size:var(--section-title);font-weight:600;line-height:1.16;letter-spacing:-1.5px}
:is(#pratiche>.practice-introduction,#portale>.portal-intro-layout,#scadenzario>.agenda-introduction){display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:38px;padding:35px 38px;align-items:center;border-radius:15px;margin-bottom:30px}
:is(#pratiche>.practice-introduction,#portale>.portal-intro-layout,#scadenzario>.agenda-introduction) :is(.section-intro-copy,.section-heading>div){max-width:none;min-width:0}
.hero-stage .lead,:is(#pratiche>.practice-introduction,#scadenzario>.agenda-introduction) .section-intro-copy>p:not(.eyebrow):not(.practice-demo-label),#portale .portal-intro-layout .section-heading>div>p:not(.eyebrow):not(.portal-control-copy){font-family:var(--presentation-font);font-size:16px;line-height:1.75}
:is(#pratiche>.practice-introduction,#portale>.portal-intro-layout,#scadenzario>.agenda-introduction) .eyebrow{font-family:var(--presentation-font);font-size:11px;font-weight:600;line-height:1.6;letter-spacing:1.5px;margin-bottom:16px}
#pratiche .section-intro-copy .guided-detail-link,#scadenzario .section-intro-copy>button,#portale .portal-intro-layout .section-heading>button{font-family:var(--presentation-font);font-size:13px;line-height:1.6;margin-top:20px}
:is(#pratiche>.practice-introduction,#portale>.portal-intro-layout,#scadenzario>.agenda-introduction) figure{margin:0;min-width:0;width:100%}
:is(#pratiche>.practice-introduction,#portale>.portal-intro-layout,#scadenzario>.agenda-introduction) figure img{display:block;width:100%;height:var(--section-image-height);object-fit:cover;object-position:center;border-radius:11px;border:0}
:is(#pratiche>.practice-introduction,#portale>.portal-intro-layout,#scadenzario>.agenda-introduction) figcaption{font-family:var(--presentation-font);font-size:9px;line-height:1.5;margin-top:8px}
@media(max-width:1050px) and (min-width:701px){:root{--section-image-height:250px}:is(#pratiche>.practice-introduction,#portale>.portal-intro-layout,#scadenzario>.agenda-introduction){padding:29px;gap:25px}}
@media(max-width:700px){:root{--section-title:36px;--section-image-height:200px}.hero-stage .hero-copy h1,:is(#pratiche>.practice-introduction,#portale>.portal-intro-layout,#scadenzario>.agenda-introduction) h1{letter-spacing:-1px}:is(#pratiche>.practice-introduction,#portale>.portal-intro-layout,#scadenzario>.agenda-introduction){grid-template-columns:1fr;gap:24px;padding:26px 22px;border-radius:12px}.hero-stage .lead,:is(#pratiche>.practice-introduction,#scadenzario>.agenda-introduction) .section-intro-copy>p:not(.eyebrow):not(.practice-demo-label),#portale .portal-intro-layout .section-heading>div>p:not(.eyebrow):not(.portal-control-copy){font-size:14px}:is(#pratiche>.practice-introduction,#portale>.portal-intro-layout,#scadenzario>.agenda-introduction) .eyebrow{font-size:10px}:is(#pratiche>.practice-introduction,#portale>.portal-intro-layout,#scadenzario>.agenda-introduction) figcaption{font-size:9px}}

/* Riepilogo importi illustrativo, prima del modello finale RLI. */
.rw-amounts-intro{font-size:15px;color:#305977;margin:19px 0}.rw-amounts-list{margin:0 0 23px;border:1px solid #c7d8e6;border-radius:7px;overflow:hidden}.rw-amounts-list>div{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:17px 20px;border-bottom:1px solid #dce6ee;font-size:16px}.rw-amounts-list>div:last-child{border-bottom:0}.rw-amounts-list dd{margin:0;text-align:right;font-weight:600;color:#204c70}.rw-amounts-list .rw-amounts-total{background:#e8f1fa;font-weight:700}.rw-amounts-total dd{font-size:23px}.rw-payment-preview{background:#f4f7fa;border-left:3px solid #6c99b9;padding:15px 18px;margin:0 0 20px;font-size:13px}.rw-payment-preview p{margin:6px 0}.rw-payment-preview span{font-size:11px;color:#5f788a}
@media(max-width:700px){.rw-amounts-intro{font-size:13px}.rw-amounts-list>div{padding:14px 12px;font-size:13px;gap:12px}.rw-amounts-list dd{max-width:52%}.rw-amounts-total dd{font-size:20px}.rw-payment-preview{padding:12px;font-size:12px}}

/* Inviti coerenti ai servizi in abbonamento. */
.subscription-invite{display:flex;align-items:center;justify-content:space-between;gap:24px;background:#edf3f8;border:1px solid #c7dae6;border-radius:11px;padding:19px 22px;margin:0 0 25px}.subscription-invite strong{font-size:17px;font-weight:650;color:#234d65}.subscription-invite p{font-size:13px;line-height:1.7;color:#577486;margin-top:5px}.subscription-invite>.button{flex-shrink:0;font-size:13px;min-height:43px;padding:10px 16px}.subscription-choice{border:1px solid #c8dce8;background:#edf4f9;border-radius:8px;padding:16px;margin-top:18px}.subscription-choice strong{display:block;color:#244e67}.subscription-choice p{font-size:13px!important}.portal-features{grid-template-columns:repeat(3,minmax(0,1fr))}
body.video-mode .subscription-invite{display:none!important}
@media(max-width:700px){.subscription-invite{flex-direction:column;align-items:stretch;padding:18px;gap:15px}.subscription-invite strong{font-size:16px}.subscription-invite p{font-size:12px}.subscription-invite>.button{width:100%}.portal-features{grid-template-columns:1fr}}
