/* Workbench measurements calibrated to the reference; common theme is the sole color authority. */
.app-frame:has(.wb-page){font-family:var(--font);font-size:16px;color:var(--text);line-height:1.5}
.app-frame:has(.wb-page) .appbar{height:44px;margin-left:0;padding:0 22px;position:relative;z-index:45;background:var(--surface-alt);border-bottom:1px solid var(--border)}
.app-frame:has(.wb-page) .breadcrumb{display:none}.app-frame:has(.wb-page) .prototype-label{font-size:12px;letter-spacing:0;font-weight:400;border:0}.app-frame:has(.wb-page) .appbar .avatar{display:none}
.app-frame:has(.wb-page) .sidebar{top:44px;width:208px;padding:16px 8px;background:var(--surface-alt)}
.app-frame:has(.wb-page) .brand{padding:0 8px 23px;gap:9px}.app-frame:has(.wb-page) .brand img{width:36px;height:36px}.app-frame:has(.wb-page) .brand-name{font-size:18px;letter-spacing:0}.app-frame:has(.wb-page) .brand small{font-size:11px}
.app-frame:has(.wb-page) .nav-item{height:40px;padding:0 12px;gap:10px;font-size:16px;line-height:24px;border-radius:10px;margin:4px 0;font-weight:400}.app-frame:has(.wb-page) .nav-item.active{background:transparent;color:var(--accent);font-weight:600}.app-frame:has(.wb-page) .nav-item .icon{width:22px;height:22px}.app-frame:has(.wb-page) .nav-item.active .icon{background:var(--accent-soft);border-radius:8px;outline:4px solid var(--accent-soft)}
.app-frame:has(.wb-page) .user-block{padding-top:15px}.app-frame:has(.wb-page) .user-block strong{font-size:13px}.app-frame:has(.wb-page) .credit-box{background:var(--surface);border-radius:12px}.app-frame:has(.wb-page) .sidebar-footer>.nav-item{font-size:13px}
.app-frame:has(.wb-page) .icon{stroke-width:2}.main:has(.wb-page){margin-left:208px;padding:98px 16px 48px;background:radial-gradient(90% 255px at 50% -48px,var(--ambient-glow),var(--ambient-clear)),var(--bg)}
.wb-page{padding:0}.wb-page button{appearance:none;-webkit-appearance:none}.wb-page button:focus-visible,.wb-case-dialog button:focus-visible{outline:2px solid var(--accent);outline-offset:3px;box-shadow:none}.wb-welcome{text-align:center;margin-bottom:33px;padding:0}.wb-welcome h1{font-size:36px;line-height:44px;font-weight:700;letter-spacing:0;color:var(--text-emphasis)}
.wb-type-tabs{margin-top:24px;border-radius:110px;border:1px solid var(--switch-border);height:46px;padding:2px;background:transparent;gap:0;box-shadow:none}.wb-type-tabs button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:130px;height:40px;padding:0 20px;border:1px solid transparent;border-radius:70px;font-size:16px;line-height:24px;font-weight:400;color:var(--text-secondary);box-shadow:none;position:relative;isolation:isolate}.wb-type-tabs button.active{background:transparent;color:var(--text-emphasis);font-weight:400;box-shadow:none}.wb-type-tabs button.active:before{content:'';position:absolute;inset:1px 2px;background:var(--surface-selected);border:1px solid var(--border);border-radius:70px;z-index:-1;box-shadow:var(--shadow-sm)}.wb-type-tabs button:hover{color:var(--text)}.wb-type-tabs .icon{width:18px;height:18px}
.wb-carousel{position:relative}.wb-task-track{display:flex;gap:16px;overflow-x:auto;scrollbar-width:none;scroll-snap-type:x mandatory;padding:0}.wb-task-track::-webkit-scrollbar{display:none}.wb-function-card{flex:0 0 180px;width:180px;height:180px;border:1px solid var(--card-border);border-radius:16px;overflow:hidden;background:var(--surface);padding:0;text-align:left;scroll-snap-align:start;box-shadow:none;transition:border-color .15s}.wb-function-card:hover{border-color:var(--accent);box-shadow:none;transform:none}.wb-function-card:active{border-color:var(--accent)}.wb-function-label{display:flex;align-items:center;justify-content:space-between;gap:6px;height:49px;border-top:1px solid var(--border);padding:0 16px;font-size:16px;line-height:20px;font-weight:400;color:var(--text-emphasis)}.wb-function-label .icon{width:16px;height:16px;color:var(--subtle)}
.wb-carousel-next,.wb-carousel-prev{position:absolute;top:71px;z-index:3;display:flex;width:40px;height:40px;border-radius:50%;background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow-sm);color:var(--text-emphasis)}.wb-carousel-next{right:-6px}.wb-carousel-prev{left:-6px}.wb-carousel-next:hover,.wb-carousel-prev:hover{background:var(--surface);border-color:var(--accent);color:var(--accent)}.wb-carousel-prev[hidden],.wb-carousel-next[hidden]{display:none}.wb-carousel-next .icon,.wb-carousel-prev .icon{width:18px;height:18px}
.wb-art{height:129px;position:relative;overflow:hidden;isolation:isolate}.wb-art-back,.wb-art-front{position:absolute;overflow:hidden;border:3px solid var(--surface);outline:1px solid var(--wb-art-line);box-shadow:var(--wb-image-shadow);background:var(--wb-art-tint);border-radius:7px}.wb-art-back{width:82px;height:64px;left:21px;top:38px;transform:rotate(-9deg)}.wb-art-front{width:100px;height:77px;left:63px;top:26px;transform:rotate(5deg)}.wb-art img{width:100%;height:100%;object-fit:cover;display:block}.wb-art img[src$=svg]{object-fit:contain;background:var(--canvas-natural)}.wb-art-back img{filter:saturate(.5)}.wb-art-symbol{position:absolute;right:15px;top:17px;background:var(--wb-art-symbol);color:var(--wb-art-on-symbol);border:3px solid var(--surface);box-shadow:var(--shadow-sm);border-radius:50%;width:32px;height:32px;display:grid;place-items:center}.wb-art-symbol .icon{width:17px;height:17px}.wb-art-note{display:flex;flex-direction:column;gap:4px;padding:6px;width:47px;background:var(--surface);border:1px solid var(--wb-art-line);border-radius:5px;position:absolute;left:15px;bottom:23px;transform:rotate(-5deg);box-shadow:var(--shadow-sm)}.wb-art-note i{display:block;height:3px;border-radius:2px;background:var(--wb-art-line)}.wb-art-note i:last-child{width:55%}.wb-art.expand .wb-art-front,.wb-art.outpaint .wb-art-front{border:2px dashed var(--wb-art-symbol);padding:6px;width:127px;left:24px;height:83px;transform:none;background:var(--wb-art-tint)}.wb-art.expand .wb-art-back,.wb-art.outpaint .wb-art-back{display:none}.wb-art.detail .wb-art-front{width:61px;height:100px;top:13px;left:91px;transform:rotate(6deg)}.wb-art.detail .wb-art-back{height:75px;width:86px}.wb-art.color .wb-art-back{filter:grayscale(1)}.wb-art.color .wb-art-front img{filter:hue-rotate(65deg)}.wb-swatches{position:absolute;right:18px;bottom:19px;display:flex;padding:4px;background:var(--surface);border:1px solid var(--border);border-radius:12px;gap:4px}.wb-swatches i{width:8px;height:8px;border-radius:50%;background:var(--wb-art-symbol)}.wb-swatches i:nth-child(2){background:var(--success)}.wb-swatches i:nth-child(3){background:var(--warning)}.wb-art-caption{position:absolute;right:19px;bottom:30px;padding:0 5px;background:var(--wb-art-tint);color:var(--wb-art-symbol);font-size:10px;font-weight:700;transform:rotate(-5deg)}.wb-art.copy .wb-art-front{left:82px;width:73px}.wb-art.copy .wb-art-back{left:20px;width:73px;top:24px;height:78px;transform:rotate(-4deg)}.wb-art.landscape .wb-art-front{width:123px;left:38px;height:76px;top:28px;transform:none}.wb-art.landscape .wb-art-back{width:91px;left:22px;transform:rotate(-5deg)}.wb-art.film .wb-art-front,.wb-art.edit .wb-art-front,.wb-art.copyfilm .wb-art-front{width:130px;height:75px;left:25px;top:19px;transform:none}.wb-art.film .wb-art-back,.wb-art.edit .wb-art-back,.wb-art.copyfilm .wb-art-back{display:none}.wb-filmstrip{display:flex;position:absolute;bottom:15px;left:30px;right:30px;gap:3px}.wb-filmstrip i{width:22px;height:13px;background:var(--wb-art-tint);border:1px solid var(--wb-art-line);border-radius:2px}.wb-play{position:absolute;inset:0;display:grid;place-items:center;color:var(--wb-art-symbol)}.wb-play .icon{width:24px;height:24px;background:var(--surface);padding:4px;border-radius:50%}

/* Functional illustrations: separate visual treatments, rather than repeating one default frame. */
.wb-art.portrait .wb-art-front{left:67px;top:28px;transform:rotate(7deg)}.wb-art.portrait .wb-art-back{left:22px;top:30px;width:91px;height:76px;transform:rotate(-7deg)}.wb-art.portrait .wb-art-symbol{left:10px;right:auto;top:36px;background:var(--illustration-mint);color:var(--on-accent)}
.wb-art.product .wb-art-front{width:77px;height:100px;left:83px;top:15px;transform:rotate(2deg)}.wb-art.product .wb-art-back{width:66px;height:66px;left:22px;top:45px;transform:rotate(-4deg)}.wb-art.product .wb-art-note{display:none}.wb-art.product .wb-art-symbol{background:var(--illustration-coral)}
.wb-art.detail .wb-art-front{height:105px;width:62px;left:83px;top:12px;background:var(--surface)}.wb-art.detail .wb-art-note{display:none}.wb-art.detail .wb-art-symbol{background:var(--illustration-mint);right:19px;top:6px}
.wb-art.text .wb-art-back{transform:none;left:21px;top:38px;width:68px;height:70px}.wb-art.text .wb-art-front{left:94px;top:29px;width:68px;height:80px;transform:none}.wb-art.text .wb-art-symbol{top:12px;right:17px}.wb-art.expand .wb-art-symbol,.wb-art.outpaint .wb-art-symbol{background:var(--illustration-purple)}

.wb-model-strip{display:flex;gap:9px;align-items:center;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;max-width:100%;margin:24px 0;position:relative;border-radius:4px;min-height:27px}.wb-model-item{flex-shrink:0}.wb-model{display:inline-flex;align-items:center;gap:6px;min-height:27px;padding:3.5px 7px;font-size:12px;line-height:15px;font-weight:400;border:0;border-radius:4px;background:var(--surface-label);color:var(--text-label);white-space:nowrap}.wb-offer-anchor{display:inline-flex;align-items:center}.wb-offer-badge{display:inline-flex;align-items:center;padding:2px 6px;font-size:11px;line-height:16px;font-weight:500;min-height:20px;background:var(--accent-soft);color:var(--accent);border:0;border-radius:8px;white-space:nowrap;cursor:help}.wb-offer-badge:hover{background:var(--filter-active)}.wb-new{font-size:9px;font-weight:600;line-height:9px;padding:2px 4px;border-radius:6px;background:var(--wb-new-bg);color:var(--wb-new-text);white-space:nowrap}
.wb-model-tip{display:none;position:fixed;z-index:90;width:max-content;max-width:calc(100vw - 24px);padding:9px 11px;border:1px solid var(--border);border-radius:10px;background:var(--surface);color:var(--text-emphasis);box-shadow:var(--shadow);font-size:12px;line-height:18px;font-weight:400;text-align:left;pointer-events:none}.wb-model-tip.visible{display:flex;flex-direction:column;gap:3px}.wb-model-tip .muted{color:var(--muted)}
.wb-cases .section-title{margin:0 0 9px;min-height:24px}.wb-cases h2{font-size:18px;font-weight:600;line-height:24px;letter-spacing:-.45px}.wb-demo-note{font-size:11px;color:var(--muted)}.wb-case-filters{display:flex;gap:6px;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin-bottom:12px}.wb-case-filters .pill{white-space:nowrap;height:29px;min-height:29px;padding:6px 16px;font-size:14px;line-height:15px;font-weight:400;border:1px solid var(--border);border-radius:4px;box-shadow:none;background:var(--surface-filter);color:var(--muted)}.wb-case-filters .pill:hover{background:var(--surface);border-color:var(--border-strong)}.wb-case-filters .pill.active{border-color:transparent;background:var(--filter-active);color:var(--accent)}
.wb-masonry{columns:5;column-gap:24px}.wb-case{break-inside:avoid;margin-bottom:24px}.wb-case-picture{position:relative;overflow:hidden;border-radius:16px;background:var(--surface-alt);border:1px solid var(--border)}.wb-case-picture.natural{background:var(--canvas-natural)}.wb-case-picture.green{background:var(--canvas-green)}.wb-case-picture.stone{background:var(--canvas-stone)}.wb-case-preview{display:block;width:100%;padding:0;position:relative}.wb-case-preview>img{display:block;width:100%;height:100%;object-fit:cover}.wb-case.square .wb-case-preview{aspect-ratio:1}.wb-case.tall .wb-case-preview{aspect-ratio:3/4.3}.wb-case-preview>img.product{object-fit:contain;padding:8px}.wb-case-overlay{position:absolute;bottom:0;left:0;right:0;padding:38px 12px 12px;background:linear-gradient(var(--wb-overlay-top),var(--wb-overlay-bottom));color:var(--media-text);opacity:0;transition:opacity .15s;pointer-events:none}.wb-case-picture:hover .wb-case-overlay,.wb-case-picture:focus-within .wb-case-overlay{opacity:1}.wb-case-overlay strong{display:block;font-size:16px;font-weight:600;line-height:24px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-bottom:8px}.wb-case-overlay button{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:38px;padding:7px 10px;border:1px solid var(--wb-cta-hover);border-radius:9px;background:var(--wb-cta-bg);color:var(--media-text);font-size:14px;line-height:20px;font-weight:500;pointer-events:auto;backdrop-filter:blur(8px)}.wb-case-overlay button:hover{background:var(--wb-cta-hover)}.wb-case-overlay .icon{width:16px;height:16px}.wb-case-mobile-caption{display:none}.wb-video-play{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:44px;height:44px;display:grid;place-items:center;background:var(--scrim);color:var(--media-text);border:1px solid var(--wb-cta-hover);border-radius:50%;pointer-events:none}.wb-compare-label{position:absolute;top:10px;left:10px;padding:3px 7px;font-size:11px;border-radius:5px;background:var(--surface);color:var(--muted)}
.wb-shortcuts{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:28px 0 0;padding-top:20px;border-top:1px solid var(--border)}.wb-shortcuts button{display:flex;align-items:center;gap:6px;border:1px solid var(--border);border-radius:8px;background:var(--surface);padding:7px 12px;color:var(--muted);font-size:13px;min-height:36px}.wb-shortcuts button:hover{border-color:var(--accent);color:var(--accent);background:var(--accent-soft)}.wb-shortcuts .icon{width:16px;height:16px}.wb-shortcuts>span{font-size:12px;color:var(--muted);order:-1;margin-right:6px}
.wb-case-dialog{width:min(920px,94vw)}.wb-case-dialog .dialog-head h2{font-size:16px}.wb-case-dialog .dialog-footer .btn{border-radius:9px;min-height:40px;padding:8px 18px}.wb-case-dialog .dialog-footer .btn.primary{box-shadow:var(--shadow-sm)}.wb-case-large{position:relative;display:grid;place-items:center;background:var(--surface-alt);border-radius:12px;overflow:hidden}.wb-case-large.natural{background:var(--canvas-natural)}.wb-case-large.green{background:var(--canvas-green)}.wb-case-large.stone{background:var(--canvas-stone)}.wb-case-large img{display:block;max-height:480px;max-width:100%;object-fit:contain}.wb-comparison{display:grid;grid-template-columns:1fr 1fr;gap:16px}.wb-comparison figure{margin:0;min-width:0}.wb-comparison figure>div{height:380px;background:var(--canvas-stone);border-radius:10px;overflow:hidden}.wb-comparison img{width:100%;height:100%;object-fit:contain}.wb-comparison .wb-before img{filter:saturate(.5) brightness(.87)}.wb-comparison figcaption{text-align:center;color:var(--muted);font-size:12px;margin-top:9px}.wb-preview-note{margin:16px 0 10px}.wb-page .ui-strip{margin-top:26px}

@container application (max-width:1400px){.wb-masonry{columns:4}}
@container application (max-width:1050px){.wb-masonry{columns:3;column-gap:18px}}
@container application (max-width:650px){
 .app-frame:has(.wb-page) .appbar{height:58px;padding:0 14px}.app-frame:has(.wb-page) .sidebar{top:0;width:260px;padding:24px 14px}.app-frame:has(.wb-page) .nav-item{font-size:15px}.app-frame:has(.wb-page) .brand{padding-bottom:24px}.main:has(.wb-page){margin-left:0;padding:42px 16px 95px;background:radial-gradient(100% 220px at 50% -35px,var(--ambient-glow),var(--ambient-clear)),var(--bg)}
 .wb-welcome{margin-bottom:28px}.wb-welcome h1{font-size:24px;line-height:34px;letter-spacing:0;white-space:normal;overflow-wrap:anywhere}.wb-type-tabs{margin-top:20px;height:44px}.wb-type-tabs button{font-size:14px;height:38px;min-width:118px;padding:0 17px}.wb-type-tabs .icon{width:17px;height:17px}.wb-function-card{width:164px;flex-basis:164px;height:172px}.wb-art{height:121px}.wb-function-label{font-size:15px;line-height:20px;padding:0 14px;height:49px}.wb-task-track{gap:12px}.wb-carousel-next,.wb-carousel-prev{width:36px;height:36px;top:64px}.wb-carousel-next{right:-8px}.wb-carousel-prev{left:-8px}.wb-art-front{left:53px}.wb-art-symbol{right:10px}.wb-art.portrait .wb-art-front{left:55px}.wb-art.detail .wb-art-front{left:78px}.wb-art.text .wb-art-front{left:86px}
 .wb-model-strip{margin:18px 0 22px;gap:8px;min-height:32px;padding:2px 0}.wb-model{font-size:12px;min-height:28px}.wb-offer-badge{font-size:11px;position:relative}.wb-offer-badge:after{content:'';position:absolute;inset:-6px -3px}.wb-model-tip{font-size:12px;line-height:19px;padding:11px 12px}.wb-cases h2{font-size:18px}.wb-demo-note{font-size:10px}.wb-case-filters{margin-right:-16px;padding-right:16px;margin-bottom:14px;gap:6px;padding-bottom:2px}.wb-case-filters .pill{font-size:13px;padding:7px 13px;height:33px;min-height:33px;line-height:17px}
 .wb-masonry{columns:2;column-gap:12px}.wb-case{margin-bottom:16px}.wb-case-picture{border-radius:12px}.wb-case-overlay{display:none}.wb-case-mobile-caption{display:flex;align-items:center;justify-content:space-between;gap:4px;padding-top:8px;font-size:11px;color:var(--muted)}.wb-case-mobile-caption span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.wb-case-mobile-caption button{border:1px solid var(--border);background:var(--surface);color:var(--accent);border-radius:7px;min-height:32px;padding:5px 8px;font-size:12px;line-height:20px;white-space:nowrap}.wb-case-mobile-caption button:active{background:var(--accent-soft)}.wb-video-play{width:36px;height:36px}.wb-video-play .icon{width:19px;height:19px}.wb-compare-label{font-size:10px;top:7px;left:7px;padding:2px 5px}.wb-shortcuts{gap:6px}.wb-shortcuts button{font-size:12px;padding:6px 9px}.wb-shortcuts>span{width:100%}.wb-case-dialog .dialog-head h2{font-size:15px}.wb-comparison{gap:10px}.wb-comparison figure>div{height:220px}.wb-case-large img{max-height:340px}
}
@media(hover:none) and (min-width:651px){.wb-case-overlay{opacity:1}}
