.burring-page .cad-toolbar .cad-step-nav a{color:#29424e;text-decoration:none;padding:10px 14px;border:1px solid #bdd0d7;border-radius:6px;background:#fff;font-size:13px}
.burring-page .cad-toolbar .cad-step-nav a:hover{color:#163745;background:#e7f0f3}
.cad-spec-summary{padding:18px 20px;border-bottom:1px solid #ccd9de;background:#f4f8fa;color:#29424e}
.cad-spec-summary dl{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}
.cad-spec-summary dt{font-size:12px;color:#536d78}.cad-spec-summary dd{margin:3px 0 0;font-size:14px;font-weight:600}
.cad-spec-summary p{font-size:13px;margin:8px 0}.cad-spec-summary small{display:block}.cad-spec-summary>a{display:inline-block;margin-top:12px;color:#315d70;font-size:13px}
.cad-terms-control{padding:16px;border:1px solid #ccd9de;border-radius:8px;background:#f5f8f9;display:flex;align-items:center;justify-content:space-between;gap:12px;margin:18px 0}
.cad-terms-control>strong{font-size:14px}.cad-terms-control button{cursor:pointer;padding:10px 16px;border:1px solid #91aab5;border-radius:5px;background:#fff;color:#29424e;font:inherit}
.cad-terms-dialog{position:fixed;inset:0;margin:auto;width:min(760px,calc(100vw - 32px));max-height:85dvh;padding:0;border:1px solid #a8bac2;border-radius:12px;color:#29424e;background:#fff;box-shadow:0 20px 90px #0004;overflow:hidden}
.cad-terms-dialog::backdrop{background:rgb(20 35 42 / 55%)}
.cad-terms-dialog header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:20px 24px;border-bottom:1px solid #dce5e9}
.cad-terms-dialog h2{font-size:20px;margin:0}.cad-terms-dialog header button{font-size:24px;padding:0 10px}
.cad-terms-body{padding:8px 24px 20px;max-height:calc(85dvh - 180px);overflow:auto;line-height:1.8;font-size:14px;overscroll-behavior:contain}
.cad-terms-body h3{font-size:16px;margin:22px 0 8px}.cad-terms-body p{margin:8px 0}
.cad-terms-dialog footer{display:flex;justify-content:flex-end;gap:12px;padding:16px 24px;border-top:1px solid #dce5e9;background:#f5f8fa}
.cad-terms-dialog footer .combined-action{background:#315d70;color:#fff}.cad-terms-control :focus-visible,.cad-step-nav a:focus-visible{outline:3px solid #679ab0;outline-offset:3px}
@media(max-width:640px){.cad-step-nav{display:flex!important;flex-wrap:wrap;gap:8px}.cad-step-nav a{font-size:12px;padding:8px}.cad-terms-control{align-items:flex-start;flex-direction:column}.cad-terms-dialog h2{font-size:17px}.cad-terms-dialog header,.cad-terms-dialog footer{padding:14px}.cad-terms-body{padding:8px 16px 16px}}

.burring-page .config-service-notes{padding:20px clamp(18px,4vw,64px);border-top:1px solid #43505a;color:#c6cfd5;background:#20262b}
.burring-page .config-service-notes p{margin:0 0 8px;font-size:12px;line-height:1.8}
.burring-page .config-service-notes small{display:block;margin-top:12px;color:#b2c0c9;font-size:11px}

/* Configurator-only visual system. Shared site pages retain their own theme. */
.burring-page-shell>.site-header{background:#101214;border-bottom:1px solid #34383c;color:#e9edef;box-shadow:0 8px 28px #0003}
.burring-page-shell>.site-header .brand{background:transparent}
.burring-page-shell>.site-header .logo-mark{position:relative;display:block;width:230px;max-width:100%;height:54px;background:transparent}
.burring-page-shell>.site-header .main-logo{opacity:0}
.burring-page-shell>.site-header .logo-mark::after{content:"";position:absolute;inset:0;background:linear-gradient(172deg,#fff 0%,#c0c8cf 22%,#f9fcff 42%,#7a8792 48%,#f5f9fd 54%,#a9b5bf 70%,#fff 90%);mask:url('/optimized/araki-logo-footer-white-c4b1a7aee654.webp') center/contain no-repeat;-webkit-mask:url('/optimized/araki-logo-footer-white-c4b1a7aee654.webp') center/contain no-repeat;filter:drop-shadow(0 1px 1px #000) drop-shadow(0 0 5px #b0c6d530)}
.burring-page-shell>.site-header .desktop-nav a{color:#d7dde1}
.burring-page-shell>.site-header .desktop-nav a:hover{color:#fff;background:#272c31}
.burring-page-shell>.site-header .desktop-nav .header-cta{color:#172027;background:linear-gradient(125deg,#eff3f5,#b6c1c9);border-left:1px solid #d3dce3}
.burring-page-shell>.site-header .mobile-menu summary span{background:#eef3f6}
.burring-page-shell .burring-page{background:#14181c;background-image:none}
.burring-page-shell .burring-page::before,.burring-page-shell .burring-page::after{display:none}
.burring-page .cad-configurator{padding:26px clamp(16px,3vw,48px) 32px}
.burring-page .cad-toolbar{border:0;background:transparent;box-shadow:none;backdrop-filter:none;gap:24px;flex-wrap:wrap;padding:4px 0 24px}
.burring-page .cad-toolbar>div>strong{font-size:23px;letter-spacing:.03em}
.burring-page .cad-toolbar>div>span{margin-top:8px;color:#aebbc4;font-size:12px}
.burring-page .cad-toolbar nav.cad-step-nav{gap:10px;counter-reset:none;flex-wrap:wrap}
.burring-page .cad-toolbar .cad-step-nav a{display:flex;align-items:center;gap:10px;min-height:48px;padding:12px 17px;border:1px solid #4b565e;border-radius:8px;background:#22292f;color:#edf2f5;font-size:13px;transition:background .15s,border-color .15s}
.burring-page .cad-toolbar .cad-step-nav a b{font-size:11px;color:#abbcc8;font-variant-numeric:tabular-nums}
.burring-page .cad-toolbar .cad-step-nav a:hover{color:#fff;background:#303b44;border-color:#9bafbd}
.burring-page .cad-toolbar .cad-step-nav a:last-child{color:#14222c;border-color:#d6e0e7;background:linear-gradient(125deg,#f4f7f9,#bdcad4);font-weight:700}
.burring-page .cad-toolbar .cad-step-nav a:last-child b,.burring-page .cad-toolbar .cad-step-nav a:last-child span{color:#314a5b}
.burring-page .cad-toolbar>button{min-height:40px;border:0;background:transparent;color:#b5c0c8;font-size:12px}
.burring-page .config-beta-notice{display:block;margin:0 0 22px;padding:12px 16px;border:1px solid #3d4850;border-radius:8px;background:#1d242a;color:#bdc9d1}
.burring-page .config-beta-notice summary{cursor:pointer;font-size:12px;line-height:1.7}.burring-page .config-beta-notice summary small{margin:0 6px;color:#d2dde5;font-size:10px}
.burring-page .config-beta-notice p{margin:12px 0 0;color:#bdc9d1}.burring-page .config-beta-notice a{color:#d9eaf6}
.burring-page .cad-live-layout{gap:24px;margin-top:0}.burring-page .cad-live-left{gap:24px}
.burring-page .cad-panel{border:1px solid #d7e0e5;border-radius:12px;background:#f9fbfc;box-shadow:0 8px 24px #0002;backdrop-filter:none;overflow:hidden}
.burring-page .unified-config-heading{background:#eef2f5;border-bottom:1px solid #d6e0e6;padding:22px 24px}
.burring-page .unified-config-heading h2{font-size:22px;color:#233744}.burring-page .unified-config-heading small{letter-spacing:.16em;color:#526b7b}
.burring-page .config-section{padding:24px}.burring-page .config-section-title strong{font-size:16px;color:#263e4d}.burring-page .config-section-title p{line-height:1.7;color:#596f7d}
.burring-page .cad-fields input,.burring-page .cad-fields select,.burring-page .branch-table input,.burring-page .branch-table select{border-radius:6px;background:#fff;color:#253e4e;border:1px solid #afc0cb;min-height:40px}
.burring-page .branch-table thead{background:#eaf0f3}.burring-page .branch-table th{color:#526a79;font-size:12px}.burring-page .branch-table td{border-bottom:1px solid #dce5ea;padding-top:10px;padding-bottom:10px}
.burring-page .preview-heading{background:#202a32;border-bottom:1px solid #46535e;color:#eef4f8;padding:18px 22px}.burring-page .preview-heading strong{color:#eef4f8}.burring-page .preview-heading small,.burring-page .preview-heading-label{color:#b8cbd8}
.burring-page .cad-spec-summary{background:#eef3f6;padding:16px 22px}.burring-page .cad-spec-summary dl{gap:10px}.burring-page .cad-spec-summary>strong{font-size:13px}.burring-page .cad-spec-summary small{font-size:11px;line-height:1.6}
.burring-page .combined-action,.burring-page .add-pipe-item{background:#294e65;color:#fff;border:1px solid #294e65;border-radius:7px;min-height:48px;font-weight:700;box-shadow:0 3px 8px #203c4e15}
.burring-page .combined-action:hover:not(:disabled),.burring-page .add-pipe-item:hover:not(:disabled){background:#193c53}
.burring-page .combined-action:disabled,.burring-page .add-pipe-item:disabled{background:#e1e7eb;color:#627480;border-color:#c5d0d8;box-shadow:none;cursor:not-allowed;opacity:1}
.burring-page .burly-floating-reopen{background:#edf3f7;color:#233f50;border:1px solid #9bb2c2;box-shadow:0 4px 16px #0002}
.burring-page [id]{scroll-margin-top:110px}
@media(max-width:1100px){.burring-page .cad-toolbar nav.cad-step-nav{justify-content:flex-start}.burring-page .cad-toolbar>div{width:100%}}
@media(max-width:640px){.burring-page-shell>.site-header .logo-mark{width:170px;height:44px}.burring-page .cad-configurator{padding:20px 12px}.burring-page .cad-toolbar{gap:14px;padding-bottom:18px}.burring-page .cad-toolbar>div>strong{font-size:20px}.burring-page .cad-toolbar nav.cad-step-nav{display:grid!important;grid-template-columns:1fr;width:100%;gap:8px}.burring-page .cad-toolbar .cad-step-nav a{min-height:44px;padding:10px 14px}.burring-page .cad-toolbar>button{margin-left:auto}.burring-page .config-section{padding:18px 14px}.burring-page .unified-config-heading{padding:18px 16px}.burring-page .cad-live-layout{gap:18px}.burring-page .cad-live-left{gap:18px}}
@media(prefers-reduced-motion:reduce){.burring-page .cad-toolbar .cad-step-nav a{transition:none}}
.burring-page .cad-toolbar>div{min-width:340px}.burring-page .cad-toolbar>div>strong{font-size:21px;white-space:nowrap}
.burring-page .preview-panel .preview-heading div strong{color:#edf4f8}.burring-page .preview-panel .preview-heading div small{color:#b8cbd8}
.burring-page .compact-main-fields>label{display:flex;flex-direction:column;align-items:stretch;gap:8px;text-align:left}.burring-page .compact-main-fields>label>span{font-size:12px;color:#4e6675;text-align:left}
@media(max-width:640px){.burring-page .cad-toolbar>div{min-width:0}.burring-page .cad-toolbar>div>strong{white-space:normal;font-size:20px}}
.burring-page .cad-toolbar .cad-step-nav a{height:48px;box-sizing:border-box}.burring-page .cad-toolbar nav.cad-step-nav{align-items:center}
/* Slightly larger chrome brand, without increasing header height. */
.burring-page-shell>.site-header .logo-mark{width:276px;height:64px}
@media(max-width:640px){.burring-page-shell>.site-header .logo-mark{width:195px;height:50px}}
/* Keep specifications compact and give the remaining panel height to 3D. */
.burring-page .cad-spec-summary{padding:10px 16px;flex:0 0 auto}
.burring-page .cad-spec-summary>strong{font-size:12px}
.burring-page .cad-spec-summary dl{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:8px 0}
.burring-page .cad-spec-summary dt{font-size:11px}
.burring-page .cad-spec-summary dd{font-size:12px;line-height:1.5;overflow-wrap:anywhere}
.burring-page .cad-spec-summary p{display:inline-block;font-size:11px;margin:0 12px 4px 0}
.burring-page .cad-spec-summary>small{display:inline;font-size:10px;line-height:1.6}
.burring-page .cad-spec-summary>a{display:block;font-size:11px;margin-top:4px}
@media(min-width:1112px){.burring-page .live-preview-panel{height:calc(100dvh - 110px);min-height:560px;max-height:none}.burring-page .live-preview-panel .preview-heading{flex:0 0 auto}.burring-page .live-preview-panel .webgl-preview{flex:1 1 auto;min-height:320px}}
@media(max-width:1111px){.burring-page .live-preview-panel{max-height:none}.burring-page .live-preview-panel .webgl-preview{height:520px;min-height:520px;flex:none}}
@media(max-width:640px){.burring-page .cad-spec-summary dl{grid-template-columns:repeat(2,minmax(0,1fr))}.burring-page .live-preview-panel .webgl-preview{height:460px;min-height:460px}}

/* BARCON brand artwork; original margins hidden by layout. */
.barcon-brand-header{position:relative;background:#0d1c23;isolation:isolate}
.barcon-header-art{position:relative;aspect-ratio:2172 / 250;overflow:hidden}
.barcon-header-art img{position:absolute;display:block;width:100%;max-width:none;height:auto;top:-98.4%;left:0}
.barcon-reset-row{display:flex;justify-content:flex-end;padding:6px 0}
.barcon-reset-row button{background:transparent;border:1px solid #63717a;border-radius:5px;color:#dce4e8;padding:5px 14px;font:inherit;font-size:12px;cursor:pointer}
@media(max-width:1100px){.barcon-header-art{aspect-ratio:1300 / 250}.barcon-header-art img{width:167.077%;top:-98.4%}}

/* One compact BARCON brand band: keep ATR only in the artwork. */
.burring-page-shell>.site-header{min-height:40px;height:40px;padding:0 16px;justify-content:flex-end;background:#101214;border:0;box-shadow:none}
.burring-page-shell>.site-header>.brand{display:none}
.burring-page-shell>.site-header .desktop-nav{margin-left:auto;height:40px}
.burring-page-shell>.site-header .desktop-nav a{padding:0 14px;min-height:40px;height:40px;font-size:11px}
.burring-page-shell>.site-header .desktop-nav .header-cta{background:transparent;color:#e0e8ed;border:0}
.burring-page-shell .burring-page{background:#101214}
.burring-page .cad-configurator{padding-top:0}
.barcon-brand-header{background:#101214;border:0;box-shadow:none}
.barcon-header-art{height:clamp(80px,9vw,130px);aspect-ratio:auto}
.barcon-header-art img{width:auto;height:289.6%;top:-98.4%;max-width:none}
.barcon-reset-row{padding:2px 0 6px}
@media(max-width:1100px){
 .burring-page-shell>.site-header{height:44px;min-height:44px;gap:12px}
 .barcon-header-art{height:auto;aspect-ratio:1300 / 250}
 .barcon-header-art img{width:167.077%;height:auto;top:-98.4%}
 .burring-page .cad-configurator{padding-top:0}
}
/* Blend the artwork's dark pixels into the shared header background. */
.barcon-header-art img{mix-blend-mode:lighten}
@media(max-width:1100px){
 .burring-page-shell>.site-header .language-switch{position:static;margin:0;height:30px}
 .burring-page-shell>.site-header .mobile-menu{margin-left:0}
 .burring-page-shell>.site-header .mobile-menu summary{width:44px;height:44px;background:transparent}
 .burring-page-shell>.site-header .mobile-menu nav{top:44px}
}
.barcon-home-link{position:absolute;z-index:2;left:16px;top:52%;width:160px;height:42%;border-radius:4px;cursor:pointer}
.barcon-home-link:focus-visible{outline:2px solid #e2edf4;outline-offset:3px}
@media(max-width:1100px){.barcon-home-link{left:2%;width:21%;top:48%;height:44%}}

/* BARCON: keep branch inputs, angle and remove control inside the panel. */
.burring-page .branch-table-wrap{container-type:inline-size;min-width:0}
.burring-page .branch-table{min-width:0;width:100%;table-layout:fixed}
.burring-page .branch-table th,.burring-page .branch-table td{box-sizing:border-box;padding-left:4px;padding-right:4px;overflow-wrap:anywhere}
.burring-page .branch-table th{white-space:normal}
.burring-page .branch-table th:nth-child(1){width:4%}
.burring-page .branch-table th:nth-child(2){width:28%}
.burring-page .branch-table th:nth-child(3){width:10%}
.burring-page .branch-table th:nth-child(4){width:17%}
.burring-page .branch-table th:nth-child(5){width:10%}
.burring-page .branch-table th:nth-child(6){width:14%}
.burring-page .branch-table th:nth-child(7){width:11%}
.burring-page .branch-table th:nth-child(8){width:6%}
.burring-page .branch-table input,.burring-page .branch-table select{min-width:0;max-width:100%;box-sizing:border-box;padding-left:6px;padding-right:6px}
.burring-page .branch-table .angle-input input{padding-right:18px}
.burring-page .branch-table .table-readonly{padding-left:5px;padding-right:5px;min-width:0;white-space:normal}
.burring-page .branch-table .minimum-pitch-button{min-width:0;max-width:100%;padding-left:4px;padding-right:4px;white-space:normal}
@container (max-width:560px){
 .burring-page .branch-table,.burring-page .branch-table thead,.burring-page .branch-table tbody{display:block;width:100%}
 .burring-page .branch-table thead tr{display:block;padding:8px}
 .burring-page .branch-table th{display:none}
 .burring-page .branch-table th.position-mode-heading{display:block;width:100%}
 .burring-page .branch-table tbody tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:6px 12px;position:relative;padding:12px 8px;border-top:1px solid #cbd9df}
 .burring-page .branch-table td{border:0;padding:2px;min-width:0}
 .burring-page .branch-table td:first-child{grid-column:1/-1;font-weight:700;padding-right:40px}
 .burring-page .branch-table td:first-child::before{content:'No. '}
 .burring-page .branch-table td:last-child{position:absolute;right:6px;top:6px}
 .burring-page .branch-table td:last-child button{width:36px;height:36px}
 .burring-page .branch-table td:nth-child(n+2):nth-child(-n+7)::before{display:block;font-size:11px;color:#526a79;margin-bottom:4px}
 .burring-page .branch-table td:nth-child(2)::before{content:'呼び径（A / B）'}
 .burring-page .branch-table td:nth-child(3)::before{content:'外径（mm）'}
 .burring-page .branch-table td:nth-child(4)::before{content:'標準 H / R'}
 .burring-page .branch-table td:nth-child(5)::before{content:'肉厚（自動）'}
 .burring-page .branch-table td:nth-child(6)::before{content:'位置 / ピッチ（mm）'}
 .burring-page .branch-table td:nth-child(7)::before{content:'角度（°）'}
}

/* Four-digit branch positions do not need a full-width field. */
.burring-page .branch-table td:nth-child(6) input{width:80px;max-width:100%}

.burring-page .branch-table .angle-input{width:72px;max-width:100%}
.burring-page .branch-table .angle-input input{width:100%}
