/* No padding, borders, sizing or routing changes: depth is paint only. */
html #nestwerk-proposal [data-nw-button-depth]{
 box-shadow:inset 0 1px 0 #ffffffb3,inset 0 -1px 0 #b6a18b1a,0 2px 0 #cdbda86b,0 5px 10px -7px #70534970;
 transition:box-shadow .16s ease,transform .16s ease;
}
html #nestwerk-proposal [data-nw-depth-square]{border-radius:8px}
html #nestwerk-proposal [data-nw-button-depth="secondary"]{
 background-image:linear-gradient(145deg,#fffdf8,#eee5d9);
}
html #nestwerk-proposal [data-nw-button-depth="primary"]{
 background-image:linear-gradient(145deg,#a17e72,#906c62);
 box-shadow:inset 0 1px 0 #ffffff59,0 3px 0 #76564d,0 7px 12px -7px #74534980;
}
html #nestwerk-proposal [data-nw-button-depth="text"]{
 background-image:linear-gradient(145deg,#fffaf34d,#e9ddce40);
 box-shadow:inset 0 1px 0 #ffffff8c,0 1px 0 #cdbda87a,0 4px 7px -6px #70534970;
}
html #nestwerk-proposal [data-nw-button-depth="navigation"]{
 background-image:linear-gradient(145deg,#fffdf780,#e7ddcf66);
}
html #nestwerk-proposal [data-nw-button-depth="navigation"][aria-current="page"]{
 background-image:linear-gradient(145deg,#f4e9df,#e7d6c9);
 box-shadow:inset 0 1px 0 #ffffff99,0 2px 0 #c4a998,0 6px 11px -7px #74534966;
}
html #nestwerk-proposal [data-nw-button-depth="secondary"][aria-pressed="true"]{
 background-image:linear-gradient(145deg,#a17e72,#906c62);
 color:#fff;
 box-shadow:inset 0 1px 0 #ffffff40,0 2px 0 #76564d,0 6px 10px -7px #74534966;
}
html #nestwerk-proposal [data-nw-button-depth]:focus-visible{
 outline:3px solid #745349;outline-offset:3px;
}
@media(hover:hover) and (prefers-reduced-motion:no-preference){
 html #nestwerk-proposal [data-nw-button-depth]:not(:disabled):not([aria-disabled="true"]):hover{
  transform:translateY(-1px);
  box-shadow:inset 0 1px 0 #ffffff99,0 3px 0 #c4ad967a,0 7px 12px -7px #70534980;
 }
}
html #nestwerk-proposal [data-nw-button-depth]:not(:disabled):not([aria-disabled="true"]):active{
 transform:translateY(1px);box-shadow:inset 0 1px 3px #70534926,0 1px 0 #c4ad9659;
}
html #nestwerk-proposal [data-nw-button-depth]:is(:disabled,[aria-disabled="true"]){
 opacity:.5;box-shadow:inset 0 1px 0 #ffffff66;transform:none;
}
@media(prefers-reduced-motion:reduce){
 html #nestwerk-proposal [data-nw-button-depth]{transition:none;transform:none!important}
}

/* Native selection keeps its chevron above the warm surface gradient. */
html #nestwerk-proposal .nw-phase select{
 background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath d='m5 7 5 5 5-5' fill='none' stroke='%23fffaf5' stroke-width='2'/%3E%3C/svg%3E"),linear-gradient(155deg,#ad897c 0%,#987367 48%,#876156 100%)!important;
 background-position:right 14px center,center!important;
 background-size:20px 20px,100% 100%!important;
 background-repeat:no-repeat!important;
 box-shadow:inset 0 1px 0 #ffffff73,inset 0 -1px 0 #68483d40,0 3px 0 #76564d,0 9px 15px -7px #74534980!important;
}
/* Replace the old top marker with one continuous rounded selected surface. */
html #nestwerk-proposal nav [data-nw-button-depth="navigation"]{
 border-top-color:transparent!important;
 border-radius:12px!important;
}
html #nestwerk-proposal nav [data-nw-button-depth="navigation"][aria-current="page"]{
 box-shadow:inset 0 1px 0 #ffffffb3,inset 0 0 0 1px #c4a99866,0 2px 0 #c4a99880,0 6px 11px -7px #74534966;
}

/* Centre navigation groups and circular card arrows without changing their size. */
html #nestwerk-proposal nav button[data-nav]{justify-content:center!important}
html #nestwerk-proposal .nw-desktop-arrow{display:flex!important;align-items:center;justify-content:center;line-height:1!important;padding:0!important;text-indent:0}
html #nestwerk-proposal .nw-preview-arrows button{display:inline-flex;align-items:center;justify-content:center;line-height:1;padding:0}

@media(min-width:900px){html #nestwerk-proposal header nav button[data-nav] svg{margin:0!important;flex:0 0 20px}}

/* Use a geometrically centred icon instead of the font arrow's uneven baseline. */
html #nestwerk-proposal .nw-desktop-arrow{font-size:0!important}
html #nestwerk-proposal .nw-desktop-arrow::after{content:'';display:block;width:16px;height:16px;flex:0 0 16px;background:center/16px 16px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 8h12M9 3l5 5-5 5' fill='none' stroke='%2370574E' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}

/* Offer buttons keep their button appearance in results and saved offers. */
html #nestwerk-proposal button[data-family-open]{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 16px!important;border:1px solid #76564d!important;border-radius:10px;background:linear-gradient(145deg,#a17e72,#906c62)!important;color:#fff!important;font-weight:700;text-decoration:none!important;box-shadow:inset 0 1px 0 #ffffff59,0 3px 0 #76564d,0 7px 12px -7px #74534980}
html #nestwerk-proposal button[data-family-open]:hover{background:#805d53!important}
html #nestwerk-proposal button[data-family-open]:active{box-shadow:inset 0 1px 3px #51362b55;transform:translateY(1px)}

/* Requested card arrows and family-area actions; main navigation is unchanged. */
html #nestwerk-proposal button .nw-desktop-arrow,html #nestwerk-proposal button .nw-card-arrow{display:none!important}
html #nestwerk-proposal #nw-family-dashboard button,html #nestwerk-proposal #nw-family-dashboard [data-open-task-list] .nw-link{
 display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:44px;max-width:100%;padding:10px 15px!important;border:1px solid #76564d!important;border-radius:10px;background:linear-gradient(145deg,#a17e72,#906c62)!important;color:#fff!important;font-weight:700;text-decoration:none!important;white-space:normal;box-shadow:inset 0 1px 0 #ffffff59,0 3px 0 #76564d,0 7px 12px -7px #74534980
}
html #nestwerk-proposal #nw-family-dashboard button *,html #nestwerk-proposal #nw-family-dashboard [data-open-task-list] .nw-link *{text-decoration:none!important}

/* Open tasks use compact list rows; the existing detail action stays unchanged. */
html #nestwerk-proposal #nw-family-dashboard button.nw-link[data-family-task]{display:flex;align-items:center;gap:9px;width:100%;min-height:34px;padding:6px 0!important;margin:0;font-size:13px;line-height:1.35;font-weight:400;text-align:left;justify-content:flex-start;border:0!important;border-bottom:1px solid #e6ddd2!important;border-radius:0;background:transparent!important;color:var(--nw-ink)!important;box-shadow:none!important;transform:none!important}
html #nestwerk-proposal #nw-family-dashboard button.nw-link[data-family-task]::before{content:'';width:10px;height:10px;box-sizing:border-box;border:1px solid #a38676;border-radius:50%;flex:none}
html #nestwerk-proposal #nw-family-dashboard button.nw-link[data-family-task]:hover{background:#f5eee5!important}
html #nestwerk-proposal #nw-family-dashboard button.nw-link[data-family-task]:last-child{border-bottom:0!important}

html #nestwerk-proposal #nw-family-dashboard [aria-labelledby="family-settings"]>details.nw-family-section>summary{display:flex;align-items:center;justify-content:center;gap:6px;text-align:center;list-style:none}
html #nestwerk-proposal #nw-family-dashboard [aria-labelledby="family-settings"]>details.nw-family-section>summary::-webkit-details-marker{display:none}
html #nestwerk-proposal #nw-family-dashboard [aria-labelledby="family-settings"]>details.nw-family-section>summary::before{content:'';width:0;height:0;border-top:4px solid transparent;border-bottom:4px solid transparent;border-left:5px solid currentColor;flex:none}
html #nestwerk-proposal #nw-family-dashboard [aria-labelledby="family-settings"]>details.nw-family-section[open]>summary::before{transform:rotate(90deg)}
