@font-face{font-family:Jost;src:url('/assets/fonts/Jost-VariableFont_wght.ttf') format('truetype');font-style:normal;font-weight:100 900;font-display:swap}
@font-face{font-family:Jost;src:url('/assets/fonts/Jost-Italic-VariableFont_wght.ttf') format('truetype');font-style:italic;font-weight:100 900;font-display:swap}
:root{font-family:Jost,Arial,sans-serif;color:#1B343F;background:#F7F6F3;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #88A5AF;outline-offset:2px}h1,h2,h3,p{margin-top:0}h1,h2,h3,strong{font-family:Jost,Jost,sans-serif}h1{font-size:clamp(1.8rem,3vw,2.7rem);line-height:1.17;letter-spacing:-.055em;margin:4px 0 11px;font-weight:800}h2{font-size:1.18rem;letter-spacing:-.035em;margin:0}h3{font-size:1rem;margin:0 0 4px}small{font-size:.78rem}.layout{min-height:100vh;display:grid;grid-template-columns:234px minmax(0,1fr)}.sidebar{background:#1B343F;color:#EAEDEE;min-height:100vh;padding:27px 14px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.brand{display:flex;align-items:center;gap:11px;padding:0 12px 51px}.brand-mark{width:37px;height:37px;display:grid;place-items:center;border-radius:12px;background:#D1BFA3;color:#1C2F35;font:800 22px Jost,Arial}.brand-mark.small{width:30px;height:30px;font-size:18px}.brand strong{display:block;font-size:19px;letter-spacing:-.05em;line-height:1.1}.brand span:not(.brand-mark){font-size:9px;letter-spacing:.19em;color:#ACB8BC}.workspace-label,.eyebrow{font-size:.68rem;font-weight:800;letter-spacing:.14em;color:#89979B;margin:0 0 13px}.workspace-label{padding:0 15px}.sidebar nav{display:grid;gap:4px}.nav-link{width:100%;display:flex;align-items:center;gap:11px;border:0;background:none;color:#C5CED1;padding:11px 14px;border-radius:10px;text-align:left;font-size:.9rem;font-weight:600}.nav-link:hover,.nav-link.active{background:#34525F;color:#fff}.nav-icon{font-size:18px;width:22px;text-align:center;line-height:1}.nav-count{margin-left:auto;background:#D1BFA3;color:#1C2E34;min-width:19px;height:19px;border-radius:20px;font-size:.7rem;display:grid;place-items:center}.sidebar-bottom{margin-top:auto}.sandbox-note{padding:15px;background:#263B42;border:1px solid #3C545C;border-radius:12px;font-size:.76rem;font-weight:700}.sandbox-note small{display:block;font-weight:400;line-height:1.5;color:#BAC4C8;margin:5px 0 0 14px}.status-dot{display:inline-block;width:7px;height:7px;background:#D1BFA3;border-radius:50%;margin-right:5px}.main{min-width:0}.topbar{height:76px;background:#fff;border-bottom:1px solid #EAECED;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(22px,4vw,58px);position:sticky;top:0;z-index:5}.topbar-label{font-size:.85rem;color:#73837b}.top-actions{display:flex;align-items:center;gap:17px}.icon-button{border:1px solid #E9ECED;width:36px;height:36px;display:grid;place-items:center;background:#fff;border-radius:10px;font-size:20px;color:#39494E;position:relative}.notification-dot{position:absolute;right:-4px;top:-6px;min-width:18px;height:18px;padding:0 3px;border-radius:20px;background:#A35F41;color:#fff;font-size:.65rem;display:grid;place-items:center;border:2px solid #fff}.notification-wrap{position:relative}.notification-panel{position:absolute;right:-22px;top:47px;width:min(360px,calc(100vw - 30px));background:#fff;border:1px solid #E5E8E9;box-shadow:0 14px 45px #102e261c;border-radius:14px;overflow:hidden;z-index:20}.panel-head{display:flex;align-items:center;justify-content:space-between;padding:17px;border-bottom:1px solid #EEF0F0}.panel-head strong{font-size:.9rem}.notification-item{width:100%;border:0;border-bottom:1px solid #EEF0F0;background:#fff;display:flex;gap:12px;padding:15px 17px;text-align:left;font-size:.83rem;line-height:1.35;color:#293539}.notification-item:hover,.notification-item.unread{background:#F4F6F7}.notification-item small{display:block;color:#7d8e84;margin-top:5px}.notification-symbol{width:25px;height:25px;border-radius:8px;display:grid;place-items:center;background:#E4E9EB;color:#385058}.panel-pad{padding:18px}.user-picker{display:flex;align-items:center;gap:9px;cursor:pointer}.user-picker select{appearance:none;border:0;background:none;color:#283438;font-weight:700;cursor:pointer;max-width:100px}.chevron{color:#79878C}.avatar{height:31px;width:31px;border-radius:50%;display:inline-grid;place-items:center;font-size:.65rem;font-weight:800;flex:none}.avatar.rose{background:#eacfc9;color:#794d42}.avatar.blue{background:#d7e5eb;color:#476778}.avatar.gold{background:#f2e4c7;color:#825c2d}.mobile-brand,.mobile-nav{display:none}.content{max-width:1440px;margin:auto;padding:43px clamp(22px,4vw,58px) 80px}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:29px}.page-desc{color:#78897f;font-size:.92rem;margin:0;line-height:1.5}.button{border:1px solid transparent;border-radius:9px;min-height:42px;padding:10px 17px;font-size:.83rem;font-weight:700;display:inline-flex;align-items:center;justify-content:center;gap:6px;white-space:nowrap}.button.primary{background:#1B343F;color:#fff}.button.primary:hover{background:#294F5D}.button.secondary{background:#fff;color:#2C434B;border-color:#DBE1E3}.button.secondary:hover{background:#F6F8F9}.button.small{min-height:34px;padding:7px 13px}.button.full{width:100%;margin-top:10px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:17px;margin-bottom:22px}.stat-card{border-radius:14px;min-height:148px;padding:22px 24px;display:flex;flex-direction:column;align-items:flex-start}.stat-card.green{background:#E5E3DE}.stat-card.cream{background:#F1E8DC}.stat-card.lilac{background:#E8EEF0}.stat-card span{font-size:.8rem;color:#57666B;font-weight:700}.stat-card strong{font-size:2.45rem;letter-spacing:-.07em;line-height:1.25;margin-top:13px}.stat-card small{color:#7B8487;margin-top:auto}.section-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(300px,1fr);gap:18px}.surface{background:#fff;border:1px solid #E9ECED;border-radius:14px;box-shadow:0 2px 12px #21453006}.section-grid .surface{padding:23px}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:19px}.section-heading .eyebrow{margin-bottom:4px}.text-link{border:0;background:none;color:#A35F41;padding:0;text-align:left;font-size:.8rem;font-weight:700}.text-link:hover{text-decoration:underline}.job-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(208px,1fr));gap:12px}.job-card{min-width:0;min-height:181px;display:flex;flex-direction:column;text-align:left;border:1px solid #E6EAEB;background:#FBFCFC;border-radius:11px;padding:15px;transition:transform .15s,border-color .15s}.job-card:hover{transform:translateY(-2px);border-color:#849BA2}.job-card-top{display:flex;justify-content:space-between;align-items:center;gap:6px}.badge{border-radius:30px;padding:5px 9px;background:#EDF1F2;color:#445B63;font-weight:700;font-size:.68rem;display:inline-block;white-space:nowrap}.badge.warning{background:#fbf1d9;color:#956d27}.badge.danger{background:#fae6e1;color:#aa5544}.badge.success{background:#E3EAED;color:#315460}.badge.neutral{background:#ECEFF0;color:#59676C}.job-date{color:#838B8E;font-size:.72rem;white-space:nowrap}.job-card strong{font-size:.91rem;line-height:1.3;margin-top:17px}.job-meta{color:#809087;font-size:.76rem;line-height:1.45;margin-top:5px}.job-footer{border-top:1px solid #EBEDEE;color:#69757A;font-size:.72rem;display:flex;justify-content:space-between;align-items:center;gap:7px;margin-top:auto;padding-top:12px;line-height:1.3}.job-footer span{color:#2F5460;font-size:18px}.recent-row{width:100%;display:flex;align-items:center;gap:13px;border:0;border-top:1px solid #EEF0F0;background:#fff;padding:14px 0;text-align:left;color:#313D41}.recent-row:hover,.list-row:hover{background:#F9FAFA}.recent-row>span:nth-child(2){min-width:0;flex:1}.recent-row strong,.list-row strong{display:block;font-size:.83rem;line-height:1.3}.recent-row small,.list-row small{display:block;color:#809087;margin-top:4px;line-height:1.4}.recent-icon,.list-icon{width:34px;height:34px;display:grid;place-items:center;background:#E9EDEF;color:#48626B;border-radius:9px;flex:none}.empty{text-align:center;padding:25px 10px;color:#819187}.empty-icon{font-size:29px;color:#55727C;margin-bottom:11px}.empty p{font-size:.82rem;line-height:1.5;margin:0}.list-surface{overflow:hidden}.list-head{display:flex;justify-content:space-between;padding:20px 24px;border-bottom:1px solid #EEF0F0;font-size:.83rem}.list-head span{color:#94a096}.list-row{width:100%;display:flex;align-items:center;gap:15px;border:0;border-bottom:1px solid #EEF0F0;background:#fff;text-align:left;padding:17px 24px;color:#28363A}.list-row:last-child{border-bottom:0}.list-main{min-width:0;flex:1}.row-arrow{color:#687A80;margin-left:8px;font-size:19px}.form-grid{display:grid;gap:17px;max-width:900px}.form-section{padding:26px 30px}.form-section.narrow{max-width:730px}.step-head{display:flex;align-items:center;gap:14px;margin-bottom:24px}.step-head h2{font-size:1.1rem}.step-head p{font-size:.8rem;color:#839189;margin:4px 0 0}.step{display:grid;place-items:center;flex:none;width:38px;height:38px;border-radius:11px;background:#E6ECEE;color:#2D4E5A;font-weight:800;font-size:.84rem}.fields{display:grid;gap:15px;margin-bottom:15px}.fields.two{grid-template-columns:repeat(2,minmax(0,1fr))}.field{display:block;margin-bottom:15px}.fields .field{margin-bottom:0}.field>span{display:block;font-size:.77rem;font-weight:700;margin-bottom:7px;color:#38484D}.field input,.field select,.field textarea{display:block;width:100%;border:1px solid #DEE2E3;border-radius:8px;padding:11px 12px;color:#263439;background:#fff;font-size:.82rem;min-height:42px;outline:none}.field textarea{resize:vertical;line-height:1.5}.field input:focus,.field select:focus,.field textarea:focus{border-color:#7696A1;box-shadow:0 0 0 3px #E3EAED}.field input::placeholder,.field textarea::placeholder{color:#a0aca3}.field small{display:block;color:#839187;margin-top:5px}.form-actions{display:flex;justify-content:flex-end;gap:10px;align-items:center}.responsible-preview{display:flex;align-items:center;gap:10px;background:#F5F7F8;border:1px solid #E4E8EA;border-radius:10px;padding:12px 14px;margin-bottom:19px;font-size:.8rem;color:#757E81}.responsible-preview strong{display:block;color:#324348;margin-top:1px}.back{border:0;background:none;color:#586C73;padding:0;margin-bottom:19px;font-size:.8rem;font-weight:700}.detail-grid{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:18px;align-items:start}.detail-main{display:grid;gap:18px;min-width:0}.detail-section,.side-section{padding:24px}.detail-section>h2{margin-bottom:18px}.info-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:21px 15px}.info-grid>div{min-width:0}.info-grid small,.message-box small{display:block;color:#879093;font-size:.67rem;font-weight:800;letter-spacing:.1em;margin-bottom:8px}.info-grid span:not(.badge){font-size:.82rem;line-height:1.35}.message-box{background:#F6F7F7;border-radius:10px;padding:17px;margin-top:21px}.message-box p{margin:0;font-size:.85rem;line-height:1.55;white-space:pre-wrap}.detail-aside{display:grid;gap:17px}.side-section .eyebrow{margin-bottom:13px}.person{display:flex;align-items:center;gap:9px;margin-bottom:16px}.person strong{font-size:.85rem}.side-section .field{margin-bottom:0}.side-section .muted{line-height:1.6}.muted{color:#849289;font-size:.82rem}.done-line{color:#42636E;font-size:.82rem;font-weight:700;margin:15px 0 0}.timeline{border-left:1px solid #DDE2E4;margin-left:7px;padding:5px 0 0 21px}.timeline-item{position:relative;padding:0 0 24px}.timeline-item:last-child{padding-bottom:2px}.timeline-dot{position:absolute;left:-28px;top:4px;width:13px;height:13px;background:#678691;border:3px solid #E8EEF0;border-radius:50%}.timeline-item p{font-size:.83rem;line-height:1.5;margin:0 0 5px;white-space:pre-wrap}.timeline-item small{color:#94a098}.bucket-section{margin-bottom:17px}.count-pill{background:#EDF0F1;color:#647277;padding:3px 9px;border-radius:20px;font-size:.75rem}.empty-row{margin:0}.toast{position:fixed;bottom:25px;right:25px;background:#1F3339;color:#fff;padding:13px 17px;border-radius:10px;box-shadow:0 8px 28px #092e2250;z-index:50;font-size:.82rem;max-width:340px;line-height:1.4}
@media(max-width:1050px){.section-grid{grid-template-columns:1fr}.detail-grid{grid-template-columns:minmax(0,1fr) 230px}.stats{gap:12px}}@media(max-width:900px){.layout{display:block}.sidebar{display:none}.topbar{height:62px;padding:0 18px}.mobile-brand{display:flex;align-items:center;gap:8px;font-size:.95rem}.topbar-label{display:none}.top-actions{gap:10px}.content{padding:24px 16px 104px}.page-heading{align-items:flex-start;flex-direction:column;gap:14px;margin-bottom:22px}.page-heading .button{width:100%}.stats{grid-template-columns:repeat(3,1fr);gap:8px}.stat-card{min-height:116px;padding:14px 12px}.stat-card span{font-size:.68rem}.stat-card strong{font-size:1.9rem;margin-top:9px}.stat-card small{font-size:.64rem;line-height:1.3}.section-grid .surface,.detail-section,.side-section{padding:19px}.detail-grid{grid-template-columns:1fr}.detail-aside{grid-row:1}.detail-aside:has(.side-section:nth-child(2)){grid-row:auto}.mobile-nav{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:10;background:#fff;border-top:1px solid #DFE4E6;padding:5px 3px max(5px,env(safe-area-inset-bottom));justify-content:space-around;box-shadow:0 -4px 20px #1837280d}.mobile-nav .nav-link{width:16.66%;min-width:0;display:grid;justify-items:center;gap:3px;color:#808C90;padding:7px 0 3px;border-radius:8px;text-align:center;font-size:.54rem;line-height:1.1}.mobile-nav .nav-link.active{background:#EBEFF1;color:#2C4E5A}.mobile-nav .nav-icon{font-size:17px}.mobile-nav .nav-count{position:absolute;margin:0 0 22px 24px;min-width:14px;height:14px;font-size:.5rem}.toast{left:14px;right:14px;bottom:84px;max-width:none}.form-section{padding:19px}.fields.two{grid-template-columns:1fr}.form-actions{flex-wrap:wrap}.form-actions .button{flex:1}.list-row{padding:15px}.list-row .badge{display:none}.list-head{padding:18px}.job-grid{grid-template-columns:1fr}}@media(max-width:390px){.stats{grid-template-columns:1fr 1fr}.stats .stat-card:last-child{grid-column:span 2;min-height:95px}.stats .stat-card:last-child strong{margin-top:0}.user-picker select{max-width:68px}.info-grid{grid-template-columns:1fr}}
.job-board{overflow:hidden}.job-filters{display:grid;grid-template-columns:minmax(180px,2fr) repeat(3,minmax(130px,1fr));gap:14px;padding:22px 24px 7px}.job-filters .field{margin:0}.job-board-head{display:flex;justify-content:space-between;gap:10px;padding:15px 24px;color:#819187;font-size:.78rem}.job-board-head strong{color:#34444A}.job-table-wrap{overflow-x:auto}.job-table{width:100%;border-collapse:collapse;text-align:left;min-width:850px}.job-table th{background:#F5F7F7;color:#747E82;text-transform:uppercase;font-size:.65rem;letter-spacing:.08em;padding:12px 16px;white-space:nowrap}.job-table td{padding:15px 16px;border-top:1px solid #EEF0F0;font-size:.8rem;color:#38474C;vertical-align:middle}.job-table tbody tr:hover{background:#FBFCFD}.job-table tr[hidden]{display:none}.job-table td small{display:block;color:#8C9598;margin-top:4px;line-height:1.35}.job-title{border:0;background:none;padding:0;color:#1B343F;font-weight:800;text-align:left;line-height:1.35}.job-title:hover{text-decoration:underline}.job-status-select{width:100%;min-width:110px;border:1px solid #DEE3E5;background:#F7F9F9;border-radius:8px;padding:8px;color:#374B51;font-size:.76rem;font-weight:700}
@media(max-width:1050px){.job-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:900px){.mobile-nav{overflow-x:auto;justify-content:flex-start}.mobile-nav .nav-link{width:14.285%;min-width:55px;flex:none}.job-filters{padding:18px 16px 4px;gap:10px}.job-board-head{padding:14px 16px}.job-table th,.job-table td{padding:12px}}
@media(max-width:900px){.job-table{min-width:0}.job-table thead{display:none}.job-table tbody{display:grid;gap:12px;padding:0 12px 16px}.job-table tr{display:grid;grid-template-columns:1fr 1fr;background:#FBFCFC;border:1px solid #E5E9EA;border-radius:11px;padding:9px}.job-table td{border:0;padding:7px;font-size:.76rem}.job-table td:first-child{grid-column:1/-1;border-bottom:1px solid #E5E9EA;padding-bottom:12px}.job-table td:last-child{align-self:end}.job-table td:nth-child(n+2)::before{content:attr(data-label);display:block;color:#8C9598;font-size:.6rem;font-weight:800;letter-spacing:.07em;text-transform:uppercase;margin-bottom:5px}.job-table td small{overflow-wrap:anywhere}.job-status-select{min-width:0}.job-filters{grid-template-columns:1fr 1fr}}

/* Moduli guidati: una scelta mostra soltanto i campi pertinenti. */
.guided-form{max-width:900px;gap:14px}
.guided-form .form-section{padding:25px 28px}
.guided-form .step-head{margin-bottom:20px}
.guided-form .field{margin-bottom:15px}
.guided-form .fields .field{margin-bottom:0}
.guided-form .fields:last-child,.guided-form .field:last-child{margin-bottom:0}
.guided-form [hidden]{display:none!important}
.entity-picker{border:1px solid #E5E9EA;border-radius:12px;padding:17px 18px;background:#FAFBFC;margin-bottom:14px}
.entity-picker:last-child{margin-bottom:0}
.picker-heading{margin-bottom:12px}
.picker-label{display:block;font-size:.82rem;font-weight:800;color:#2F4248}
.picker-heading p{font-size:.75rem;color:#89988d;margin:3px 0 0;line-height:1.45}
.picker-search{display:block;width:100%;border:1px solid #DEE2E3;border-radius:8px;padding:11px 12px;background:#fff;color:#263439;font-size:.82rem;min-height:42px}
.picker-search:focus{border-color:#7696A1;box-shadow:0 0 0 3px #E3EAED;outline:0}
.picker-results{max-height:218px;overflow:auto;border:1px solid #DEE4E6;border-radius:9px;background:#fff;margin-top:6px;box-shadow:0 8px 20px #133b2712}
.picker-result{width:100%;border:0;border-bottom:1px solid #EEF0F1;background:#fff;padding:11px 13px;text-align:left;color:#314146}
.picker-result:last-child{border-bottom:0}
.picker-result:hover,.picker-result:focus{background:#F0F3F4}
.picker-result strong{display:block;font-size:.8rem}
.picker-result small{display:block;color:#89968c;margin-top:3px}
.picker-no-results{color:#89968c;font-size:.75rem;margin:9px 0 0}
.picker-actions,.picker-compact-actions{display:flex;gap:11px;flex-wrap:wrap;align-items:center}
.picker-actions{margin-top:10px}
.picker-actions button,.picker-compact-actions button,.picker-new-head button,.picker-selected button{border:0;background:none;padding:0;color:#A35F41;font-size:.76rem;font-weight:800}
.picker-actions button:hover,.picker-compact-actions button:hover,.picker-new-head button:hover,.picker-selected button:hover{text-decoration:underline}
.picker-compact,.picker-selected{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:43px}
.picker-compact>span{font-size:.8rem;color:#809087}
.picker-selected{background:#EFF3F4;border:1px solid #DAE2E5;border-radius:9px;padding:8px 11px;justify-content:flex-start}
.picker-selected strong{font-size:.81rem;flex:1;min-width:0;overflow-wrap:anywhere}
.picker-selected-symbol{width:26px;height:26px;border-radius:7px;background:#DBE3E6;display:grid;place-items:center;color:#48636B}
.picker-new-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}
.picker-new-head strong{font-size:.83rem}
.picker-new .field:last-child,.picker-new .fields:last-child{margin-bottom:0}
.form-disclosure{border-top:1px solid #E9ECED;margin-top:18px;padding-top:15px}
.form-disclosure>summary{list-style:none;cursor:pointer;font-size:.81rem;font-weight:800;color:#31525D;display:flex;align-items:center;justify-content:space-between;gap:10px}
.form-disclosure>summary::-webkit-details-marker{display:none}
.form-disclosure>summary::before{content:'＋';margin-right:7px;font-size:1rem}
.form-disclosure[open]>summary::before{content:'−'}
.form-disclosure>summary span{color:#9AA1A4;font-size:.72rem;font-weight:600;margin-left:auto}
.form-disclosure[open]>summary{margin-bottom:17px}
.link-disclosure{margin-top:0;padding-top:0;border:0}
.link-disclosure>summary{padding:13px 15px;background:#F5F7F7;border:1px solid #E2E6E8;border-radius:9px}
.disclosure-content{padding-top:18px}
.job-request-choice{margin-bottom:16px}
.job-request-choice .field{margin-bottom:0}
.linked-context{border:1px solid #DCE3E5;background:#F1F4F5;border-radius:10px;padding:14px 16px}
.linked-context span{display:block;font-size:.68rem;color:#7C8A8F;margin-bottom:4px}
.linked-context strong{font-size:.85rem}
.form-error{color:#a24138;background:#fdf0ed;border:1px solid #f4d4cc;border-radius:8px;padding:11px 13px;font-size:.8rem;margin:0}
@media(max-width:900px){.guided-form .form-section{padding:19px}.entity-picker{padding:14px}.picker-compact{align-items:flex-start;flex-direction:column}.picker-compact-actions{gap:14px}.guided-form .form-actions .button{white-space:normal;text-align:center}}
.wizard-form{scroll-margin-top:94px}
.wizard-progress{display:flex;align-items:center;gap:16px;padding:4px 2px 1px}
.wizard-progress>span{font-size:.69rem;font-weight:800;letter-spacing:.12em;color:#526971;white-space:nowrap}
.wizard-progress b{font:inherit}
.wizard-bars{display:flex;gap:6px;flex:1}
.wizard-bars i{height:5px;flex:1;background:#DEE4E6;border-radius:10px}
.wizard-bars i.active{background:#A35F41}
.wizard-footer{justify-content:space-between}
.wizard-footer .button.primary{margin-left:auto}
@media(max-width:900px){.wizard-progress{gap:10px}.wizard-footer .button{flex:1}}
.job-complete-actions{justify-content:flex-start;margin-top:20px}
.job-row{cursor:pointer}
.job-assignee{display:inline-flex;align-items:center;gap:7px;min-width:0;white-space:nowrap;font-weight:700;color:#43565D}
.job-assignee .avatar{width:28px;height:28px;font-size:.58rem}
.job-mobile-assignee{display:none}
.job-compact-context{display:none!important}
@media(max-width:900px){.job-table td:first-child{position:relative;padding-right:55px}.job-table td:first-child .job-compact-context{display:block!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#667b80}.job-mobile-assignee{display:block;position:absolute;top:7px;right:7px}.job-mobile-assignee .avatar{width:34px;height:34px;font-size:.68rem}.job-table td[data-label="Assegnatario"] .avatar{display:none}}
@media(max-width:900px){.job-table .job-row td:nth-child(2),.job-table .job-row td:nth-child(3),.job-table .job-row td:nth-child(4){display:none}.job-table .job-row td:nth-child(5),.job-table .job-row td:nth-child(6){align-self:center}}
.job-table .job-row td{transition:background-color .16s ease}
.job-table .job-row:hover td,.job-table .job-row:focus-within td{background:#E9EFF1}
.job-table .job-row:hover td:first-child,.job-table .job-row:focus-within td:first-child{box-shadow:inset 4px 0 #325967}
.job-heading-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.unsaved-dialog{border:1px solid #DCE2E4;border-radius:16px;width:min(480px,calc(100vw - 32px));padding:26px;background:#fff;color:#253439;box-shadow:0 24px 70px #08291d45}
.unsaved-dialog::backdrop{background:#102d20a8}
.unsaved-dialog h2{margin:0 0 9px}
.unsaved-dialog p{color:#687478;line-height:1.5;font-size:.88rem;margin:0 0 22px}
.unsaved-actions{display:flex;gap:9px;flex-wrap:wrap}
.unsaved-actions .button{flex:1;white-space:normal;text-align:center}
@media(max-width:900px){.job-table .job-row:hover td,.job-table .job-row:focus-within td{background:transparent}.job-table .job-row:hover,.job-table .job-row:focus-within{background:#E9EFF1;border-color:#95ADB5}.job-table .job-row:hover td:first-child,.job-table .job-row:focus-within td:first-child{box-shadow:none}.unsaved-actions{flex-direction:column}.unsaved-actions .button{width:100%}}
.dependency-list{display:grid;gap:8px;max-height:250px;overflow:auto;margin:12px 0 2px}.dependency-choice{display:flex;align-items:flex-start;gap:10px;padding:10px 12px;border:1px solid #e0e6e7;border-radius:9px;background:#fafbfb;cursor:pointer}.dependency-choice input{width:16px;height:16px;margin:3px 0 0;accent-color:#315665}.dependency-choice strong,.dependency-choice small{display:block;font-size:.78rem;line-height:1.35}.dependency-choice small{color:#78878b;margin-top:3px}.dependency-indicator{display:block;width:max-content;max-width:100%;margin-top:6px;padding:3px 7px;border-radius:6px;background:#fbf1d9;color:#956d27;font-size:.68rem;font-weight:800}.dependency-links{display:flex;flex-wrap:wrap;gap:8px}.dependency-link{border:1px solid #dbe3e5;background:#f7f9f9;border-radius:8px;padding:8px 10px;color:#315665;font-size:.78rem;font-weight:700;text-align:left}.dependency-link:hover{background:#e9eff1}.dependency-warning{margin:13px 0 0;color:#956d27;font-size:.8rem;line-height:1.4;font-weight:700}.dependency-subheading{margin-top:18px}
.dependency-job-list{display:grid;gap:10px;margin:14px 0 0}
.dependency-job-card{display:grid;gap:8px;width:100%;min-width:0;padding:13px 15px;text-align:left;border:1px solid #dce5e7;border-left-width:4px;border-radius:10px;background:#f8fafb;color:#203944;transition:border-color .15s,background-color .15s,box-shadow .15s}
.dependency-job-card.blocking{border-color:#e1ccaa;border-left-color:#a96534;background:#fffaf2}
.dependency-job-card.done{border-color:#cfe1d5;border-left-color:#4f8664;background:#f6faf7}
.dependency-job-card.following{border-left-color:#658999}
.dependency-job-card:hover,.dependency-job-card:focus-visible{border-color:#7193a0;box-shadow:0 5px 14px #203f4719}
.dependency-job-card.blocking:hover,.dependency-job-card.blocking:focus-visible{border-color:#a96534;background:#fff4e5}
.dependency-job-card-top{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:5px 12px;font-size:.67rem;font-weight:800}
.dependency-job-relation{text-transform:uppercase;letter-spacing:.07em;color:#81522f}
.dependency-job-card.done .dependency-job-relation{color:#3f7553}
.dependency-job-card.following .dependency-job-relation{color:#4c7583}
.dependency-job-type{color:#74858a}
.dependency-job-card>strong{font-size:.94rem;line-height:1.3;overflow-wrap:anywhere}
.dependency-job-context{display:flex;flex-wrap:wrap;gap:5px}
.dependency-job-context>span{border:1px solid #dfe6e6;border-radius:5px;background:#fff;padding:2px 6px;color:#687d83;font-size:.7rem;line-height:1.3;overflow-wrap:anywhere}
.dependency-job-upstream{color:#775633;font-size:.74rem;line-height:1.35;overflow-wrap:anywhere}
.dependency-job-card-bottom{display:flex;align-items:center;flex-wrap:wrap;gap:8px 13px;border-top:1px solid #e5e9e8;padding-top:8px;font-size:.75rem}
.dependency-job-owner{display:inline-flex;align-items:center;flex-wrap:wrap;gap:5px;color:#6f8084}
.dependency-job-due{color:#6f8084}
.dependency-job-arrow{margin-left:auto;font-size:1.1rem;color:#4b7180}
.dependency-job-card .job-assignee .avatar{width:25px;height:25px;font-size:.55rem}
.dependency-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:18px}
.job-status-menu{position:relative}.job-status-menu>summary{display:flex;align-items:center;justify-content:space-between;min-height:42px;padding:11px 12px;border:1px solid #dee2e3;border-radius:8px;background:#fff;color:#263439;font-size:.82rem;cursor:pointer;list-style:none}.job-status-menu>summary::-webkit-details-marker{display:none}.job-status-menu>summary:after{content:'⌄';font-size:1.1rem;color:#657b80}.job-status-menu[open]>summary{border-color:#7696a1;box-shadow:0 0 0 3px #e3eaed}.job-status-options{position:absolute;top:calc(100% + 5px);left:0;z-index:7;min-width:205px;width:max-content;max-width:min(290px,80vw);padding:9px;background:#fff;border:1px solid #dbe3e5;border-radius:10px;box-shadow:0 10px 28px #1b343f24}.job-status-options label{display:flex;align-items:center;gap:9px;padding:7px 8px;border-radius:6px;cursor:pointer;color:#34474d;font-size:.81rem}.job-status-options label:hover{background:#f2f6f7}.job-status-options input[type=checkbox]{width:16px;height:16px;min-height:0;margin:0;accent-color:#315665}.job-status-presets{display:flex;gap:6px;border-top:1px solid #e7ecee;margin-top:6px;padding:9px 5px 2px}.job-status-presets button{border:1px solid #dbe3e5;border-radius:7px;background:#f7f9f9;color:#315665;padding:6px 10px;font-size:.76rem;font-weight:700}.job-status-presets button:hover{background:#eaf1f2}.kanban-column[hidden]{display:none}
.job-board:has(.job-status-menu[open]){overflow:visible}
.job-flow-branch[hidden]{display:none}.job-flow-node.is-context{opacity:.58;background:#f5f7f7;box-shadow:none}.job-flow-node.is-context:hover,.job-flow-node.is-context:focus-visible{opacity:1}
.job-filter-empty{padding:28px 24px 32px;text-align:center;border-top:1px solid #edf0f0;color:#3d5962}.job-filter-empty[hidden]{display:none}.job-filter-empty strong{display:block;font-size:.9rem}.job-filter-empty p{margin:5px 0 15px;color:#819187;font-size:.8rem}
.request-filters{display:grid;grid-template-columns:minmax(220px,2fr) repeat(3,minmax(130px,1fr));gap:12px;padding:20px 24px}.request-filters .field{margin:0}.request-tab-count{display:inline-flex;align-items:center;justify-content:center;min-width:20px;padding:1px 5px;margin-left:4px;border-radius:10px;background:#e9eff0;color:#43606b;font-size:.68rem}.view-chip.active .request-tab-count{background:#ffffff2b;color:#fff}.request-row.is-open{border-left:4px solid #72969a}.request-row.is-closed{border-left:4px solid #b9c0c1;background:#f5f6f6}.request-row.is-closed:hover{background:#e9eded}.request-row.is-closed .list-icon{background:#e1e5e5;color:#68777b}.request-row.is-closed .list-main strong{color:#65757b}.request-row .request-owner{color:#68818a}.request-status{display:inline-flex;align-items:center;white-space:nowrap;padding:6px 10px;border-radius:999px;font-size:.73rem;font-weight:800}.request-status.open{background:#e8f2ed;color:#28704e}.request-status.closed{background:#e2e7e8;color:#536970}.request-board [data-request-empty][hidden]{display:none}@media(max-width:1100px){.request-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.request-filters{padding:16px;gap:10px}.request-filters .field:first-child{grid-column:1/-1}.request-row{gap:8px}.request-row .row-arrow{display:none}.request-status{font-size:.67rem;padding:5px 7px}}
.job-request-action{display:block;margin-top:6px}
.dependency-existing summary{list-style:none;cursor:pointer;min-height:42px;padding:10px 17px;border:1px solid #dbe3e5;border-radius:9px;background:#fff;color:#2c434b;font-size:.83rem;font-weight:700;display:flex;align-items:center}.dependency-existing summary::-webkit-details-marker{display:none}.dependency-existing summary:hover{background:#f3f6f6}.dependency-existing[open]{flex-basis:100%}.dependency-existing form{padding:17px;margin-top:9px;border:1px solid #dbe3e5;border-radius:10px;background:#fbfcfc}.dependency-existing form .muted{margin-bottom:12px}.dependency-existing form>.button{margin-top:14px}
.dependency-choice[hidden],.list-row[hidden],.job-card[hidden]{display:none}.dependency-picker .field{margin:12px 0 0}.dependency-count{color:#75868b;font-size:.73rem;margin:7px 0 3px}.list-search{display:flex;align-items:end;gap:14px;justify-content:space-between;padding:17px 24px;border-bottom:1px solid #eef0f0}.list-search label{display:block;width:min(100%,460px)}.list-search label span{display:block;color:#38484d;font-size:.77rem;font-weight:700;margin-bottom:6px}.list-search input{display:block;width:100%;border:1px solid #dee2e3;border-radius:8px;padding:10px 12px;background:#fff;color:#263439;font-size:.82rem;min-height:42px}.list-search input:focus{border-color:#7696a1;box-shadow:0 0 0 3px #e3eaed;outline:0}.list-search small{color:#75868b;white-space:nowrap}.list-search-empty{padding:18px 24px;color:#75868b;font-size:.82rem;margin:0}.list-search-empty[hidden]{display:none}@media(max-width:900px){.list-search{padding:16px;align-items:stretch;flex-direction:column;gap:5px}.list-search label{width:100%}}
.detail-section .list-search{padding:0 0 16px;margin:0 0 16px}.detail-section .list-search-empty{padding:4px 0 16px}.bucket-section[hidden]{display:none}
.contacts-list .list-search{justify-content:flex-start;align-items:end;flex-wrap:wrap}.contacts-list .list-search .contact-role-filter,.contacts-list .list-search .contact-sort-control{width:min(100%,200px)}.contact-role-filter select,.contact-sort-control select{display:block;width:100%;min-width:0;min-height:42px;border:1px solid #dee2e3;border-radius:8px;padding:10px 12px;background:#fff;color:#263439;font-size:.82rem}.contact-role-filter select:focus,.contact-sort-control select:focus{border-color:#7696a1;box-shadow:0 0 0 3px #e3eaed;outline:0}.contacts-list [data-search-count]{margin-left:auto;min-width:70px;text-align:right}@media(max-width:900px){.contacts-list .list-search{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.contacts-list .list-search>label:first-child{grid-column:1/-1}.contacts-list .list-search .contact-role-filter,.contacts-list .list-search .contact-sort-control{width:100%}.contacts-list [data-search-count]{grid-column:1/-1;margin-left:0;text-align:left}.contacts-list .list-head span{font-size:.7rem;text-align:right}}
.contact-activity-group{margin-top:18px}.contact-activity-group+.contact-activity-group{border-top:1px solid #EEF0F0;padding-top:18px}.contact-activity-group .section-heading{margin-bottom:8px}.contact-activity-group .muted{margin-bottom:0}
.contact-form .step-head{align-items:flex-start}.contact-form .step-head .step{font-size:1.15rem}.contact-heading-actions{justify-content:flex-end}@media(max-width:900px){.contact-heading-actions{width:100%;flex-direction:column;align-items:stretch}}
.button.danger-outline{background:#fff;border-color:#d9aaa0;color:#9b4235}.button.danger-outline:hover{background:#fff4f1}.button.danger{background:#a84639;color:#fff}.button.danger:hover{background:#8e352b}.button:disabled{opacity:.58;cursor:wait}.delete-contact-dialog .delete-contact-impact{background:#f6f7f7;border-radius:8px;padding:12px 14px;color:#40535a;font-weight:600}.delete-contact-dialog .delete-contact-error{color:#a23428;margin:0 0 16px}.delete-contact-dialog .delete-contact-error[hidden]{display:none}
.delete-job-dialog .delete-impact,.delete-request-dialog .delete-impact{background:#f6f7f7;border-radius:8px;padding:12px 14px;color:#40535a;font-weight:600}.delete-job-dialog .delete-error,.delete-request-dialog .delete-error{color:#a23428;margin:0 0 16px}.delete-job-dialog .delete-error[hidden],.delete-request-dialog .delete-error[hidden]{display:none}
.delete-request-options{border:0;padding:0;margin:20px 0}.delete-request-options legend{font-weight:800;margin-bottom:10px}.delete-request-options label{display:flex;align-items:flex-start;gap:11px;padding:13px 14px;border:1px solid #dce3e5;border-radius:10px;margin-bottom:9px;cursor:pointer}.delete-request-options label:has(input:checked){border-color:#6b8b96;background:#eef4f5}.delete-request-options input{margin:3px 0 0;accent-color:#315665}.delete-request-options strong,.delete-request-options small{display:block}.delete-request-options strong{font-size:.85rem}.delete-request-options small{color:#65777c;font-size:.76rem;line-height:1.45;margin-top:3px}
.contact-action{color:#A35F41;font-size:.82rem;font-weight:700;text-decoration:none;overflow-wrap:anywhere}.contact-action:hover{text-decoration:underline}
.contact-choices{border:1px solid #e7e8e5;border-radius:14px;padding:18px;margin:0}.contact-choices legend{font-weight:700;padding:0 6px}.contact-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.contact-choice-grid label{display:flex;gap:9px;align-items:center;padding:9px 11px;border:1px solid #ececea;border-radius:9px;cursor:pointer;font-size:.88rem}.contact-choice-grid input{accent-color:#a35f41}.contact-choices .muted{margin:0 0 12px}.property-referent-form{display:flex;gap:12px;align-items:end;margin-top:20px}.property-referent-form .field{flex:1}@media(max-width:900px){.contact-choice-grid{grid-template-columns:1fr}.property-referent-form{display:block}.property-referent-form .button{margin-top:10px;width:100%}}
.contact-main .fields:last-of-type{margin-bottom:0}.contact-optional-hint{margin:18px 0 0;color:#74858a;font-size:.81rem}.contact-detail{overflow:hidden}.contact-detail>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:18px 26px;cursor:pointer}.contact-detail>summary::-webkit-details-marker{display:none}.contact-detail>summary:after{content:'⌄';font-size:1.25rem;color:#60777e;transition:transform .15s}.contact-detail[open]>summary:after{transform:rotate(180deg)}.contact-detail>summary span{flex:1;min-width:0}.contact-detail>summary strong{display:block;font-size:.91rem}.contact-detail>summary small{display:block;color:#82918e;margin-top:3px}.contact-detail>summary em{font-style:normal;font-size:.73rem;font-weight:700;color:#60777e;background:#edf2f2;border-radius:20px;padding:5px 9px;white-space:nowrap}.contact-detail-body{border-top:1px solid #ebeeee;padding:22px 26px}.contact-detail-body>.fields:last-child,.contact-detail-body>.field:last-child{margin-bottom:0}.contact-detail-body .contact-choices{border:0;padding:0}.contact-provenance{margin-top:22px}.contact-property-list{display:grid;gap:8px;max-height:310px;overflow:auto}.contact-property-list label{display:flex;align-items:flex-start;gap:10px;padding:11px 13px;border:1px solid #e2e8e9;border-radius:9px;cursor:pointer}.contact-property-list label:has(input:checked){border-color:#85a1aa;background:#f1f6f6}.contact-property-list input{margin-top:3px;accent-color:#315665}.contact-property-list strong{display:block;font-size:.83rem}.contact-property-list small{display:block;color:#788b90;margin-top:3px}.contact-property-list [hidden]{display:none}.contact-property-search{margin-bottom:12px}@media(max-width:900px){.contact-detail>summary{padding:16px 18px}.contact-detail-body{padding:19px}.contact-detail>summary em{display:none}}
.contact-option-list,.contact-selected-properties{display:grid;align-content:start;gap:7px;max-height:290px;overflow-y:auto;overscroll-behavior:contain;padding:3px 2px}.contact-selected-properties{max-height:170px;margin-bottom:14px}.contact-option{display:block;width:100%;text-align:left;border:1px solid #e2e8e9;border-radius:9px;background:#fff;padding:10px 12px;color:#243b43}.contact-option:hover,.contact-option:focus-visible{border-color:#8ba5ad;background:#f5f8f8}.contact-option.selected{background:#eef4f4;border-color:#9db5ba}.contact-option.selected strong:after{content:' ×';color:#a35f41}.contact-option strong{display:block;font-size:.82rem}.contact-option small{display:block;color:#788b90;margin-top:3px}.contact-selected-referrer{font-size:.79rem;font-weight:700;color:#315665;margin:-4px 0 9px}.contact-scroll-hint{font-size:.72rem;color:#82918e;text-align:center;padding:8px;margin:0}
.contact-inline-error{color:#ad5344;font-size:.78rem;font-weight:700;margin:0 0 10px}
.contact-selected-properties[hidden]{display:none}
.dependency-controls{display:grid;grid-template-columns:minmax(0,2fr) minmax(130px,1fr);gap:12px}.recent-row[hidden]{display:none}@media(max-width:900px){.dependency-controls{grid-template-columns:1fr;gap:0}}
.new-prerequisite{margin-top:18px;border:1px solid #dce5e7;border-radius:12px;background:#f7f9f9;padding:14px 16px}.new-prerequisite>summary{cursor:pointer;color:#315665;font-size:.82rem;font-weight:800;list-style:none}.new-prerequisite>summary::-webkit-details-marker{display:none}.new-prerequisite[open]{background:#fff;border-color:#9ab3ba}.new-prerequisite[open]>summary{margin-bottom:14px}.new-prerequisite .muted{font-size:.77rem;margin:0 0 13px}.new-prerequisite .field:last-child{margin-bottom:0}
.prerequisite-chain{display:grid;gap:14px}.prerequisite-chain-level{border:1px solid #dce5e7;border-radius:11px;background:#f7f9f9;padding:17px;margin-top:16px}.prerequisite-chain-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px;color:#1b343f}.prerequisite-chain-head strong{font-size:.87rem}.prerequisite-chain-head .text-link{font-size:.76rem}.prerequisite-chain-level .field:last-child{margin-bottom:0}.prerequisite-chain-add{margin-top:16px;white-space:normal;text-align:center}
.parallel-prerequisites{display:grid;gap:14px}.prerequisite-parallel{border:1px solid #c9d9df;border-radius:11px;background:#f2f7f8;padding:17px;margin-top:18px}.prerequisite-parallel .prerequisite-chain-level{background:#fff}.prerequisite-parallel-add{margin-top:18px;white-space:normal;text-align:center}
.job-link-options{border:0;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.job-link-options legend{font-size:.78rem;font-weight:800;color:#38484d;margin-bottom:9px}.job-link-options label{display:flex;align-items:center;justify-content:center;gap:6px;border:1px solid #dce3e5;border-radius:9px;background:#f8faf9;padding:10px 8px;cursor:pointer;color:#40535a;font-size:.78rem;font-weight:700}.job-link-options label:has(input:checked){background:#e8eff0;border-color:#6b8b96;color:#1b343f;box-shadow:inset 0 0 0 1px #6b8b96}.job-link-options label:has(input:disabled){cursor:default}.job-link-options input{accent-color:#315665;margin:0}.job-link-hint{margin:10px 0 0;color:#75868b;font-size:.75rem;line-height:1.45}.job-link-panels{display:flex;flex-direction:column;gap:12px;margin-top:16px}.job-link-panels [data-job-link-panel] .entity-picker{margin:0}.job-request-picker{padding:16px;border:1px solid #e5e9ea;border-radius:10px;background:#fafbfc}.job-request-picker .field{margin-bottom:0}.job-request-picker .muted{margin:11px 0 0}.job-request-picker .picker-results{margin-top:8px}@media(max-width:480px){.job-link-options{grid-template-columns:repeat(2,minmax(0,1fr))}.job-link-options label:last-child{grid-column:1/-1}}
.job-board-head{align-items:center;flex-wrap:wrap}
.prerequisite-link-disclosure{border-top:1px solid #e4e9ea;margin:16px 0;padding-top:13px}.prerequisite-link-disclosure>summary{cursor:pointer;color:#315665;font-size:.8rem;font-weight:800}.prerequisite-link-disclosure>summary span{float:right;color:#929fa2;font-weight:600}.prerequisite-link-disclosure[open]>summary{margin-bottom:15px}.prerequisite-link-picker{border:1px solid #dce5e7;border-radius:9px;padding:12px;margin:11px 0;background:#fbfcfc}.prerequisite-link-picker[hidden],.prerequisite-link-picker [hidden],.prerequisite-link-results [hidden]{display:none!important}.prerequisite-link-label{display:block;font-size:.75rem;font-weight:800;margin-bottom:7px}.prerequisite-link-picker input[type=search]{display:block;width:100%;border:1px solid #dbe2e4;border-radius:8px;padding:10px 12px;background:#fff}.prerequisite-link-results{display:grid;gap:4px;max-height:190px;overflow:auto;margin-top:7px}.prerequisite-link-results .picker-result{text-align:left}.job-flow-intro{padding:0 24px 12px;color:#75878b;font-size:.8rem;line-height:1.5}.job-flow-list{display:grid;gap:16px;padding:0 24px 24px}.job-flow-group{padding:18px;border-color:#dfe7e9}.job-flow-group[hidden]{display:none}.job-flow-head{display:flex;gap:10px;align-items:center;justify-content:space-between;margin-bottom:12px;font-size:.77rem}.job-flow-head strong{color:#325766;text-transform:uppercase;letter-spacing:.06em}.job-flow-head span{color:#88969a}.job-flow-branch{min-width:0}.job-flow-node{width:100%;display:grid;grid-template-columns:minmax(0,1fr) auto 14px;align-items:center;gap:16px;text-align:left;border:1px solid #dee7e9;border-radius:11px;background:#f9fbfb;color:#203944;padding:13px 15px;transition:border-color .15s,background-color .15s,box-shadow .15s}.job-flow-node:hover,.job-flow-node:focus-visible{border-color:#7193a0;background:#eef5f6;box-shadow:0 4px 15px #203f4712}.job-flow-node.is-root{border-color:#8caab2;background:#eaf1f2}.job-flow-node.is-mine:not(.is-root){box-shadow:inset 3px 0 #a35f41}.job-flow-node.filter-match{outline:2px solid #a35f41;outline-offset:1px}.job-flow-main{min-width:0;display:grid;gap:4px}.job-flow-main strong{font-size:.93rem;line-height:1.3}.job-flow-role{text-transform:uppercase;letter-spacing:.09em;color:#5b7781;font-size:.63rem;font-weight:800}.job-flow-links{display:flex;flex-wrap:wrap;gap:5px;color:#677d82;font-size:.7rem}.job-flow-links span{background:#fff;border:1px solid #e2e9ea;border-radius:5px;padding:2px 5px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.job-flow-side{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;max-width:250px}.job-flow-side small{color:#7d898d;white-space:nowrap}.job-flow-arrow{color:#47717e}.job-flow-children{border-left:2px solid #cad9dd;margin-left:22px;padding:7px 0 2px 19px}.job-flow-dependency-label{font-size:.72rem;color:#74878b;font-weight:700;margin:2px 0 8px}.job-flow-branches{display:grid;gap:9px}.job-flow-branches>.job-flow-branch{position:relative}.job-flow-branches>.job-flow-branch:before{content:'';position:absolute;left:-19px;top:25px;width:18px;border-top:2px solid #cad9dd}.job-relation-tag{display:inline-block;border:1px solid #cfdee1;border-radius:5px;background:#eff5f6;color:#3f6572;font-size:.68rem;font-weight:800;padding:3px 5px;margin:5px 0 0}.job-flow-node .job-assignee{white-space:nowrap}
@media(max-width:900px){.job-flow-list{padding:0 14px 18px}.job-flow-intro{padding:0 16px 12px}.job-flow-group{padding:13px}.job-flow-node{grid-template-columns:minmax(0,1fr) 16px;gap:8px}.job-flow-side{grid-column:1;grid-row:2;justify-content:flex-start;max-width:none}.job-flow-arrow{grid-column:2;grid-row:1}.job-flow-children{margin-left:10px;padding-left:13px}.job-flow-branches>.job-flow-branch:before{left:-13px;width:12px}.job-flow-head{align-items:flex-start;flex-direction:column;gap:2px}}
.jobs-view-toggle{display:flex;gap:3px;padding:3px;border:1px solid #DEE4E6;border-radius:10px;background:#F3F5F6;margin-left:auto}
.job-flow-branches:has(>.job-flow-branch:nth-child(2)){grid-template-columns:repeat(2,minmax(0,1fr))}@media(max-width:920px){.job-flow-branches:has(>.job-flow-branch:nth-child(2)){grid-template-columns:1fr}}
.job-flow-kicker{display:flex;align-items:center;flex-wrap:wrap;gap:7px 10px}
.job-flow-node.is-mine,.job-flow-node.is-root.is-mine{border-color:#c69870;background:#fff8ee;box-shadow:inset 4px 0 #a85f35}
.job-flow-node.is-mine:hover,.job-flow-node.is-mine:focus-visible{border-color:#a85f35;background:#fff1df;box-shadow:inset 4px 0 #a85f35,0 5px 16px #70402224}
.job-flow-node.is-mine .job-flow-main strong{color:#593922}
.job-flow-mine-label{display:inline-flex;align-items:center;border-radius:999px;background:#92532f;color:#fff;padding:4px 8px;font-size:.66rem;font-weight:800;letter-spacing:0;text-transform:none;line-height:1.1;white-space:nowrap}
.job-flow-head .job-flow-mine-count{color:#92532f;font-weight:800}
.jobs-view-toggle button{border:0;border-radius:7px;background:transparent;color:#657378;padding:8px 12px;font-size:.76rem;font-weight:800}
.jobs-view-toggle button[aria-pressed="true"]{background:#1B343F;color:#fff;box-shadow:0 2px 6px #174a321f}
.kanban-hint{font-size:.76rem;line-height:1.5;color:#7B8588;margin:0;padding:0 24px 15px}
.kanban-board{display:flex;gap:14px;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x proximity;padding:2px 24px 24px}
.kanban-column{flex:0 0 254px;min-height:320px;scroll-snap-align:start;background:#F4F6F6;border:1px solid #E4E7E8;border-radius:12px;padding:13px;transition:background-color .15s,border-color .15s}
.kanban-column.drag-over{background:#E5EBED;border-color:#71939E;box-shadow:inset 0 0 0 2px #71939E}
.kanban-column>header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:14px}
.kanban-column h2{font-size:.83rem;letter-spacing:0}
.kanban-stack{display:grid;align-content:start;gap:10px}
.kanban-card{min-width:0;border:1px solid #E1E5E7;border-radius:10px;background:#fff;padding:13px;box-shadow:0 2px 8px #163d2508;cursor:grab;transition:transform .15s,border-color .15s,box-shadow .15s}
.kanban-card:hover,.kanban-card:focus-within{border-color:#90A7AF;box-shadow:0 7px 17px #163d251a;transform:translateY(-2px)}
.kanban-card.dragging{opacity:.48;cursor:grabbing}
.kanban-card[hidden],.kanban-empty[hidden]{display:none!important}
.kanban-card-top{display:flex;justify-content:space-between;align-items:flex-start;gap:8px;color:#839388;font-size:.68rem;line-height:1.35}
.kanban-card-kind{display:grid;gap:4px;min-width:0}
.kanban-card-kind strong{color:#516A72;font-size:.68rem}
.kanban-card-top .job-assignee{font-size:.68rem;color:#56656A}
.kanban-card-top .job-assignee .avatar{width:26px;height:26px;font-size:.55rem}
.kanban-title{display:block;border:0;background:none;padding:0;margin:13px 0 5px;text-align:left;color:#1E3137;font-weight:800;font-size:.86rem;line-height:1.35}
.kanban-title:hover{text-decoration:underline}
.kanban-card p{color:#80898C;font-size:.72rem;line-height:1.4;margin:0 0 14px;overflow-wrap:anywhere}
.kanban-card-bottom{border-top:1px solid #ECEFF0;padding-top:10px;display:flex;align-items:center;justify-content:flex-end;gap:8px}
.kanban-status-select{max-width:114px;min-width:0;border:1px solid #DAE1E4;border-radius:7px;background:#F8FAFA;color:#304A52;padding:6px 4px;font-size:.7rem;font-weight:700;cursor:pointer}
.kanban-empty{font-size:.75rem;color:#9CA5A8;text-align:center;padding:28px 6px;margin:0}
@media(max-width:900px){.job-board-head{gap:10px}.job-board-head>span{display:none}.jobs-view-toggle{margin-left:0}.kanban-hint{padding:0 16px 14px}.kanban-board{padding:2px 16px 20px}.kanban-column{flex-basis:min(82vw,300px)}}

/* Identità HomeLab: monogramma tipografico provvisorio, ispirato al logo HL dello studio. */
.brand-mark{font-family:Jost,Arial,sans-serif;font-size:15px;letter-spacing:-.12em;border-radius:8px;background:#D1BFA3;color:#1B343F;padding-right:2px}
.brand-mark.small{font-size:12px}
.brand span:not(.brand-mark){color:#D1BFA3}
.nav-count{color:#1B343F}
.status-dot{background:#D1BFA3}
.button.primary,.jobs-view-toggle button[aria-pressed="true"]{background:#1B343F}
.button.primary:hover{background:#294F5D}
.text-link,.picker-actions button,.picker-compact-actions button,.picker-new-head button,.picker-selected button{color:#A35F41}
button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline-color:#A35F41}

.stat-card{border:1px solid transparent;text-align:left;color:inherit;cursor:pointer;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}
.stat-card:hover{transform:translateY(-3px);border-color:#9FAEB1;box-shadow:0 9px 20px #173b361a}
.stat-card:focus-visible{outline:3px solid #A35F41;outline-offset:3px}
.stat-card small{width:100%;display:flex;justify-content:space-between;align-items:center;gap:6px;text-align:left}
.stat-card small span{font-size:1.1rem;line-height:1;color:#1B343F}
.list-view-switch{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:-7px 0 18px}
.view-chip{border:1px solid #DCE3E5;border-radius:8px;background:#fff;color:#51656C;padding:8px 14px;font-size:.79rem;font-weight:700}
.view-chip:hover{background:#F3F6F7;border-color:#9FB2B8}
.view-chip.active{background:#1B343F;border-color:#1B343F;color:#fff}
.list-view-count{margin-left:auto;color:#7E8B8F;font-size:.8rem}
.list-view-read{margin-left:auto}
.notification-list-row.unread{background:#F5F8F8}
.notification-list-row.unread:hover{background:#E9EFF1}
.notification-panel-footer{border-top:1px solid #EEF0F0;padding:13px 17px;text-align:center}
.notification-panel{max-height:min(70vh,640px);overflow-y:auto}
.notification-record{align-items:flex-start}
.notification-record .notification-symbol{flex-shrink:0}
.notification-copy{min-width:0;flex:1;overflow-wrap:anywhere}
.notification-copy>p{margin:0;font-size:inherit;line-height:1.5}
.notification-actions{display:flex;flex-wrap:wrap;gap:4px 16px;margin-top:8px}
.notification-actions .text-link{min-height:44px;text-align:left;white-space:normal;overflow-wrap:anywhere}
.notification-copy .notification-current-state{margin-top:8px;color:var(--text-secondary);font-weight:600}
.user-picker select{max-width:145px}
.access-note{background:#F4F7F8;border:1px solid #DFE7E9;border-radius:10px;color:#526C74;padding:13px 16px;font-size:.82rem;line-height:1.5;margin:-10px 0 18px}
.readonly-value{display:flex;align-items:center;min-height:42px;padding:11px 12px;border:1px solid #DEE2E3;border-radius:8px;background:#F5F7F8;color:#53676E;font-size:.82rem}
.property-editor .field input[data-commercial-area]{background:#f2f6f7;color:#254750;font-weight:700;cursor:default}
.property-editor .property-area-note{margin:5px 0 15px}
.first-job-choice{border:0;padding:0;margin:0 0 18px;display:grid;gap:8px}
.first-job-choice legend{font-size:.8rem;font-weight:800;margin-bottom:9px;color:#38484D}
.first-job-choice label{display:flex;align-items:center;gap:10px;padding:12px 14px;border:1px solid #DEE4E6;border-radius:9px;background:#fff;font-size:.81rem;font-weight:700;color:#455A61;cursor:pointer}
.first-job-choice label:has(input:checked){background:#F0F5F6;border-color:#8DABB4;color:#244856}
.first-job-choice input{accent-color:#315969}
.form-help{color:#718188;font-size:.76rem;line-height:1.5;margin:0}
.next-action-box .button{margin-top:14px}
@media(max-width:390px){.user-picker select{max-width:95px}}
.request-title-copy{flex:1;min-width:0}
.request-title-heading{display:flex;align-items:center;gap:7px;max-width:100%;margin:0 0 4px}
.request-title-heading input{field-sizing:content;min-width:12ch;max-width:calc(100% - 24px);border:0;border-bottom:1px dashed transparent;border-radius:4px;background:transparent;color:#1B343F;padding:1px 3px 2px 0;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;outline:none;text-overflow:ellipsis}
.request-title-heading input::placeholder{color:#1B343F;opacity:1}
.request-title-heading span{font-size:.78em;color:#81949A;line-height:1}
.request-title-heading:hover input,.request-title-heading input:focus{border-bottom-color:#7C969F;background:#F5F8F8}
.request-title-heading input:focus-visible{outline:2px solid #A35F41;outline-offset:2px}

.save-status{font-size:.7rem;color:#61717A;white-space:nowrap;max-width:205px;overflow:hidden;text-overflow:ellipsis}
.startup-error{max-width:620px;margin:10vh auto;padding:30px;background:#fff;border:1px solid #E5E3DE;border-radius:14px}
.startup-error p{line-height:1.5;color:#61717A}
@media(max-width:900px){.save-status{font-size:.57rem;max-width:85px;white-space:normal;line-height:1.15}.top-actions>.button.small{font-size:.64rem;padding:6px;min-height:32px;white-space:normal;text-align:center}}

.rich-text{border:1px solid #dee2e3;border-radius:9px;background:#fff;overflow:hidden}
.rich-text-label{color:#38484d;font-size:.77rem;font-weight:700;line-height:1.35}
.rich-text [data-rich-value]{display:none!important}
.rich-text:focus-within{border-color:#7696a1;box-shadow:0 0 0 3px #e3eaed}
.rich-text-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:4px;padding:8px;border-bottom:1px solid #e5e9ea;background:#f7f9f9}
.rich-text-toolbar button{border:0;border-radius:6px;background:transparent;color:#344d56;font-size:.77rem;font-weight:700;min-height:32px;padding:5px 9px}
.rich-text-toolbar button:hover,.rich-text-toolbar button:focus-visible{background:#e5edef}
.rich-text-divider{width:1px;height:22px;background:#d6e0e2;margin:0 4px}
.rich-text-editor{min-height:210px;padding:15px 17px;outline:0;color:#263439;font-size:.88rem;line-height:1.65;overflow-wrap:anywhere;white-space:pre-wrap}
.rich-text-editor:empty::before{content:attr(data-placeholder);color:#a0aca3;pointer-events:none}
.rich-text-editor h2,.property-rich-copy h2{font-size:1.35rem;line-height:1.3;margin:15px 0 8px}
.rich-text-editor h3,.property-rich-copy h3{font-size:1.1rem;line-height:1.35;margin:13px 0 7px}
.rich-text-editor p,.property-rich-copy p{margin:0 0 12px}
.rich-text-editor ul,.rich-text-editor ol,.property-rich-copy ul,.property-rich-copy ol{margin:8px 0 14px;padding-left:24px}
.rich-text-editor blockquote,.property-rich-copy blockquote{border-left:3px solid #a7bcc0;margin:12px 0;padding-left:14px;color:#52656b}
.property-rich-copy{font-size:1rem;line-height:1.7;color:#34464c;overflow-wrap:anywhere}
.property-rich-copy>:last-child{margin-bottom:0}

.property-product-hero{display:grid;grid-template-columns:240px minmax(0,1fr);grid-template-areas:"photo identity" "photo summary";gap:0 28px;padding:24px;background:#fff;border:1px solid #E9ECED;border-radius:18px;box-shadow:0 2px 12px #21453006;margin-bottom:20px}

.property-cover{grid-area:photo;align-self:start;position:relative;height:240px;min-height:0;background:#E4E8E8;border-radius:12px;overflow:hidden}
.property-cover-link{display:block;position:absolute;inset:0}
.property-cover img{display:block;width:100%;height:100%;object-fit:cover}
.property-cover-caption{position:absolute;left:18px;bottom:18px;padding:7px 11px;border-radius:7px;background:#1B343Fdd;color:#fff;font-size:.72rem;font-weight:700;pointer-events:none}
.property-cover-empty{height:100%;min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:#5e7077}
.property-cover-empty span{font-size:3rem}
.property-cover [hidden]{display:none}
.property-product-intro{grid-area:identity;min-width:0;display:flex;flex-direction:column;align-items:flex-start}
.property-product-summary{grid-area:summary;min-width:0}
.property-product-intro .eyebrow{color:#A35F41;margin-bottom:6px;font-size:.8125rem}
.property-product-intro h1{font-size:clamp(1.625rem,2.4vw,2rem);line-height:1.2;letter-spacing:-.035em;overflow-wrap:anywhere;margin:0 0 8px}
.property-product-address{font-size:1rem;line-height:1.5;color:#5e7077;margin:0}
.property-product-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:14px}
.property-product-tags span{padding:6px 10px;border-radius:20px;background:#EDF1F2;color:#445B63;font-size:.8125rem;font-weight:700}
.property-product-tags [data-kind=status]{background:#e8eeeb;color:#315d4b}
.property-product-tags [data-kind=type]{background:#f0f1ef;color:#526168}
.property-product-tags [data-kind=listing]{background:#e8f1f5;color:#2b6177}
.property-product-tags [data-kind=visibility]{background:#f4ece1;color:#805d2b}
.property-product-facts{display:grid;grid-template-columns:.65fr 1fr 1.2fr;gap:12px 18px;width:100%;margin:18px 0 0;padding:16px 0;border-top:1px solid #e9eced;border-bottom:1px solid #e9eced}
.property-product-facts>div{min-width:0}

.property-product-facts dt,.property-product-prices small{display:block;color:#5e7077;font-size:.875rem;font-weight:600;line-height:1.4}
.property-product-facts dd{margin:4px 0 0;color:#1b343f;font-size:1rem;font-weight:700;line-height:1.4;overflow-wrap:anywhere}
.property-product-prices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding-top:16px;width:100%}
.property-product-price-block{min-width:0}
.property-product-prices strong{display:block;margin-top:4px;color:#1b343f;font-size:1.125rem;line-height:1.3;letter-spacing:-.025em;overflow-wrap:anywhere}
.property-product-actions{width:100%;margin-top:18px}
.property-detail-grid{grid-template-columns:minmax(0,1fr)}
.property-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.property-facts>div{padding:17px;background:#F6F7F7;border-radius:10px;min-width:0}
.property-facts small,.property-referent small{display:block;color:#5e7077;font-size:.875rem;font-weight:600;letter-spacing:.02em;margin-bottom:7px}
.property-facts span{font-size:.95rem;font-weight:700;line-height:1.3}
.property-referent{border-top:1px solid #E9ECED;margin-top:22px;padding-top:19px}
.property-referent>div>strong{font-size:.9rem}
.property-referent-form{max-width:450px}
@media(min-width:601px) and (max-width:1150px){.property-product-hero{grid-template-columns:170px minmax(0,1fr);grid-template-areas:"photo identity" "summary summary";gap:0 22px}.property-cover{height:170px}.property-product-actions .job-heading-actions{flex-direction:row}.property-product-actions .button{width:auto}}
@media(max-width:600px){.property-product-hero{grid-template-columns:104px minmax(0,1fr);grid-template-areas:"photo identity" "summary summary";gap:0 16px;padding:18px}.property-cover{height:148px}.property-product-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.property-product-facts>div:last-child{grid-column:1/-1}.property-product-intro h1{font-size:1.5rem}.property-product-intro .eyebrow{font-size:.8125rem;letter-spacing:.04em}.property-product-tags{gap:5px;margin-top:10px}.property-product-tags span{padding:4px 8px}.property-product-prices strong{font-size:1.0625rem}.property-facts{grid-template-columns:repeat(2,minmax(0,1fr))}}

.property-cover.without-photo{background:#e5e3de}
.property-top-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:19px}
.property-top-actions .back{margin-bottom:0}
.property-quick-edit{display:none}
.property-cover.without-photo .property-cover-empty{gap:12px;color:#5e7077;font-weight:600;padding:12px;text-align:center}
.property-cover.without-photo .property-cover-empty span{font-size:2rem}
.property-quick-facts{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:18px 0 0;color:#425b62;font-size:.86rem;font-weight:700}
.property-quick-facts span{color:#a9b6b8}
.property-price-empty{margin:0;padding-top:16px;color:#5e7077;font-size:1rem}
.property-product-actions .job-heading-actions{align-items:stretch}
.property-product-actions .button{flex:1;min-width:150px}
.property-section-nav{display:flex;gap:7px;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:thin;padding:2px 1px 14px;margin:0 0 4px;position:sticky;top:76px;z-index:4;background:#f7f6f3}
.property-section-nav a{flex:none;padding:9px 13px;border:1px solid #dce4e5;border-radius:100px;background:#fff;color:#405a62;font-size:.875rem;font-weight:700;text-decoration:none}
.property-section-nav a:hover,.property-section-nav a:focus-visible{border-color:#78949c;background:#edf3f3;color:#1b343f}
.property-detail-grid section[id]{scroll-margin-top:150px}
.property-detail-grid div[id^=property-]{scroll-margin-top:150px}
.property-overview .section-heading{align-items:flex-start}
.property-overview-identity h3{font-size:.96rem;margin:0 0 9px;color:#243f49}
.property-overview-identity .property-info-list>div:nth-child(2),.property-overview-identity .property-info-list>div:last-child{grid-column:1/-1}
.property-overview-identity+.property-facts{margin-top:23px}
.property-workflow-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.property-workflow-card{min-width:0;display:flex;flex-direction:column;gap:7px;padding:16px;border:1px solid #dfe8e7;border-radius:12px;background:#f8faf9;color:#24414b;text-decoration:none;transition:border-color .15s,transform .15s}
.property-workflow-card:hover,.property-workflow-card:focus-visible{border-color:#7c9ba2;transform:translateY(-1px)}
.property-workflow-card[data-tone=attention]{background:#fffaf0;border-color:#eadab5}
.property-workflow-card small{font-size:.8125rem;line-height:1.4;letter-spacing:.025em;color:#5e7077;font-weight:600}
.property-workflow-card strong{font-size:1.03rem;line-height:1.25;overflow-wrap:anywhere}
.property-workflow-card span{color:#5e7077;font-size:.9375rem;line-height:1.5;overflow-wrap:anywhere}
.property-workflow-card em{margin-top:auto;padding-top:7px;color:#2e6572;font-size:.875rem;font-style:normal;font-weight:700}
.property-description-block,.property-overview-legal{border-top:1px solid #e8eded;margin-top:23px;padding-top:20px}
.property-description-block h3,.property-overview-legal h3,.property-space-grid h3,.property-relation-group h3{font-size:.96rem;margin:0 0 13px;color:#243f49}
.property-description-block .property-rich-copy.is-collapsed{max-height:10.5em;overflow:hidden;mask-image:linear-gradient(#000 70%,transparent);-webkit-mask-image:linear-gradient(#000 70%,transparent)}
.property-description-toggle{margin-top:10px}
.property-space-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px}
.property-space-grid>div{min-width:0}
.property-space-grid .property-info-list{grid-template-columns:1fr}
.property-people-summary{margin-bottom:23px}
.property-relation-group+.property-relation-group{border-top:1px solid #e8eded;margin-top:22px;padding-top:20px}
.property-relation-group .section-heading{margin-bottom:10px}
.property-relation-group .contact-activity-group+.contact-activity-group{margin-top:20px}
.property-relation-group .contact-activity-group .section-heading{margin-bottom:4px}
.property-referent-label{text-align:right;padding-left:15px}
.property-referent-label small{display:block;font-size:.63rem;letter-spacing:.09em;color:#89979b;font-weight:800}
.property-referent-label strong{display:block;font-size:.82rem;margin-top:3px}
.property-features{margin-top:24px;padding-top:22px;border-top:1px solid #e9eced}
.property-features h3{margin-bottom:12px}
.property-features>div,.property-document-tags{display:flex;flex-wrap:wrap;gap:8px}
.property-features span,.property-document-tags span{display:inline-flex;padding:7px 11px;border-radius:8px;background:#eef3f2;color:#3d5c61;font-size:.76rem;font-weight:700;line-height:1.3}
.property-commercial h3{margin:25px 0 12px}
.property-pricing-block+.property-pricing-block{margin-top:32px;padding-top:26px;border-top:1px solid #e5ebea}
.property-pricing-block h3{margin:0 0 12px;font-size:1.1rem}
.property-pricing .property-calculated-total{margin-bottom:0}
.property-info-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 23px;margin:0}
.property-info-list>div{display:flex;justify-content:space-between;gap:16px;border-bottom:1px solid #edf0f0;padding:14px 0;font-size:1rem;line-height:1.5}
.property-info-list dt{color:#5e7077}
.property-info-list dd{margin:0;color:#243c43;text-align:right;font-weight:750;overflow-wrap:anywhere}
.property-section-empty{margin:0;padding:4px 0}
.property-document-note{margin:17px 0 12px;color:#73858a;font-size:.8rem;line-height:1.5}
.property-document-tags span{background:#f5f5f2;color:#6b797c}
.property-doc-intro{margin:0 0 14px;color:#61777d;font-size:.82rem;line-height:1.5}
.property-doc-summary{display:flex;align-items:baseline;gap:9px;flex-wrap:wrap;margin-bottom:17px;padding:13px 16px;border-radius:11px;background:#eaf2ef;color:#274f42}
.property-doc-summary strong{font-size:1.35rem}.property-doc-summary span{font-weight:800;font-size:.82rem}.property-doc-summary small{margin-left:auto;color:#547569;font-size:.74rem;font-weight:700}
.property-doc-view-tier{margin-top:16px}.property-doc-view-tier>h3{margin:0 0 9px;font-size:.94rem}.property-doc-view-group{margin-top:12px}.property-doc-view-group h4{margin:0 0 6px;color:#6a7e80;font-size:.72rem;text-transform:uppercase;letter-spacing:.07em}
.property-doc-view-rows{border:1px solid #e1e8e7;border-radius:10px;overflow:hidden}.property-doc-view-row{display:grid;grid-template-columns:10px minmax(0,1fr) auto auto;align-items:center;gap:10px;min-height:43px;padding:9px 12px;border-top:1px solid #e8eded;font-size:.77rem}.property-doc-view-row:first-child{border-top:0}.property-doc-view-row strong{color:#30484d;font-weight:700}.property-doc-view-row>span:nth-of-type(2){color:#8e6450;font-size:.72rem;white-space:nowrap}.property-doc-view-row[data-state=attached]>span:nth-of-type(2){color:#287150}.property-doc-view-row[data-state=present]>span:nth-of-type(2){color:#9a751c}.property-doc-view-row a{color:#276079;font-weight:800;text-decoration:none;white-space:nowrap}.property-doc-view-dot{width:8px;height:8px;border-radius:50%;background:#d8a998}.property-doc-view-row[data-state=present] .property-doc-view-dot{background:#d9b753}.property-doc-view-row[data-state=attached] .property-doc-view-dot{background:#5fa77c}
.property-doc-view-secondary{padding-top:15px;border-top:1px solid #e5ebeb}.property-doc-view-secondary>summary{display:flex;align-items:center;gap:12px;cursor:pointer;font-size:.9rem;font-weight:800;color:#314d54}.property-doc-view-secondary>summary small{margin-left:auto;color:#6e8184;font-size:.72rem;font-weight:650}.property-doc-folder{margin-top:20px}
.property-internal-notes p{white-space:pre-wrap;color:#3e5056;line-height:1.6;margin:10px 0 0}
.property-editor{max-width:1040px;gap:12px}
.property-editor-nav{position:sticky;top:76px;z-index:4;display:flex;gap:7px;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:thin;padding:9px;background:#f7f6f3e8;backdrop-filter:blur(14px);border-radius:12px}
.property-editor-nav a{flex:none;display:inline-flex;align-items:center;min-height:32px;padding:6px 11px;border:1px solid #dce5e5;border-radius:100px;background:#fff;color:#415b62;font-size:.73rem;font-weight:750;text-decoration:none;white-space:nowrap}
.property-editor-nav a:hover,.property-editor-nav a:focus-visible{background:#eaf2f2;border-color:#86a6aa;color:#183d49}
.property-editor-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:2px 4px 4px}
.property-editor-toolbar p{margin:0;color:#667c80;font-size:.79rem;line-height:1.4}
.property-editor-toolbar>div{display:flex;flex-wrap:wrap;gap:7px}
.property-editor-toolbar button{border:1px solid #dce5e5;border-radius:8px;background:#fff;color:#35535d;padding:7px 10px;font-size:.75rem;font-weight:750;white-space:nowrap}
.property-editor-toolbar button:hover,.property-editor-toolbar button:focus-visible{background:#eaf2f2;border-color:#86a6aa}
.property-editor .property-editor-section.form-section{padding:0 24px 20px}
.property-editor .property-editor-section.form-section:not([open]){padding-bottom:0}
.property-editor .property-editor-section>summary.property-editor-section-summary{display:flex;align-items:center;gap:13px;list-style:none;cursor:pointer;color:#1b343f}
.property-editor .property-editor-section>summary.property-editor-section-summary::-webkit-details-marker{display:none}
.property-editor .property-editor-section.form-section>summary.property-editor-section-summary{min-height:73px;padding:15px 24px;margin:0 -24px 18px;border-bottom:1px solid #ebeeee}
.property-editor .property-editor-section.form-section:not([open])>summary.property-editor-section-summary{margin-bottom:0;border-bottom:0}
.property-editor .property-editor-section>summary.property-editor-section-summary .step{flex:none;width:34px;height:34px}
.property-editor .property-editor-section>summary.property-editor-section-summary .property-editor-section-title{flex:1;min-width:0}
.property-editor .property-editor-section>summary.property-editor-section-summary strong{display:block;font-size:1rem;line-height:1.25}
.property-editor .property-editor-section>summary.property-editor-section-summary small{display:block;margin:3px 0 0;color:#75898a;font-size:.76rem;font-weight:450;line-height:1.35}
.property-editor .property-editor-section>summary.property-editor-section-summary:after{content:'⌄';flex:none;font-size:1.3rem;line-height:1;color:#60777e;transition:transform .15s}
.property-editor .property-editor-section[open]>summary.property-editor-section-summary:after{transform:rotate(180deg)}
.property-editor .property-editor-section>summary.property-editor-section-summary:hover{background:#f7faf9}
.property-editor .property-editor-section>summary.property-editor-section-summary:focus-visible{outline:3px solid #88a5af;outline-offset:-3px}
.property-editor .property-editor-detail>summary.property-editor-section-summary{justify-content:flex-start}
.property-editor .property-editor-detail>summary.property-editor-section-summary .step{flex:none}
.property-editor .property-editor-detail>summary.property-editor-section-summary .property-editor-section-title{flex:1}
@media(max-width:900px){.property-editor-toolbar{align-items:flex-start;flex-direction:column;padding:0 2px 4px}.property-editor .property-editor-section.form-section{padding:0 18px 18px}.property-editor .property-editor-section.form-section:not([open]){padding-bottom:0}.property-editor .property-editor-section.form-section>summary.property-editor-section-summary{margin:0 -18px 16px;padding:14px 18px}.property-editor .property-editor-section.form-section:not([open])>summary.property-editor-section-summary{margin-bottom:0}.property-editor .property-editor-section>summary.property-editor-section-summary{gap:10px}.property-editor .property-editor-section>summary.property-editor-section-summary strong{font-size:.9rem}.property-editor .property-editor-section>summary.property-editor-section-summary small{font-size:.7rem}}
.property-editor>section[id],.property-editor>details[id]{scroll-margin-top:145px}
#property-listing-types{scroll-margin-top:125px}
.property-editor .step-head{margin-bottom:15px}
.property-editor .step-head p{color:#6c8185}
.property-editor .step{width:34px;height:34px;border-radius:9px}
.property-editor .fields{gap:12px;margin-bottom:12px}
.property-editor .field{margin-bottom:12px}
.property-editor .fields .field{margin-bottom:0}
.property-editor .field input,.property-editor .field select,.property-editor .field textarea{padding:9px 11px}
.property-editor .field-heading{position:relative;display:flex;align-items:center;gap:7px;margin-bottom:7px;min-width:0}
.property-editor .field-heading>label{color:#38484d;font-size:.77rem;font-weight:700;line-height:1.35}
.property-editor .field-help-wrap{display:inline-flex;align-items:center;flex:none}
.property-editor .field-help-button{display:inline-grid;place-items:center;width:19px;height:19px;padding:0;border:1px solid #90a6a8;border-radius:50%;background:#f2f7f6;color:#315763;font:700 12px/1 Arial,sans-serif;cursor:help}
.property-editor .field-help-button:hover,.property-editor .field-help-button:focus-visible{border-color:#315763;background:#dcebed;color:#183d49;outline:2px solid #a9c7cb;outline-offset:2px}
.property-editor .field-help-tooltip{position:absolute;left:0;top:calc(100% + 8px);z-index:10;width:min(340px,100%);box-sizing:border-box;padding:12px 14px;border-radius:9px;background:#1d3a44;color:#fff;font-size:.76rem;font-weight:400;line-height:1.5;box-shadow:0 12px 30px #0a293442;visibility:hidden;opacity:0;pointer-events:none;transition:opacity .12s ease;white-space:normal}
.property-editor .field-help-wrap:hover .field-help-tooltip,.property-editor .field-help-wrap:focus-within .field-help-tooltip{visibility:visible;opacity:1;pointer-events:auto}
.property-editor .property-check-field{position:relative}
.property-editor .property-check-field legend .field-help-wrap{margin-left:5px;vertical-align:middle}
.property-editor .property-check-field .field-help-tooltip{top:26px;width:min(340px,100%)}
.property-editor .property-calculated-field{position:relative}
.property-editor .property-calculated-field>span{display:inline-flex;align-items:center;gap:6px}
.property-editor .property-calculated-field .field-help-tooltip{left:15px;top:calc(100% + 5px);width:calc(100% - 30px)}
.property-commercial-editor .contact-detail-body{display:grid;gap:14px}
.property-commercial-panel{padding:18px;border:1px solid #e2e9e9;border-radius:12px;background:#fbfcfc}
.property-mandate-card{padding:0;overflow:visible}
.property-mandate-card[open]{padding:0 18px 18px}
.property-mandate-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 18px;cursor:pointer;color:#28434b;font-size:.92rem;font-weight:800;list-style:none}
.property-mandate-summary>span:first-child{min-width:0}
.property-mandate-state{display:inline-flex;align-items:center;justify-content:center;flex:none;padding:5px 10px;border-radius:100px;background:#e8f2ed;color:#276044;font-size:.71rem;font-weight:800;white-space:nowrap}
.property-mandate-state[data-tone=expired]{background:#f9e8e3;color:#9b4535}
.property-mandate-state[data-tone=closed]{background:#e9eef5;color:#456075}
.property-mandate-state[data-tone=unknown],.property-mandate-state[data-tone=pending]{background:#f6efde;color:#86601f}
.property-mandate-summary::-webkit-details-marker{display:none}
.property-mandate-summary small{margin-left:auto;color:#526871;font-size:.72rem;font-weight:700}
.property-mandate-summary::after{content:'⌄';font-size:1.15rem;line-height:1;transition:transform .15s}
.property-mandate-card[open]>.property-mandate-summary{margin:0 -18px 16px;border-bottom:1px solid #e4ebed}
.property-mandate-card[open]>.property-mandate-summary::after{transform:rotate(180deg)}
.property-mandate-summary:hover,.property-mandate-summary:focus-visible{background:#edf5f5;outline:none}
.property-commercial-panel h3{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin:0 0 15px;padding-bottom:10px;border-bottom:1px solid #e9eeee;color:#28434b;font-size:.92rem}
.property-commercial-panel h3 small{color:#7f9092;font-size:.7rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em}
.property-mandate-card>h4{margin:24px 0 13px;padding-top:14px;border-top:1px solid #e4ebed;color:#28434b;font-size:.84rem}
.property-mandate-dates{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:12px 0 18px}
.property-mandate-dates>div{padding:12px;border-radius:9px;background:#edf5f7}
.property-mandate-dates span{display:block;color:#526871;font-size:.72rem;font-weight:700}
.property-mandate-dates strong{display:block;margin-top:4px;color:#254b58}
.property-mandate-dates .property-mandate-validity{position:relative;background:#eaf4ee;border:1px solid #c7dfd0}
.property-mandate-validity[data-tone=expired]{background:#fff0ec;border-color:#edcbc3}
.property-mandate-validity[data-tone=unknown],.property-mandate-validity[data-tone=pending]{background:#fff7e8;border-color:#ead9b8}
.property-mandate-validity strong{font-size:.97rem}
.property-mandate-validity small{display:block;color:#526871;line-height:1.35;margin-top:3px;font-size:.69rem}
.property-mandate-validity .field-help-wrap{display:inline-flex;vertical-align:middle;margin-left:4px}
.property-mandate-validity .field-help-tooltip{left:10px;top:36px;width:calc(100% - 20px);font-weight:400}
.mandate-key-fields{grid-template-columns:minmax(0,1.5fr) repeat(2,minmax(0,1fr))}
.property-mandate-detail{padding:22px 0;border-top:1px solid #e3ebed}
.property-mandate-detail:first-of-type{border-top:0;padding-top:0}
.property-mandate-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:4px}
.property-mandate-head h3{margin:0!important}
.property-mandate-head small{font-size:.72rem;font-weight:750;color:#526871}
.property-mandate-reason{margin:0 0 13px;color:#526871;font-size:.75rem;line-height:1.4}
.property-mandate-alert{padding:9px 12px;border-radius:8px;background:#fff4df;color:#795820;font-size:.8rem;font-weight:700}
.property-commercial-panel .field:last-child,.property-commercial-panel .fields:last-child{margin-bottom:0}
.property-commercial-panel [hidden]{display:none!important}
.property-current-file{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:-3px 0 13px;font-size:.76rem}
.property-current-file a,.property-attachment-link{color:#256079;font-weight:700;overflow-wrap:anywhere}
.property-current-file label{display:inline-flex;align-items:center;gap:5px;color:#8a4a3d;cursor:pointer}
.property-current-file input{accent-color:#8a4a3d}
.property-doc-context{padding:12px 14px 0;border:1px solid #e2e9e8;border-radius:11px;background:#f9fbfa}.property-doc-progress{padding:11px 14px;border-radius:9px;background:#e8f2ed;color:#315b48;font-size:.79rem;font-weight:800}
.property-doc-tier{border:1px solid #dfe8e7;border-radius:11px;background:#fff;overflow:hidden}.property-doc-tier>summary{display:flex;align-items:center;gap:12px;padding:14px 16px;cursor:pointer;list-style:none}.property-doc-tier>summary::-webkit-details-marker{display:none}.property-doc-tier>summary strong{color:#254750;font-size:.9rem}.property-doc-tier>summary small{margin-left:auto;color:#698185;font-size:.72rem;font-weight:700}.property-doc-tier[open]>summary{border-bottom:1px solid #e5ebea}.property-doc-tier-body{padding:4px 16px 16px}.property-doc-group{margin-top:13px}.property-doc-group h4{margin:0 0 8px;color:#708384;font-size:.7rem;letter-spacing:.07em;text-transform:uppercase}.property-doc-rows{display:grid;gap:7px}
.property-doc-row{padding:10px 12px;border:1px solid #e3eaea;border-radius:9px;background:#fbfcfc}.property-doc-row-main{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.property-doc-presence{display:flex;align-items:flex-start;gap:9px;min-width:0;cursor:pointer}.property-doc-presence>input{flex:none;width:17px;height:17px;margin:2px 0 0;accent-color:#315e54}.property-doc-presence span{display:grid;gap:2px}.property-doc-presence strong{color:#30474c;font-size:.78rem;line-height:1.35}.property-doc-presence small{color:#7b8c8e;font-size:.68rem}.property-doc-promote{display:flex;align-items:center;gap:5px;flex:none;color:#657c80;font-size:.68rem;cursor:pointer}.property-doc-promote input{accent-color:#315e54}.property-doc-attachment{margin:10px 0 0 26px;padding-top:9px;border-top:1px solid #e8eded}.property-doc-attachment>input[type=file]{width:100%;font-size:.72rem;color:#62777b}.property-doc-attachment>input[type=file]::file-selector-button{padding:6px 10px;margin-right:9px;border:1px solid #cadbdc;border-radius:7px;background:#f0f6f5;color:#31545d;font:inherit;font-weight:800;cursor:pointer}.property-doc-attachment .property-current-file{margin:8px 0 0}.property-doc-other-heading{margin:18px 0 3px;color:#2e4c55;font-size:.86rem}
.property-contact-picker{position:relative;min-width:0}
.property-contact-input{position:relative}
.property-contact-input input{width:100%;padding-right:42px}
.property-contact-picker input[type=hidden]{display:none}
.property-contact-input>button{position:absolute;right:7px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:28px;height:28px;padding:0;border:0;border-radius:8px;background:#e6eeee;color:#35535c;font-size:1.1rem;cursor:pointer}
.property-contact-input>button[data-property-contact-clear]{right:39px;background:transparent}
.property-contact-input>button:hover,.property-contact-input>button:focus-visible{background:#d3e4e7;outline:2px solid #9cbec5}
.property-contact-results{position:fixed;z-index:30;max-height:250px;overflow:auto;padding:5px;border:1px solid #a9bdc1;border-radius:10px;background:#fff;box-shadow:0 14px 32px #1635412b}
.property-contact-option{display:block;width:100%;padding:10px 12px;border:0;border-radius:6px;background:transparent;text-align:left;color:#243e46;cursor:pointer}
.property-contact-option strong,.property-contact-option small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.property-contact-option strong{font-size:.8rem}
.property-contact-option small{margin-top:2px;color:#6a7f84;font-size:.7rem}
.property-contact-option:hover,.property-contact-option.active,.property-contact-option[aria-selected=true]{background:#eaf4f5}
.property-contact-empty{margin:0;padding:11px;color:#667b82;font-size:.77rem}
.property-contact-input .property-contact-search-icon{position:absolute;left:12px;top:50%;transform:translateY(-50%);color:#6e878e;font-size:1.15rem;line-height:1;pointer-events:none}
.property-editor .property-contact-input input[type=search]{min-height:42px;padding:9px 75px 9px 35px;border-radius:9px;appearance:none}
.property-contact-input>button[hidden],.property-contact-results[hidden]{display:none}
.property-contact-option-new{border-top:1px solid #e7eeee;border-radius:0;color:#286174;font-weight:750}
.property-editor .property-editor-detail{overflow:visible}
.property-editor .property-editor-detail:has(.property-contact-results:not([hidden])){position:relative;z-index:6}
.property-section-actions{display:flex;align-items:center;gap:9px}
.property-detail-grid .list-search{padding:0 0 13px;margin:0 0 13px}
.property-detail-grid .list-search label{width:min(100%,430px)}
.property-detail-grid .list-search input{min-height:42px;border-color:#d8e0e2;border-radius:9px;padding:9px 12px 9px 35px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%236e878e' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-4-4'/%3E%3C/svg%3E") no-repeat 11px center}
@media(max-width:700px){.property-contact-results{max-height:180px}}
.property-commission-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:12px 0}
.property-commission-grid>div{padding:14px;border:1px solid #e0e8e9;border-radius:10px;background:#fff;min-width:0}
.property-commission-grid span{display:block;color:#526871;font-size:.68rem;font-weight:800;text-transform:uppercase;letter-spacing:.03em}
.property-commission-grid strong{display:block;margin-top:7px;color:#213c45;font-size:1.03rem;overflow-wrap:anywhere}
.property-commission-grid .net{border-color:#96b9c5;background:#eff7f9}
.property-commission-grid .net strong{color:#1d6178}
.property-commercial-summary{margin-top:22px}
.property-attachment-list{display:flex;flex-wrap:wrap;gap:10px;margin-top:19px}
.property-attachment-link{padding:9px 12px;border:1px solid #d5e4e8;border-radius:8px;background:#f1f7f8;text-decoration:none;font-size:.77rem}
.property-pricing-section[hidden]{display:none!important}
.property-calculated-field{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 16px;margin:14px 0;padding:15px 18px;background:#f3f6f5;border:1px solid #dfe8e8;border-radius:10px;color:#43595e;font-size:.85rem;font-weight:700}
.property-calculated-field strong{font-size:1.12rem;color:#213d45;white-space:nowrap}
.property-calculated-field small{flex-basis:100%;color:#607579;font-size:.76rem;font-weight:400;line-height:1.45}
.property-calculated-total{background:#eaf1f0;border-color:#c6d9d7;margin-top:18px}
.property-calculated-total strong{font-size:1.35rem}
.property-editor .form-section{padding:20px 24px}
.property-editor .contact-detail>summary{padding:17px 24px}
.property-editor .contact-detail-body{padding:20px 24px}
.property-editor-detail .contact-detail-body>.fields,.property-editor-detail .contact-detail-body>.field{margin-bottom:0}
.property-editor-detail .contact-detail-body{display:grid;gap:12px}
.property-editor-detail .contact-detail-body>.form-help{margin:0}
.property-editor .property-commercial-editor .contact-detail-body{gap:12px}
.property-editor .property-mandate-card>h4{margin:18px 0 10px;padding-top:12px}
.property-editor .form-help{margin:10px 0 0}
.property-check-field{border:0;padding:0;margin:3px 0 0}
.property-check-field legend{font-size:.8rem;font-weight:800;color:#38484d;margin:0 0 9px}
.property-check-field>small{display:block;color:#607579;font-size:.76rem;line-height:1.45;margin-top:8px}
.property-checks{display:flex;flex-wrap:wrap;gap:9px}
.property-checks label{display:flex;align-items:center;gap:8px;padding:9px 13px;background:#f8faf9;border:1px solid #dce4e5;border-radius:9px;cursor:pointer;color:#40545b;font-size:.82rem;font-weight:700}
.property-checks label:has(input:checked){background:#eaf1f1;border-color:#8da9ad;color:#254651}
.property-checks input{accent-color:#315665}
.property-option-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 14px;margin:3px 0 18px}
.property-option-grid label{display:flex;align-items:flex-start;gap:9px;min-height:38px;padding:9px 10px;border:1px solid #e1e8e9;border-radius:9px;background:#fbfcfb;color:#34494e;font-size:.78rem;line-height:1.35;cursor:pointer}
.property-option-grid label:has(input:checked){border-color:#8faeaf;background:#edf5f3;color:#204450;font-weight:700}
.property-option-grid input{flex:none;width:17px;height:17px;margin:0;accent-color:#315665}
.property-photo-help{margin:15px 0 0;padding:12px 15px;background:#f5f7f6;border-radius:9px;color:#61757a;font-size:.78rem;line-height:1.5}
.property-editor-actions{position:sticky;bottom:0;z-index:3;background:#f7f6f3ed;backdrop-filter:blur(12px);padding:10px 0;margin:0;border-top:1px solid #dfe6e7}
@media(max-width:900px){.property-section-nav{top:64px}.property-editor-nav{top:62px;margin:0 -6px;padding:7px 6px}.property-editor>section[id],.property-editor>details[id]{scroll-margin-top:120px}.property-quick-edit{display:inline-flex}.property-info-list{grid-template-columns:1fr}.property-editor .form-section{padding:18px}.property-editor-actions{bottom:60px;padding:8px 0}.property-referent-label{max-width:135px}.mandate-key-fields{grid-template-columns:1fr}.property-mandate-dates{grid-template-columns:repeat(2,minmax(0,1fr))}.property-mandate-validity{grid-column:1/-1}}
@media(max-width:1050px){.property-workflow-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.property-space-grid{grid-template-columns:1fr;gap:22px}.property-space-grid>div+div{border-top:1px solid #e8eded;padding-top:20px}}
@media(max-width:520px){.property-workflow-grid{grid-template-columns:1fr 1fr}.property-workflow-card{padding:12px;gap:7px}.property-workflow-card strong{font-size:1rem}}
@media(max-width:900px){.property-editor .contact-detail>summary{padding:16px 18px}.property-editor .contact-detail-body{padding:18px}.property-section-actions{flex-wrap:wrap;justify-content:flex-end}.property-section-actions .button{white-space:normal;text-align:center}}
@media(max-width:480px){.property-mandate-summary{gap:7px;padding:14px 13px;font-size:.84rem}.property-mandate-summary small{font-size:.65rem}.property-mandate-state{padding:4px 7px;font-size:.64rem}.property-mandate-card[open]{padding:0 13px 14px}.property-mandate-card[open]>.property-mandate-summary{margin:0 -13px 13px}.property-editor .step-head p{font-size:.73rem}}
@media(max-width:600px){.property-calculated-field{align-items:flex-start;flex-direction:column;gap:5px}.property-calculated-field strong{white-space:normal}}
@media(max-width:600px){.property-option-grid{grid-template-columns:1fr;gap:6px}}
@media(max-width:900px){.property-commission-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.property-commercial-panel{padding:14px}.property-commission-grid{grid-template-columns:1fr 1fr;gap:7px}.property-commission-grid>div{padding:10px}.property-commission-grid strong{font-size:.9rem}}
@media(max-width:480px){.property-mandate-dates{grid-template-columns:1fr}}
@media(max-width:600px){.property-doc-context{padding:12px}.property-doc-tier-body{padding:4px 10px 12px}.property-doc-row-main{display:block}.property-doc-promote{margin:8px 0 0 26px}.property-doc-view-row{grid-template-columns:9px minmax(0,1fr) auto;gap:7px}.property-doc-view-row a{grid-column:2/-1}.property-doc-summary small{margin-left:0}}
@media(max-width:600px){.property-facts{gap:9px}.property-facts>div{padding:13px}.property-overview .section-heading{gap:6px}}
.property-photo-upload{position:relative;display:flex;align-items:center;flex-wrap:wrap;column-gap:10px;row-gap:2px;min-height:72px;padding:13px 17px;border:1px dashed #93adb0;border-radius:12px;background:#f5f9f8;color:#244b56;cursor:pointer}
.property-photo-upload:hover,.property-photo-upload:focus-within{border-color:#315665;background:#ebf3f1}
.property-photo-upload-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:9px;background:#dcebe9;font-size:1.25rem;grid-row:span 2}
.property-photo-upload strong{font-size:.86rem}
.property-photo-upload small{flex-basis:calc(100% - 44px);margin-left:44px;color:#657c7e;font-size:.74rem}
.property-photo-upload input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.property-photo-grid,.property-gallery-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:12px;margin-top:17px}
.property-photo-card{min-width:0;overflow:hidden;border:1px solid #dfe7e7;border-radius:11px;background:#fff}
.property-photo-card>img,.property-gallery-grid img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;background:#e9eeee}
.property-photo-card-info{padding:10px 11px}
.property-photo-card-info>span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.75rem;font-weight:700;color:#314b52}
.property-photo-card-actions{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:8px}
.property-photo-card-actions label{display:flex;align-items:center;gap:5px;font-size:.72rem;font-weight:700;cursor:pointer}
.property-photo-card-actions input{accent-color:#315665}
.property-photo-card-actions button{border:0;background:none;padding:3px;color:#986253;font-size:.72rem;font-weight:700}
.property-photo-card-actions button:hover{text-decoration:underline}
.property-photo-empty{margin:14px 0 0;color:#819187;font-size:.8rem}
.property-photo-empty[hidden]{display:none}
.property-gallery-grid{grid-template-columns:repeat(auto-fill,minmax(190px,1fr));margin-top:0}
.property-gallery-grid a{min-width:0;overflow:hidden;border:1px solid #e2e8e8;border-radius:10px;text-decoration:none;color:#344c52;background:#f7faf9}
.property-gallery-grid a:hover{border-color:#8da8ac;box-shadow:0 5px 16px #1b343f12}
.property-gallery-grid span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:8px 10px;font-size:.73rem;font-weight:700}
@media(max-width:600px){.property-photo-grid,.property-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.property-gallery .section-heading{align-items:flex-start}.property-gallery .property-section-actions{gap:6px}.property-gallery .property-section-actions .button{min-width:0;padding:7px 9px}}
.property-cover-slides,.property-cover-slide{position:absolute;inset:0}
.property-cover-slide img{width:100%;height:100%;object-fit:cover}
.property-cover-slide .property-cover-empty{position:absolute;inset:0;background:#e8eeee}
.property-carousel-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:1;width:42px;height:42px;display:grid;place-items:center;border:1px solid #ffffff88;border-radius:50%;background:#1b343fb8;color:#fff;font-size:2rem;line-height:1;box-shadow:0 3px 12px #122c3240}
.property-carousel-arrow:hover{background:#1b343f}
.property-carousel-arrow.previous{left:16px}
.property-carousel-arrow.next{right:16px}
.property-cover-toolbar{position:absolute;left:10px;right:10px;bottom:10px;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;pointer-events:none}
.property-photo-counter{padding:5px 8px;border-radius:7px;background:#1b343f;color:#fff;font-size:.8125rem;font-weight:700;white-space:nowrap}
.property-gallery-open{pointer-events:auto;min-height:44px;padding:8px 12px;border:1px solid #ffffffb0;border-radius:9px;background:#fff;color:#1b343f;font-size:.875rem;font-weight:700;box-shadow:0 3px 15px #10262b36}
.property-gallery-open:hover{background:#edf3f2}
.property-empty-photo-action{position:absolute;right:16px;bottom:16px}
.property-gallery-dialog{width:min(1000px,calc(100vw - 32px));max-height:min(94vh,980px);padding:0;border:0;border-radius:16px;background:#fff;color:#1b343f;box-shadow:0 24px 80px #051b1e68;overflow:auto}
.property-gallery-dialog::backdrop{background:#0c1d24d9}
.property-gallery-dialog-header{display:flex;align-items:start;justify-content:space-between;gap:20px;padding:20px 24px 16px}
.property-gallery-dialog-header .eyebrow{margin:0 0 4px}
.property-gallery-dialog-header h2{font-size:1.25rem;line-height:1.2}
.property-gallery-close{width:36px;height:36px;flex:none;border:1px solid #dce4e5;border-radius:9px;background:#fff;color:#31505a;font-size:1.5rem;line-height:1}
.property-gallery-close:hover{background:#edf3f2}
.property-gallery-stage{position:relative;display:grid;place-items:center;min-height:260px;height:min(55vh,620px);background:#182a30;overflow:hidden}
.property-gallery-stage>img{display:block;max-width:100%;max-height:100%;object-fit:contain}
.property-gallery-image-fallback{color:#fff;font-size:.9rem}
.property-gallery-dialog [hidden]{display:none}
.property-gallery-caption{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;padding:11px 24px;color:#4a5e64;font-size:.8rem;font-weight:700}
.property-gallery-caption [data-gallery-photo-name]{flex:1;min-width:0;overflow-wrap:anywhere}
.property-gallery-caption [data-gallery-counter]{flex:none;white-space:nowrap;font-variant-numeric:tabular-nums}
.property-gallery-grid{display:flex;gap:8px;margin:0;padding:6px 24px 18px;overflow-x:auto;scrollbar-width:thin}
.property-gallery-grid button{flex:0 0 104px;min-width:0;overflow:hidden;padding:0;border:2px solid transparent;border-radius:8px;background:#f3f6f6;text-align:left;color:#455a60}
.property-gallery-grid button[aria-pressed="true"]{border-color:#315665;background:#edf3f2}
.property-gallery-grid button:hover{border-color:#93afb2}
.property-gallery-grid img{aspect-ratio:4/3}
.property-gallery-grid span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:5px 7px;font-size:.65rem;font-weight:700}
.property-gallery-footer{display:flex;justify-content:flex-end;padding:0 24px 22px}
@media(max-width:600px){.property-carousel-arrow{width:36px;height:36px;font-size:1.7rem}.property-carousel-arrow.previous{left:9px}.property-carousel-arrow.next{right:9px}.property-cover-toolbar{left:10px;right:10px;bottom:10px}.property-gallery-open{font-size:.72rem;padding:7px 10px}.property-gallery-dialog{width:100vw;max-height:100dvh;height:100dvh;border-radius:0}.property-gallery-dialog-header{padding:16px}.property-gallery-stage{height:48dvh;min-height:220px}.property-gallery-caption{padding:10px 16px}.property-gallery-grid{padding:5px 16px 16px}.property-gallery-footer{padding:0 16px 16px}}
.property-marketing-editor .contact-detail-body{gap:10px}
.property-marketing-editor .contact-detail-body>h3{margin:12px 0 1px;padding-top:13px;border-top:1px solid #e7eded;color:#29434b;font-size:.88rem}
.property-marketing-editor .contact-detail-body>h3:first-of-type{border-top:0;padding-top:2px}
.property-marketing-state{display:flex;align-items:center;gap:11px;flex-wrap:wrap;padding:11px 13px;border:1px solid #dce7df;border-radius:10px;background:#edf6f0;color:#2c6048;font-size:.78rem}
.property-marketing-state[data-tone=off]{border-color:#eadfce;background:#fbf6ed;color:#835c27}
.property-marketing-state strong{font-size:.84rem}
.property-marketing-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:12px;align-items:start;padding:11px 12px;border:1px solid #e3e9e9;border-radius:10px;background:#fbfcfc}
.property-marketing-row>*{min-width:0}
.property-marketing-row>.field,.property-marketing-conditional>.field{margin:0}
.property-marketing-conditional[hidden]{display:none}
.property-marketing-conditional .property-current-file{margin-top:8px}
.property-marketing-editor .contact-detail-body>.field{margin:5px 0 0}
.property-marketing-badge{display:inline-flex;align-items:center;padding:6px 10px;border-radius:30px;background:#e3f1e8;color:#276044;font-size:.72rem;font-weight:800;white-space:nowrap}
.property-marketing-badge[data-tone=off]{background:#f7ebd6;color:#865f27}
.property-marketing-view-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.property-marketing-view-grid h3{margin:0 0 9px;color:#526a70;font-size:.8rem}
.property-marketing-view-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 9px;align-items:center;padding:9px 0;border-top:1px solid #e8eeee;font-size:.78rem}
.property-marketing-view-row strong{min-width:0;color:#2d454c;font-size:.8rem}
.property-marketing-view-row>span{font-size:.72rem;font-weight:800;color:#966528;white-space:nowrap}
.property-marketing-view-row>span[data-state=ready]{color:#2b7456}
.property-marketing-view-row a,.property-marketing-view-row small{grid-column:1/-1;font-size:.72rem}
.property-marketing-view-row a{color:#276079;font-weight:800;text-decoration:none}
.property-marketing-view-row a:hover{text-decoration:underline}
.property-marketing-view-row small{color:#859296}
@media(max-width:700px){.property-marketing-row,.property-marketing-view-grid{grid-template-columns:1fr}.property-marketing-row{gap:8px}.property-marketing .section-heading{align-items:flex-start}}
.edit-danger-zone{max-width:900px;margin-top:20px;overflow:hidden}
.edit-danger-zone summary{list-style:none;cursor:pointer;padding:18px 24px;color:#52656c;font-size:.85rem;font-weight:700}
.edit-danger-zone summary::-webkit-details-marker{display:none}
.edit-danger-zone summary::after{content:'⌄';float:right;font-size:1rem}
.edit-danger-zone[open] summary::after{content:'⌃'}
.edit-danger-zone summary:hover{background:#f8f9f9}
.edit-danger-zone>div{border-top:1px solid #e9eced;padding:20px 24px 24px}
.edit-danger-zone p{color:#697a80;font-size:.8rem;line-height:1.5;margin:0 0 14px}

/* Give Safari's native form controls the same dimensions as text fields. */
.property-editor .field input:not([type=file]):not([type=checkbox]):not([type=radio]):not([type=hidden]),
.property-editor .field select{height:42px;min-height:42px;box-sizing:border-box;line-height:1.25}
.property-editor .field select{-webkit-appearance:none;appearance:none;padding-right:35px;background-color:#fff;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='m3.5 6 4.5 4.5L12.5 6' stroke='%23536b73' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;background-size:16px 16px}
.property-editor .field select:disabled{background-color:#f5f7f7;color:#708186;opacity:1}

.property-file-picker{position:relative;display:flex;align-items:center;gap:10px;min-width:0;min-height:42px;padding:4px 7px;border:1px solid #dee2e3;border-radius:8px;background:#fff}
.property-file-picker:focus-within{border-color:#7696a1;box-shadow:0 0 0 3px #e3eaed}
.property-editor .property-file-picker>input[type=file]{position:absolute;width:1px;height:1px;min-height:0;padding:0;margin:0;border:0;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap}
.property-file-picker-button{display:inline-flex;align-items:center;justify-content:center;flex:none;min-height:32px;padding:6px 10px;border:1px solid #cfdddf;border-radius:6px;background:#edf3f3;color:#31545d;font-size:.76rem;font-weight:800;line-height:1.2;cursor:pointer;white-space:nowrap}
.property-file-picker-button:hover{background:#e1eded;border-color:#abc5c9}
.property-file-picker-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#72848a;font-size:.75rem}
.property-doc-attachment .property-file-picker{max-width:520px}

.property-catalog-filters{overflow:hidden;margin-bottom:18px}
.property-catalog-search{display:flex;align-items:end;justify-content:space-between;gap:20px;padding:18px 22px}
.property-catalog-search>.property-catalog-field{flex:1;max-width:520px}
.property-catalog-search>p{margin:0 0 8px;color:#61757c;font-size:.82rem;white-space:nowrap}
.property-catalog-search>p strong{color:#1b343f;font-size:1rem}
.property-catalog-applied{display:flex;align-items:center;flex-wrap:wrap;gap:9px;padding:0 22px 14px}
.property-catalog-applied[hidden]{display:none}
.property-catalog-applied>strong{flex:none;color:#526b70;font-size:.72rem;white-space:nowrap}
.property-catalog-chips{display:flex;flex:1;flex-wrap:wrap;gap:6px;min-width:0}
.property-catalog-chip{display:inline-flex;align-items:center;gap:8px;max-width:100%;min-height:27px;padding:4px 8px 4px 10px;border:1px solid #b7d2d0;border-radius:20px;background:#eaf4f1;color:#285a53;font-size:.71rem;font-weight:700;line-height:1.2}
.property-catalog-chip>span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.property-catalog-chip>span:last-child{font-size:1rem;line-height:.8}
.property-catalog-chip:hover,.property-catalog-chip:focus-visible{border-color:#6fa8a0;background:#dceee8}
.property-catalog-clear{flex:none;margin-left:auto;padding:4px 0;border:0;background:none;color:#8b523a;font-size:.73rem;font-weight:800;text-decoration:underline;text-underline-offset:2px}
.property-catalog-clear:hover{color:#643725}
.property-catalog-filters details{border-top:1px solid #e9eeee}
.property-catalog-filters summary{display:flex;align-items:center;gap:10px;list-style:none;padding:12px 22px;color:#27434d;font-size:.84rem;font-weight:800;cursor:pointer}
.property-catalog-filters summary::-webkit-details-marker{display:none}
.property-catalog-filters summary span{color:#819096;font-size:.73rem;font-weight:500}
.property-catalog-active-count{display:inline-flex;align-items:center;min-height:23px;margin-left:auto;padding:3px 8px;border-radius:20px;background:#e1f0ea;color:#2d6954;font-size:.7rem;white-space:nowrap}
.property-catalog-active-count[hidden]{display:none}
.property-catalog-filters summary::after{content:'⌄';margin-left:auto;color:#617d85;font-size:1.15rem;line-height:1}
.property-catalog-filters.has-active-filters summary::after{margin-left:0}
.property-catalog-filters details[open] summary::after{transform:rotate(180deg)}
.property-catalog-filter-body{border-top:1px solid #eef1f1;padding:17px 22px 18px;background:#fbfcfc}
.property-catalog-filter-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px 15px}
.property-catalog-field{display:block;min-width:0}
.property-catalog-field>span{display:block;margin-bottom:6px;color:#465b62;font-size:.71rem;font-weight:800;line-height:1.2}
.property-catalog-field input,.property-catalog-field select{display:block;width:100%;height:40px;min-width:0;border:1px solid #dce4e5;border-radius:8px;padding:8px 11px;background:#fff;color:#263a42;font-size:.79rem;outline:0}
.property-catalog-field select{-webkit-appearance:none;appearance:none;padding-right:30px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='m3.5 6 4.5 4.5L12.5 6' stroke='%23536b73' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center;background-size:14px 14px}
.property-catalog-field input:focus,.property-catalog-field select:focus{border-color:#7696a1;box-shadow:0 0 0 3px #e3eaed}
.property-catalog-field input::placeholder{color:#a1adb0}
.property-catalog-filter-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;margin-top:17px;padding-top:14px;border-top:1px solid #e7eded}
.property-catalog-filter-actions p{flex:1;max-width:590px;margin:0 auto 0 0;color:#789096;font-size:.73rem;line-height:1.35}
.property-catalog-filter-error{margin:10px 0 0;color:#a74330;font-size:.76rem;font-weight:700}
.property-catalog-filter-error[hidden]{display:none}
.property-catalog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}
.property-catalog-toolbar{display:flex;align-items:end;justify-content:space-between;gap:14px;margin:17px 0}
.property-catalog-sort,.mandate-monitor-sort{display:block;min-width:175px;color:#465b62;font-size:.71rem;font-weight:800}
.property-catalog-sort span,.mandate-monitor-sort span{display:block;margin-bottom:5px}
.property-catalog-sort select,.mandate-monitor-sort select{width:100%;height:42px;min-width:0;padding:8px 11px;border:1px solid #dce4e5;border-radius:9px;background:#fff;color:#263a42;font-size:.79rem;font-weight:700}
.property-catalog-sort select:focus,.mandate-monitor-sort select:focus{outline:2px solid #a9c2c8;outline-offset:1px}
.mandate-monitor-sort small{display:block;max-width:220px;margin-top:5px;color:#819096;font-size:.66rem;font-weight:500;line-height:1.25}
.mandate-monitor-sort small[hidden]{display:none}
.property-catalog-view-switch{display:flex;justify-content:flex-end;gap:3px;margin:0;padding:4px;border:1px solid #dce4e5;border-radius:10px;background:#fff;width:max-content;max-width:100%}
.property-catalog-view-button{min-height:34px;padding:6px 13px;border:0;border-radius:7px;background:transparent;color:#60777e;font-size:.78rem;font-weight:800}
.property-catalog-view-button:hover{background:#f0f4f4;color:#29434b}
.property-catalog-view-button.active{background:#1b343f;color:#fff}
.property-catalog-grid.is-list{grid-template-columns:minmax(0,1fr)}
.property-catalog-grid.is-list .property-catalog-card{display:grid;grid-template-columns:200px minmax(0,1fr)}
.property-catalog-grid.is-list .property-catalog-media{height:100%;min-height:245px;aspect-ratio:auto}
.property-catalog-grid.is-list .property-catalog-card-body{padding:16px 20px}
.property-catalog-grid.is-list .property-catalog-facts{margin-top:12px;padding:10px 0}
.property-catalog-grid.is-list .property-catalog-card-footer{padding-top:11px}
.property-catalog-card{display:flex;flex-direction:column;min-width:0;overflow:hidden;border:1px solid #e5eaea;border-radius:14px;padding:0;background:#fff;color:#1b343f;text-align:left;box-shadow:0 2px 12px #2145300a;transition:border-color .15s,box-shadow .15s,transform .15s}
.property-catalog-card:hover{border-color:#a4bbc0;box-shadow:0 9px 28px #163b4517;transform:translateY(-2px)}
.property-catalog-card:focus-visible{outline:3px solid #88a5af;outline-offset:3px}
.property-catalog-card[hidden]{display:none!important}
.property-catalog-media{position:relative;display:block;width:100%;aspect-ratio:16/10;overflow:hidden;background:linear-gradient(135deg,#e7edeb 0%,#d7e1e0 55%,#e9e4da 100%)}
.property-catalog-media>img{display:block;width:100%;height:100%;object-fit:cover}
.property-catalog-image-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:100%;color:#6d878a;font-size:3.1rem;line-height:1}
.property-catalog-image-empty small{font-size:.77rem;font-weight:700;line-height:1.3;margin-top:7px}
.property-catalog-image-empty[hidden]{display:none}
.property-catalog-media-badges{position:absolute;left:11px;top:11px;right:11px;display:flex;flex-wrap:wrap;gap:6px}
.property-catalog-status,.property-catalog-category{display:inline-flex;align-items:center;min-height:25px;border-radius:20px;padding:4px 9px;background:#fffdf6ed;color:#2d4349;font-size:.69rem;font-weight:800;line-height:1.2;box-shadow:0 1px 7px #102f3521}
.property-catalog-status{background:#dcece4;color:#286046}
.property-catalog-status[data-status="Bozza"],.property-catalog-status[data-status="Sospeso"]{background:#f6ead6;color:#865c27}
.property-catalog-status[data-status="Venduto"],.property-catalog-status[data-status="Affittato"],.property-catalog-status[data-status="Archiviato"]{background:#e4e9eb;color:#50656b}
.property-catalog-card-body{display:flex;flex:1;flex-direction:column;min-width:0;padding:16px 17px 14px}
.property-catalog-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;min-width:0}
.property-catalog-title{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;color:#1e3740;font-size:1.03rem;line-height:1.28;letter-spacing:-.02em}
.property-catalog-code{display:flex;flex:none;flex-direction:column;align-items:flex-end;gap:2px;color:#5e7077;line-height:1.4;text-align:right}
.property-catalog-code small{font-size:.8125rem;font-weight:600;letter-spacing:.025em}
.property-catalog-code b{color:#274551;font-size:.83rem;font-weight:850}
.property-catalog-location{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;margin-top:7px;color:#667e85;font-size:.75rem;font-weight:650;line-height:1.35;overflow-wrap:anywhere}
.property-catalog-tags{display:flex;flex-wrap:wrap;gap:5px;margin-top:11px}
.property-catalog-tags>span,.property-catalog-tags>em{padding:4px 8px;border-radius:6px;background:#eaf1f2;color:#325561;font-size:.65rem;font-style:normal;font-weight:800;line-height:1.2}
.property-catalog-tags>em{background:#f7efdf;color:#906423}
.property-catalog-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 12px;margin-top:13px;padding:12px 0;border-top:1px solid #edf0f0;border-bottom:1px solid #edf0f0}
.property-catalog-facts>span{min-width:0}
.property-catalog-facts>span:last-child{grid-column:1/-1}
.property-catalog-facts small,.property-catalog-prices small{display:block;color:#5e7077;font-size:.8125rem;font-weight:600;line-height:1.4}
.property-catalog-facts b{display:block;overflow:hidden;text-overflow:ellipsis;margin-top:3px;color:#29434b;font-size:.9375rem;white-space:normal;overflow-wrap:anywhere}
.property-catalog-card-footer{display:flex;align-items:flex-end;justify-content:space-between;gap:8px;margin-top:auto;padding-top:13px}
.property-catalog-prices{display:grid;gap:10px;min-width:0;width:100%}
.property-catalog-price-block{display:block;min-width:0}
.property-catalog-price-heading{display:block;margin-bottom:5px;color:#365660;font-size:.875rem;font-weight:700}
.property-catalog-price-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.property-catalog-price-pair>span{display:block;min-width:0}
.property-catalog-prices b{display:block;overflow:hidden;text-overflow:ellipsis;margin-top:3px;color:#1f3f4b;font-size:1rem;line-height:1.4;white-space:nowrap}
.property-catalog-price-empty{color:#70858b;font-size:.75rem;font-weight:700}
.property-catalog-arrow{display:grid;place-items:center;width:27px;height:27px;border-radius:8px;background:#edf3f4;color:#35545d;font-size:1rem;flex:none}
.property-catalog-grid.is-list .property-catalog-prices{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.property-catalog-grid.is-list .property-catalog-price-block:only-child{grid-column:1/-1}
.property-catalog-empty{padding:32px;text-align:center}
.property-catalog-empty[hidden]{display:none}
.property-catalog-empty strong{display:block;font-size:1rem}
.property-catalog-empty p{margin:6px 0 18px;color:#77898e;font-size:.82rem}
@media(max-width:1130px){.property-catalog-filter-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.property-catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.property-catalog-search{padding:16px;align-items:stretch;flex-direction:column;gap:9px}.property-catalog-search>p{margin:0}.property-catalog-applied{padding:0 16px 13px}.property-catalog-filters summary{padding:12px 16px}.property-catalog-filters summary span{display:none}.property-catalog-filter-body{padding:15px 16px}.property-catalog-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.property-catalog-filter-actions{flex-wrap:wrap}.property-catalog-filter-actions p{flex-basis:100%}.property-catalog-grid{gap:12px}}
@media(max-width:580px){.property-catalog-grid{grid-template-columns:1fr}.property-catalog-card-body{padding:16px}.property-catalog-filter-grid{grid-template-columns:1fr}}
@media(max-width:900px){.property-catalog-grid.is-list .property-catalog-card{grid-template-columns:125px minmax(0,1fr)}.property-catalog-grid.is-list .property-catalog-media{min-height:220px}.property-catalog-grid.is-list .property-catalog-card-body{padding:12px 13px}.property-catalog-grid.is-list .property-catalog-prices{gap:8px}}
@media(max-width:580px){.property-catalog-grid.is-list .property-catalog-card{display:flex}.property-catalog-grid.is-list .property-catalog-media{height:auto;min-height:0;aspect-ratio:16/8}.property-catalog-grid.is-list .property-catalog-card-body{padding:15px}.property-catalog-grid.is-list .property-catalog-prices{grid-template-columns:1fr}}

/* Mandati: monitoraggio basato sui dati della scheda immobile. */
.stats.four{grid-template-columns:repeat(4,minmax(0,1fr))}
.stat-card.sand{background:#ecebe5}
.mandate-monitor-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:18px}
.mandate-monitor-stats>div{padding:17px 19px;border:1px solid #e6ebec;border-radius:12px;background:#fff}
.mandate-monitor-stats span{display:block;color:#74868b;font-size:.75rem;font-weight:700}
.mandate-monitor-stats strong{display:block;margin-top:5px;color:#203d48;font-size:1.85rem;line-height:1.1}
.mandate-monitor{overflow:hidden}
.mandate-monitor-toolbar{padding:20px 22px 0}
.mandate-monitor-tabs{display:flex;flex-wrap:wrap;gap:7px}
.mandate-monitor-tabs .view-chip{min-height:34px;padding:7px 11px;white-space:nowrap}
.mandate-monitor-tabs .view-chip span{margin-left:4px;font-size:.72rem;opacity:.72}
.mandate-monitor-controls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;margin-top:19px}
.mandate-monitor-controls label:first-child{grid-column:1/-1}
.mandate-monitor-controls label{min-width:0;color:#40555d;font-size:.73rem;font-weight:700}
.mandate-monitor-controls label span{display:block;margin-bottom:6px}
.mandate-monitor-controls input,.mandate-monitor-controls select{width:100%;height:42px;padding:8px 11px;border:1px solid #dce4e6;border-radius:9px;background:#fff;color:#243943;font-size:.82rem;min-width:0}
.mandate-monitor-controls input:focus,.mandate-monitor-controls select:focus{outline:2px solid #a9c2c8;outline-offset:1px}
.mandate-monitor-list-head{display:flex;justify-content:space-between;gap:12px;align-items:end;margin-top:17px;padding:0 0 13px;border-bottom:1px solid #e8eded;color:#29424b;font-size:.78rem}
.mandate-monitor-list-head>strong{padding-bottom:11px}
.mandate-monitor-list{display:grid;gap:14px;padding:16px 22px 22px;background:#f3f6f7}
.mandate-monitor-card{display:grid;grid-template-columns:175px minmax(0,1fr);padding:0;border:1px solid #dce5e8;border-left:5px solid #b5c3c8;border-radius:12px;background:#fff;box-shadow:0 3px 10px #1b343f0c;min-width:0;overflow:hidden}
.mandate-monitor-card[data-priority="urgent"]{border-left-color:#b54e35;background:#fff8f5}
.mandate-monitor-card[data-priority="upcoming"]{border-left-color:#b17a1e;background:#fffbf2}
.mandate-monitor-card[data-priority="verify"]{border-left-color:#39728c;background:#f6fafc}
.mandate-monitor-card[hidden],.mandate-monitor-empty[hidden]{display:none!important}
.mandate-monitor-media{position:relative;min-height:100%;overflow:hidden;background:linear-gradient(135deg,#e7edeb,#d7e1e0 55%,#e9e4da)}
.mandate-monitor-media>img{display:block;width:100%;height:100%;object-fit:cover}
.mandate-monitor-image-empty{display:grid;place-content:center;gap:8px;width:100%;height:100%;min-height:240px;color:#628088;text-align:center;font-size:2rem}
.mandate-monitor-image-empty small{font-size:.72rem;font-weight:800}
.mandate-monitor-media-badges{position:absolute;top:10px;left:10px;right:10px;display:flex;flex-wrap:wrap;gap:5px}
.mandate-monitor-body{min-width:0;padding:18px 20px}
.mandate-monitor-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px}
.mandate-monitor-head>div:first-child{min-width:0}
.mandate-monitor-code{display:block;margin-bottom:4px;color:#73868d;font-size:.7rem;font-weight:800;letter-spacing:.03em}
.mandate-monitor-head h3{margin:0;color:#203943;font-size:1rem;line-height:1.3}
.mandate-monitor-property-code{display:block;flex:none;color:#203943;text-align:right}
.mandate-monitor-property-code small{display:block;color:#849398;font-size:.63rem;font-weight:800}
.mandate-monitor-property-code b{display:block;font-size:.95rem}
.mandate-monitor-location{margin:7px 0 0;color:#72878e;font-size:.78rem}
.mandate-monitor-badges{display:flex;flex-wrap:wrap;gap:6px;margin-top:11px}
.mandate-monitor-off-market{display:inline-flex;align-items:center;padding:5px 9px;border-radius:20px;background:#f3ead9;color:#8b6429;font-size:.69rem;font-weight:800}
.mandate-monitor-mine{display:inline-flex;align-items:center;padding:5px 10px;border-radius:100px;background:#e8f0f7;color:#2b5871;font-size:.71rem;font-weight:800;white-space:nowrap}
.mandate-monitor-attention{display:inline-flex;align-items:center;padding:5px 9px;border-radius:20px;background:#dcecf3;color:#265b72;font-size:.69rem;font-weight:800;white-space:nowrap}
.mandate-monitor-card[data-priority="urgent"] .mandate-monitor-attention{background:#f7ded5;color:#923c2b}
.mandate-monitor-card[data-priority="upcoming"] .mandate-monitor-attention{background:#f7e8c5;color:#775411}
.mandate-monitor-priority{display:inline-flex;align-items:center;padding:5px 9px;border-radius:20px;background:#e9f0ee;color:#3d6159;font-size:.69rem;font-weight:800;white-space:nowrap}
.mandate-monitor-priority[data-priority="urgent"]{background:#f9e8e2;color:#9f4d37}
.mandate-monitor-priority[data-priority="upcoming"]{background:#fbf1db;color:#916c27}
.mandate-monitor-priority[data-priority="verify"]{background:#edf0f2;color:#5e7078}
.mandate-monitor-priority[data-priority="expired"]{background:#edf0f2;color:#5e7078}
.mandate-monitor-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin-top:14px;padding:13px 0;border-top:1px solid #e5ebeb;border-bottom:1px solid #e5ebeb}
.mandate-monitor-facts>div{min-width:0}
.mandate-monitor-facts small,.mandate-monitor-action small{display:block;color:#829298;font-size:.63rem;font-weight:800;letter-spacing:.05em}
.mandate-monitor-facts strong{display:block;margin-top:4px;overflow:hidden;text-overflow:ellipsis;color:#314a52;font-size:.81rem;line-height:1.3}
.mandate-monitor-action{display:flex;justify-content:space-between;align-items:end;gap:18px;margin-top:13px}
.mandate-monitor-action>div{min-width:0}
.mandate-monitor-action p{margin:3px 0 0;color:#3b535b;font-size:.81rem;line-height:1.4}
.mandate-monitor-action span{display:block;margin-top:4px;color:#947148;font-size:.72rem}
.mandate-monitor-action .button{flex:none}
.mandate-monitor-empty{padding:30px 22px;text-align:center;color:#72848a;font-size:.84rem}
.mandate-monitor-missing{margin-top:18px;overflow:hidden}
.mandate-monitor-missing summary{display:flex;justify-content:space-between;gap:12px;padding:17px 22px;color:#2f4851;font-size:.86rem;font-weight:800;cursor:pointer}
.mandate-monitor-missing summary span{color:#85969b}
.mandate-monitor-missing>p{margin:0;padding:0 22px 12px;color:#77898e;font-size:.8rem}
.mandate-monitor-missing>div{padding:0 22px 8px}
.property-mandate-card{scroll-margin-top:145px}
@media(max-width:1050px){.stats.four,.mandate-monitor-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.mobile-nav .nav-link{width:12.5%;min-width:55px}.mandate-monitor-controls{grid-template-columns:repeat(2,minmax(0,1fr))}.mandate-monitor-controls label:first-child{grid-column:1/-1}.mandate-monitor-card{grid-template-columns:125px minmax(0,1fr)}.mandate-monitor-body{padding:14px}.mandate-monitor-head{display:block}.mandate-monitor-property-code{text-align:left;margin-top:8px}.mandate-monitor-action{align-items:flex-start;flex-direction:column}}
@media(max-width:580px){.property-catalog-toolbar{align-items:stretch;flex-wrap:wrap}.property-catalog-sort{flex:1}.mandate-monitor-card{grid-template-columns:1fr}.mandate-monitor-media{height:150px;min-height:0}.mandate-monitor-image-empty{min-height:150px}.mandate-monitor-head{display:flex}.mandate-monitor-property-code{text-align:right;margin-top:0}}
@media(max-width:480px){.mandate-monitor-stats{gap:8px}.mandate-monitor-stats>div{padding:13px}.mandate-monitor-toolbar{padding-left:15px;padding-right:15px}.mandate-monitor-list{gap:10px;padding:12px}.mandate-monitor-tabs{flex-wrap:nowrap;overflow-x:auto;padding-bottom:3px}.mandate-monitor-list-head{align-items:stretch;flex-direction:column}.mandate-monitor-list-head>strong{padding-bottom:0}.mandate-monitor-sort{width:100%}.mandate-monitor-action .button{width:100%}}

/* Panoramica per ambito. */
.home-scope{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;padding:16px 20px;margin-bottom:30px;background:#fff;border:1px solid #e9eced;border-radius:14px}
.home-scope strong,.home-scope span{display:block}
.home-scope strong{font-size:.86rem}
.home-scope span{font-size:.77rem;color:#73858a;margin-top:2px}
.home-scope-options{display:flex;gap:8px;flex-wrap:wrap}
.home-section-heading{margin-bottom:15px}
.home-section-heading .eyebrow{margin-bottom:4px}
.home-section-heading h2{font-size:1.4rem}
.home-widget-section{margin-bottom:32px}
.home-widget-section .stats{margin-bottom:0}
.home-widget-section .stat-card{min-width:0}
.home-widget-section .stat-card strong{font-size:clamp(1.55rem,2.2vw,2.45rem);overflow-wrap:anywhere}
.home-widget-section .stat-card small{line-height:1.35}
.home-widget-section .stat-card:not(button){cursor:default}
.home-widget-section .stat-card:not(button):hover{transform:none;border-color:transparent;box-shadow:none}
.home-activities{margin-top:36px}
@media(max-width:900px){.home-scope{align-items:stretch}.home-scope-options{width:100%}.home-scope-options .view-chip{flex:1}.home-widget-section .stats.four{grid-template-columns:repeat(2,minmax(0,1fr))}.home-widget-section .stat-card{min-height:138px}.home-widget-section .stat-card strong{font-size:1.65rem}}
@media(max-width:390px){.home-widget-section .stats.four .stat-card:last-child{grid-column:auto}}

/* Shared visual rhythm and responsive app chrome. */
:root{color-scheme:light;--text-secondary:#5e7077}
body{overflow-x:hidden;-webkit-font-smoothing:antialiased}
button,summary,input,select,textarea{-webkit-tap-highlight-color:transparent}
button:disabled{cursor:not-allowed;opacity:.55}
h1{font-weight:750;letter-spacing:-.045em}
h2{font-weight:700}
.content{padding-top:38px}
.page-heading{align-items:flex-start;margin-bottom:27px}
.page-desc{max-width:68ch;color:#65777d}
.eyebrow{color:#687b81}
.surface{border-color:#e4e9e9;border-radius:16px;box-shadow:0 3px 18px #1b343f08}
.button,.view-chip,.icon-button,.property-editor-toolbar button{transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease,transform .16s ease}
.button{min-height:44px;border-radius:11px;padding:10px 17px;font-size:.875rem;font-weight:700;line-height:1.2}
.button.small{min-height:38px;padding:8px 13px}
.button.primary:hover{background:#294f5d;box-shadow:0 4px 12px #1b343f24}
.button:active,.view-chip:active,.icon-button:active{transform:scale(.98)}
.icon-button{width:40px;height:40px;flex:none;border-radius:11px}
.view-chip{min-height:39px;border-radius:10px}
.field>span,.rich-text-label{font-size:.9375rem;line-height:1.4;margin-bottom:8px}
.field input:not([type=checkbox]):not([type=radio]),.field select,.field textarea{min-height:44px;border-color:#d9e1e2;border-radius:10px;padding:10px 13px;font-size:1rem;line-height:1.4}
.content .field input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]),.content .field select{box-sizing:border-box;height:44px}
.field textarea{min-height:98px}
.field input:disabled,.field select:disabled,.field textarea:disabled{background:#f2f4f4;color:#607279}
.field input::placeholder,.field textarea::placeholder{color:#86969b}
.field small,.form-help{color:#5e7077;font-size:.875rem;line-height:1.5}
.field input:focus-visible,.field select:focus-visible,.field textarea:focus-visible{outline:none;border-color:#638997;box-shadow:0 0 0 3px #dce9ec}
.property-editor .field input:not([type=file]):not([type=checkbox]):not([type=radio]):not([type=hidden]),.property-editor .field select{height:44px;min-height:44px}
.property-editor .field-heading>label{font-size:.9375rem}
.property-catalog-sort select,.mandate-monitor-sort select,.job-status-select{min-height:44px;border-radius:10px;background-color:#fff;font-size:.875rem}
.property-editor .property-editor-section.form-section>summary.property-editor-section-summary{min-height:76px}
.property-editor .property-editor-section>summary.property-editor-section-summary strong{font-size:1.02rem}
.property-catalog-prices b{white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere}
.form-actions{gap:10px}
.topbar{gap:16px;border-bottom-color:#e6ebeb}
.top-actions{gap:14px;min-width:0}
.topbar-utilities{display:flex;align-items:center;gap:14px;min-width:0}
.topbar-utilities .save-status{max-width:190px}
.topbar-more{display:none;position:relative}
.top-actions:has(.access-current-user) .topbar-more{display:block}
.topbar-more>summary{list-style:none;width:40px;height:40px;display:grid;place-items:center;border:1px solid #e2e8e9;border-radius:11px;background:#fff;color:#304b55;font-size:1.35rem;font-weight:700;line-height:1;cursor:pointer}
.topbar-more>summary::-webkit-details-marker{display:none}
.topbar-more[open]>summary{background:#edf3f4;border-color:#9eb8bf}
.topbar-more-panel{position:absolute;right:0;top:48px;z-index:20;display:grid;gap:12px;min-width:195px;padding:14px;background:#fff;border:1px solid #e0e7e8;border-radius:13px;box-shadow:0 16px 36px #1b343f24}
.topbar-more-panel .button{width:100%}
.topbar-more-panel .save-status{max-width:none;white-space:normal;text-align:center;font-size:.75rem;line-height:1.3}
.user-picker{min-width:0;gap:7px}
.user-picker select{min-width:0;max-width:130px;text-overflow:ellipsis;font-size:.85rem}
/* Native dropdowns use the same control box as adjacent text fields. */
.content select:not([multiple]){box-sizing:border-box;width:100%;height:44px;min-height:44px;min-width:0;padding:10px 36px 10px 13px;border:1px solid #d9e1e2;border-radius:10px;background-color:#fff;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='m3.5 6 4.5 4.5L12.5 6' stroke='%23536b73' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 13px center;background-size:16px 16px;color:#263439;font-size:1rem;line-height:1.35;text-overflow:ellipsis;-webkit-appearance:none;appearance:none}
.content select:not([multiple]):focus-visible{outline:none;border-color:#638997;box-shadow:0 0 0 3px #dce9ec}
.content select:not([multiple]):disabled{background-color:#f2f4f4;color:#607279;opacity:1}
.property-catalog-field input,.mandate-monitor-controls input,.list-search input,.property-editor .property-contact-input input[type=search]{min-height:44px;border-radius:10px;font-size:.875rem}
.content .picker-search,.content .prerequisite-link-picker input[type=search]{box-sizing:border-box;height:44px;min-height:44px;border-color:#d9e1e2;border-radius:10px;padding:10px 13px;font-size:.875rem}
.content .picker-search:focus-visible,.content .prerequisite-link-picker input[type=search]:focus-visible{outline:none;border-color:#638997;box-shadow:0 0 0 3px #dce9ec}
.property-catalog-field input,.mandate-monitor-controls input{height:44px;padding:10px 13px;border-color:#d9e1e2}
@media(min-width:901px) and (max-width:1180px){
  .property-catalog-grid.is-list .property-catalog-prices{grid-template-columns:1fr;gap:10px}
  .property-catalog-grid.is-list .property-catalog-price-block:only-child{grid-column:auto}
}
@media(max-width:900px){
  .content select:not([multiple]),.content .field input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]),.content .field textarea,.content .property-catalog-field input,.content .mandate-monitor-controls input,.content .list-search input{font-size:16px}
  .topbar{height:64px;padding-inline:18px}
  .notification-panel{position:fixed;top:72px;left:16px;right:16px;width:auto;max-width:360px;margin-left:auto;max-height:min(640px,calc(100dvh - 152px - env(safe-area-inset-bottom)))}
  .top-actions{gap:9px;margin-left:auto}
  .topbar-utilities{display:none}
  .topbar-more{display:block}
  .content{padding-top:28px}
  .property-editor-nav{top:64px}
  .property-section-nav{top:66px}
  .property-editor-actions{bottom:64px}
  .property-catalog-grid.is-list .property-catalog-prices{grid-template-columns:repeat(2,minmax(0,1fr))}
  .mobile-nav{overflow:visible;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));min-height:64px;padding:5px 6px max(5px,env(safe-area-inset-bottom))}
  .mobile-nav>.nav-link{width:100%;min-width:0;position:relative;min-height:54px;padding:5px 2px;gap:3px;font-size:.75rem;line-height:1.2}
  .mobile-nav>.nav-link:not(.active){color:#526871}
  .mobile-nav>.nav-link:not(.active):hover{color:#fff}
  .mobile-nav .nav-icon{font-size:22px;line-height:1.15}
  .mobile-nav .nav-count{top:0;right:calc(50% - 29px);margin:0;min-width:17px;height:17px;font-size:.625rem}
}
.mobile-menu-dialog{position:fixed;inset:0;width:100%;max-width:none;height:100%;height:100dvh;max-height:none;margin:0;border:0;border-radius:0;padding:0;background:#f7f6f3;color:#1b343f;overflow:hidden}
.mobile-menu-dialog[open]{display:flex;flex-direction:column}
.mobile-menu-dialog::backdrop{background:#1b343f66}
.mobile-menu-header{display:flex;align-items:center;justify-content:space-between;gap:16px;flex:none;background:#fff;border-bottom:1px solid #dce5e8;padding:max(20px,env(safe-area-inset-top)) max(20px,env(safe-area-inset-right)) 20px max(20px,env(safe-area-inset-left))}
.mobile-menu-header .eyebrow{margin:0 0 5px;color:#526871;font-size:.75rem}
.mobile-menu-header h2{margin:0;font-size:1.5rem;line-height:1.2}
.mobile-menu-header .button{min-height:44px;padding:10px 16px;font-size:.9375rem;gap:10px}
.mobile-menu-header .button span{font-size:1.3rem;line-height:1}
.mobile-menu-sections{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:22px max(20px,env(safe-area-inset-right)) max(24px,env(safe-area-inset-bottom)) max(20px,env(safe-area-inset-left))}
.mobile-menu-group{max-width:680px;margin:0 auto}
.mobile-menu-group+.mobile-menu-group{margin-top:26px}
.mobile-menu-group h3{margin:0 0 10px;font-size:.8125rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#526871}
.mobile-menu-group .nav-link{display:flex;align-items:center;gap:14px;width:100%;min-height:56px;margin:0 0 8px;padding:12px 16px;border:1px solid #dce5e8;border-radius:12px;background:#fff;color:#1b343f;text-align:left;font-size:1rem;line-height:1.4}
.mobile-menu-group .nav-link>.nav-icon{display:flex;align-items:center;justify-content:center;flex:none;width:26px;font-size:23px;color:#315665}
.mobile-menu-group .nav-link>.nav-count{position:static;margin:0 0 0 auto;flex:none;min-width:24px;height:24px;padding:0 6px;background:#d1bfa3;color:#1b343f;font-size:.75rem}
.mobile-menu-group .nav-link.active{background:#e8eff2;border-color:#91aeb9;color:#1b343f}
.mobile-menu-current{margin-left:auto;font-size:.75rem;color:#315665;font-weight:700}
.mobile-menu-group .mobile-menu-current+.nav-count{margin-left:0}
.mobile-menu-group .nav-link:hover{background:#edf3f5;border-color:#91aeb9}
.mobile-menu-dialog button:focus-visible{outline:3px solid #315665;outline-offset:3px}
@media(max-width:580px){
  .topbar{padding-inline:14px}
  .mobile-brand{min-width:0;gap:7px}
  .mobile-brand strong{font-size:.9rem;white-space:nowrap}
  .brand-mark.small{width:29px;height:29px;flex:none}
  .top-actions{gap:7px}
  .user-picker .avatar{display:none}
  .user-picker select{max-width:82px;font-size:.78rem}
  .user-picker .chevron{display:none}
  .property-catalog-grid.is-list .property-catalog-prices{grid-template-columns:1fr}
  .property-editor-toolbar{align-items:flex-start;flex-direction:column}
  .property-editor-toolbar>div{width:100%}
  .property-editor-toolbar button{flex:1}
  .form-actions .button{min-width:0;white-space:normal;text-align:center}
}

.update-form{display:grid;gap:12px;margin:16px 0 24px;padding:18px;border:1px solid #dfe8e9;border-radius:14px;background:#f8faf9}
.update-form .form-actions{margin:0;justify-content:flex-start}
.update-form textarea{min-height:88px}
.job-update-summary{padding:20px 24px;margin-bottom:18px;border-left:4px solid #a35f41;background:#fffdf9}
.job-update-summary-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:14px}
.job-update-summary-heading .eyebrow{margin-bottom:5px;color:#a35f41}
.job-update-summary-heading h2{display:flex;align-items:center;gap:9px}
.job-update-summary-heading a{color:#9a5539;font-size:.8rem;font-weight:700;text-decoration:none;white-space:nowrap}
.job-update-summary-heading a:hover{text-decoration:underline}
.job-update-summary-list{display:grid;gap:10px}
.job-update-entry{padding:12px 14px;border:1px solid #efe5db;border-radius:10px;background:#fff;min-width:0}
.job-update-entry p{margin:0 0 5px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:.88rem;line-height:1.5}
.job-update-entry small{color:#708288}
#job-history{scroll-margin-top:90px}
@media(max-width:600px){.job-update-summary{padding:18px}.job-update-summary-heading{flex-direction:column;gap:7px}.job-update-summary-heading a{white-space:normal}}
.job-reference-hint{margin:-7px 0 18px;color:#718187;font-size:.8rem;line-height:1.45}
.job-link-role{display:block;margin-top:5px;color:#698087;font-size:.76rem;line-height:1.35}
.job-link-role.is-warning{color:#9a6132;font-weight:700}
.job-context-warning{margin:16px 0;padding:15px 17px;border:1px solid #e9d5aa;border-radius:12px;background:#fff8e9;color:#614817}
.job-context-warning[hidden]{display:none}
.job-context-warning strong{display:block;margin-bottom:5px;font-size:.85rem}
.job-context-warning p{margin:0 0 10px;font-size:.79rem;line-height:1.45}
.job-context-warning label{display:flex;align-items:flex-start;gap:9px;font-size:.79rem;font-weight:700;line-height:1.4;cursor:pointer}
.job-context-warning label[hidden]{display:none}
.job-context-warning input{flex:none;width:17px;height:17px;margin:1px 0 0;accent-color:#9a6132}
.job-edit-request-link.form-disclosure{margin:18px 0 14px;padding:0;border:1px solid #e5e9ea;border-radius:12px;background:#fafbfc;overflow:hidden}
.job-edit-request-link.form-disclosure>summary{display:flex;align-items:center;gap:12px;padding:17px 18px;color:#263e47}
.job-edit-request-link.form-disclosure>summary::before{content:'▤';display:grid;place-items:center;flex:none;width:36px;height:36px;margin:0;border-radius:9px;background:#e3ebed;color:#355a66;font-size:1rem}
.job-edit-request-link.form-disclosure>summary::after{content:'⌄';color:#6e848a;font-size:1.2rem;transition:transform .15s}
.job-edit-request-link.form-disclosure[open]>summary::after{transform:rotate(180deg)}
.job-edit-request-link.form-disclosure>summary .job-edit-request-heading{display:grid;gap:3px;min-width:0;margin:0}
.job-edit-request-heading strong{color:#263e47;font-size:.86rem;line-height:1.25}
.job-edit-request-heading small{font-size:.75rem;color:#82918e;font-weight:400;line-height:1.3}
.job-edit-request-link.form-disclosure>summary em{flex:none;margin-left:auto;padding:5px 9px;border-radius:30px;background:#edf2f2;color:#60777e;font-size:.72rem;font-weight:700;font-style:normal}
.job-edit-request-link.form-disclosure[open]>summary{margin-bottom:0}
.job-edit-request-body{padding:17px 18px;border-top:1px solid #e5e9ea}
.job-edit-request-body>.muted{margin:0 0 13px}
.job-edit-request-body .job-request-picker{border:0;padding:0;background:transparent}
@media(max-width:600px){.job-edit-request-link.form-disclosure>summary{padding:14px}.job-edit-request-link.form-disclosure>summary em{display:none}.job-edit-request-body{padding:14px}}
.reference-preview-dialog{width:min(620px,calc(100vw - 28px));max-height:min(88dvh,850px);padding:0;border:1px solid #dce4e5;border-radius:18px;background:#fff;color:#1b343f;box-shadow:0 24px 80px #082b3159;overflow:auto}
.reference-preview-dialog::backdrop{background:#102d20a8}
.reference-preview-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:23px 26px 17px;border-bottom:1px solid #e7ebeb}
.reference-preview-header .eyebrow{margin-bottom:5px;color:#a35f41}
.reference-preview-header h2{font-size:1.38rem;line-height:1.25;overflow-wrap:anywhere}
.reference-preview-close{display:grid;place-items:center;flex:none;width:32px;height:32px;border:1px solid #dce4e5;border-radius:50%;background:#fff;color:#4c626a;font-size:1.4rem;line-height:1}
.reference-preview-close:hover{background:#edf2f3}
.reference-preview-body{padding:20px 26px;overflow-wrap:anywhere}
.reference-preview-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 20px;margin:0}
.reference-preview-facts div{min-width:0}
.reference-preview-facts dt,.reference-preview-note small{display:block;margin-bottom:4px;color:#829096;font-size:.68rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.reference-preview-facts dd{margin:0;font-size:.87rem;line-height:1.4}
.reference-preview-facts a{color:#9a5539;font-weight:700}
.reference-preview-note{margin-top:20px;padding:14px 16px;border-radius:10px;background:#f5f8f8}
.reference-preview-note p{margin:0;white-space:pre-wrap;font-size:.86rem;line-height:1.5}
.reference-preview-actions{position:sticky;bottom:0;display:flex;justify-content:flex-end;gap:10px;padding:16px 26px;border-top:1px solid #e7ebeb;background:#fff}
@media(max-width:600px){.reference-preview-dialog{width:100vw;max-height:100dvh;height:100dvh;border:0;border-radius:0}.reference-preview-header,.reference-preview-body{padding-left:18px;padding-right:18px}.reference-preview-facts{grid-template-columns:1fr 1fr;gap:13px}.reference-preview-actions{padding:14px 18px;flex-direction:column}.reference-preview-actions .button{width:100%}}
.reference-preview-dialog.is-property{width:min(1100px,calc(100vw - 24px));max-height:94dvh}
.reference-preview-property-body{padding:0 22px 18px;background:#f7f6f3}
.reference-preview-dialog.is-property .property-section-nav{top:0;padding:12px 0 10px;margin-bottom:8px;background:#f7f6f3}
.reference-preview-dialog.is-property .property-cover:not(.without-photo){min-height:0;height:210px}
.reference-preview-dialog.is-property .property-cover:not(.without-photo) .property-cover-empty{min-height:0}
.reference-preview-dialog.is-property .property-product-actions{display:none}
.reference-preview-dialog.is-property .property-detail-grid section[id],.reference-preview-dialog.is-property .property-detail-grid div[id^=property-]{scroll-margin-top:72px}
.reference-preview-dialog.is-property .property-product-hero{margin-bottom:14px}
.reference-preview-dialog.is-property .detail-main{gap:14px}
@media(min-width:601px) and (max-width:800px){.reference-preview-dialog.is-property .property-product-hero{grid-template-columns:150px minmax(0,1fr);gap:0 18px}}
@media(max-width:600px){.reference-preview-dialog.is-property{width:100vw;max-height:100dvh}.reference-preview-property-body{padding:0 14px 12px}.reference-preview-dialog.is-property .property-cover:not(.without-photo){height:148px;min-height:0}.reference-preview-dialog.is-property .property-section-nav{margin:0 -2px 8px;padding:10px 2px}}
.next-job-choice{display:flex;align-items:center;gap:10px;margin:18px 0;font-weight:650;color:#193640;cursor:pointer}
.next-job-choice input{width:18px;height:18px;flex:none;accent-color:#1b5261}
.next-job-fields{padding:18px;margin:0 0 18px;border:1px solid #dfe8e9;border-radius:14px;background:#f8faf9}
.next-job-fields .muted{margin:0 0 14px}
.next-job-fields .fields{margin-bottom:12px}
.side-section button:disabled{cursor:not-allowed;opacity:.55}
.timeline-event{display:flex;align-items:flex-start;gap:12px;width:100%;margin:-6px 0 0 -8px;padding:6px 8px;border:0;border-radius:9px;background:transparent;color:inherit;text-align:left}
.timeline-event:hover,.timeline-event:focus-visible{background:#f2f6f6}
.timeline-event-copy{min-width:0;flex:1}
.timeline-event-copy p{overflow-wrap:anywhere}
.timeline-event-arrow{color:#6b8790;font-size:1.05rem;line-height:1.3;flex:none}
.job-update-entry[type=button]{display:block;width:100%;position:relative;padding-right:38px;color:inherit;text-align:left}
.job-update-entry[type=button]:hover,.job-update-entry[type=button]:focus-visible{border-color:#c9ad95;background:#fffaf4}
.job-update-entry-arrow{position:absolute;right:14px;top:14px;color:#9a5539}
.event-detail-dialog .reference-preview-body{padding-top:24px;padding-bottom:24px}
.event-detail-text p{font-size:.94rem;line-height:1.65}
.history-note-tools{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:8px}
.history-correction-count{display:block;color:#405d67;font-size:.86rem;font-weight:650}
.history-original,.history-correction,.history-rectification-source{padding:18px;border:1px solid #d6e1e5;border-radius:12px;background:#f5f8f8;color:#203d48;overflow-wrap:anywhere}
.history-original h3,.history-corrections h3{font-size:1rem;margin:0 0 12px}
.history-original p,.history-correction p,.history-rectification-source p{white-space:pre-wrap;line-height:1.6;margin:8px 0}
.history-original small,.history-correction small,.history-rectification-source small{display:block;color:#405d67;line-height:1.55}
.history-original .history-rectify-button,.history-correction .history-rectify-button{margin-top:12px}
.history-corrections{margin-top:22px;display:grid;gap:12px}
.history-corrections h3{margin-bottom:0}
.history-correction{background:#fffaf3;border-color:#decdb7}
.history-correction-reason{color:#435862}
.history-rectification-dialog{width:min(680px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto}
.history-rectification-dialog form{min-width:0}
.history-rectification-dialog [hidden]{display:none!important}
.history-rectification-dialog .reference-preview-body{padding-top:16px}
.history-rectification-help{color:#405d67;line-height:1.6;margin:0 0 16px}
.history-rectification-error{color:#923b31;background:#fff4f1;border:1px solid #e3bbb5;border-radius:10px;padding:12px;font-size:1rem;line-height:1.55}
.history-rectification-source{margin-bottom:22px}
.history-rectification-dialog .field textarea{font-size:1rem}
.history-rectification-dialog .reference-preview-actions{position:sticky;bottom:0;background:#fff}
.history-rectify-button{min-height:40px}
@media(max-width:600px){.history-rectification-dialog{width:calc(100vw - 20px);max-height:calc(100dvh - 20px)}.history-rectification-dialog .reference-preview-header,.history-rectification-dialog .reference-preview-body,.history-rectification-dialog .reference-preview-actions{padding-left:16px;padding-right:16px}.history-rectify-button{min-height:44px}.history-original,.history-correction,.history-rectification-source{padding:14px}}
.event-detail-links{margin-top:22px;display:flex;flex-wrap:wrap;gap:9px}
.event-detail-links h3{width:100%;font-size:.85rem;margin:0 0 2px}
.event-detail-links .button{max-width:100%;white-space:normal;text-align:left;overflow-wrap:anywhere}
.job-file-input{display:grid;gap:6px;margin:16px 0;color:#29414a}
.job-file-input label{display:grid;gap:9px;font-size:.84rem;font-weight:700}
.job-file-input input[type=file]{display:block;width:100%;padding:11px;border:1px solid #d7e0e2;border-radius:10px;background:#fff;color:#29414a;font:inherit;font-size:.8rem}
.job-file-input input[type=file]::file-selector-button{margin-right:12px;padding:8px 11px;border:0;border-radius:7px;background:#e5edef;color:#234856;font:inherit;font-weight:700;cursor:pointer}
.job-file-input small{color:#788b8a;font-size:.75rem;line-height:1.4}
.job-file-input [data-job-file-selection]{margin:4px 0 0;padding:9px 11px;border-radius:8px;background:#ebf4f1;color:#295c4e;font-size:.78rem;overflow-wrap:anywhere}
.job-file-input [hidden]{display:none}
.job-file-list{display:grid;gap:9px}
.job-file-row{display:flex;align-items:center;gap:12px;min-width:0;padding:12px 14px;border:1px solid #dfe7e8;border-radius:11px;background:#f9fbfb}
.job-file-icon{display:grid;place-items:center;flex:none;width:34px;height:34px;border-radius:8px;background:#e4edf0;color:#365c68;font-size:1rem}
.job-file-copy{display:grid;gap:3px;min-width:0;flex:1}
.job-file-copy strong{overflow-wrap:anywhere;font-size:.86rem;color:#1e3943}
.job-file-copy small{color:#718386;font-size:.73rem;line-height:1.35}
.job-file-actions{display:flex;flex-wrap:wrap;gap:8px;flex:none}
.job-file-actions button,.job-file-actions a{padding:7px 9px;border:1px solid #cddcdf;border-radius:8px;background:#fff;color:#315969;text-decoration:none;font:inherit;font-size:.76rem;font-weight:700;cursor:pointer}
.job-file-actions button:hover,.job-file-actions a:hover{background:#edf4f5}
.job-files-section .section-heading{align-items:flex-start;gap:10px}
.job-files-section .section-heading .text-link{font-size:.79rem;text-align:right}
.job-files-editor .job-file-list{margin:12px 0 22px}
.job-final-choices{display:grid;gap:9px;margin:18px 0;padding:15px;border:1px solid #dfe8e9;border-radius:12px;background:#f8faf9}
.job-final-choices legend{padding:0 5px;color:#29414a;font-size:.83rem;font-weight:700}
.job-final-choices .muted{margin:0 0 3px;font-size:.78rem}
.job-final-choices label{display:flex;align-items:flex-start;gap:8px;overflow-wrap:anywhere;font-size:.81rem;cursor:pointer}
.job-final-choices input{flex:none;width:17px;height:17px;margin:2px 0 0;accent-color:#2c6470}
.job-update-files{display:block;margin:1px 0 5px;color:#446979;font-size:.77rem;overflow-wrap:anywhere}
.job-event-file{display:flex;align-items:center;flex-wrap:wrap;gap:8px;width:100%;padding:8px 0;border-top:1px solid #e7eeee}
.job-event-file strong{flex:1;min-width:130px;overflow-wrap:anywhere;font-size:.83rem}
.job-file-preview-dialog{width:min(920px,calc(100vw - 24px));height:min(90dvh,850px);max-height:90dvh;padding:0;border:1px solid #d6e0e1;border-radius:18px;background:#fff;color:#193640;box-shadow:0 26px 90px #102e3a44}
.job-file-preview-dialog[open]{display:flex;flex-direction:column}
.job-file-preview-dialog::backdrop{background:#102e3a99}
.job-file-preview-head,.job-file-preview-actions{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px 20px}
.job-file-preview-head{border-bottom:1px solid #e2eaea}
.job-file-preview-head .eyebrow{margin:0 0 3px}
.job-file-preview-head h2{margin:0;font-size:1.06rem;overflow-wrap:anywhere}
.job-file-preview-head button{flex:none;width:34px;height:34px;border:1px solid #d9e2e3;border-radius:9px;background:#fff;font-size:1.2rem;cursor:pointer}
.job-file-preview-body{display:grid;place-items:center;flex:1;min-height:0;padding:12px;background:#eef2f3}
.job-file-preview-body iframe,.job-file-preview-body img{width:100%;height:100%;border:0;object-fit:contain}
.job-file-preview-actions{border-top:1px solid #e2eaea}
.job-file-preview-body.pdf-preview{display:flex;flex-direction:column;align-items:stretch;gap:8px;overflow:hidden}
.pdf-preview-toolbar{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;color:#193640}
.pdf-preview-toolbar button{min-height:40px;padding:7px 12px;background:#fff;border:1px solid #bacbce;border-radius:9px;color:#193640;font:inherit;cursor:pointer}
.pdf-preview-toolbar button:disabled{opacity:.5;cursor:default}
.pdf-preview-toolbar button:focus-visible{outline:3px solid #256579;outline-offset:2px}
.pdf-preview-status{margin:0;text-align:center;color:#405b64;font-size:.85rem}
.pdf-preview-page{flex:1;min-height:0;overflow:auto;padding:8px;overscroll-behavior:contain}
.pdf-preview-page canvas{display:block;margin:0 auto;background:#fff;box-shadow:0 2px 8px #19364022}
.pdf-preview-text{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}
@media(max-width:600px){.job-file-row{align-items:flex-start;flex-wrap:wrap}.job-file-actions{width:100%;padding-left:46px}.job-files-section .section-heading{flex-direction:column}.job-files-section .section-heading .text-link{text-align:left}.job-file-preview-dialog{width:100vw;height:100dvh;max-height:100dvh;border:0;border-radius:0}}

/* Attachments share one quiet, readable treatment across property and job forms. */
.visually-hidden-input,.property-editor .field .property-file-picker>input[type=file],.property-editor .property-doc-attachment .property-file-picker>input[type=file],.job-file-pick>input[type=file]{position:absolute!important;width:1px!important;height:1px!important;min-height:0!important;padding:0!important;margin:0!important;border:0!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important}
.property-file-picker{min-height:52px;gap:12px;padding:7px 10px;border-color:#d8e2e4;border-radius:11px;background:#fbfcfc;box-sizing:border-box}
.property-file-picker:focus-within,.job-file-pick:focus-within{border-color:#638997;box-shadow:0 0 0 3px #dce9ec}
.property-file-picker-button{min-height:36px;padding:8px 12px;border-color:#d0dfe2;border-radius:8px;background:#eef3f4;color:#2d5361;font-size:.8rem;letter-spacing:0}
.property-file-picker-button:hover{background:#e2edef;border-color:#aac4ca}
.property-file-picker-button span{font-size:1rem;line-height:0;vertical-align:-1px}
.property-file-picker-name{flex:1;font-size:.79rem;color:#6c8086}
.file-remove-button{flex:none;border:0;border-radius:7px;padding:7px 8px;background:transparent;color:#9a4c40;font:inherit;font-size:.77rem;font-weight:700;cursor:pointer}
.file-remove-button:hover,.file-remove-button:focus-visible{background:#f9eae6;color:#7b3029;outline:none}
.file-remove-button[hidden],.file-pending-label[hidden],.job-file-selection[hidden]{display:none!important}
.property-current-file{display:flex;align-items:center;gap:10px;min-width:0;min-height:46px;margin:8px 0 13px;padding:7px 9px;border:1px solid #dce7e6;border-radius:10px;background:#f5faf8;font-size:.79rem}
.property-current-file a{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#315d61;text-decoration:none}
.property-current-file a:hover{text-decoration:underline}
.file-chip-icon{display:grid;place-items:center;flex:none;width:27px;height:27px;border-radius:7px;background:#e1eeed;color:#35666a;font-size:.88rem}
.file-pending-label{font-size:.72rem;font-weight:700;color:#9a4c40}
[data-saved-file-row].is-pending-removal{border-color:#e7c9c3;background:#fff7f5}
[data-saved-file-row].is-pending-removal>a,[data-saved-file-row].is-pending-removal .job-file-copy>strong{text-decoration:line-through;color:#856e6c}
.job-file-input{gap:9px;margin:17px 0 0}
.job-file-label{font-size:.82rem;font-weight:750;color:#314a52}
.job-file-pick{position:relative;display:flex!important;align-items:center;gap:13px;min-height:68px;padding:11px 14px;border:1px dashed #a9c0c6;border-radius:11px;background:#f8fbfb;cursor:pointer;box-sizing:border-box}
.job-file-pick:hover{border-color:#6e9ca5;background:#f2f8f8}
.job-file-pick-icon{display:grid;place-items:center;flex:none;width:38px;height:38px;border:1px solid #c8dddf;border-radius:9px;background:#e8f2f2;color:#345c68;font-size:1.35rem;font-weight:500}
.job-file-pick>span:last-child{display:grid;gap:3px;min-width:0}
.job-file-pick strong{font-size:.84rem;color:#2b4b55}
.job-file-pick small{font-size:.74rem;font-weight:500;color:#70858a}
.job-file-selection{display:grid;gap:7px;margin-top:3px}
.job-pending-file{display:flex;align-items:center;gap:9px;min-width:0;min-height:42px;padding:6px 9px;border:1px solid #dce7e6;border-radius:9px;background:#f5faf8}
.job-pending-file>span:nth-child(2){flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.79rem;color:#315d61}
.job-file-actions .file-remove-button{border:0;background:transparent;color:#9a4c40}
.job-file-actions .file-remove-button:hover{background:#f9eae6}
.job-files-section .section-heading .text-link{border:0;background:none;color:#376776;font:inherit;font-size:.8rem;font-weight:750;cursor:pointer}
@media(max-width:600px){.property-file-picker{flex-wrap:wrap}.property-file-picker-name{min-width:calc(100% - 125px)}.property-current-file{flex-wrap:wrap}.property-current-file a{flex:1 1 calc(100% - 40px);min-width:0;white-space:normal;overflow-wrap:anywhere}.property-current-file .file-remove-button{margin-left:36px}.job-file-actions{padding-left:0}}

/* Readable secondary copy; HomeLab typography and semantic status colors are preserved. */
.content .muted,.content .page-desc,.content .job-meta,.content .job-date,.content .job-footer,.content .recent-row small,.content .list-row small,.content .timeline-item small{color:var(--text-secondary)}
.content .muted,.content .page-desc,.content .job-meta,.content .recent-row small,.content .list-row small{font-size:.9375rem;line-height:1.5}
.property-detail-grid .detail-section h2{font-size:1.375rem}
.property-detail-grid .message-box p,.property-detail-grid .timeline-item p{font-size:1rem}
.property-detail-grid .message-box small{font-size:.875rem;color:var(--text-secondary);letter-spacing:.025em}
@media(max-width:600px){
  .property-cover-toolbar{inset:0}
  .property-cover-toolbar .property-gallery-open{position:absolute;left:8px;right:8px;bottom:8px}
  .property-photo-counter{position:absolute;left:8px;top:8px;padding:2px 6px}
  .property-gallery-open{padding:8px;font-size:.8125rem}
  .property-product-actions .job-heading-actions{flex-direction:row;flex-wrap:wrap;gap:8px}
  .property-product-actions .button{min-width:0;white-space:normal}
  .property-empty-photo-action{left:8px;right:8px;bottom:8px;white-space:normal}
  .property-cover.without-photo .property-cover-empty{justify-content:flex-start;padding-top:20px}
  .property-cover.without-photo .property-cover-empty small{display:none}
  .property-carousel-arrow{width:44px;height:44px}
  .property-carousel-arrow.previous{left:4px}
  .property-carousel-arrow.next{right:4px}
}

/* Shared-save feedback uses the existing HomeLab surfaces and buttons. */
.save-recovery-notice { padding: 20px; margin-bottom: 24px; border: 2px solid var(--accent, #a77b50); }
.save-recovery-notice p { margin: 10px 0 16px; }
.save-recovery-notice strong { display: block; }
.save-recovery-dialog { width: min(760px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow: auto; }
.save-recovery-dialog details { border-top: 1px solid #dce2e3; padding: 12px 0; }
.save-recovery-dialog summary { cursor: pointer; font-weight: 650; }
.recovery-comparison { padding: 12px 0; overflow-wrap: anywhere; }
.recovery-comparison p { margin: 10px 0 4px; }
.recovery-comparison pre { white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; background: #f5f6f4; padding: 12px; border-radius: 8px; }
.save-recovery-dialog .unsaved-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.shared-updates-notice { display: flex; align-items: center; gap: 20px; justify-content: space-between; padding: 20px; margin-bottom: 24px; border: 1px solid #dce2e3; }
.shared-updates-notice p { margin: 6px 0 0; }
.shared-updates-notice .button { flex-shrink: 0; }
.recovery-comparison h3 { font-size: 1.05rem; margin: 0 0 8px; }
.recovery-values { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.recovery-value { white-space: pre-wrap; overflow-wrap: anywhere; background: #f5f6f4; padding: 12px; border-radius: 8px; }
.save-recovery-dialog > .unsaved-actions { position: sticky; bottom: -1px; background: var(--surface, #fff); padding: 16px 0 4px; border-top: 1px solid #dce2e3; }
.recovery-additional { font-size: .95rem; }
@media(max-width:600px) { .shared-updates-notice { align-items: stretch; flex-direction: column; gap: 12px; } .recovery-values { grid-template-columns: minmax(0, 1fr); } }
@media(max-width:600px) { .save-recovery-dialog .button { width: 100%; } }

/* Stati preliminari: nessuna pendenza operativa per i Lead. */
.property-marketing-state[data-tone=neutral],.property-mandate-validity[data-tone=neutral]{background:#f1f5f4;border-color:#dce5e6;color:#526a70}
.property-marketing-badge[data-tone=neutral],.property-mandate-state[data-tone=neutral]{background:#edf2f2;color:#526a70}

/* Flussi compatti: una colonna leggibile, profondità visiva limitata. */
.job-flow-group{padding:0;min-width:0;max-width:100%}
.job-flow-group>.job-flow-head{flex-direction:row;cursor:pointer;list-style:none;margin:0;padding:17px 18px;align-items:flex-start;gap:14px}
.job-flow-group>.job-flow-head::-webkit-details-marker{display:none}
.job-flow-head:focus-visible{outline:2px solid #7193a0;outline-offset:3px;border-radius:12px}
.job-flow-group[open]>.job-flow-head{border-bottom:1px solid #e1e8e8}
.job-flow-overview{display:grid;min-width:0;gap:6px;flex:1}
.job-flow-head .job-flow-overview>strong{font-size:1rem;line-height:1.4;text-transform:none;letter-spacing:0;color:#203944;overflow-wrap:anywhere}
.job-flow-group .job-flow-dates{display:grid;gap:5px;min-width:0;font-size:.85rem;line-height:1.5;color:#203944}
.job-flow-group .job-flow-date-line{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 18px;min-width:0}
.job-flow-group .job-flow-deadline,.job-flow-group .job-flow-next-date{display:inline-flex;align-items:baseline;flex-wrap:wrap;gap:4px 7px;color:#203944}
.job-flow-group .job-flow-date-label{color:#405d67;font-weight:650}
.job-flow-group .job-flow-date-empty{color:#405d67}
.job-flow-group .job-flow-deadline>time,.job-flow-group .job-flow-next-date>time{font-weight:750;color:#203944}
.job-flow-group .job-flow-created{color:#526a70;font-size:.8rem}
.job-flow-group .job-flow-next{display:flex;align-items:baseline;flex-wrap:wrap;gap:3px 7px;min-width:0;color:#405d67}
.job-flow-group .job-flow-next-title{color:#203944;overflow-wrap:anywhere}
.job-flow-group .job-flow-next-date{font-size:.8rem}
.job-flow-group .job-flow-urgency{border-radius:5px;padding:1px 6px;font-size:.75rem;font-weight:750}
.job-flow-group .job-flow-urgency.overdue{background:#fff4f1;color:#923b31}
.job-flow-group .job-flow-urgency.soon{background:#eaf1f2;color:#315665}
.job-flow-context{display:block;margin:0;font-size:.8rem;line-height:1.5;color:#526a70;overflow-wrap:anywhere}
.job-flow-head .job-flow-counts{font-size:.8rem;line-height:1.5;color:#526a70}
.job-flow-disclosure{font-size:1.1rem;color:#526a70;flex:none;transition:transform .15s}
.job-flow-group[open]>.job-flow-head .job-flow-disclosure{transform:rotate(180deg)}
.job-flow-head .job-flow-matches,.job-flow-matches{font-size:.78rem;color:#80502f;font-weight:700}
.job-flow-rows{display:grid;gap:8px;padding:12px}
.job-flow-group .job-flow-branch{min-width:0;margin-left:calc(var(--flow-depth,0) * 12px)}
.job-flow-group .job-flow-node{box-sizing:border-box;display:grid;grid-template-columns:minmax(0,1fr);width:100%;min-width:0;gap:7px;padding:12px 14px;white-space:normal;box-shadow:none}
.job-flow-group .job-flow-node>strong{font-size:.95rem;line-height:1.45;overflow-wrap:anywhere;min-width:0}
.job-flow-group .job-flow-side{grid-column:auto;grid-row:auto;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start;min-width:0;max-width:100%;gap:6px 12px}
.job-flow-group .job-flow-side small{font-size:.8rem;white-space:normal;color:#526a70;overflow-wrap:anywhere}
.job-flow-group .job-flow-node .job-assignee{white-space:normal;min-width:0;max-width:100%;font-size:.8rem}
.job-flow-group .job-flow-node .job-assignee>span:last-child{overflow-wrap:anywhere}
.job-flow-group .job-flow-node .badge{max-width:100%;white-space:normal;overflow-wrap:anywhere}
.job-flow-group .job-flow-kicker{min-width:0;gap:6px}
.job-flow-group .job-flow-role{font-size:.7rem;line-height:1.4;letter-spacing:.04em}
.job-flow-group .job-flow-mine-label{font-size:.7rem;white-space:normal}
.job-flow-shared{font-size:.72rem;line-height:1.4;color:#3f6572;border:1px solid #cfdee1;border-radius:5px;padding:2px 6px;background:#eff5f6}
.job-flow-extra,.job-flow-relation{display:block;min-width:0;color:#526a70;font-size:.77rem;line-height:1.45;overflow-wrap:anywhere}
.job-flow-group .job-flow-node.is-mine{box-shadow:inset 3px 0 #a85f35}
.job-flow-group .job-flow-node.is-context{border-style:dashed}
.job-flow-group .job-flow-node:focus-visible{outline:2px solid #315665;outline-offset:2px}
.job-flow-group.is-single{padding:12px}
.job-flow-group.is-single>.job-flow-context{margin:0 2px 8px}
.job-flow-group [hidden]{display:none!important}
@media(max-width:600px){
 .job-flow-list{padding:0 12px 18px;gap:12px}
 .job-flow-group>.job-flow-head{padding:14px;flex-direction:row}
 .job-flow-group .job-flow-branch{margin-left:calc(var(--flow-depth,0) * 6px)}
 .job-flow-rows{padding:9px;gap:8px}
 .job-flow-group .job-flow-node{padding:11px;gap:7px}
}
.job-flow-rows{container-type:inline-size}
@container(min-width:720px){
 .job-flow-group .job-flow-node{grid-template-columns:minmax(0,1fr) minmax(210px,34%);column-gap:18px}
 .job-flow-group .job-flow-kicker,.job-flow-group .job-flow-node>strong{grid-column:1}
 .job-flow-group .job-flow-side{grid-column:2;grid-row:1 / span 2;justify-content:flex-end}
 .job-flow-group .job-flow-extra,.job-flow-group .job-flow-relation{grid-column:1 / -1}
}

/* Distinct parking prices, using the existing property editor components. */
.property-parking-card{min-width:0;margin:16px 0;padding:18px;border:1px solid #dfe8e8;border-radius:10px;background:#fff}
.property-parking-card legend{max-width:100%;padding:0 7px;color:#213d45;font-weight:800;overflow-wrap:anywhere}
.property-parking-card .property-calculated-field{margin-bottom:0}
.property-parking-pricing [data-parking-mode][hidden]{display:none!important}
@media(max-width:600px){.property-parking-card{padding:14px}.property-parking-card .fields.two{grid-template-columns:minmax(0,1fr)}}

.property-parking-summary-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:16px;margin:18px 0}
.property-parking-summary{min-width:0;padding:16px;border:1px solid #dfe8e8;border-radius:10px;background:#fff}
.property-parking-summary h4{margin:0 0 8px;font-size:1rem;color:#213d45}
.property-parking-summary .property-info-list{grid-template-columns:minmax(0,1fr)}
.property-parking-summary .property-info-list>div{gap:10px}

.property-parking-summary dd{white-space:nowrap}

/* Existing recovery comparison, with explicit per-field choices. */
.recovery-selection { margin: 20px 0; padding: 16px; border: 1px solid var(--line, #d4dfe2); border-radius: 12px; min-width: 0; }
.recovery-selection legend { font-weight: 700; }
.recovery-choice { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; cursor: pointer; }
.recovery-choice input { flex: 0 0 auto; width: 22px; height: 22px; margin-top: 3px; }
.recovery-choice > span { display: grid; gap: 6px; min-width: 0; overflow-wrap: anywhere; }
.recovery-choice small { color: var(--muted); }
.recovery-contact-field { display: grid; gap: 8px; padding: 0 0 16px 34px; }
.recovery-contact-field small { color: #506873; line-height: 1.5; font-weight: 400; }
.form-error { scroll-margin-block: 140px; }
.form-error:focus { outline: 2px solid #a24138; outline-offset: 3px; }

.save-recovery-dialog [hidden] { display: none !important; }

/* Daily work: a readable hierarchy using HomeLab's existing type and colors. */
.job-table th{font-size:.8125rem;color:#536970;letter-spacing:.04em}
.job-table td{font-size:.9375rem;line-height:1.45}
.job-table .job-title{font-size:1rem;line-height:1.4;overflow-wrap:anywhere}
.job-table td small{font-size:.875rem;color:var(--text-secondary);line-height:1.45}
.job-status-select{font-size:.875rem;min-height:44px}
.job-card strong,.list-row .list-main strong,.recent-row strong{font-size:1rem;line-height:1.4;color:#1b343f}
.content .list-row small,.content .recent-row small{font-size:.875rem;line-height:1.5}
.content .job-date,.content .job-footer{font-size:.875rem;line-height:1.45}
.home-activities{margin:0 0 32px}
.home-activities .job-card{min-height:160px}
.home-activities .job-card strong{margin-top:10px}
.home-activities .job-footer{margin-top:10px}
.home-scope{margin-bottom:20px}
.home-scope strong{font-size:1rem}
.home-scope span{font-size:.875rem;color:var(--text-secondary)}
.home-widget-section{margin-bottom:24px}
.home-widget-section .stat-card{min-height:112px;padding:16px 18px}
.home-widget-section .stat-card strong{font-size:clamp(1.45rem,2vw,2rem);margin-top:6px}
.home-widget-section .stat-card small{font-size:.875rem;color:var(--text-secondary)}
.property-mobile-gallery-open{display:none}
@media(min-width:901px){.content .job-table .job-status-select{min-width:140px}}
@media(max-width:900px){
  .job-table td:nth-child(n+2)::before{font-size:.75rem;color:#536970;letter-spacing:.04em}
  .home-widget-section .stats.four .stat-card{min-height:112px;padding:14px}
  .home-widget-section .stats.four .stat-card strong{margin-top:6px}
}
@media(max-width:600px){
  .property-cover,.reference-preview-dialog.is-property .property-cover:not(.without-photo){height:104px;aspect-ratio:1}
  .property-cover>.property-carousel-arrow,.property-cover>.property-cover-toolbar{display:none}
  .property-mobile-gallery-open{display:flex;align-items:flex-end;justify-content:center;position:absolute;inset:0;width:100%;padding:8px;border:0;border-radius:inherit;background:transparent;color:#fff}
  .property-mobile-gallery-open span{padding:3px 9px;border-radius:6px;background:#1b343fe8;font-size:.875rem;font-weight:700;line-height:1.4}
  .property-mobile-gallery-open:hover{background:#1b343f18}
  .property-mobile-gallery-open:focus-visible{outline:3px solid #88a5af;outline-offset:-3px}
  .property-cover.without-photo .property-cover-empty{padding-top:6px;gap:0}
  .property-cover.without-photo .property-cover-empty span{font-size:1.5rem}
}

/* Existing Job connections: readable, expandable context without a new hierarchy. */
.job-links{min-width:0;margin:10px 0 0;border:1px solid #ccdadd;border-radius:10px;background:#f3f7f7;color:#1b343f;text-align:left}
.job-links>summary{display:flex;align-items:center;gap:10px;min-height:44px;padding:10px 12px;cursor:pointer;list-style:none}
.job-links>summary::-webkit-details-marker{display:none}
.job-links-summary{flex:1;min-width:0;line-height:1.45;overflow-wrap:anywhere}
.job-links-summary>strong{font-size:.9375rem;color:#315665}
.job-links-summary>span{font-size:.875rem;color:#536970;margin-left:6px}
.job-links-summary>small{display:block;font-size:.875rem;color:#536970;margin-top:2px}
.job-links-metric{display:inline-block;white-space:nowrap}
.job-links-chevron{flex:none;color:#315665;font-size:1.25rem;transition:transform .15s}
.job-links[open]>summary .job-links-chevron{transform:rotate(180deg)}
.job-links[open]>summary{border-bottom:1px solid #ccdadd}
.job-links>summary:hover{background:#e8f0f1;border-radius:9px}
.job-links>summary:focus-visible{outline:3px solid #88a5af;outline-offset:2px;border-radius:9px}
.job-links-body{padding:12px;min-width:0}
.job-links-group+.job-links-group{margin-top:16px}
.job-links-group>h3{font-size:.9375rem;color:#315665;margin:0 0 8px;line-height:1.4}
.job-links-row{display:grid;grid-template-columns:minmax(0,1fr) 14px;align-items:center;gap:8px;width:100%;padding:10px;margin-top:7px;border:1px solid #dce5e7;border-radius:8px;background:#fff;color:#1b343f;text-align:left}
.job-links-row:hover,.job-links-row:focus-visible{border-color:#7193a0;background:#edf3f4}
.job-links-copy{min-width:0;display:grid;gap:3px;overflow-wrap:anywhere}
.job-links-copy>strong{font-size:1rem;line-height:1.4}
.job-links-copy>small{display:block;font-size:.875rem;line-height:1.45;color:#5e7077}
.job-links-row>.badge{grid-column:1;grid-row:2;justify-self:start;white-space:normal;text-align:left}
.job-links-arrow{grid-column:2;grid-row:1;color:#315665}
.job-links-filter-note{font-size:.875rem;color:#536970;line-height:1.45;margin:0 0 12px}
.job-links-detail{margin:0 0 22px;background:#fff}
.job-links-detail>summary{padding:18px 22px;background:#f3f7f7;border-radius:10px}
.job-links-detail .job-links-summary>strong{font-size:1.18rem}
.job-links-detail .job-links-body{padding:18px 22px}
.job-links-detail .job-links-row{grid-template-columns:minmax(0,1fr) auto 14px}
.job-links-detail .job-links-row>.badge{grid-column:2;grid-row:1}
.job-links-detail .job-links-arrow{grid-column:3}
.job-links-empty{display:flex;flex-wrap:wrap;gap:6px 14px;padding:16px 22px;margin-bottom:22px;color:#5e7077;font-size:.9375rem}
.job-links-empty strong{color:#315665}
.job-card-shell{display:flex;flex-direction:column;min-width:0;border:1px solid #e6eaeb;border-radius:11px;background:#fbfcfc;overflow:hidden}
.job-card-shell>.job-card{width:100%;border:0;flex:1}
.job-card-shell>.job-links{margin:0 12px 12px}
.job-card-shell[hidden]{display:none}
@media(max-width:600px){
  .job-links-detail>summary,.job-links-detail .job-links-body{padding:14px}
  .job-links-detail .job-links-row{grid-template-columns:minmax(0,1fr) 14px}
  .job-links-detail .job-links-row>.badge{grid-column:1;grid-row:2}
  .job-links-detail .job-links-arrow{grid-column:2}
  .job-links-empty{padding:14px}
}
@media(prefers-reduced-motion:reduce){.job-links-chevron{transition:none}}

@media(max-width:900px){
  .job-table td:first-child{padding-right:7px}
  .job-table td:first-child>.job-title{display:block;width:100%;padding-right:48px}
  .job-table td:first-child>small{padding-right:48px}
}

/* Barra personale: ricerca dominante, criteri compatti, dettagli su richiesta. */
.my-job-filters{padding:20px 24px;border-bottom:1px solid #e0e7e9;background:#fafbfb}
.my-job-toolbar{display:grid;grid-template-columns:minmax(180px,1fr) minmax(170px,.5fr) minmax(150px,.4fr) auto;align-items:end;gap:12px}
.my-job-filters .field{margin:0;min-width:0}
.my-job-filters .field>span:first-child{font-size:13px;font-weight:600;color:#52656d;margin-bottom:6px}
.my-job-search-control{position:relative;display:block}
.my-job-search-control>svg{position:absolute;left:14px;top:50%;transform:translateY(-50%);color:#526f7b;pointer-events:none}
.content .my-job-filters .my-job-search input[type=search]{padding-left:42px;font-weight:400}
.my-job-filters input,.my-job-filters select{background:#fff;border-color:#d4dfe3;min-height:44px;font-size:15px;border-radius:10px}
.my-job-more{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 14px;border:1px solid #cbd9de;border-radius:10px;background:#fff;color:#315665;font:inherit;font-size:14px;font-weight:700;white-space:nowrap;cursor:pointer}
.my-job-more:hover{background:#edf3f5;border-color:#91aeb9}
.my-job-more[aria-expanded="true"]{background:#e8f0f3;border-color:#91aeb9}
.my-job-more-chevron{transition:transform .15s}
.my-job-more[aria-expanded="true"] .my-job-more-chevron{transform:rotate(180deg)}
.my-job-more:focus-visible{outline:2px solid #315665;outline-offset:3px}
.my-job-filter-badge{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;border-radius:50%;background:#315665;color:#fff;font-size:12px}
.my-job-filter-badge[hidden]{display:none}
.my-job-filter-extra{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:18px;padding:18px 0 2px;border-top:1px solid #dce5e8}
.my-job-filter-extra[hidden],.my-job-applied[hidden]{display:none}
.my-job-applied{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:14px}
.my-job-applied p{margin:0;color:#52656d;font-size:13px;line-height:1.5;overflow-wrap:anywhere}
.my-job-applied [data-my-job-reset]{flex:none;min-height:44px;color:#315665;font-size:13px}
.my-job-board .job-flow-node.is-context{opacity:1;background:#f5f7f7}
.job-flow-context-label{color:#52656d;font-weight:700}
@media(max-width:1150px){.my-job-toolbar{grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto}.my-job-search{grid-column:1/-1}}
@media(max-width:900px){.my-job-filters{padding:16px}.my-job-filter-extra{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.my-job-toolbar{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.my-job-search{grid-column:1/-1}.my-job-more{grid-column:1/-1;justify-self:start}.my-job-filter-extra{grid-template-columns:1fr;gap:12px}.my-job-applied{align-items:flex-start;gap:10px}.my-job-filters input,.my-job-filters select{font-size:16px}}
@media(prefers-reduced-motion:reduce){.my-job-more-chevron{transition:none}}

/* Il centro di lavoro riutilizza la stessa barra dei Job personali. */
.all-job-filters .my-job-filter-extra{grid-template-columns:repeat(2,minmax(0,1fr))}
.all-job-filters .job-status-menu>summary{height:44px;border-radius:10px;border-color:#d4dfe3;font-size:16px}
.all-job-filters .job-status-options label{min-height:44px;font-size:15px}
.all-job-filters .job-status-presets button{min-height:44px;font-size:14px}
@media(max-width:600px){.all-job-filters .my-job-filter-extra{grid-template-columns:1fr}}

/* Liste Richieste e Immobili: stessa barra di ricerca e filtri dei Job. */
.contact-filter-bar .my-job-toolbar{grid-template-columns:minmax(180px,1fr) minmax(180px,.5fr) minmax(150px,.4fr)}
.contact-filter-bar .my-job-search{grid-column:auto}
.contact-filter-bar [data-contact-reset]{flex:none;min-height:44px;color:#315665;font-size:13px}
.contacts-list>.list-head{gap:12px;flex-wrap:wrap}
.contacts-list [data-search-count]{margin:0}
.contacts-list [data-contact-sort-label]{color:#52656d;font-size:.8125rem;line-height:1.5}
@media(max-width:1150px){.contact-filter-bar .my-job-toolbar{grid-template-columns:repeat(2,minmax(0,1fr))}.contact-filter-bar .my-job-search{grid-column:1/-1}}
@media(max-width:600px){.contact-filter-bar .my-job-toolbar{grid-template-columns:minmax(0,1fr)}.contact-filter-bar .my-job-toolbar>.field{grid-column:1/-1}.contact-filter-bar .my-job-applied{flex-direction:column}}
.request-filter-bar .my-job-filter-extra{grid-template-columns:minmax(0,360px)}
.property-filter-bar .property-catalog-sort{min-width:0}
.property-filter-bar .property-catalog-sort select{font-weight:400}
@media(min-width:1151px){.property-filter-bar .my-job-toolbar{grid-template-columns:minmax(180px,1fr) minmax(170px,.5fr) minmax(220px,.4fr) auto}}
.property-filter-panel{margin-top:18px;padding-top:20px;border-top:1px solid #dce5e8}
.property-filter-panel[hidden]{display:none}
.property-filter-group{min-width:0;padding:0;margin:0;border:0}
.property-filter-group+.property-filter-group{margin-top:26px}
.property-filter-group>legend{padding:0;margin-bottom:14px;color:#1b343f;font-size:16px;font-weight:700}
.property-filter-bar .property-catalog-filter-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.property-filter-bar .property-filter-group:nth-of-type(2) .property-catalog-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.property-filter-bar .property-catalog-filter-actions{gap:12px;margin-top:24px;padding-top:18px;border-color:#dce5e8}
.property-filter-bar .property-catalog-filter-actions p{font-size:13px;color:#52656d;line-height:1.5}
.property-filter-bar .property-catalog-filter-error{font-size:14px;line-height:1.5}
.property-filter-bar [aria-invalid="true"]{border-color:#a74330}
.property-filter-bar .property-catalog-chip{min-height:44px;border-radius:10px;border-color:#cbd9de;background:#e8f0f3;color:#315665;font-size:13px;font-weight:600;padding:8px 10px}
.property-filter-bar .property-catalog-chip:hover,.property-filter-bar .property-catalog-chip:focus-visible{background:#dce9ed;border-color:#91aeb9}
.property-filter-applied{align-items:flex-start}
.property-filter-result{margin:0;color:#52656d;font-size:14px}
.property-filter-result strong{color:#1b343f}
@media(max-width:900px){.property-filter-bar .property-catalog-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.request-filter-bar .my-job-filter-extra,.property-filter-bar .property-catalog-filter-grid,.property-filter-bar .property-filter-group:nth-of-type(2) .property-catalog-filter-grid{grid-template-columns:1fr}.property-filter-applied{flex-wrap:wrap}.property-filter-applied .property-catalog-chips{flex-basis:100%}.property-filter-applied [data-property-catalog-reset]{margin-left:auto}.property-filter-bar .property-catalog-filter-actions .button{flex:1;white-space:nowrap}}
@media(max-width:600px){.property-filter-bar .my-job-toolbar>.field{grid-column:1/-1}}

/* Modelli Job: suggerimenti adattabili nello stesso modulo di lavoro. */
.job-template-entry{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px;margin-bottom:22px;background:#f5f7f7;border:1px solid #dce5e8;border-radius:10px}
.job-template-entry strong{color:#1b343f;font-size:1rem}
.job-template-entry p{margin:5px 0 0;color:#52656d;font-size:.875rem;line-height:1.5}
.job-template-entry .button{flex:none}
.job-template-dialog{width:min(760px,calc(100vw - 32px));max-width:760px;max-height:88dvh;overflow-y:auto;padding:24px}
.job-template-dialog .section-heading{align-items:flex-start}
.job-template-dialog h2{margin:0}
.job-template-dialog>.field{margin-top:20px}
.job-template-dialog input,.job-template-dialog select,.job-template-dialog textarea{font-size:16px;min-height:44px}
.job-template-dialog .field>small{font-size:.875rem;line-height:1.5;color:#52656d}
.job-template-manage{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:16px}
.job-template-manage label{display:flex;align-items:center;gap:8px;min-height:44px;font-size:.875rem}
.job-template-row{display:flex;align-items:center;gap:16px;border-top:1px solid #dce5e8;padding:10px 0}
.job-template-choice{display:grid;gap:5px;flex:1;min-width:0;text-align:left;padding:12px;border:1px solid transparent;border-radius:10px;background:#fff;color:#1b343f;font:inherit;cursor:pointer}
.job-template-choice strong{font-size:1rem}
.job-template-choice small{font-size:.875rem;color:#52656d}
.job-template-choice span{font-size:.875rem;line-height:1.5;color:#52656d;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.job-template-choice:hover,.job-template-choice[aria-pressed="true"]{background:#edf3f5;border-color:#cbd9de}
.job-template-choice:focus-visible{outline:2px solid #315665;outline-offset:2px}
.job-template-row>.text-link{flex:none;min-height:44px;color:#315665;font-size:.875rem}
.job-template-preview,[data-template-editor]{margin-top:18px;padding-top:18px;border-top:1px solid #dce5e8}
.job-template-instructions{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6;color:#263439}
.job-template-dialog [hidden]{display:none!important}
.job-template-dialog .form-actions{flex-wrap:wrap;margin-top:20px}
@media(max-width:600px){.job-template-entry{align-items:stretch;flex-direction:column}.job-template-dialog{padding:18px;max-height:90dvh}.job-template-dialog .form-actions .button{flex:1;min-width:120px}}

.job-sequence-summary .step-head{margin-bottom:18px}
.job-sequence-count{margin:0 0 22px;font-weight:800;color:#203e49}
.job-sequence-stage{border-left:2px solid #dce5e8;padding:0 0 22px 18px;margin-left:5px;min-width:0}
.job-sequence-stage:last-child{padding-bottom:0}
.job-sequence-stage>h3{font-size:1rem;margin:0 0 12px;color:#31525d}
.job-sequence-main{border-left-color:#31525d}
.job-sequence-item{padding:16px;border:1px solid #dce5e8;border-radius:12px;background:#f7f9f9;margin-bottom:10px;min-width:0;overflow-wrap:anywhere}
.job-sequence-main .job-sequence-item{background:#edf3f5;border-color:#aebfc6}
.job-sequence-existing{background:#fff}
.job-sequence-item-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.job-sequence-item-head h4{margin:0;font-size:1rem;line-height:1.45;color:#203e49}
.job-sequence-item-head .badge{flex:none}
.job-sequence-type{margin:7px 0 12px;color:#526871;font-size:.875rem}
.job-sequence-item dl{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0 0 12px}
.job-sequence-item dt{font-size:.8rem;color:#526871;margin-bottom:3px}
.job-sequence-item dd{margin:0;font-size:.94rem;color:#203e49}
.job-sequence-links{list-style:none;padding:0;margin:0;color:#526871;font-size:.875rem;line-height:1.6}
.job-sequence-waits{border-top:1px solid #dce5e8;margin:12px 0 0;padding-top:10px;font-size:.875rem;color:#31525d}
.job-sequence-branch{margin:0 0 16px}
.job-sequence-branch-label{font-size:.875rem;font-weight:700;color:#526871;margin:0 0 8px}
.job-sequence-branch ol{padding-left:22px;margin:0}
.job-sequence-branch li::marker{color:#526871;font-weight:700}
@media(max-width:600px){.job-sequence-stage{padding-left:12px}.job-sequence-item{padding:12px}.job-sequence-item-head{flex-wrap:wrap;gap:8px}.job-sequence-item dl{grid-template-columns:1fr}.job-sequence-branch ol{padding-left:18px}}

.job-sequence-changes{padding:16px;border:1px solid #dce5e8;border-radius:12px;margin:0 0 22px;background:#f7f9f9;overflow-wrap:anywhere}
.job-sequence-changes h3{font-size:1rem;color:#31525d;margin:0 0 12px}
.job-sequence-changes ul{padding-left:20px;font-size:.94rem;line-height:1.6}
.job-sequence-changes li{margin-bottom:8px}
.job-sequence-effects{border-top:1px solid #dce5e8;padding-top:12px}
.job-sequence-effects span{display:block;color:#526871}
#job-dependencies-form .job-sequence-summary{margin-top:18px}

/* Eliminazione selettiva: elenco scorrevole e conferma sempre visibile. */
.delete-job-dialog{width:min(760px,calc(100vw - 32px));max-width:760px;max-height:calc(100dvh - 32px);padding:24px}
.delete-job-dialog[open]{display:flex;flex-direction:column}
.delete-job-dialog h2{flex:none;font-size:1.25rem;overflow-wrap:anywhere;line-height:1.4}
.delete-job-body{overflow-y:auto;min-height:0;padding:8px 6px 0 0;overscroll-behavior:contain}
.delete-job-dialog p{font-size:.94rem;color:#526871;margin-bottom:16px}
.delete-job-current{padding:14px;background:#edf3f5;border:1px solid #cbd9de;border-radius:10px;margin-bottom:20px;overflow-wrap:anywhere}
.delete-job-current small{display:block;margin-top:5px;color:#526871}
.delete-job-options{border:0;padding:0;margin:0 0 20px;min-width:0}
.delete-job-options legend{font-weight:800;margin-bottom:10px;color:#203e49}
.delete-job-choice{display:flex;align-items:flex-start;gap:12px;padding:14px;border:1px solid #dce5e8;border-radius:10px;margin-bottom:10px;cursor:pointer;overflow-wrap:anywhere}
.delete-job-choice:has(input:checked){background:#edf3f5;border-color:#7c9aa6}
.delete-job-choice input{flex:none;width:20px;height:20px;margin:2px 0;accent-color:#315665}
.delete-job-choice>span{min-width:0}
.delete-job-choice strong,.delete-job-choice small{display:block;line-height:1.5}
.delete-job-choice strong{font-size:1rem;color:#203e49}
.delete-job-choice small{font-size:.875rem;color:#526871;margin-top:4px}
.delete-job-choice .badge{margin-top:8px}
[data-delete-job-affected]{padding:14px;background:#fff9ef;border:1px solid #e4cda5;border-radius:10px;margin-bottom:8px;overflow-wrap:anywhere}
[data-delete-job-affected][hidden]{display:none}
[data-delete-job-affected] h3{font-size:1rem;margin:0 0 8px}
[data-delete-job-affected] ul{padding-left:20px;font-size:.875rem;line-height:1.5}
[data-delete-job-affected] p{margin-bottom:0}
.delete-job-footer{flex:none;padding-top:16px;border-top:1px solid #dce5e8;margin-top:12px}
.delete-job-footer .delete-impact{margin-bottom:12px}
.delete-job-footer [data-action="review-delete-job"]{width:100%;margin-bottom:12px;white-space:normal}
.delete-job-footer .button[hidden]{display:none}
.delete-job-footer .unsaved-actions{display:flex;gap:12px}
.delete-job-footer .unsaved-actions .button{flex:1;min-height:46px}
@media(max-width:600px){.delete-job-dialog{padding:18px;max-height:calc(100dvh - 24px)}.delete-job-dialog h2{font-size:1.1rem}.delete-job-choice{padding:12px}.delete-job-footer .unsaved-actions{flex-direction:column}.delete-job-footer .delete-impact{font-size:.875rem;padding:10px}}

/* Attesa manuale: stesso Job, ricontrollo distinto dalla scadenza. */
.job-wait-section{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:24px;margin-bottom:20px;border:1px solid #dce5e8}
.job-wait-section h2{margin:0 0 10px;font-size:1.25rem}
.job-wait-section p{margin:6px 0;line-height:1.6}
.job-wait-section>div{min-width:0}
.job-wait-reason,.job-wait-job-name{overflow-wrap:anywhere;white-space:pre-wrap}
.job-wait-actions{display:flex;flex-wrap:wrap;gap:10px;flex:none}
.job-wait-section.is-due{background:#fff9ef;border-color:#d1bfa3}
.job-wait-marker{display:block;font-size:.8125rem;line-height:1.5;color:#315665;white-space:normal}
.job-wait-marker.is-due{font-weight:700;color:#855027}
.job-wait-dialog{max-width:620px;width:calc(100% - 32px);max-height:calc(100dvh - 32px);overflow-y:auto;box-sizing:border-box}
.job-wait-dialog h2{margin-top:0}
.job-wait-dialog .field{margin-top:16px}
.job-wait-dialog .fields .field{min-width:0}
.job-wait-dialog .form-actions{gap:10px;flex-wrap:wrap}
.job-wait-dialog .button{min-height:44px}
.job-wait-dialog [hidden]{display:none!important}
.job-flow-node>.job-wait-marker{grid-column:1/-1;min-width:0}
@media(max-width:900px){.job-wait-section{flex-direction:column}.job-wait-actions{width:100%}}
@media(max-width:600px){.job-wait-dialog{padding:20px}.job-wait-dialog .fields.two{grid-template-columns:1fr}.job-wait-dialog .form-actions .button{flex:1}.job-wait-actions .button{width:100%}}

/* User profile: familiar HomeLab surfaces, a clear identity and two short sections. */
.avatar img{display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit}
.profile-form{max-width:880px;display:grid;gap:20px}
.profile-intro,.profile-section,.profile-contact-card{padding:26px 30px}
.profile-intro{display:flex;align-items:center;gap:28px;flex-wrap:wrap;border-top:4px solid #d1bfa3}
.profile-person{display:flex;align-items:center;gap:18px;min-width:0}
.profile-person h2{font-size:1.5rem;overflow-wrap:anywhere}
.profile-person p{color:#52676f;margin:5px 0 0}
.profile-avatar{width:88px;height:88px;font-size:1.5rem;border:4px solid #fff;box-shadow:0 0 0 1px #d9e1e2}
.profile-photo-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;flex:1;min-width:220px}
.profile-photo-actions small,.profile-photo-actions p{flex-basis:100%;color:#52676f;font-size:.875rem;line-height:1.5;margin:0}
.profile-photo-picker{position:relative;cursor:pointer;overflow:hidden}
.profile-photo-picker input{position:absolute;inset:0;opacity:0;width:100%;cursor:pointer}
.profile-photo-picker:focus-within{outline:3px solid #88a5af;outline-offset:3px}
.profile-form [hidden]{display:none!important}
.profile-section h2{font-size:1.2rem;margin:0 0 18px}
.profile-section .fields:last-child{margin-bottom:0}
.profile-form input[readonly]{background:#f2f4f4;color:#435c66;cursor:default}
.profile-role{border-top:1px solid #e4e9e9;padding-top:18px;margin-top:18px;display:grid;grid-template-columns:1fr auto;gap:6px 18px}
.profile-role>span{font-weight:650;color:#38484d}
.profile-role strong{font-size:.9375rem;color:#294f5d}
.profile-role p{grid-column:1/-1;color:#5e7077;font-size:.875rem;line-height:1.5;margin:0}
.profile-actions{padding:0}
.profile-visibility{margin:0}
.profile-form .form-error{margin:0}
.profile-contact-card{margin-bottom:24px;display:flex;align-items:center;gap:24px;flex-wrap:wrap}
.profile-contact-card .profile-avatar{height:64px;width:64px;font-size:1.2rem}
.profile-contact-list{display:grid;gap:10px;flex:1;min-width:180px;margin:0}
.profile-contact-list dt{font-size:.875rem;color:#52676f}
.profile-contact-list dd{margin:2px 0 0;overflow-wrap:anywhere;color:#1b343f}
.profile-contact-list a{color:#276477;text-underline-offset:3px}
@media(max-width:600px){
  .profile-intro,.profile-section,.profile-contact-card{padding:22px 18px}
  .profile-intro{gap:22px;align-items:flex-start}
  .profile-person{gap:15px}
  .profile-avatar{width:72px;height:72px;font-size:1.25rem}
  .profile-photo-actions{min-width:0;flex-basis:100%}
  .profile-photo-actions .button{flex:1;white-space:normal}
  .profile-section .fields.two{grid-template-columns:1fr}
  .profile-actions{flex-wrap:nowrap}
  .profile-actions .button{flex:1}
  .profile-contact-card{align-items:flex-start;gap:20px}
  .profile-contact-list{flex-basis:100%}
}
/* Personal access follows the existing HomeLab controls and palette. */
.access-page { min-height:100dvh; display:grid; place-items:center; padding:24px; background:var(--page, #f7f6f2); }
.access-card { width:min(100%,500px); padding:32px; }
.access-brand { display:flex; align-items:center; gap:12px; margin-bottom:32px; font-size:26px; color:#1b343f; }
.access-card h1, .access-invite-dialog h2 { line-height:1.2; }
.access-card form, .access-invite-dialog form, .access-reauth-dialog form { display:grid; gap:18px; margin:24px 0; }
.access-card input, .access-invite-dialog input, .access-reauth-dialog input { width:100%; min-width:0; }
.access-invite-dialog, .access-reauth-dialog { width:min(540px,calc(100vw - 32px)); max-height:calc(100dvh - 32px); overflow:auto; padding:28px; border:1px solid #d7e1e5; border-radius:20px; color:#1b343f; }
.access-invite-dialog::backdrop, .access-reauth-dialog::backdrop { background:#1b343f99; }
.access-current-user { display:flex; align-items:center; gap:10px; border:0; background:transparent; color:#1b343f; padding:4px 8px; min-height:44px; }
.access-preview-note { padding:12px; background:#fff8eb; border:1px solid #d9be8c; border-radius:10px; color:#624818; }
.access-session-locked > :not(#access-session-notice) { display:none!important; }
.access-session-notice { position:fixed; inset:0; width:100%; height:100%; max-width:none; max-height:none; margin:0; padding:0; border:0; border-radius:0; overflow:auto; background:#f7f7f4; color:#1b343f; }
.access-session-notice::backdrop { background:#f7f7f4; }
@media(max-width:600px) { .access-page { padding:16px; align-items:start; } .access-card { margin-top:20px; padding:24px; } .access-current-user strong { max-width:100px; overflow:hidden; text-overflow:ellipsis; } }
.user-management-layout { display:grid;grid-template-columns:minmax(220px, .8fr) minmax(0, 1.6fr);gap:24px;align-items:start;margin-top:24px; }
.user-management-layout .surface { margin-bottom:20px; }
.user-management-actions { display:flex;gap:12px;flex-wrap:wrap;margin:24px 0; }
.user-responsibility-group { padding:12px 0;border-top:1px solid #d9e3e6; }
.user-responsibility-group summary { cursor:pointer;font-weight:600;min-height:44px;align-content:center; }
.user-responsibility-group li { margin:10px 0;overflow-wrap:anywhere; }
.user-management-history { padding-left:20px; }
.user-management-history li { margin:16px 0; }
.user-management-history small { display:block;color:#526a73;margin-top:6px; }
.user-management-dialog { width:min(680px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;padding:28px;border:1px solid #d7e1e5;border-radius:20px;color:#1b343f; }
.user-management-dialog::backdrop { background:#1b343f99; }
.user-management-dialog .muted { color:#526a73; }
.user-management-dialog .form-actions { position:sticky;bottom:-28px;background:white;padding:16px 0;display:flex;flex-wrap:wrap;gap:12px; }
.user-reassignment-queue > details { margin:20px 0;padding:16px;border:1px solid #d7e1e5;border-radius:12px; }
.user-reassignment-queue > details > summary { cursor:pointer;min-height:44px;align-content:center;font-weight:600; }
@media(max-width:900px) { .user-management-layout { grid-template-columns:1fr;gap:0; } .user-management-dialog { padding:20px; } .user-management-dialog .form-actions { bottom:-20px; } .user-management-actions .button { flex:1 1 200px; } }
.user-transfer-slots { display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 16px; }
.user-responsibility-items { list-style:none;padding:0; }
.user-responsibility-items > li { border:1px solid #d7e1e5;border-radius:12px;padding:16px;background:#fff; }
.user-responsibility-heading { display:flex;align-items:start;justify-content:space-between;gap:12px; }
.user-responsibility-heading .text-link { text-align:left;white-space:normal;overflow-wrap:anywhere;font-size:1rem;font-weight:700;line-height:1.4; }
.user-responsibility-heading > span,.user-responsibility-label { color:#526a73;font-size:.82rem; }
.user-responsibility-label { margin:8px 0 0; }
.user-reassignment-help { color:#526a73;font-size:.9rem;line-height:1.5;margin:12px 0 20px; }
.user-transfer-slot { width:100%;min-width:0;border-top:1px solid #d9e3e6;padding-top:14px; }
.user-transfer-current { display:grid;gap:6px;color:#1b343f; }
.user-transfer-current > span { color:#526a73;font-size:.88rem; }
.user-transfer-choice { display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:12px;margin-top:14px; }
.user-transfer-choice .field { min-width:0;margin:0; }
.user-transfer-choice select { width:100%;min-width:0;min-height:44px; }
.user-transfer-choice .button { min-height:44px;white-space:normal; }
.user-transfer-summary { background:#f7f9fa;border:1px solid #d7e1e5;border-radius:12px;padding:16px;margin:20px 0;overflow-wrap:anywhere; }
.user-transfer-summary .eyebrow { color:#526a73; }
.user-transfer-summary h3 { font-size:1.1rem;line-height:1.4; }
.user-transfer-summary dl { display:grid;gap:12px;margin:16px 0 0; }
.user-transfer-summary dt { color:#526a73;font-size:.82rem; }
.user-transfer-summary dd { margin:4px 0 0; }
@media(max-width:1100px) { .user-transfer-choice { grid-template-columns:minmax(0,1fr); } }
.user-management-dialog [hidden] { display:none !important; }
.user-management-layout .list-row.is-selected { background:#eaf1f3;box-shadow:inset 4px 0 #34525f; }
#user-management-selected { scroll-margin-top:90px; }

/* Live updates are separate from the editable page and never take focus. */
.live-activity {
  position: fixed; z-index: 75; right: 24px; bottom: 24px;
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  max-width: min(520px, calc(100vw - 32px)); padding: 16px 20px;
  color: #1c3540; background: #fff; border: 1px solid #c7d7dc;
  border-left: 4px solid #2d6674; border-radius: 16px;
  box-shadow: 0 8px 28px #1c35401c; font-size: 15px; line-height: 1.45;
}
.live-activity > span { flex: 1 1 240px; overflow-wrap: anywhere; }
.live-activity button { min-height: 40px; }
@media (max-width: 1100px) {
  .live-activity { bottom: calc(108px + env(safe-area-inset-bottom)); right: 16px; left: 16px; margin-left: auto; }
}
/* Shared property changes use the existing history dialog on every screen. */
.property-change-detail { color: var(--ink, #1b3540); }
.property-change-list { display: grid; gap: 12px; margin: 16px 0 24px; }
.property-change-item { padding: 16px; border: 1px solid #d6e0e3; border-radius: 12px; background: #f7f9f9; min-width: 0; }
.property-change-item h4 { margin: 0 0 12px; font-size: 1rem; overflow-wrap: anywhere; }
.property-change-item dl { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 16px; margin: 0; }
.property-change-item dt, .property-change-file small { display: block; color: #506670; font-size: .85rem; }
.property-change-item dd { margin: 4px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.property-change-file { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid #d6e0e3; }
.property-change-file > span { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 540px) { .property-change-item dl { grid-template-columns: minmax(0,1fr); gap: 10px; } .property-change-file { align-items: flex-start; flex-direction: column; } }
.push-settings { margin-top:24px; }
.push-settings p { color:#415D68; line-height:1.6; max-width:70ch; }
.push-settings-actions { display:flex; gap:12px; flex-wrap:wrap; }
.push-settings-actions [hidden] { display:none; }
@media (max-width:600px) { .push-settings-actions .button { width:100%; white-space:normal; } }
