/* Shared reserved-area design. Public header and semantic status colors are retained. */
body.rdc-portal-page { --rdc-surface:#fff; --rdc-neutral:#e5e2de; --rdc-soft:#f6f4f1; }
body.rdc-portal-page .page_content_wrap { background-color:#fcfaf8; background-image:linear-gradient(to bottom,transparent 0%,transparent 65%,#fcfaf8 100%),url('portal-ribbons.svg'); background-position:center top; background-size:100% 1100px; background-repeat:no-repeat; min-height:75vh; }
body.rdc-portal-page .page_content_wrap > .content_wrap,body.rdc-portal-page .page_content_wrap .content,body.rdc-portal-page .post_content { background:transparent; }
body.rdc-portal-page .rdc-toolbar { height:62px; background:rgba(255,252,249,.3); border-color:#e9e4df; color:#252827; }
body.rdc-portal-page .rdc-toolbar .rdc-home { color:#e6002e; }
body.rdc-portal-page .rdc-toolbar__customer { border-left:1px solid #bfbab4; padding-left:18px; margin-left:12px; font-weight:500; }
body.rdc-portal-page .rdc-toolbar .rdc-icon-link { background:transparent; border:0; border-radius:0; }
body.rdc-portal-page .rdc-toolbar .rdc-icon-link:hover { color:#d8002d; }
body.rdc-portal-page .rdc-toolbar .rdc-welcome-link.is-sent { color:#327859; }
body.rdc-portal-page .rdc-toolbar .rdc-welcome-link.is-unsent { color:#92908c; }
body.rdc-portal-page .rdc-dashboard.rdc-portal-layout { grid-template-columns:238px minmax(0,1fr); gap:40px; padding-block:34px 58px; background:none; }
body.rdc-portal-page .rdc-portal-sidebar .rdc-side-nav { display:flex; flex-direction:column; gap:3px; }
body.rdc-portal-page .rdc-portal-sidebar .rdc-side-nav a { box-sizing:border-box; position:relative; display:flex; align-items:center; justify-content:flex-start; gap:11px; width:100%; min-height:42px; margin:0; padding:9px 11px; border:0; border-radius:6px; background:transparent; color:#414441; text-align:left; text-decoration:none; font:inherit; font-size:14px; font-weight:400; line-height:1.45; letter-spacing:normal; text-transform:none; box-shadow:none; white-space:normal; }
body.rdc-portal-page .rdc-portal-sidebar .rdc-side-nav a::before { content:''; position:absolute; top:8px; bottom:8px; left:0; width:3px; height:auto; background:transparent; border:0; border-radius:3px; transform:none; }
body.rdc-portal-page .rdc-portal-sidebar .rdc-side-nav a[aria-current=page] { color:#d9002b; background:#fce9e5; font-weight:550; }
body.rdc-portal-page .rdc-portal-sidebar .rdc-side-nav a[aria-current=page]::before { background:#ec0035; }
body.rdc-portal-page .rdc-portal-sidebar .rdc-side-nav a:hover { color:#c7002a; background:#f7eeea; transform:none; }
body.rdc-portal-page .rdc-portal-sidebar .rdc-side-nav a:focus-visible { outline:2px solid #bd0032; outline-offset:2px; }
.rdc-service-nav .rdc-nav-group + .rdc-nav-group { margin-top:22px; }
.rdc-service-nav .rdc-nav-group:last-child { border-top:1px solid #e6e1dc; padding-top:20px; }
.rdc-service-nav .rdc-nav-group:first-child { border:0; padding-top:0; }
.rdc-portal-sidebar .rdc-nav-heading { margin:0 11px 10px; color:#656864; font-size:11px; font-weight:600; letter-spacing:1.25px; line-height:1.5; text-transform:uppercase; }
.rdc-service-nav .rdc-nav-plus { margin-left:auto; font-size:18px; font-weight:300; color:#6f726d; }
.rdc-mobile-menu { display:none; }
#rdc-portal-menu[hidden] { display:none!important; }
.rdc-dns .screen-reader-text { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.rdc-portal-main .rdc-hours-heading:not(.rdc-consulting--classic *) h2,.rdc-portal-main .rdc-staff-section-head h3,.rdc-portal-main .rdc-dns h2,.rdc-portal-main .rdc-service-intro h2 { font-size:clamp(27px,2.6vw,36px); font-weight:600; letter-spacing:-.8px; line-height:1.2; margin:0 0 8px; }
.rdc-portal-main .rdc-hours-heading:not(.rdc-consulting--classic *) { margin:0 0 26px; }
.rdc-portal-main .rdc-hours-panel:not(.rdc-consulting--classic *):not(.rdc-hours-package):not(.rdc-task-brief):not(.rdc-task-status-box) { border-color:var(--rdc-neutral); box-shadow:none; }
.rdc-service-intro { padding:38px; border:1px solid var(--rdc-neutral); border-radius:12px; background:linear-gradient(120deg,#fff,#fffcf8); }
.rdc-service-intro > .rdc-nav-icon { width:36px; height:36px; margin-bottom:22px; color:#b86256; }
.rdc-service-eyebrow { display:block; font-size:11px; color:#74736d; letter-spacing:1px; text-transform:uppercase; margin-bottom:12px; }
.rdc-service-intro p { max-width:680px; color:#60655f; font-size:15px; line-height:1.7; }
.rdc-service-intro .rdc-service-lead { font-size:20px; color:#353e36; }
.rdc-service-empty-note { padding-top:20px; border-top:1px solid #ede8e2; margin-top:26px; }
.rdc-service-admin { display:inline-block; font-size:13px; color:#4d6358; margin-top:14px; text-decoration:underline; }
.rdc-service-admin span { color:#777d76; }
.rdc-dns { color:#30372f; }
.rdc-dns-heading { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-bottom:26px; }
.rdc-dns-heading p { font-size:15px; color:#70746c; margin:0; line-height:1.5; }
.rdc-dns-readonly { font-size:11px; color:#73796f; white-space:nowrap; }
.rdc-dns-card { position:relative; border:1px solid #e3e1dc; border-radius:12px; background:#fff; box-shadow:0 4px 14px #41352a04; overflow:hidden; }
.rdc-dns-top { display:flex; align-items:center; justify-content:space-between; gap:24px; padding:24px; border-bottom:1px solid #eeeae5; }
.rdc-dns label { display:block; font-size:12px; color:#676c62; line-height:1.5; font-weight:500; }
.rdc-dns-select-form { flex:1; max-width:580px; }
.rdc-dns-picker { display:flex; align-items:center; gap:10px; margin-top:6px; }
.rdc-dns input[type=search],.rdc-dns select { box-sizing:border-box; font:inherit; font-size:14px; line-height:1.4; color:#343d35; border:1px solid #deded7; border-radius:7px; background-color:#fff; min-height:42px; padding:9px 12px; width:100%; box-shadow:none; }
.rdc-dns select { padding-right:32px; appearance:auto; }
.rdc-dns button { font:inherit; text-transform:none; letter-spacing:normal; box-shadow:none; }
.rdc-dns .rdc-dns-show { color:#39493b; background:#f3f4ef; border:1px solid #dddfd6; border-radius:7px; padding:10px 14px; font-size:13px; cursor:pointer; }
.rdc-dns-sync { text-align:right; font-size:11px; color:#7a7e74; }
.rdc-dns-sync strong { display:block; font-size:12px; color:#56624f; font-weight:500; margin-top:5px; }
.rdc-dns-filters { display:flex; align-items:flex-end; gap:14px; padding:22px 24px; }
.rdc-dns-search { flex:1; max-width:480px; }
.rdc-dns-filters input,.rdc-dns-filters select { margin-top:5px; }
.rdc-dns-count { margin-left:auto; align-self:center; font-size:12px; color:#767b72; }
.rdc-dns-table-wrap { overflow-x:auto; padding:0 24px; }
.rdc-dns table.rdc-dns-table { width:100%; border-collapse:collapse; table-layout:fixed; border:0; font-size:13px; line-height:1.55; margin:0; }
.rdc-dns .rdc-dns-table th { border:0; padding:10px 12px; color:#5e655c; background:#f5f3f0; text-align:left; font-size:12px; font-weight:500; }
.rdc-dns .rdc-dns-table th:first-child { width:70px; border-radius:6px 0 0 6px; }
.rdc-dns .rdc-dns-table th:nth-child(2) { width:25%; }
.rdc-dns .rdc-dns-table th:nth-child(4) { width:100px; }
.rdc-dns .rdc-dns-table th:last-child { width:55px; border-radius:0 6px 6px 0; }
.rdc-dns-ttl { white-space:nowrap; }
.rdc-dns .rdc-dns-table td { border:0; border-bottom:1px solid #ecece6; background:#fff; padding:14px 12px; color:#394338; vertical-align:top; overflow-wrap:anywhere; }
.rdc-dns .rdc-dns-table tr:last-child td { border-bottom:0; }
.rdc-dns-type { display:inline-block; background:#f0f1ed; padding:2px 7px; border-radius:4px; color:#59664f; font-size:11px; font-weight:600; }
.rdc-dns-table code { font-family:ui-monospace,SFMono-Regular,Consolas,monospace; font-size:12px; color:#41503d; background:none; padding:0; white-space:pre-wrap; overflow-wrap:anywhere; user-select:text; }
.rdc-dns-table small { display:block; color:#8a691b; font-size:11px; }
.rdc-dns .rdc-dns-copy { width:32px; height:32px; padding:5px; border:0; background:none; color:#858b7f; border-radius:4px; cursor:pointer; }
.rdc-dns .rdc-dns-copy:hover { background:#f0f2eb; color:#3e5935; }
.rdc-dns-copy svg { display:block; }
.rdc-dns [hidden] { display:none!important; }
.rdc-dns [data-dns-empty] { padding:14px 24px; font-size:14px; }
.rdc-dns-copy-status { padding:0 24px; margin:0; min-height:24px; font-size:12px; color:#37623a; }
.rdc-dns-footnote { padding:16px 24px; border-top:1px solid #ecebe5; background:#fdfcf9; font-size:11px; line-height:1.6; color:#777c70; }
.rdc-dns-empty { padding:35px 24px; }
.rdc-dns-empty h3 { font-size:20px; margin:16px 0 10px; }
.rdc-dns-empty p { font-size:14px; color:#697260; max-width:620px; }
.rdc-dns-notice { padding:12px 24px; margin:0; background:#fff8e8; color:#7b6526; font-size:12px; }
.rdc-dns :is(button,input,select):focus-visible { outline:2px solid #bd0032; outline-offset:3px; }
@media(min-width:801px) and (max-width:1150px) {
 body.rdc-portal-page .rdc-dashboard.rdc-portal-layout { grid-template-columns:212px minmax(0,1fr); gap:28px; }
 .rdc-dns-top { align-items:flex-start; flex-direction:column; gap:12px; }
 .rdc-dns-select-form { width:100%; max-width:none; }
 .rdc-dns-sync { text-align:left; }
}
@media(max-width:800px) {
 body.rdc-portal-page .rdc-mobile-menu { display:flex; align-items:center; gap:10px; width:100%; min-height:44px; padding:10px 12px; margin:0 0 12px; background:#fffaf6; border:1px solid #e8e0d7; border-radius:7px; color:#4a5046; font:inherit; font-size:14px; font-weight:500; letter-spacing:normal; text-transform:none; box-shadow:none; cursor:pointer; }
 body.rdc-portal-page .rdc-mobile-menu:focus-visible { outline:2px solid #bd0032; outline-offset:2px; }
 body.rdc-portal-page .rdc-dashboard.rdc-portal-layout { grid-template-columns:minmax(0,1fr); gap:26px; padding-block:22px 40px; }
 body.rdc-portal-page .rdc-portal-sidebar .rdc-service-nav { display:grid; grid-template-columns:1fr 1fr; gap:20px; }
 .rdc-service-nav .rdc-nav-group + .rdc-nav-group { margin:0; }
 .rdc-service-nav .rdc-nav-group:last-child { grid-column:1/-1; padding-top:14px; }
 body.rdc-portal-page .rdc-portal-sidebar .rdc-service-nav .rdc-nav-group:last-child a { display:inline-flex; width:calc(50% - 5px); vertical-align:top; }
 .rdc-service-nav .rdc-nav-group:last-child:first-child { grid-column:auto; }
 body.rdc-portal-page .rdc-portal-sidebar .rdc-side-nav a { font-size:13px; gap:8px; }
 .rdc-portal-sidebar .rdc-nav-heading { font-size:10px; letter-spacing:.9px; }
 .rdc-dns-top { flex-direction:column; align-items:stretch; padding:20px; gap:14px; }
 .rdc-dns-sync { text-align:left; }
 .rdc-dns-filters { flex-wrap:wrap; padding:20px; }
 .rdc-dns-table-wrap { padding:0 16px; }
 .rdc-dns table.rdc-dns-table { min-width:680px; }
 .rdc-dns-readonly { display:none; }
 .rdc-service-intro { padding:25px; }
}
@media(max-width:520px) {
 body.rdc-portal-page .rdc-toolbar__customer { margin-left:5px; padding-left:10px; font-size:13px; }
 body.rdc-portal-page .rdc-toolbar .rdc-toolbar__title { font-size:14px; }
 .rdc-dns-search { flex-basis:100%; }
}

/* Sito Protetto: tempo effettivo Redomino. */
.rdc-protection-time-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;max-width:420px}.rdc-protection-form fieldset.rdc-protection-internal{padding:20px;border:1px solid #d5e2df;border-radius:12px;background:#f4f8f7}.rdc-protection-form fieldset.rdc-protection-internal legend{font-weight:650;padding:0 8px}.rdc-protection-time-fields label{min-width:0}

.rdc-portal-sidebar .rdc-release-version{font-size:10px;line-height:1.5;color:#777;margin:24px 0 0;white-space:nowrap;font-weight:400;letter-spacing:0;}

#rdc-selected-owner[multiple]{min-height:200px;padding:8px;background-image:none;}#rdc-selected-owner[multiple] option{padding:7px 9px;}

/* Registrazione: dati personali a sinistra, aziende a destra. */
.rdc-staff-form .rdc-account-editor .rdc-client-registration tbody{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;column-gap:32px}
.rdc-staff-form .rdc-account-editor .rdc-client-registration tr{grid-column:1}
.rdc-staff-form .rdc-account-editor .rdc-client-registration tr:nth-child(4){grid-column:2;grid-row:1 / span 6}
.rdc-staff-form .rdc-account-editor .rdc-client-registration tr:nth-child(5){grid-column:1}
.rdc-staff-form .rdc-account-editor .rdc-client-registration .rdc-company-choice{display:flex;align-items:center;gap:10px;line-height:1.5;margin:0 0 12px;padding:0;cursor:pointer}
.rdc-staff-form .rdc-account-editor .rdc-client-registration .rdc-company-choice input[type=radio]{position:static!important;appearance:auto;-webkit-appearance:radio;opacity:1!important;flex:0 0 16px;width:16px;height:16px;min-height:16px;margin:0!important;transform:none;accent-color:#b82336}
.rdc-staff-form .rdc-account-editor .rdc-client-registration .rdc-company-choice:before,
.rdc-staff-form .rdc-account-editor .rdc-client-registration .rdc-company-choice:after{display:none!important}
.rdc-staff-form .rdc-account-editor .rdc-client-registration #rdc-selected-owner[multiple]{height:146px;min-height:146px;max-height:146px;padding:0;overflow-y:auto;line-height:20px}
.rdc-staff-form .rdc-account-editor .rdc-client-registration #rdc-selected-owner[multiple] option{box-sizing:border-box;height:36px;min-height:36px;padding:8px 10px;line-height:20px;white-space:nowrap}
@media(max-width:680px){.rdc-staff-form .rdc-account-editor .rdc-client-registration tbody{grid-template-columns:minmax(0,1fr)}.rdc-staff-form .rdc-account-editor .rdc-client-registration tr:nth-child(4){grid-column:1;grid-row:auto;order:1}}

/* Identità e versione, allineate alle intestazioni del menu. */
.rdc-portal-sidebar .rdc-release-info{margin-top:26px;padding:0 11px;}
.rdc-portal-sidebar .rdc-release-info .rdc-nav-heading{margin:0 0 5px;}
.rdc-portal-sidebar .rdc-release-info .rdc-release-version{margin:0;}

.rdc-side-nav .rdc-nav-group{display:grid;gap:3px;margin:0 0 15px;}
.rdc-side-nav .rdc-nav-group .rdc-nav-heading{margin:0 0 5px;}

.rdc-sidebar-today{--rdc-day-color:#35669b;display:flex;align-items:center;gap:12px;margin:0 0 20px;padding:0 11px 16px;border-bottom:1px solid #dae3dc;}
.rdc-sidebar-today .rdc-calendar-number{display:block;flex:none;font-size:48px;line-height:1;font-weight:750;letter-spacing:-2px;color:var(--rdc-day-color);font-variant-numeric:tabular-nums;}
.rdc-sidebar-today .rdc-calendar-label{display:grid;gap:4px;min-width:0;color:#355442;line-height:1.4;}
.rdc-sidebar-today .rdc-calendar-label strong{font-size:14px;font-weight:700;}
.rdc-sidebar-today .rdc-calendar-label>span{font-size:12px;color:#66766c;}
.rdc-sidebar-today.rdc-day-1{--rdc-day-color:#35669b;}
.rdc-sidebar-today.rdc-day-2{--rdc-day-color:#7b5794;}
.rdc-sidebar-today.rdc-day-3{--rdc-day-color:#197b72;}
.rdc-sidebar-today.rdc-day-4{--rdc-day-color:#a76323;}
.rdc-sidebar-today.rdc-day-5{--rdc-day-color:#b44465;}
.rdc-sidebar-today.rdc-day-6{--rdc-day-color:#536da3;}
.rdc-sidebar-today.rdc-day-7{--rdc-day-color:#b83f43;}
@media(max-width:800px){.rdc-sidebar-today{margin-bottom:10px;padding-bottom:10px;}}

.rdc-service-nav>a:first-child+.rdc-nav-group{margin-top:22px;padding-top:20px;border-top:1px solid #e6e1dc}
