/* Service-only rules. All repeated cells share grid tracks; text never sets
   a neighbouring card's border position. Theme colours come from the shell. */
.subpage[class*="page-service-"] .page-hero.service-hero{grid-template-columns:3fr 9fr;column-gap:0;padding-inline:0}
.subpage[class*="page-service-"] .service-hero>div:nth-child(2){padding-inline:24px;border-left:1px solid var(--shell-rule)}
.subpage[class*="page-service-"] .service-reading-layout{display:grid;grid-template-columns:minmax(0,3fr) minmax(0,9fr)}
.service-reading-toc{min-width:0;padding:28px 20px}
/* Static links remain readable if modules cannot load. The shared TOC replaces
   this fallback on initialization. */
.service-reading-links{margin-top:20px}
.service-reading-links>.service-toc-label{display:none}
.service-reading-links>a{display:flex;gap:10px;padding:9px 0;font:12px/1.7 var(--sans);border-bottom:1px solid var(--shell-rule);overflow-wrap:anywhere}
.service-reading-links>a>.mono{font-size:10px;flex:none;color:var(--page-accent)}
.service-reading-links :is(.toc-leader,a>span:last-child:has(.diagonal-arrow)){display:none}
.service-reading-links .service-toc-title{max-width:none}
.service-reading-links>a[aria-current="location"]{color:var(--page-accent);font-weight:700}
.service-sections{min-width:0;border-left:1px solid var(--shell-rule)}
.subpage[class*="page-service-"] .service-sections .page-section{display:block;padding:56px 32px}
.subpage[class*="page-service-"] .service-sections .section-label{flex-direction:row;gap:16px;margin-bottom:24px;padding-top:0}
.subpage[class*="page-service-"] .service-sections .section-content{border-left:0;padding-left:0}
.service-sections .section-content>p{max-width:760px}
.service-sections .source-section:nth-of-type(3n){background:transparent}
.service-sections .source-grid{grid-auto-rows:auto}
.service-sections .source-grid>.source-cell{align-self:stretch}
.service-sections .record-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.service-sections .record-grid .incubation-card{grid-row:span 3;grid-template-rows:subgrid}
.service-sections .record-grid .card-media{aspect-ratio:16/10}
.service-sections .record-grid .card-info-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.service-sections .card-info-grid strong{overflow-wrap:anywhere}
@media(max-width:767px){
 .subpage[class*="page-service-"] .service-reading-layout{grid-template-columns:minmax(0,1fr)}
 .service-reading-toc{border-bottom:1px solid var(--shell-rule);padding:18px 12px}
 .service-sections{border-left:0}
}
@media(max-width:767px){
 .subpage[class*="page-service-"] .page-hero.service-hero{grid-template-columns:minmax(0,1fr);padding-inline:12px}
 .subpage[class*="page-service-"] .service-hero>div:nth-child(2){padding-inline:0;border-left:0}
 .subpage[class*="page-service-"] .service-sections .page-section{padding:38px 12px}
 .service-reading-links{grid-template-columns:minmax(0,1fr)}
 .service-sections .record-grid{grid-template-columns:minmax(0,1fr)}
}
/* Diagrams follow the card grid: square corners, 1px rules, one neutral surface. */
.source-section figure.service-diagram,.service-diagram{--diagram-surface:color-mix(in srgb,var(--shell-ink) 3%,var(--shell-bg));margin:36px 0;border:1px solid var(--shell-rule);background:var(--shell-bg);color:var(--shell-ink);font:15px/1.7 var(--sans)}
.service-diagram *{box-sizing:border-box;border-radius:0}
.diagram-header{padding:18px 24px;border-bottom:1px solid var(--shell-rule);display:flex;align-items:baseline;gap:12px 28px;flex-wrap:wrap}
.service-diagram .diagram-label{font:12px/1.5 var(--mono);letter-spacing:.06em;color:var(--shell-muted)}
.diagram-title{font:600 20px/1.6 var(--sans);text-wrap:wrap}
.diagram-body{padding:32px 24px}
.service-diagram .diagram-node{min-width:0;position:relative;background:var(--diagram-surface);color:var(--shell-ink);border:1px solid var(--shell-rule)}
.service-diagram .diagram-node>strong{display:block;font:600 16px/1.6 var(--sans);text-wrap:wrap}
.service-diagram .diagram-node>span:not(.diagram-layer-label,.diagram-index,.diagram-loop-mark,.type-heading-tail,.type-quantity,.type-latin-word){display:block;font:13px/1.8 var(--sans);margin-top:8px;color:var(--shell-muted)}
.service-diagram .diagram-node.diagram-focus{border-color:var(--page-accent)}
.service-diagram .diagram-focus>strong{color:var(--page-accent)}
.service-diagram figcaption{border-top:1px solid var(--shell-rule);margin:0;padding:20px 24px;font:13px/1.9 var(--sans);color:var(--shell-muted)}
.service-diagram figcaption>p{font:inherit;max-width:none;margin:0}
.service-diagram .diagram-notes{margin:16px 0 0;padding-top:16px;border-top:1px solid var(--shell-rule);display:grid;gap:12px}
.service-diagram .diagram-notes>div{display:grid;grid-template-columns:minmax(120px,1fr) minmax(0,3fr);gap:20px}
.service-diagram .diagram-notes dt{font-weight:600;color:var(--shell-ink)}
.service-diagram .diagram-notes dd{margin:0}
.service-docs{font-size:13px!important;color:var(--shell-muted)}
.service-diagram :is(.diagram-index,.diagram-layer-label){display:block;font:12px/1.8 var(--sans);color:var(--shell-muted)}
.service-diagram .diagram-index{font-family:var(--mono)}
/* Equal tracks and stretched panels keep every connector at the card midpoint. */
.service-diagram .diagram-flow{display:grid;grid-template-columns:repeat(var(--columns),minmax(0,1fr));gap:32px;list-style:none;margin:0;padding:0}
.service-diagram .diagram-stage{position:relative;min-width:0}
.service-diagram .diagram-flow>li{margin:0;padding:0;display:grid;grid-template-rows:22px 1fr;gap:12px}
.diagram-flow .diagram-node{padding:22px 16px;min-height:146px}
.diagram-stage::before{content:"";position:absolute;left:-32px;top:50%;width:32px;height:1.5px;background:var(--shell-muted);transform-origin:left}
.diagram-stage::after{content:"";position:absolute;left:-9px;top:calc(50% - 4px);width:8px;height:8px;border-top:1.5px solid var(--shell-muted);border-right:1.5px solid var(--shell-muted);transform:rotate(45deg)}
.diagram-flow>.diagram-stage:first-child::before,.diagram-flow>.diagram-stage:first-child::after{display:none}
.diagram-flow .diagram-stage::before{top:calc(50% + 17px)}
.diagram-flow .diagram-stage::after{top:calc(50% + 13px)}
.diagram-return{position:relative;margin:24px 9% 0;padding:14px 12px 0;border:1.5px solid var(--shell-muted);border-top:0;text-align:center;font-size:13px;color:var(--shell-muted)}
.diagram-return::before{content:"";position:absolute;left:-4.75px;top:0;width:8px;height:8px;border-top:1.5px solid var(--shell-muted);border-left:1.5px solid var(--shell-muted);transform:rotate(45deg)}
/* Four symmetric endpoints; SVG follows the measured side centres. */
.service-diagram .diagram-context{display:flex;flex-wrap:wrap;align-items:center;gap:8px 20px;padding:0 0 22px;border:0;border-bottom:1px solid var(--shell-rule);background:transparent}
.service-diagram .diagram-context>span{display:inline!important;margin:0!important;font:13px/1.8 var(--sans)}
.diagram-radial{display:grid;position:relative;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(3,minmax(112px,auto));gap:16px 40px;margin-top:24px;align-items:stretch}
.diagram-rays{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.service-diagram .diagram-link{fill:none;stroke:var(--shell-muted);stroke-width:1.5;vector-effect:non-scaling-stroke}
.service-diagram .diagram-arrow{fill:none;stroke:var(--shell-muted);stroke-width:1.5}
.diagram-radial .diagram-node{display:flex;flex-direction:column;justify-content:center;padding:16px}
.diagram-radial .diagram-origin{grid-column:2;grid-row:2;text-align:center}
.satellite-1{grid-column:1;grid-row:1}.satellite-2{grid-column:3;grid-row:1}.satellite-3{grid-column:1;grid-row:3}.satellite-4{grid-column:3;grid-row:3}
.diagram-satellite::after{content:"";position:absolute;top:calc(50% - 4px);width:8px;height:8px;border-top:1.5px solid var(--shell-muted);border-right:1.5px solid var(--shell-muted)}
.satellite-1::after,.satellite-3::after{right:-5px;transform:rotate(-135deg)}
.satellite-2::after,.satellite-4::after{left:-5px;transform:rotate(45deg)}
@media(min-width:768px){.diagram-satellite::after{display:none}}
/* Tables keep a quiet header. Only the selected comparison column uses blue ink. */
.service-diagram .diagram-comparison{width:100%;table-layout:fixed;border-collapse:collapse;margin:0;font:14px/1.8 var(--sans)}
.service-diagram .diagram-comparison :is(th,td){border:1px solid var(--shell-rule);padding:18px 16px;text-align:left;vertical-align:middle;color:var(--shell-ink);background:var(--diagram-surface);font:400 14px/1.8 var(--sans)}
.service-diagram .diagram-comparison tr>:first-child{width:12%;font:12px/1.8 var(--sans);color:var(--shell-muted)}
.service-diagram .diagram-comparison thead th{vertical-align:top}
.service-diagram .diagram-comparison th>strong{display:block;font:600 16px/1.7 var(--sans);margin-top:10px;text-wrap:wrap}
.service-diagram .diagram-comparison .diagram-focus{color:var(--page-accent)}
/* Draw a continuous frame above the collapsed neutral table rules. */
.diagram-options .diagram-comparison .diagram-node.diagram-focus{border-color:var(--shell-rule)}
.diagram-options .diagram-comparison .diagram-focus::after{content:"";position:absolute;inset:-1px 0;border-inline:1px solid var(--page-accent);pointer-events:none;z-index:1}
.diagram-options .diagram-comparison thead .diagram-focus::after{top:0;border-top:1px solid var(--page-accent)}
.diagram-options .diagram-comparison tbody tr:last-child .diagram-focus::after{bottom:0;border-bottom:1px solid var(--page-accent)}
.service-diagram .diagram-comparison thead .diagram-focus>strong{color:var(--page-accent)}
.diagram-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
/* Every layer has the same outer edge and the same internal columns. */
.diagram-section-stack{max-width:940px;margin:auto}
.service-diagram .diagram-layer{padding:22px 24px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr) minmax(0,1.4fr);gap:16px;align-items:center}
.service-diagram .diagram-layer>span{margin:0!important}
.diagram-layer-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin:0}
.diagram-layer-pair>.diagram-node{padding:26px 24px;border-block:0}
.diagram-layer-pair>.diagram-node+div{border-left:0}
.diagram-hatch{height:12px;border:1px solid var(--shell-rule);border-top:0;background:var(--diagram-surface)}
/* Matched rows on either end of the security path. */
.diagram-risk-flow{position:relative;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:32px;align-items:center}
.diagram-entry-group{display:grid;grid-auto-rows:1fr;gap:16px;position:relative}
.diagram-risk-flow .diagram-node{padding:20px 14px}
.diagram-entry-group:first-child::before{content:"";position:absolute;right:-16px;top:25%;height:50%;border-right:1.5px solid var(--shell-muted)}
.diagram-entry-group:first-child>.diagram-node::after{content:"";position:absolute;right:-16px;top:50%;width:16px;border-top:1.5px solid var(--shell-muted)}
.diagram-entry-group:last-child::before{width:16px}
.diagram-entry-group:last-child::after{left:-16px;top:25%;width:1.5px;height:50%;border:0;transform:none;background:var(--shell-muted)}
.diagram-entry-group:last-child>.diagram-node::before{content:"";position:absolute;left:-16px;top:50%;width:16px;border-top:1.5px solid var(--shell-muted)}
.diagram-entry-group:last-child>.diagram-node::after{content:"";position:absolute;left:-9px;top:calc(50% - 4px);width:8px;height:8px;border-top:1.5px solid var(--shell-muted);border-right:1.5px solid var(--shell-muted);transform:rotate(45deg)}
.diagram-risk-flow:has(svg) :is(.diagram-stage,.diagram-entry-group,.diagram-node)::before,.diagram-risk-flow:has(svg) :is(.diagram-stage,.diagram-entry-group,.diagram-node)::after{display:none}
/* Two inventory columns and one result column occupy the whole figure. */
.diagram-inventory-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:32px;align-items:stretch}
.diagram-inventory-grid{min-width:0;border:1px solid var(--shell-rule)}
.diagram-matrix-head,.diagram-matrix-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}
.diagram-matrix-head{font:12px/1.8 var(--sans);color:var(--shell-muted)}
.diagram-inventory-grid :is(.diagram-matrix-head,.diagram-matrix-row)>*{padding:18px 16px;align-content:center}
.diagram-inventory-grid :is(.diagram-matrix-head,.diagram-matrix-row)>*+*{border-left:1px solid var(--shell-rule)}
.diagram-web-windows :is(.diagram-matrix-head,.diagram-matrix-row){grid-template-columns:minmax(0,1fr) minmax(0,2fr)}
.diagram-web-windows code{font:inherit;overflow-wrap:anywhere}
.service-diagram .diagram-matrix-row{border:0;border-top:1px solid var(--shell-rule)}
.service-diagram .diagram-matrix-row>strong{font-size:16px}
.service-diagram .diagram-matrix-row>span{margin:0}
.diagram-inventory-result>.diagram-node{padding:24px 20px;height:100%;display:flex;flex-direction:column;justify-content:center}
/* Policy and classification share equal tracks rather than decorative indents. */
.diagram-policy-layout{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;align-items:stretch}
.service-diagram :is(.diagram-policy-input,.diagram-policy-output,.diagram-policy-gate){padding:24px 16px;align-content:center}
.diagram-policy-gate{text-align:center}
.diagram-policy-gate>strong{margin:16px 0}
.diagram-checks{display:grid;gap:8px;font-size:13px;color:var(--shell-muted)}
.diagram-checks>span{border-top:1px solid var(--shell-rule);padding:8px 0}
.service-diagram .diagram-policy-use{margin:24px 0 0;padding:14px 16px;font-size:13px;text-align:center;color:var(--shell-muted)}
.service-diagram .diagram-branch-root{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:20px 24px}
.service-diagram .diagram-branch-root>span{margin:0}
.diagram-branches{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px;padding:32px 0}
.diagram-branch::before{width:1.5px;height:32px;top:-32px;left:50%;transform-origin:top}
.diagram-branch::after{top:-9px;left:calc(50% - 4px);transform:rotate(135deg)}
.diagram-branch>.diagram-node{padding:24px;height:100%}
.service-diagram .diagram-access{padding:22px 24px;text-align:center}
.diagram-access .diagram-layer-label{margin-bottom:12px}
.diagram-knowledge{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr) minmax(0,1fr);align-items:stretch;gap:24px}
.service-diagram .diagram-knowledge-input{padding:24px 16px;align-content:center}
.diagram-knowledge-input>strong{margin-top:14px}
.service-diagram .diagram-knowledge .diagram-layer{grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);gap:8px 16px;padding:22px}
.diagram-knowledge .diagram-layer>span:last-child{grid-column:1/-1}
.diagram-knowledge .diagram-layer+.diagram-layer{border-top:0}
.service-diagram .diagram-knowledge-results{border-top:0;padding:20px 22px}
.diagram-knowledge-results>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin-top:16px;gap:8px;font-size:16px}
.diagram-knowledge-results strong{font-weight:600;text-align:center;padding:8px 4px;border:1px solid var(--shell-rule)}
.service-diagram .diagram-knowledge-return{padding:24px 16px;display:flex;flex-direction:column;justify-content:center}
.service-diagram .diagram-knowledge-return>.diagram-loop-mark{font-size:32px;color:var(--shell-muted)}
/* The service scope overrides the shared table style without touching site.css. */
.subpage[class*="page-service-"] .table-scroll{border:1px solid var(--shell-rule);background:var(--shell-bg)}
.subpage[class*="page-service-"] .table-scroll table{table-layout:fixed;width:100%;font:15px/1.8 var(--sans)}
.subpage[class*="page-service-"] .table-scroll :is(th,td){padding:18px 20px;vertical-align:middle;border-bottom:1px solid var(--shell-rule);color:var(--shell-ink);overflow-wrap:anywhere}
.subpage[class*="page-service-"] .table-scroll thead th{background:var(--shell-bg);color:var(--shell-muted);font:12px/1.8 var(--mono);border-bottom:1px solid var(--shell-rule)}
.subpage[class*="page-service-"] .table-scroll thead th:first-child{width:28%}
.subpage[class*="page-service-"] .table-scroll td:first-child{width:auto;color:var(--shell-muted)}
.subpage[class*="page-service-"] .table-scroll tbody tr:last-child>td{border-bottom:0}
.subpage[class*="page-service-"] .price-table{min-width:660px}
.subpage[class*="page-service-"] .price-table tr>:first-child{width:auto}
.subpage[class*="page-service-"] .table-scroll .price-table thead th:first-child{width:auto}
.subpage[class*="page-service-"] .price-table tr>:nth-child(2){width:120px}
.subpage[class*="page-service-"] .price-table tr>:nth-child(3){width:140px;text-align:right}
.subpage[class*="page-service-"] .price-table tbody tr{height:90px}
.subpage[class*="page-service-"] .price-table td.table-number{font:14px/1.8 var(--mono);white-space:nowrap}
@media(prefers-reduced-motion:no-preference){
 .service-diagram.is-playing .diagram-node{animation:service-node-in .48s both;animation-delay:calc(var(--step)*.22s)}
 .service-diagram.is-playing .diagram-link{animation:service-line-in .48s both;animation-delay:calc(var(--step)*.22s);stroke-dasharray:1}
}
@keyframes service-node-in{from{opacity:1}to{opacity:1}}
@keyframes service-line-in{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
@media(max-width:1050px) and (min-width:768px){
 .diagram-body{padding:24px 16px}
 .diagram-risk-flow{grid-template-columns:1fr;gap:32px}
 .diagram-risk-flow .diagram-entry-group{grid-template-columns:repeat(2,minmax(0,1fr))}
 .diagram-risk-flow>.diagram-stage:nth-child(3)::before,.diagram-risk-flow>.diagram-stage:nth-child(3)::after{display:none}
 .diagram-knowledge{grid-template-columns:minmax(0,1fr) minmax(0,2fr)}
 .diagram-knowledge-return{grid-column:1/-1}
}
@media(max-width:767px){
 .diagram-header{padding:16px;gap:8px}.service-diagram .diagram-label{width:100%}.diagram-title{font-size:18px}
 .diagram-body{padding:24px 16px}.service-diagram figcaption{padding:18px 16px}
 .service-diagram .diagram-notes>div{grid-template-columns:minmax(0,1fr);gap:4px}
 .service-diagram .diagram-flow{grid-template-columns:1fr;gap:32px}
 .service-diagram .diagram-flow>li{grid-template-columns:24px minmax(0,1fr);grid-template-rows:1fr;gap:12px}
 .diagram-flow .diagram-index{padding-top:20px}.diagram-flow .diagram-node{min-height:110px;padding:20px}
 .diagram-stage::before,.diagram-flow .diagram-stage::before{left:50%;top:-32px;width:1.5px;height:32px;transform-origin:top}
 .diagram-stage::after,.diagram-flow .diagram-stage::after{left:calc(50% - 4px);top:-9px;transform:rotate(135deg)}
 .diagram-flow .diagram-stage::before{left:calc(50% + 18px)}.diagram-flow .diagram-stage::after{left:calc(50% + 14px)}
 .diagram-return{margin:24px 0 0;padding:14px 10px;border-top:1.5px solid var(--shell-muted);border-bottom:0}
 .diagram-return::before{top:-4px;transform:rotate(135deg)}
 .diagram-radial{grid-template-columns:1fr;grid-template-rows:auto;gap:20px;padding-left:24px}
 .diagram-rays{display:none}.diagram-radial .diagram-origin{grid-column:1;grid-row:1;margin-left:-24px;min-height:110px}
 .diagram-radial .diagram-satellite{grid-column:1;grid-row:auto;min-height:110px}
 .diagram-satellite::before{content:"";position:absolute;left:-24px;top:-20px;width:24px;height:calc(50% + 20px);border-left:1.5px solid var(--shell-muted);border-bottom:1.5px solid var(--shell-muted)}
 .diagram-satellite:not(:last-child)::before{height:calc(100% + 20px);border-bottom:0;background:linear-gradient(var(--shell-muted),var(--shell-muted)) left calc(50% + 10px)/100% 1.5px no-repeat}
 .diagram-satellite::after{left:-5px;right:auto;transform:rotate(45deg)}
 .service-diagram .diagram-comparison{display:grid;grid-template-columns:1fr;gap:20px;border:0}
 .service-diagram .diagram-comparison :is(thead,tbody,tr){display:contents}
 .service-diagram .diagram-comparison tr>:first-child{display:none}
 .service-diagram .diagram-comparison :is(th,td){width:auto;padding:16px;min-width:0}
 .service-diagram .diagram-comparison tbody td{display:grid;grid-template-columns:54px minmax(0,1fr);gap:12px;margin-top:-20px;border-top:0}
 .service-diagram .diagram-comparison td::before{content:attr(data-label);font-size:12px;color:var(--shell-muted)}
 .diagram-comparison thead th:nth-child(2){grid-row:1}.diagram-comparison thead th:nth-child(3){grid-row:5}.diagram-comparison thead th:nth-child(4){grid-row:9}
 .diagram-comparison tbody tr:nth-child(1) td:nth-child(2){grid-row:2}.diagram-comparison tbody tr:nth-child(2) td:nth-child(2){grid-row:3}.diagram-comparison tbody tr:nth-child(3) td:nth-child(2){grid-row:4}
 .diagram-comparison tbody tr:nth-child(1) td:nth-child(3){grid-row:6}.diagram-comparison tbody tr:nth-child(2) td:nth-child(3){grid-row:7}.diagram-comparison tbody tr:nth-child(3) td:nth-child(3){grid-row:8}
 .diagram-comparison tbody tr:nth-child(1) td:nth-child(4){grid-row:10}.diagram-comparison tbody tr:nth-child(2) td:nth-child(4){grid-row:11}.diagram-comparison tbody tr:nth-child(3) td:nth-child(4){grid-row:12}
 .service-diagram .diagram-layer{grid-template-columns:1fr;gap:10px;padding:20px}
 .diagram-layer-pair{grid-template-columns:1fr}
 .diagram-layer-pair>.diagram-node{padding:24px 20px}.diagram-layer-pair>.diagram-node+div{border-left:1px solid var(--shell-rule);border-top:1px solid var(--shell-rule)}
 .diagram-risk-flow{grid-template-columns:1fr;gap:32px}
 .diagram-entry-group{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .diagram-risk-flow .diagram-rays{display:block}
 .diagram-entry-group:first-child::before,.diagram-entry-group:first-child>.diagram-node::after{display:none}
 .diagram-entry-group:last-child::before{width:1.5px}
 .diagram-entry-group:last-child::after{left:calc(50% - 4px);top:-9px;width:8px;height:8px;border-top:1.5px solid var(--shell-muted);border-right:1.5px solid var(--shell-muted);background:none;transform:rotate(135deg)}
 .diagram-entry-group:last-child>.diagram-node::before,.diagram-entry-group:last-child>.diagram-node::after{display:none}
 .diagram-inventory-layout{grid-template-columns:1fr;gap:32px}
 .diagram-inventory-grid :is(.diagram-matrix-head,.diagram-matrix-row)>*{padding:16px 12px}
 .diagram-policy-layout{grid-template-columns:1fr;gap:16px}
 .service-diagram .diagram-branch-root{display:block;padding:20px}
 .service-diagram .diagram-branch-root>span{margin-top:8px}
 .diagram-branches{grid-template-columns:1fr;padding:32px 0 32px 24px;gap:32px}
 .diagram-branch::before{left:-24px;top:-32px;width:24px;height:calc(50% + 32px);background:none;border-left:1.5px solid var(--shell-muted);border-bottom:1.5px solid var(--shell-muted)}
 .diagram-branch:not(:last-child)::before{height:calc(100% + 32px);border-bottom:0;background:linear-gradient(var(--shell-muted),var(--shell-muted)) left calc(50% + 16px)/100% 1.5px no-repeat}
 .diagram-branch::after{left:-5px;top:calc(50% - 4px);transform:rotate(45deg)}
 .diagram-branch>.diagram-node{padding:20px}
 .service-diagram .diagram-access{padding:20px 16px}
 .diagram-knowledge{grid-template-columns:1fr;gap:16px}
 .service-diagram .diagram-knowledge .diagram-layer{grid-template-columns:1fr;padding:20px}
 .service-diagram .diagram-knowledge-results{padding:20px}
 .subpage[class*="page-service-"] .table-scroll .service-table-ready{display:block;min-width:0}
 .table-scroll .service-table-ready>thead{display:block}
 .table-scroll .service-table-ready>thead>tr{display:flex;flex-wrap:wrap}
 .subpage[class*="page-service-"] .table-scroll .service-table-ready thead th{width:auto;padding:12px;flex:1}
 .table-scroll .service-table-ready tbody{display:block}
 .table-scroll .service-table-ready tbody tr{display:grid;grid-template-columns:minmax(0,1fr);border-bottom:1px solid var(--shell-rule)}
 .subpage[class*="page-service-"] .table-scroll .service-table-ready tbody td{display:block;width:auto;border:0;padding:14px 16px;min-width:0}
 .table-scroll .service-table-ready:not(.price-table) tbody td+td::before{content:attr(data-label);display:block;font:12px/1.8 var(--sans);color:var(--shell-muted);margin-bottom:4px}
 .subpage[class*="page-service-"] .table-scroll .service-table-ready tbody tr:last-child{border-bottom:0}
 .subpage[class*="page-service-"] .table-scroll .price-table.service-table-ready tbody tr{grid-template-columns:minmax(0,1fr) 140px;height:auto;min-height:116px}
 .subpage[class*="page-service-"] .table-scroll .price-table.service-table-ready tbody td:first-child{grid-column:1/-1;padding-bottom:0}
 .subpage[class*="page-service-"] .table-scroll .price-table.service-table-ready tbody td:nth-child(2){font-size:13px;color:var(--shell-muted)}
}
@media(prefers-reduced-motion:reduce){
 .service-diagram *,.service-diagram ::before,.service-diagram ::after{animation:none!important}
}
/* One lead figure spans all twelve page columns, above the reading layout.
   Other figures retain their existing typography, spacing and width. */
.subpage main>.service-diagram.diagram-featured{margin:40px 0;width:100%}
.diagram-featured .diagram-body{padding:40px 32px}
.service-diagram.diagram-featured .diagram-node>strong,
.service-diagram.diagram-featured .diagram-matrix-row>strong,
.diagram-featured .diagram-knowledge-results strong{font-size:18px;font-weight:600}
.diagram-featured .diagram-flow .diagram-node{min-height:180px;padding:30px 24px}
.diagram-featured .diagram-knowledge{grid-template-columns:minmax(0,1fr) minmax(0,2fr) minmax(0,1fr)}
/* Web plans use the same square edges, quiet surface and single blue marker. */
.web-plan-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border-top:1px solid var(--shell-rule);border-left:1px solid var(--shell-rule);margin-top:32px}
.web-plan{min-width:0;padding:28px;display:flex;flex-direction:column;border-right:1px solid var(--shell-rule);border-bottom:1px solid var(--shell-rule);background:color-mix(in srgb,var(--shell-ink) 5%,var(--shell-bg))}
:root[data-theme=light] .web-plan{background:var(--shell-bg)}
.web-plan-diagnosis{grid-column:1/-1}
.web-plan-diagnosis dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:28px}
.web-plan-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:28px;font:12px/1.8 var(--mono);color:var(--shell-muted)}
.web-plan-recommend{padding:2px 12px;border:1px solid var(--page-accent);font:600 13px/1.8 var(--sans);color:var(--page-accent)}
.source-section .web-plan h3{font:700 23px/1.6 var(--heading-ja);margin:18px 0 12px;overflow-wrap:anywhere}
.web-plan .web-plan-price{font:500 26px/1.7 var(--sans);margin:0 0 20px}
.web-plan-price>span{display:block;font-size:20px}
.web-plan dl{margin:0 0 24px;font:15px/1.9 var(--sans)}
.web-plan dl>div{padding:16px 0;border-top:1px solid var(--shell-rule)}
.web-plan dt{font:600 13px/1.8 var(--sans);margin-bottom:8px}
.web-plan dd{margin:0;color:var(--shell-ink);font-weight:500}
.web-plan-note{font:13px/1.9 var(--sans);color:var(--shell-muted)}
/* 仮: Common terms appear once below all Web plan cards. */
.web-plan-common-note{margin:24px 0 0;padding-top:20px;border-top:1px solid var(--shell-rule)}
.web-plan .web-plan-note{margin:0 0 20px;color:var(--shell-ink);font-weight:500}
.web-plan-aftercare{font:500 17px/1.9 var(--sans);margin:0 0 12px}
.section-content .web-plan-cta{display:flex;justify-content:space-between;gap:16px;align-items:center;min-height:52px;padding:14px 16px;margin-top:auto;border:1px solid var(--shell-rule);color:var(--shell-ink);font:500 14px/1.8 var(--sans);text-decoration:none!important}
.web-plan-cta:hover{background:var(--shell-ink);color:var(--shell-bg)}
.web-plan-cta:focus-visible{outline:2px solid var(--page-accent);outline-offset:4px}
/* One shared table grid keeps every comparison rule continuous.
   2026-11-22 loop4: beside the TOC rail each cell is only 109-149px and runs 16-17 lines at 1440-1920px,
   so the cards are shown at every width until okada decides (qa/okada-review-queue.md #19). Restore by lowering 2400px. */
.web-plan-comparison{display:none;grid-column:1/-1;min-width:0}
@media(min-width:2400px){
 .web-plan-grid.has-comparison>.web-plan:not(.web-plan-diagnosis){display:none}
 .web-plan-comparison{display:block}
 .web-plan-table{width:100%;table-layout:fixed;border-collapse:collapse;font:500 15px/1.9 var(--sans)}
 .web-plan-table col:first-child{width:14%}
 .web-plan-table :is(th,td){padding:16px 14px;border-right:1px solid var(--shell-rule);border-bottom:1px solid var(--shell-rule);text-align:left;vertical-align:top;overflow-wrap:anywhere}
 .web-plan-table thead :is(th,td){background:var(--table-head-bg);color:var(--table-head-ink)}
 .web-plan-table thead .web-plan-heading{color:inherit}
 .web-plan-table .web-plan-recommend{border-color:currentColor;color:inherit}
 .source-section .web-plan-table h3{font:700 18px/1.6 var(--heading-ja);margin:16px 0 12px}
 .web-plan-table .web-plan-price{font:500 20px/1.7 var(--sans);margin:0 0 16px}
 .web-plan-table .web-plan-price>span{font-size:16px}
 .web-plan-table tbody th{font:600 13px/1.9 var(--sans);color:var(--page-accent)}
 .web-plan-table .web-plan-note{margin:16px 0 0;color:inherit}
 .web-plan-table .web-plan-aftercare{margin:0}
 .section-content .web-plan-table .web-plan-cta{height:100%;font-size:13px;gap:8px;padding:12px 10px}
}
@media(min-width:1280px) and (max-width:1399px){
 .web-plan-table :is(th,td){padding-inline:10px}
}
@media(max-width:1050px) and (min-width:768px){
 .diagram-featured .diagram-knowledge{grid-template-columns:minmax(0,1fr) minmax(0,2fr)}
 .web-plan{padding:24px 20px}
}
@media(max-width:767px){
 .subpage main>.service-diagram.diagram-featured{margin:28px 0}
 .diagram-featured .diagram-body{padding:24px 16px}
 .diagram-featured .diagram-flow .diagram-node{min-height:120px;padding:24px 20px}
 .diagram-featured .diagram-knowledge{grid-template-columns:minmax(0,1fr)}
 .web-plan-grid{grid-template-columns:minmax(0,1fr)}
 .web-plan-diagnosis dl{grid-template-columns:minmax(0,1fr)}
 .diagram-web-windows :is(.diagram-matrix-head,.diagram-matrix-row){grid-template-columns:minmax(0,1fr)}
 .diagram-web-windows .diagram-matrix-head{display:none}
 .diagram-web-windows .diagram-matrix-row>span{border-left:0;padding-top:0}
 .web-plan{padding:24px 20px}
}

/* Shared forward-arrow component for inline service flows. */
.ui-icon{display:inline-block;width:20px;height:20px;background:currentColor;flex:none;vertical-align:middle;mask:var(--icon) center/contain no-repeat}
.icon-next{--icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12h15m-6-6 6 6-6 6' fill='none' stroke='black' stroke-width='1.5'/%3E%3C/svg%3E")}
/* The update loop uses equal cells and measured, edge-centred connectors. */
.web-update-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:32px;align-items:start}
.web-update-copy{min-width:0}
.web-update-copy>p{font:inherit}
.source-section .web-update-layout>.service-diagram{margin:0}
.diagram-update-loop .diagram-header{padding:18px 20px;gap:8px}
.diagram-update-loop .diagram-title{font-size:18px}
.diagram-update-loop .diagram-body{padding:24px 12px}
.diagram-update-cycle{position:relative;padding-inline:20px}
.service-diagram .diagram-update-steps{position:relative;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(3,minmax(108px,auto));gap:28px 24px;list-style:none;margin:0;padding:0}
.service-diagram .diagram-update-steps>li{margin:0;padding:12px;display:flex;flex-direction:column;justify-content:center}
.service-diagram .diagram-update-steps .diagram-index{font:12px/1.8 var(--mono);margin:0 0 6px}
.service-diagram .diagram-update-steps strong{font-size:16px;text-wrap:initial}
.service-diagram .diagram-update-steps>li>span:last-child{margin-top:6px;font-size:13px}
.diagram-update-steps>li:nth-child(3){grid-column:2;grid-row:2}
.diagram-update-steps>li:nth-child(4){grid-column:2;grid-row:3}
.diagram-update-steps>li:nth-child(5){grid-column:1;grid-row:3}
.diagram-update-loop .diagram-notes>div{grid-template-columns:1fr;gap:6px}
@media(max-width:1250px){
 .web-update-layout{grid-template-columns:minmax(0,1fr)}
 .source-section .web-update-layout>.service-diagram{width:100%;max-width:600px;margin-top:4px}
}
@media(max-width:767px){
 .web-update-layout{gap:24px}
 .diagram-update-loop .diagram-header{padding:18px 16px}
 .diagram-update-loop .diagram-body{padding:24px 8px}
 .diagram-update-cycle{padding-inline:16px}
 .service-diagram .diagram-update-steps{column-gap:20px}
 .service-diagram .diagram-update-steps>li{padding:10px 8px}
}
.diagram-update-cycle .diagram-rays{display:block}

.service-diagram .diagram-index,.web-plan-heading>.mono{font-family:var(--font-number);font-weight:300;font-variant-numeric:tabular-nums}

/* Restored source copy uses the existing shared-cell grid in both themes. */
.service-voices blockquote{margin:0 0 24px;padding:0;font:700 22px/1.8 var(--heading-ja);color:var(--shell-ink)}
.service-voices blockquote p{margin:0}
.service-voices .source-cell>h3{margin:24px 0;font-size:20px}
.page-service .table-scroll{background:var(--shell-bg);border:1px solid var(--shell-rule)}
.page-service .service-compare{table-layout:fixed;min-width:680px;color:var(--shell-ink)}
.page-service .service-compare th{background:var(--shell-bg);color:var(--shell-muted);font:12px/1.8 var(--sans)}
.page-service .service-compare tr>:first-child{width:24%}
.page-service .service-compare tbody tr:last-child>td{border-bottom:0}
@media(max-width:767px){
 .page-service .service-compare{display:block;min-width:0}
 .page-service .service-compare thead{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}
 .page-service .service-compare tbody{display:block}
 .page-service .service-compare tbody tr{display:grid;grid-template-columns:minmax(0,1fr);border-bottom:1px solid var(--shell-rule)}
 .page-service .service-compare tbody tr:last-child{border-bottom:0}
 .page-service .service-compare tbody td{display:block;width:auto;border:0;padding:14px 16px;overflow-wrap:anywhere}
 .page-service .service-compare tbody td+td{border-left:0}
 .page-service .service-compare tbody td::before{content:attr(data-label);display:block;margin-bottom:6px;font:12px/1.8 var(--sans);color:var(--shell-muted)}
 .service-voices blockquote{font-size:20px}
}

/* Loop 1: compact pricing and grouped narrow comparisons. */
.service-mobile-groups{display:none}
.page-service-ai .source-grid:not(.four-steps .source-grid)>.source-cell:last-child:nth-child(odd){grid-column:1/-1}
.ai-course-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid var(--shell-rule);border-left:1px solid var(--shell-rule);margin:28px 0}
.ai-course{min-width:0;padding:20px 16px;border-right:1px solid var(--shell-rule);border-bottom:1px solid var(--shell-rule)}
.section-content .ai-course h3{margin-top:0;font-size:22px}
.section-content .ai-course ul{display:block;padding-left:1.2em}
.subpage[class*="page-service-"] .price-table tbody tr{height:auto}
.subpage[class*="page-service-"] .price-table tbody td{padding-block:12px}
.subpage[class*="page-service-"] .price-table tbody td:first-child{color:var(--shell-ink);font-weight:500}
.subpage[class*="page-service-"] .price-table tbody td:nth-child(2){font-size:13px;color:var(--shell-muted);font-weight:400}
.service-voices .voice-meta{display:flex;gap:16px;align-items:baseline;margin:8px 0;font-weight:500}
.voice-meta small{font-size:12px;color:var(--shell-muted);font-weight:400;min-width:5em}
.service-voices .source-cell>p:nth-child(4){font-size:12px;color:var(--shell-muted)}
@media(max-width:767px){
 .ai-course-grid{grid-template-columns:minmax(0,1fr)}
 .table-scroll:has(.has-mobile-groups){overflow:visible}
 .table-scroll table.has-mobile-groups,.page-service .service-compare.has-mobile-groups{display:none}
 .service-mobile-groups{display:block}
 .service-mobile-groups section+section{border-top:1px solid var(--shell-rule)}
 .section-content .service-mobile-groups h3{margin:0;padding:14px 16px;font-size:16px;background:var(--shell-ink);color:var(--shell-bg)}
 .service-mobile-groups dl{margin:0}
 .service-mobile-groups dl>div{padding:14px 16px;border-top:1px solid var(--shell-rule)}
 .service-mobile-groups dt{font-size:13px;color:var(--shell-muted);margin-bottom:6px}
 .service-mobile-groups dd{margin:0;font-size:15px;line-height:1.8;overflow-wrap:anywhere;min-width:0}
 .page-service .service-compare tbody tr>td:first-child{width:auto;min-width:0}
 .page-service .service-compare :is(th,td){white-space:normal;overflow-wrap:anywhere}
}

/* Loop 2: row cards keep each service/course and its costs together. */
.service-audience-label{display:block;margin-bottom:6px;font:400 12px/1.8 var(--mono);color:var(--shell-muted)}
@media(max-width:767px){
 .table-scroll .service-table-ready:not([data-table-layout="summary"])>thead,.page-service .service-compare>thead{display:block;position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}
 .table-scroll .service-table-ready[data-table-layout="comparison"] tbody td[data-label]::before{content:attr(data-label);display:block;font:12px/1.8 var(--sans);color:var(--shell-muted);margin-bottom:4px}
 .table-scroll .service-table-ready[data-table-layout] tbody td:not([data-label])::before{content:none}
 .page-service .service-compare tbody td:first-child::before{content:none}
 .subpage[class*="page-service-"] .table-scroll .service-table-ready tbody tr{display:block;height:auto;min-height:0}
 .subpage[class*="page-service-"] .table-scroll .service-table-ready tbody :is(td,th){display:block;width:auto;text-align:left;white-space:normal;border-left:0}
 .page-service-web .service-sections .source-grid{border-left:0;border-right:0}
 .page-service-web .service-sections .source-cell{padding-inline:0;border-left:0;border-right:0}
 .page-service-web .service-sections .service-diagram{margin-inline:0;border-left:0;border-right:0}
 .page-service-web .service-sections .curriculum-details{padding-inline:0;border-left:0;border-right:0}
}
@media(max-width:767px){
 .table-scroll .price-table.service-table-ready tbody td+td::before{content:attr(data-label);display:block;font:12px/1.8 var(--sans);color:var(--shell-muted);margin-bottom:4px}
}

/* Loop 3: mobile row cards must not inherit BudouX's intrinsic keep-all width. */
.page-service .service-compare tbody tr>:first-child,
.subpage[class*="page-service-"] .table-scroll tbody tr>:first-child,
.web-plan-table tbody th{color:var(--shell-ink);font-weight:600}
@media(max-width:767px){
 .page-service .service-compare,
 .page-service .service-compare :is(tbody,tr,td),
 .subpage[class*="page-service-"] .table-scroll .service-table-ready,
 .subpage[class*="page-service-"] .table-scroll .service-table-ready :is(tbody,tr,td,th){width:100%;min-width:0;max-width:100%;box-sizing:border-box}
 .page-service .service-compare tbody tr>td:first-child{width:100%;min-width:0}
 .page-service .service-compare tbody td,
 .subpage[class*="page-service-"] .table-scroll .service-table-ready tbody :is(td,th){word-break:normal;overflow-wrap:anywhere;white-space:normal}
}
.web-plan-table-notes{padding:20px 24px;border-right:1px solid var(--shell-rule);border-bottom:1px solid var(--shell-rule)}
.section-content .web-plan-table-notes h3{font:600 14px/1.8 var(--sans);margin:0 0 8px}
.web-plan-table-notes .web-plan-note{font:13px/1.8 var(--sans);margin:0;color:var(--shell-ink)}
.subpage[class*="page-service-"] .table-scroll tbody th{background:var(--shell-bg);color:var(--shell-ink);font-weight:600}

/* Keep the price column aligned when the mobile table becomes stacked rows. */
.subpage[class*="page-service-"] .table-scroll .price-table.service-table-ready tbody td.table-number{text-align:right;font-variant-numeric:tabular-nums}

/* Loop 4: compact comparison cells, with strict Japanese punctuation. */
@media(min-width:1280px){
 .web-plan-table :is(th,td){padding:12px 10px;line-break:strict;font-size:13px;line-height:1.65;word-break:normal;overflow-wrap:normal}
 .web-plan-table col:first-child{width:12%}
 .web-plan-table .budoux-copy{word-break:normal;overflow-wrap:normal}
}

/* Sweep 1123: a value is one flex item, independent of BudouX spans. */
.voice-meta .voice-value{white-space:nowrap;letter-spacing:normal;word-spacing:normal;text-align:left}
@media(min-width:768px){
 .page-service-web #detail-5 .section-content>ul:has(>li:nth-child(5):last-child)::after{content:"";border-right:1px solid var(--shell-rule);border-bottom:1px solid var(--shell-rule)}
}
/* The SVG is measured from the actual stage edges; the desktop return stays intact. */
.diagram-cycle-return{display:none;pointer-events:none}
@media(max-width:767px){
 .diagram-marketing .diagram-cycle{position:relative;padding-left:18px}
 .diagram-marketing .diagram-cycle-return{display:block}
 .diagram-marketing .diagram-return{margin:24px 0 0;padding:14px 10px;border:0}
 .diagram-marketing .diagram-return::before{content:none}
}

.page-service-marketing #price .price-plate-label{margin:0 0 16px;font:500 12px/1.8 var(--sans);color:var(--shell-muted)}
.page-service-marketing #price .price-plate-value{display:flex;align-items:baseline;flex-wrap:wrap;gap:12px 6px;margin:0 0 16px;color:var(--shell-ink)}
.page-service-marketing #price .price-plate-number{font:300 clamp(44px,4.4vw,64px)/1 var(--font-number);font-variant-numeric:tabular-nums;letter-spacing:-.02em}
.page-service-marketing #price .price-plate-unit{font:500 16px/1 var(--sans)}
.page-service-marketing #price .price-plate-tilde{font:400 clamp(28px,2.8vw,40px)/1 var(--sans)}
.page-service-marketing #price .price-plate-count{display:inline-flex;gap:4px;margin-left:10px;align-self:center}
.page-service-marketing #price .price-plate-count>span{display:block;width:10px;height:10px;background:currentColor;box-sizing:border-box}
.page-service-marketing #price .price-plate-count>.is-open{background:transparent;border:1px solid currentColor}
.page-service-marketing #price .price-plate-note{margin:0;font-size:14px;color:var(--shell-muted)}
@media(max-width:767px){
 .page-service-marketing #price .price-plate-number{font-size:44px}
}

/* MIMIR process: bounded setup, continuing operation, and a return to building. */
.page-service-mimir #detail-3 .mimir-process-track{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(3,minmax(88px,auto));position:relative;margin:24px 0 0;border-top:1px solid var(--shell-rule);border-left:1px solid var(--shell-rule);color:var(--shell-ink)}
.page-service-mimir #detail-3 .mimir-process-track *{box-sizing:border-box;min-width:0;border-radius:0}
.page-service-mimir #detail-3 .mimir-process-column{grid-row:1/4;border-right:1px solid var(--shell-rule);pointer-events:none}
.page-service-mimir #detail-3 .mimir-process-column:nth-child(1){grid-column:1}
.page-service-mimir #detail-3 .mimir-process-column:nth-child(2){grid-column:2}
.page-service-mimir #detail-3 .mimir-process-column:nth-child(3){grid-column:3}
.page-service-mimir #detail-3 .mimir-process-band{position:relative;align-self:start;display:flex;align-items:center;min-height:72px;padding:12px 25px;border-top:1px solid var(--shell-rule);border-bottom:1px solid var(--shell-rule);background:color-mix(in srgb,var(--shell-ink) 3%,var(--shell-bg));font:600 15px/1.6 var(--sans);overflow-wrap:anywhere}
.page-service-mimir #detail-3 .mimir-process-plan{grid-column:1;grid-row:1}
.page-service-mimir #detail-3 .mimir-process-build{grid-column:2;grid-row:2;align-self:center}
.page-service-mimir #detail-3 .mimir-process-plan::after,.page-service-mimir #detail-3 .mimir-process-build::after{content:"";position:absolute;right:0;top:0;bottom:0;border-right:1.5px solid var(--shell-muted)}
.page-service-mimir #detail-3 .mimir-process-operate{grid-column:3;grid-row:3;padding-right:26px}
.page-service-mimir #detail-3 .mimir-process-operate::before{content:"";position:absolute;right:3px;top:calc(50% - .75px);width:18px;height:1.5px;background:var(--shell-muted)}
.page-service-mimir #detail-3 .mimir-process-operate::after{content:"";position:absolute;right:3px;top:calc(50% - 4px);width:8px;height:8px;border-top:1.5px solid var(--shell-muted);border-right:1.5px solid var(--shell-muted);transform:rotate(45deg)}
.page-service-mimir #detail-3 .mimir-process-return{grid-column:3;grid-row:2;position:relative;display:grid;grid-template-rows:1fr 1fr;color:var(--shell-muted);font:400 13px/1.6 var(--sans)}
.page-service-mimir #detail-3 .mimir-process-return>span{grid-row:1;align-self:end;padding:12px 14px 16px 25px;overflow-wrap:anywhere}
.page-service-mimir #detail-3 .mimir-process-return::before{content:"";position:absolute;left:0;right:14px;top:50%;bottom:0;border-top:1.5px solid var(--shell-muted);border-right:1.5px solid var(--shell-muted)}
.page-service-mimir #detail-3 .mimir-process-return::after{content:"";position:absolute;left:3px;top:calc(50% - 4px);width:8px;height:8px;border-top:1.5px solid var(--shell-muted);border-right:1.5px solid var(--shell-muted);transform:rotate(-135deg)}
.page-service-mimir #detail-3 .mimir-process-track+.source-grid{margin-top:0}
/* 背面の縦のグリッド線を透かさない（okada 2026-11-24）。地と同じ色。 */
.page-service-mimir #detail-3 :is(.mimir-process-track,.source-grid){background:var(--dark);transition:background-color .3s}
@media(max-width:767px){
 .page-service-mimir #detail-3 .mimir-process-track{border-right:1px solid var(--shell-rule);border-bottom:1px solid var(--shell-rule)}
 .page-service-mimir #detail-3 .mimir-process-column:nth-child(3){border-right:0}
 .page-service-mimir #detail-3 .mimir-process-band{padding-left:22px;font-size:14px}
 .page-service-mimir #detail-3 .mimir-process-return>span{padding-left:22px;font-size:12px}
 .page-service-mimir #detail-3 .mimir-process-track+.source-grid{margin-top:24px}
}
@media(min-width:768px){
 .page-service-marketing #price .price-plate{grid-template-rows:repeat(3,auto)}
 .page-service-marketing #price .price-plate>.source-cell{display:grid;grid-row:span 3;grid-template-rows:subgrid;align-content:start}
}
