html,body{margin:0;}
.dir-page{background:#fff;color:#222;min-height:100vh;font-family:"Helvetica Neue",Helvetica,Arial,"PingFang SC","Microsoft YaHei",sans-serif;}
.dir-tabs{display:flex;overflow-x:auto;background:#3a4148;color:#fff;scrollbar-width:none;}
.dir-tabs::-webkit-scrollbar{display:none;}
.dir-tabs a{position:relative;display:flex;align-items:center;justify-content:center;flex:0 0 20%;box-sizing:border-box;height:48px;padding:0 4px;color:rgba(255,255,255,.62);text-align:center;text-decoration:none;font-family:"PingFang SC","Microsoft YaHei",sans-serif;font-size:16px;line-height:1;white-space:nowrap;overflow:hidden;}
.dir-tabs a.on{color:#fff;font-weight:700;}
.dir-tabs a.on::after{content:"";position:absolute;left:14px;right:14px;bottom:0;height:5px;background:#ff9f1a;border-radius:2px;}
.dir-tab-en{font-size:14px;}
.dir-name{padding:22px 18px 8px;}
.dir-name h1{margin:0;font-size:32px;line-height:1.15;font-weight:700;}
.dir-name p{margin:6px 0 0;color:#8a8a8a;font-size:16px;line-height:1.3;}
.dir-switch{display:flex;margin:0 18px;border-bottom:1px solid #eee;}
.dir-switch button{position:relative;flex:1;display:flex;align-items:center;justify-content:center;gap:6px;height:56px;border:0;background:#fff;font-size:22px;font-weight:700;color:#666;}
.dir-switch button + button::before{content:"";position:absolute;left:0;top:16px;bottom:16px;width:1px;background:#b0b0b0;}
.dir-switch button.on{color:#000;}
.dir-switch button.on::after{content:"";position:absolute;left:0;right:0;bottom:0;height:4px;background:#ff9f1a;}
.dir-switch .dir-kind-icon{width:28px;height:28px;background-color:#b0b0b0;}
.dir-switch button.on .dir-kind-icon{background-color:#ff8c00;}
.dir-kind-icon{width:22px;height:22px;display:inline-block;flex-shrink:0;background-color:currentColor;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center;-webkit-mask-size:contain;mask-size:contain;}
.dir-kind-firm{-webkit-mask-image:url(/img/dir-building.png);mask-image:url(/img/dir-building.png);}
.dir-kind-lawyer{-webkit-mask-image:url(/img/dir-person.png);mask-image:url(/img/dir-person.png);}
.dir-list{position:relative;margin:0;padding:0;list-style:none;}
.dir-list li{position:relative;}
.dir-list li:not(:last-child)::before{content:"";position:absolute;z-index:0;left:43px;top:60px;bottom:-60px;width:2px;background:#e3e3e3;}
.dir-list li:last-child:has(a)::before{content:"";position:absolute;z-index:0;left:43px;top:60px;bottom:0;width:2px;background:#e3e3e3;}
.dir-list a{position:relative;display:flex;align-items:flex-start;padding:32px 16px;color:#111;text-decoration:none;}
.dir-list a::after{content:"";position:absolute;left:88px;right:16px;bottom:0;height:1px;background:#eee;}
.dir-mark{position:relative;z-index:1;width:56px;height:56px;margin:0 16px 0 0;border-radius:50%;background:#fdc002;display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.dir-list li:nth-child(even) .dir-mark{background:#fb5d03;}
.dir-mark .dir-kind-icon{width:28px;height:28px;background-color:#fff;}
.dir-copy{flex:1;min-width:0;padding-top:6px;}
.dir-list h2{margin:0;font-size:17px;font-weight:700;line-height:1.3;color:#111;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.dir-list p{margin:8px 0 0;min-height:4.65em;color:#626572;font-size:14px;line-height:1.55;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;overflow:hidden;overflow-wrap:break-word;}
.dir-chevron{flex-shrink:0;align-self:center;width:8px;height:8px;margin-left:14px;border-top:2px solid #787880;border-right:2px solid #787880;transform:rotate(45deg);}
.dir-empty{padding:48px 24px;text-align:center;color:#888;font-size:16px;}
