.atc-brand-image{display:block;width:100%;height:100%;background-repeat:no-repeat;background-position:center;background-size:contain}.atc-brand-light,.atc-brand-auto{background-image:url(/assets/atc-flag-light-2938b3d71091b894b290d9ecbcf022acfd84bb57e189a5b772bcd6a7032abc8e.png)}.atc-brand-dark,html[data-theme=dark] .atc-brand-auto{background-image:url(/assets/atc-flag-dark-17824e78ba40da8ff167c55be10a3ea07594467a31ae795d9b47f606e7b3e4b9.png)}
/* required styles */

.leaflet-pane,
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-tile-container,
.leaflet-pane > svg,
.leaflet-pane > canvas,
.leaflet-zoom-box,
.leaflet-image-layer,
.leaflet-layer {
	position: absolute;
	left: 0;
	top: 0;
	}
.leaflet-container {
	overflow: hidden;
	}
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow {
	-webkit-user-select: none;
	   -moz-user-select: none;
	        user-select: none;
	  -webkit-user-drag: none;
	}
/* Prevents IE11 from highlighting tiles in blue */
.leaflet-tile::selection {
	background: transparent;
}
/* Safari renders non-retina tile on retina better with this, but Chrome is worse */
.leaflet-safari .leaflet-tile {
	image-rendering: -webkit-optimize-contrast;
	}
/* hack that prevents hw layers "stretching" when loading new tiles */
.leaflet-safari .leaflet-tile-container {
	width: 1600px;
	height: 1600px;
	-webkit-transform-origin: 0 0;
	}
.leaflet-marker-icon,
.leaflet-marker-shadow {
	display: block;
	}
/* .leaflet-container svg: reset svg max-width decleration shipped in Joomla! (joomla.org) 3.x */
/* .leaflet-container img: map is broken in FF if you have max-width: 100% on tiles */
.leaflet-container .leaflet-overlay-pane svg {
	max-width: none !important;
	max-height: none !important;
	}
.leaflet-container .leaflet-marker-pane img,
.leaflet-container .leaflet-shadow-pane img,
.leaflet-container .leaflet-tile-pane img,
.leaflet-container img.leaflet-image-layer,
.leaflet-container .leaflet-tile {
	max-width: none !important;
	max-height: none !important;
	width: auto;
	padding: 0;
	}

.leaflet-container img.leaflet-tile {
	/* See: https://bugs.chromium.org/p/chromium/issues/detail?id=600120 */
	mix-blend-mode: plus-lighter;
}

.leaflet-container.leaflet-touch-zoom {
	-ms-touch-action: pan-x pan-y;
	touch-action: pan-x pan-y;
	}
.leaflet-container.leaflet-touch-drag {
	-ms-touch-action: pinch-zoom;
	/* Fallback for FF which doesn't support pinch-zoom */
	touch-action: none;
	touch-action: pinch-zoom;
}
.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom {
	-ms-touch-action: none;
	touch-action: none;
}
.leaflet-container {
	-webkit-tap-highlight-color: transparent;
}
.leaflet-container a {
	-webkit-tap-highlight-color: rgba(51, 181, 229, 0.4);
}
.leaflet-tile {
	filter: inherit;
	visibility: hidden;
	}
.leaflet-tile-loaded {
	visibility: inherit;
	}
.leaflet-zoom-box {
	width: 0;
	height: 0;
	-moz-box-sizing: border-box;
	     box-sizing: border-box;
	z-index: 800;
	}
/* workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=888319 */
.leaflet-overlay-pane svg {
	-moz-user-select: none;
	}

.leaflet-pane         { z-index: 400; }

.leaflet-tile-pane    { z-index: 200; }
.leaflet-overlay-pane { z-index: 400; }
.leaflet-shadow-pane  { z-index: 500; }
.leaflet-marker-pane  { z-index: 600; }
.leaflet-tooltip-pane   { z-index: 650; }
.leaflet-popup-pane   { z-index: 700; }

.leaflet-map-pane canvas { z-index: 100; }
.leaflet-map-pane svg    { z-index: 200; }

.leaflet-vml-shape {
	width: 1px;
	height: 1px;
	}
.lvml {
	behavior: url(#default#VML);
	display: inline-block;
	position: absolute;
	}


/* control positioning */

.leaflet-control {
	position: relative;
	z-index: 800;
	pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */
	pointer-events: auto;
	}
.leaflet-top,
.leaflet-bottom {
	position: absolute;
	z-index: 1000;
	pointer-events: none;
	}
.leaflet-top {
	top: 0;
	}
.leaflet-right {
	right: 0;
	}
.leaflet-bottom {
	bottom: 0;
	}
.leaflet-left {
	left: 0;
	}
.leaflet-control {
	float: left;
	clear: both;
	}
.leaflet-right .leaflet-control {
	float: right;
	}
.leaflet-top .leaflet-control {
	margin-top: 10px;
	}
.leaflet-bottom .leaflet-control {
	margin-bottom: 10px;
	}
.leaflet-left .leaflet-control {
	margin-left: 10px;
	}
.leaflet-right .leaflet-control {
	margin-right: 10px;
	}


/* zoom and fade animations */

.leaflet-fade-anim .leaflet-popup {
	opacity: 0;
	-webkit-transition: opacity 0.2s linear;
	   -moz-transition: opacity 0.2s linear;
	        transition: opacity 0.2s linear;
	}
.leaflet-fade-anim .leaflet-map-pane .leaflet-popup {
	opacity: 1;
	}
.leaflet-zoom-animated {
	-webkit-transform-origin: 0 0;
	    -ms-transform-origin: 0 0;
	        transform-origin: 0 0;
	}
svg.leaflet-zoom-animated {
	will-change: transform;
}

.leaflet-zoom-anim .leaflet-zoom-animated {
	-webkit-transition: -webkit-transform 0.25s cubic-bezier(0,0,0.25,1);
	   -moz-transition:    -moz-transform 0.25s cubic-bezier(0,0,0.25,1);
	        transition:         transform 0.25s cubic-bezier(0,0,0.25,1);
	}
.leaflet-zoom-anim .leaflet-tile,
.leaflet-pan-anim .leaflet-tile {
	-webkit-transition: none;
	   -moz-transition: none;
	        transition: none;
	}

.leaflet-zoom-anim .leaflet-zoom-hide {
	visibility: hidden;
	}


/* cursors */

.leaflet-interactive {
	cursor: pointer;
	}
.leaflet-grab {
	cursor: -webkit-grab;
	cursor:    -moz-grab;
	cursor:         grab;
	}
.leaflet-crosshair,
.leaflet-crosshair .leaflet-interactive {
	cursor: crosshair;
	}
.leaflet-popup-pane,
.leaflet-control {
	cursor: auto;
	}
.leaflet-dragging .leaflet-grab,
.leaflet-dragging .leaflet-grab .leaflet-interactive,
.leaflet-dragging .leaflet-marker-draggable {
	cursor: move;
	cursor: -webkit-grabbing;
	cursor:    -moz-grabbing;
	cursor:         grabbing;
	}

/* marker & overlays interactivity */
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-image-layer,
.leaflet-pane > svg path,
.leaflet-tile-container {
	pointer-events: none;
	}

.leaflet-marker-icon.leaflet-interactive,
.leaflet-image-layer.leaflet-interactive,
.leaflet-pane > svg path.leaflet-interactive,
svg.leaflet-image-layer.leaflet-interactive path {
	pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */
	pointer-events: auto;
	}

/* visual tweaks */

.leaflet-container {
	background: #ddd;
	outline-offset: 1px;
	}
.leaflet-container a {
	color: #0078A8;
	}
.leaflet-zoom-box {
	border: 2px dotted #38f;
	background: rgba(255,255,255,0.5);
	}


/* general typography */
.leaflet-container {
	font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-size: 0.75rem;
	line-height: 1.5;
	}


/* general toolbar styles */

.leaflet-bar {
	box-shadow: 0 1px 5px rgba(0,0,0,0.65);
	border-radius: 4px;
	}
.leaflet-bar a {
	background-color: #fff;
	border-bottom: 1px solid #ccc;
	width: 26px;
	height: 26px;
	line-height: 26px;
	display: block;
	text-align: center;
	text-decoration: none;
	color: black;
	}
.leaflet-bar a,
.leaflet-control-layers-toggle {
	background-position: 50% 50%;
	background-repeat: no-repeat;
	display: block;
	}
.leaflet-bar a:hover,
.leaflet-bar a:focus {
	background-color: #f4f4f4;
	}
.leaflet-bar a:first-child {
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
	}
.leaflet-bar a:last-child {
	border-bottom-left-radius: 4px;
	border-bottom-right-radius: 4px;
	border-bottom: none;
	}
.leaflet-bar a.leaflet-disabled {
	cursor: default;
	background-color: #f4f4f4;
	color: #bbb;
	}

.leaflet-touch .leaflet-bar a {
	width: 30px;
	height: 30px;
	line-height: 30px;
	}
.leaflet-touch .leaflet-bar a:first-child {
	border-top-left-radius: 2px;
	border-top-right-radius: 2px;
	}
.leaflet-touch .leaflet-bar a:last-child {
	border-bottom-left-radius: 2px;
	border-bottom-right-radius: 2px;
	}

/* zoom control */

.leaflet-control-zoom-in,
.leaflet-control-zoom-out {
	font: bold 18px 'Lucida Console', Monaco, monospace;
	text-indent: 1px;
	}

.leaflet-touch .leaflet-control-zoom-in, .leaflet-touch .leaflet-control-zoom-out  {
	font-size: 22px;
	}


/* layers control */

.leaflet-control-layers {
	box-shadow: 0 1px 5px rgba(0,0,0,0.4);
	background: #fff;
	border-radius: 5px;
	}
.leaflet-control-layers-toggle {
	background-image: url(images/layers.png);
	width: 36px;
	height: 36px;
	}
.leaflet-retina .leaflet-control-layers-toggle {
	background-image: url(images/layers-2x.png);
	background-size: 26px 26px;
	}
.leaflet-touch .leaflet-control-layers-toggle {
	width: 44px;
	height: 44px;
	}
.leaflet-control-layers .leaflet-control-layers-list,
.leaflet-control-layers-expanded .leaflet-control-layers-toggle {
	display: none;
	}
.leaflet-control-layers-expanded .leaflet-control-layers-list {
	display: block;
	position: relative;
	}
.leaflet-control-layers-expanded {
	padding: 6px 10px 6px 6px;
	color: #333;
	background: #fff;
	}
.leaflet-control-layers-scrollbar {
	overflow-y: scroll;
	overflow-x: hidden;
	padding-right: 5px;
	}
.leaflet-control-layers-selector {
	margin-top: 2px;
	position: relative;
	top: 1px;
	}
.leaflet-control-layers label {
	display: block;
	font-size: 13px;
	font-size: 1.08333em;
	}
.leaflet-control-layers-separator {
	height: 0;
	border-top: 1px solid #ddd;
	margin: 5px -10px 5px -6px;
	}

/* Default icon URLs */
.leaflet-default-icon-path { /* used only in path-guessing heuristic, see L.Icon.Default */
	background-image: url(images/marker-icon.png);
	}


/* attribution and scale controls */

.leaflet-container .leaflet-control-attribution {
	background: #fff;
	background: rgba(255, 255, 255, 0.8);
	margin: 0;
	}
.leaflet-control-attribution,
.leaflet-control-scale-line {
	padding: 0 5px;
	color: #333;
	line-height: 1.4;
	}
.leaflet-control-attribution a {
	text-decoration: none;
	}
.leaflet-control-attribution a:hover,
.leaflet-control-attribution a:focus {
	text-decoration: underline;
	}
.leaflet-attribution-flag {
	display: inline !important;
	vertical-align: baseline !important;
	width: 1em;
	height: 0.6669em;
	}
.leaflet-left .leaflet-control-scale {
	margin-left: 5px;
	}
.leaflet-bottom .leaflet-control-scale {
	margin-bottom: 5px;
	}
.leaflet-control-scale-line {
	border: 2px solid #777;
	border-top: none;
	line-height: 1.1;
	padding: 2px 5px 1px;
	white-space: nowrap;
	-moz-box-sizing: border-box;
	     box-sizing: border-box;
	background: rgba(255, 255, 255, 0.8);
	text-shadow: 1px 1px #fff;
	}
.leaflet-control-scale-line:not(:first-child) {
	border-top: 2px solid #777;
	border-bottom: none;
	margin-top: -2px;
	}
.leaflet-control-scale-line:not(:first-child):not(:last-child) {
	border-bottom: 2px solid #777;
	}

.leaflet-touch .leaflet-control-attribution,
.leaflet-touch .leaflet-control-layers,
.leaflet-touch .leaflet-bar {
	box-shadow: none;
	}
.leaflet-touch .leaflet-control-layers,
.leaflet-touch .leaflet-bar {
	border: 2px solid rgba(0,0,0,0.2);
	background-clip: padding-box;
	}


/* popup */

.leaflet-popup {
	position: absolute;
	text-align: center;
	margin-bottom: 20px;
	}
.leaflet-popup-content-wrapper {
	padding: 1px;
	text-align: left;
	border-radius: 12px;
	}
.leaflet-popup-content {
	margin: 13px 24px 13px 20px;
	line-height: 1.3;
	font-size: 13px;
	font-size: 1.08333em;
	min-height: 1px;
	}
.leaflet-popup-content p {
	margin: 17px 0;
	margin: 1.3em 0;
	}
.leaflet-popup-tip-container {
	width: 40px;
	height: 20px;
	position: absolute;
	left: 50%;
	margin-top: -1px;
	margin-left: -20px;
	overflow: hidden;
	pointer-events: none;
	}
.leaflet-popup-tip {
	width: 17px;
	height: 17px;
	padding: 1px;

	margin: -10px auto 0;
	pointer-events: auto;

	-webkit-transform: rotate(45deg);
	   -moz-transform: rotate(45deg);
	    -ms-transform: rotate(45deg);
	        transform: rotate(45deg);
	}
.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
	background: white;
	color: #333;
	box-shadow: 0 3px 14px rgba(0,0,0,0.4);
	}
.leaflet-container a.leaflet-popup-close-button {
	position: absolute;
	top: 0;
	right: 0;
	border: none;
	text-align: center;
	width: 24px;
	height: 24px;
	font: 16px/24px Tahoma, Verdana, sans-serif;
	color: #757575;
	text-decoration: none;
	background: transparent;
	}
.leaflet-container a.leaflet-popup-close-button:hover,
.leaflet-container a.leaflet-popup-close-button:focus {
	color: #585858;
	}
.leaflet-popup-scrolled {
	overflow: auto;
	}

.leaflet-oldie .leaflet-popup-content-wrapper {
	-ms-zoom: 1;
	}
.leaflet-oldie .leaflet-popup-tip {
	width: 24px;
	margin: 0 auto;

	-ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";
	filter: progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678);
	}

.leaflet-oldie .leaflet-control-zoom,
.leaflet-oldie .leaflet-control-layers,
.leaflet-oldie .leaflet-popup-content-wrapper,
.leaflet-oldie .leaflet-popup-tip {
	border: 1px solid #999;
	}


/* div icon */

.leaflet-div-icon {
	background: #fff;
	border: 1px solid #666;
	}


/* Tooltip */
/* Base styles for the element that has a tooltip */
.leaflet-tooltip {
	position: absolute;
	padding: 6px;
	background-color: #fff;
	border: 1px solid #fff;
	border-radius: 3px;
	color: #222;
	white-space: nowrap;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	pointer-events: none;
	box-shadow: 0 1px 3px rgba(0,0,0,0.4);
	}
.leaflet-tooltip.leaflet-interactive {
	cursor: pointer;
	pointer-events: auto;
	}
.leaflet-tooltip-top:before,
.leaflet-tooltip-bottom:before,
.leaflet-tooltip-left:before,
.leaflet-tooltip-right:before {
	position: absolute;
	pointer-events: none;
	border: 6px solid transparent;
	background: transparent;
	content: "";
	}

/* Directions */

.leaflet-tooltip-bottom {
	margin-top: 6px;
}
.leaflet-tooltip-top {
	margin-top: -6px;
}
.leaflet-tooltip-bottom:before,
.leaflet-tooltip-top:before {
	left: 50%;
	margin-left: -6px;
	}
.leaflet-tooltip-top:before {
	bottom: 0;
	margin-bottom: -12px;
	border-top-color: #fff;
	}
.leaflet-tooltip-bottom:before {
	top: 0;
	margin-top: -12px;
	margin-left: -6px;
	border-bottom-color: #fff;
	}
.leaflet-tooltip-left {
	margin-left: -6px;
}
.leaflet-tooltip-right {
	margin-left: 6px;
}
.leaflet-tooltip-left:before,
.leaflet-tooltip-right:before {
	top: 50%;
	margin-top: -6px;
	}
.leaflet-tooltip-left:before {
	right: 0;
	margin-right: -12px;
	border-left-color: #fff;
	}
.leaflet-tooltip-right:before {
	left: 0;
	margin-left: -12px;
	border-right-color: #fff;
	}

/* Printing */

@media print {
	/* Prevent printers from removing background-images of controls. */
	.leaflet-control {
		-webkit-print-color-adjust: exact;
		print-color-adjust: exact;
		}
	}

/* Approved R01: quiet navigation, named utilities and one account menu. */
.foundation-workspace {--header-row-height:72px;grid-template-rows:22px var(--header-row-height) 42px minmax(0,1fr) 28px}
.foundation-workspace.is-hosted {grid-template-rows:0 var(--header-row-height) 42px minmax(0,1fr) 28px}
.foundation-workspace.no-pagebar {grid-template-rows:22px var(--header-row-height) 0 minmax(0,1fr) 28px}
.foundation-workspace.no-pagebar.is-hosted {grid-template-rows:0 var(--header-row-height) 0 minmax(0,1fr) 28px}
.foundation-workspace>.app-header {height:100%;min-height:0;box-sizing:border-box;gap:12px;padding:0 20px;background:var(--erp-surface,#fff);border-bottom:1px solid var(--erp-border,#dfe7ec);box-shadow:none;position:relative;z-index:25}
.app-header .brand {width:190px;height:48px;max-width:190px}
.app-header .header-divider {height:32px;margin:0 4px 0 8px;border:0;border-left:1px solid var(--erp-border,#dfe7ec);background:none}
.app-header .header-department {font-size:13px;font-weight:600;color:var(--erp-muted,#526575);white-space:nowrap;margin-right:2px}
.app-header .section-picker {min-width:0;flex-shrink:1}
.app-header .section-picker select {height:40px;min-height:40px;min-width:145px;max-width:270px;border:1px solid #008f89!important;border-radius:6px!important;background:#007f79!important;color:#fff!important;box-shadow:none!important;padding:0 34px 0 14px;font-weight:650;font-size:13px;letter-spacing:0;cursor:pointer}
.app-header .section-picker select:focus-visible {outline:3px solid var(--erp-accent,#007d78);outline-offset:3px}
.app-header .header-section-name {font-size:15px;font-weight:650;color:var(--erp-text,#0a3448)}
.foundation-workspace .header-actions {gap:7px;margin-left:auto;flex-shrink:0;align-items:center}
.app-header .MuiIconButton-root {display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:38px;min-height:38px;border:1px solid transparent!important;border-radius:6px!important;background:transparent!important;box-shadow:none!important;color:var(--erp-text,#0a3448);padding:8px;font-size:13px;line-height:1.2;white-space:nowrap;transform:none!important}
.app-header .MuiIconButton-root:not(:disabled):hover {background:var(--erp-selected,#edf7f5)!important}
.app-header .header-menu {border-color:var(--erp-border,#dfe7ec)!important}
.app-header .header-back {color:var(--erp-muted,#526575)}
.app-header .MuiSvgIcon-root {width:20px;height:20px;font-size:20px;flex-shrink:0}
.app-header .header-tool-label {font:600 13px/1.2 ATCText,Arial,sans-serif}
.app-header .header-linda {color:#007f79!important;margin-right:4px}
.app-header .header-linda .MuiSvgIcon-root {width:23px;height:23px;font-size:23px}
.app-header .header-qr-tools {display:flex;align-items:center;gap:4px;border:0;border-left:1px solid var(--erp-border,#dfe7ec);padding:0 4px 0 12px;margin:0}
.app-header .MuiIconButton-root.Mui-disabled {color:var(--erp-muted,#526575)!important;opacity:.48;background:transparent!important;border-color:transparent!important;box-shadow:none!important}
.app-header .header-website {border-left:1px solid var(--erp-border,#dfe7ec)!important;border-radius:0!important;padding-left:14px;margin-left:2px}
.app-header .header-account-wrapper {position:relative;flex-shrink:0;border-left:1px solid var(--erp-border,#dfe7ec);padding-left:12px;margin-left:4px}
.app-header .header-account {display:flex;align-items:center;gap:9px;height:40px;max-width:240px;padding:2px 6px;border:1px solid transparent;border-radius:6px;color:var(--erp-text,#0a3448);background:transparent;font:600 13px/1.2 ATCText,Arial,sans-serif;cursor:pointer}
.app-header .header-account:hover,.app-header .header-account[aria-expanded=true] {background:var(--erp-selected,#edf7f5)}
.app-header .header-account-avatar {display:grid;place-items:center;flex-shrink:0;width:34px;height:34px;border-radius:50%;background:var(--erp-selected,#e1f1f3);color:var(--erp-text,#0a3448);font-size:14px;font-weight:700}
.app-header .header-account-name {max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.app-header .header-account-chevron {font-size:19px;line-height:1;transform:translateY(-2px);color:var(--erp-muted,#526575)}
.app-header .header-account-menu {position:absolute;top:calc(100% + 10px);right:0;z-index:120;min-width:190px;padding:6px;background:var(--erp-surface,#fff);border:1px solid var(--erp-border,#dfe7ec);border-radius:8px;box-shadow:0 8px 24px #0a34481a}
.app-header .header-account-menu [role=menuitem] {display:block;width:100%;min-height:40px;padding:10px 12px;border:0;border-radius:4px;text-align:left;text-decoration:none;background:transparent;color:var(--erp-text,#0a3448);font:500 13px/1.4 ATCText,Arial,sans-serif}
.app-header .header-account-menu [role=menuitem]:hover,.app-header .header-account-menu [role=menuitem]:focus {background:var(--erp-selected,#edf7f5)}
.app-header .header-account-menu [role=menuitem]:disabled {opacity:.5;cursor:default}
.app-header .header-account-menu .header-account-website {display:none}
.app-header :is(button,a,select):focus-visible {outline:2px solid var(--erp-accent,#008f89)!important;outline-offset:3px;box-shadow:none!important}
@media(max-width:1250px) {
  .app-header .header-department {display:none}
  .app-header .header-account-name {max-width:110px}
  .app-header .brand {width:164px;max-width:164px}
  .foundation-workspace>.app-header {gap:9px;padding:0 16px}
}
@media(max-width:1100px) {
  .app-header .header-qr-tools .header-tool-label,.app-header .header-website .header-tool-label,.app-header .header-account-name {display:none}
  .app-header .header-account-wrapper {padding-left:8px;margin-left:0}
  .app-header .header-qr-tools {padding-left:8px}
  .app-header .section-picker select {min-width:145px;max-width:225px}
}
@media(max-width:760px) {
  .foundation-workspace {--header-row-height:104px;grid-template-rows:24px var(--header-row-height) 42px minmax(0,1fr) auto}
  .foundation-workspace.is-hosted {grid-template-rows:0 var(--header-row-height) 42px minmax(0,1fr) auto}
  .foundation-workspace.no-pagebar {grid-template-rows:24px var(--header-row-height) 0 minmax(0,1fr) auto}
  .foundation-workspace.no-pagebar.is-hosted {grid-template-rows:0 var(--header-row-height) 0 minmax(0,1fr) auto}
  .foundation-workspace>.app-header {display:grid;grid-template-columns:40px minmax(0,1fr) 40px 40px 40px;grid-template-rows:40px 40px;align-content:center;gap:8px 6px;padding:8px 12px}
  .app-header .header-menu {grid-row:1;grid-column:1}
  .app-header .brand {grid-row:1;grid-column:2/4;width:178px;height:40px;max-width:100%;min-width:0}
  .foundation-workspace>.app-header.atc-header-r01>.header-back {display:inline-flex;grid-row:1;grid-column:4}
  .app-header .header-divider,.app-header .header-department {display:none}
  .app-header .section-picker,.app-header .header-section-name {grid-row:2;grid-column:1/3;min-width:0;margin:0}
  .app-header .section-picker select {width:100%;min-width:0;max-width:none;height:40px}
  .foundation-workspace .header-actions,.app-header .header-qr-tools {display:contents}
  .app-header .header-linda {grid-row:2;grid-column:3;margin:0}
  .app-header .header-scan {grid-row:2;grid-column:4}
  .app-header .header-record {grid-row:2;grid-column:5}
  .app-header .header-record-holder {grid-row:2;grid-column:5}
  .app-header .header-record-holder .MuiIconButton-root {width:40px}
  .app-header .header-tool-label,.app-header .header-website,.app-header .header-account-name,.app-header .header-account-chevron {display:none!important}
  .foundation-workspace>.app-header.atc-header-r01 .MuiIconButton-root {width:40px;min-width:40px;height:40px;min-height:40px;padding:9px}
  .app-header .header-account-wrapper {grid-row:1;grid-column:5;padding:0;margin:0;border:0}
  .app-header .header-account {width:40px;padding:3px;gap:0}
  .app-header .header-account-menu {right:0;top:calc(100% + 8px)}
  .app-header .header-account-menu .header-account-website {display:block}
  .foundation-workspace>.sidebar,.foundation-workspace>.navigation-backdrop {top:calc(24px + var(--header-row-height))}
  .foundation-workspace.is-hosted>.sidebar,.foundation-workspace.is-hosted>.navigation-backdrop {top:var(--header-row-height)}
}
@media(prefers-reduced-motion:reduce) {.app-header * {transition:none!important;animation:none!important}}

.app-header.atc-header-r01 .MuiIconButton-root:active {box-shadow:none!important;transform:none!important}

html[data-theme=dark] .app-header .header-linda {color:#6fdbd0!important}

.app-header .header-mail-notifications{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:7px;flex-shrink:0;box-sizing:border-box;min-width:38px;height:40px;padding:8px;border:1px solid transparent;border-radius:6px;background:transparent;color:var(--erp-text,#0a3448);cursor:pointer}
.app-header .header-mail-notifications:hover{background:var(--erp-selected,#edf7f5)}
@media(max-width:1100px){.app-header .header-mail-notifications .header-tool-label{display:none}}
.app-header .header-mail-badge{position:absolute;right:-2px;top:0;display:grid;place-items:center;min-width:17px;height:17px;padding:0 3px;border:2px solid var(--erp-surface,#fff);border-radius:10px;background:var(--erp-accent,#007f79);color:#fff;font:700 10px/1 ATCText,Arial,sans-serif}
.app-header .header-mail-notifications[data-notification-state=unavailable] .header-mail-badge{background:#846300}
.app-header .header-mail-notifications[data-notification-state=loading] .header-mail-badge{background:var(--erp-muted,#526575)}
@media(max-width:760px){
 .foundation-workspace>.app-header:has(.header-mail-notifications){grid-template-columns:40px minmax(0,1fr) minmax(0,1fr) 40px 40px 40px}
 .app-header:has(.header-mail-notifications) .section-picker,.app-header:has(.header-mail-notifications) .header-section-name{grid-column:1/4}
 .app-header .header-mail-notifications{grid-row:1;grid-column:5;width:40px;height:40px}
 .app-header:has(.header-mail-notifications) .header-account-wrapper{grid-column:6}
 .app-header:has(.header-mail-notifications) .header-linda{grid-column:4}
 .app-header:has(.header-mail-notifications) .header-scan{grid-column:5}
 .app-header:has(.header-mail-notifications) .header-record,.app-header:has(.header-mail-notifications) .header-record-holder{grid-column:6}
}

/* Shared workspace bounds: one gutter on every content edge. */
.foundation-workspace{--workspace-gutter:20px;min-height:100dvh;grid-template-rows:22px var(--header-row-height) 42px minmax(0,1fr) auto}
.foundation-workspace.is-hosted{grid-template-rows:0 var(--header-row-height) 42px minmax(0,1fr) auto}
.foundation-workspace.no-pagebar{grid-template-rows:22px var(--header-row-height) 0 minmax(0,1fr) auto}.foundation-workspace.no-pagebar.is-hosted{grid-template-rows:0 var(--header-row-height) 0 minmax(0,1fr) auto}
.foundation-workspace .main,.foundation-workspace .main.commercial-main{padding:var(--workspace-gutter);min-width:0;min-height:0}.foundation-workspace>.sidebar{align-self:stretch;min-height:0;overflow-y:auto}.foundation-workspace>.workspace-footer:empty{display:none}
@media(min-width:1000px){.foundation-workspace{height:100dvh;overflow:hidden}.foundation-workspace .main{overflow:auto}.foundation-workspace .main.commercial-main{display:flex;flex-direction:column;gap:0}.commercial-main>.commercial-record-layout{height:auto;min-height:0;flex:1}.commercial-record-layout>.commercial-detail,.commercial-record-layout>.commercial-summary{min-height:0}.studio-catalog-layout{min-height:0;flex:1}.studio-catalog-table{min-height:420px}.studio-catalog-table>.studio-table-wrap{flex:1;min-height:0}.foundation-workspace .main:has(>.studio-catalog-layout){display:flex;flex-direction:column}}
/* Shared file and document dialogs use the available viewport. */
.file-preview-dialog .MuiDialog-paper,.MuiDialog-root:has(iframe[src^="blob:"]) .MuiDialog-paper{width:calc(100vw - 40px);max-width:none!important;height:calc(100dvh - 40px);max-height:calc(100dvh - 40px);margin:20px}
.file-preview-dialog .MuiDialogContent-root,.MuiDialog-root:has(iframe[src^="blob:"]) .MuiDialogContent-root{display:flex;flex-direction:column;flex:1;min-height:0;padding:0 16px 12px}.file-preview-frame{flex:1;width:100%;height:100%;min-height:0!important}.MuiDialog-root iframe[src^="blob:"]{flex:1;width:100%;min-height:0}.studio-pdf-frame{min-height:65dvh}.file-preview-dialog .MuiDialogTitle-root{padding:12px 18px}.file-preview-dialog .MuiDialogActions-root{padding:10px 18px}
@media(max-width:700px){.foundation-workspace{--workspace-gutter:12px}.file-preview-dialog .MuiDialog-paper,.MuiDialog-root:has(iframe[src^="blob:"]) .MuiDialog-paper{width:calc(100vw - 16px);height:calc(100dvh - 16px);max-height:calc(100dvh - 16px);margin:8px}}
.foundation-workspace>.studio-workspace{padding:var(--workspace-gutter);min-height:0;min-width:0;overflow:auto}.foundation-workspace .main.settings-main{margin:0;max-width:none}
@media(min-width:1000px){.foundation-workspace>.studio-workspace{display:flex;flex-direction:column}.foundation-workspace>.studio-workspace>.studio-catalog-layout{flex:1;min-height:420px}.commercial-main>.commercial-list-panel{flex:1;height:auto;min-height:0}}
/* The ERP's intentional CSS zoom also scales viewport units. Counter-scale height,
   then size the actual workspace-content wrapper rather than its nested pages. */
html:has(.foundation-workspace){--erp-screen-scale:.798;--erp-viewport-height:calc(100dvh / var(--erp-screen-scale));zoom:var(--erp-screen-scale)}
.foundation-workspace{min-height:var(--erp-viewport-height,100dvh);grid-template-rows:22px var(--header-row-height) 42px minmax(0,1fr) 0}
.foundation-workspace.is-hosted{grid-template-rows:0 var(--header-row-height) 42px minmax(0,1fr) 0}.foundation-workspace.no-pagebar{grid-template-rows:22px var(--header-row-height) 0 minmax(0,1fr) 0}.foundation-workspace.no-pagebar.is-hosted{grid-template-rows:0 var(--header-row-height) 0 minmax(0,1fr) 0}
.foundation-workspace>.workspace-content{min-width:0;min-height:0;overflow:auto;display:flex;flex-direction:column}
.foundation-workspace>.workspace-content>main{box-sizing:border-box;flex:1;min-height:0;width:100%;margin:0;max-width:none;padding:var(--workspace-gutter);overflow:auto}
.foundation-workspace>.workspace-content>.studio-workspace{display:flex;flex-direction:column;min-height:0}.workspace-content>.studio-workspace>.studio-catalog-layout{flex:1;min-height:420px}
@media(min-width:1000px){.foundation-workspace{height:var(--erp-viewport-height,100dvh)}.foundation-workspace>.workspace-content>main{height:100%}}
/* Component metadata is a vertical register, independent of legacy Studio dl grids. */
.fabrication-viewport .fabrication-parts dl{display:block!important;grid-template-columns:none!important}.fabrication-viewport .fabrication-parts dl>div{display:block!important;grid-template-columns:none!important}.fabrication-viewport .fabrication-parts dt,.fabrication-viewport .fabrication-parts dd{display:block!important;width:auto;max-width:none;min-width:0;white-space:normal;word-break:normal;overflow-wrap:break-word;text-align:left}.fabrication-viewport .fabrication-parts dd{margin:4px 0}.fabrication-model-layout{grid-template-columns:minmax(0,1fr) 320px}@media(max-width:900px){.fabrication-model-layout{grid-template-columns:minmax(0,1fr)}}
@media(min-width:1000px){
 .workspace-content>.studio-workspace>.studio-section{display:flex;flex-direction:column;flex:1;min-height:0}
 .studio-section>.studio-families{flex-shrink:0}
 .studio-section>.studio-catalog-layout{flex:1;min-height:0!important;grid-template-rows:minmax(0,1fr);align-items:stretch;overflow:hidden}
 .studio-catalog-layout>.studio-panel{height:auto!important;min-height:0;max-height:100%}
 .studio-catalog-layout>.studio-panel>header,.studio-catalog-table>.studio-search,.studio-catalog-table>.studio-grid-foot{flex-shrink:0}
 .studio-catalog-layout>.studio-panel>.studio-panel-body{overflow-y:auto;min-height:0;flex:1}
 .studio-catalog-layout>.studio-selected{overflow-y:auto}
 .studio-catalog-table>.studio-grid-shell{flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden}
 .studio-section>.studio-custom-design{flex:1;min-height:0;overflow:auto}
}
@media(min-width:1000px){.studio-catalog-table .studio-grid-scroll{flex:1;min-height:0;max-height:none;height:auto;overflow:auto}.studio-catalog-layout>.studio-selected>.studio-panel-body{flex:0 0 auto;overflow:visible}.studio-selected>.studio-product-stage,.studio-selected>.studio-panel-actions{flex-shrink:0}}
.foundation-workspace>.workspace-content>.production-page{box-sizing:border-box;flex:1;height:100%;min-height:0;padding:var(--workspace-gutter);overflow:auto}

/* R19: compact staff workspace, explicit CRM workspaces and guided dialogs. */
.foundation-workspace,.foundation-workspace.is-hosted,.foundation-workspace.no-pagebar,.foundation-workspace.no-pagebar.is-hosted{grid-template-rows:0 var(--header-row-height) 0 minmax(0,1fr) 0!important}
.foundation-workspace>.demo-strip,.foundation-workspace>.workspace-pagebar,.foundation-workspace>.workspace-footer{display:none!important}
.workspace-content .breadcrumb,.workspace-content .crm-breadcrumb{display:none!important}
html:has(.atc-login){zoom:1!important}
.foundation-workspace>.sidebar,.foundation-workspace>.navigation-backdrop,.foundation-workspace.is-hosted>.sidebar,.foundation-workspace.is-hosted>.navigation-backdrop{top:var(--header-row-height)!important}
.main>nav[aria-label="Breadcrumb"],.main>nav[aria-label="Breadcrumbs"],.main>.breadcrumbs,.main>.breadcrumb,.main>.page-breadcrumb,.main>.page-breadcrumbs{display:none!important}
.atc-login,.atc-wizard,.atc-accounts,.atc-discovery,.atc-campaign-feedback,.atc-crm-groups,.atc-crm-subnav{--atc-line:var(--atc-border,#dce6e8);--atc-accent:var(--erp-accent,var(--atc-teal,#087f78));color:var(--atc-ink);font-family:ATCText,Arial,sans-serif}
:is(.atc-wizard,.atc-accounts,.atc-discovery,.atc-campaign-feedback) button{font:inherit;cursor:pointer}
:is(.atc-wizard,.atc-accounts,.atc-discovery,.atc-campaign-feedback) button:disabled{cursor:default;opacity:.5}
:is(.atc-wizard,.atc-accounts,.atc-discovery,.atc-campaign-feedback,.atc-login) :is(button,a,input,select,textarea):focus-visible{outline:2px solid var(--atc-accent);outline-offset:3px}
.atc-primary,.atc-secondary{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:40px;padding:10px 16px;border:1px solid var(--atc-accent,#087f78);border-radius:5px;font:600 13px/1.3 ATCText,Arial,sans-serif!important;text-decoration:none!important;cursor:pointer}
.atc-primary{background:#087f78;color:#fff!important}.atc-primary:hover{filter:brightness(.94)}
.atc-secondary{background:var(--atc-surface,#fff);color:var(--atc-ink,#143344)}.atc-secondary:hover{background:var(--atc-selected,#eaf5f3)}
.atc-field{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:600;min-width:0;margin:0 0 17px}
.atc-field :is(input,select,textarea){box-sizing:border-box;width:100%;min-width:0;min-height:42px;padding:11px 12px;border:1px solid var(--atc-line,#dce6e8);border-radius:5px;color:var(--atc-ink,#143344);background:var(--atc-surface,#fff);font:400 14px/1.45 ATCText,Arial,sans-serif}
.atc-field textarea{resize:vertical}.atc-field :is(input,select,textarea):disabled{opacity:.65}.atc-field small,.atc-help{font-size:12px;font-weight:400;line-height:1.6;color:var(--atc-muted,#60717b)}
.atc-wizard{display:block}.atc-wizard fieldset,.atc-research-form fieldset{border:0;margin:0;padding:0;min-width:0}.atc-wizard h3{font-size:16px;margin:12px 0}.atc-wizard p{line-height:1.65}
.atc-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.atc-inline{display:flex;align-items:end;gap:14px}.atc-inline>.atc-field{flex:1}.atc-inline>.atc-secondary{margin-bottom:17px}
.atc-steps{display:flex;gap:0;list-style:none;margin:0 0 24px;padding:0;border-bottom:1px solid var(--atc-line,#dce6e8)}
.atc-steps li{position:relative;display:flex;flex:1;gap:8px;align-items:center;padding:0 8px 16px 0;color:var(--atc-muted,#60717b);font-size:12px;line-height:1.4}
.atc-steps li>span{display:grid;place-items:center;width:25px;height:25px;flex-shrink:0;border:1px solid var(--atc-line,#dce6e8);border-radius:50%;font-size:12px}.atc-steps li.current{color:var(--atc-accent,#087f78)}.atc-steps li.current:after{content:"";position:absolute;bottom:-1px;left:0;right:12px;height:2px;background:var(--atc-accent,#087f78)}.atc-steps li.current>span,.atc-steps li.complete>span{background:var(--atc-accent,#087f78);border-color:var(--atc-accent,#087f78);color:#fff}
.atc-notice,.atc-success{padding:12px 14px;border:1px solid #d99a77;border-left:3px solid #b65d30;border-radius:4px;background:var(--atc-surface,#fff);font-size:13px;line-height:1.6;margin:0 0 18px}.atc-notice button,.atc-notice a{display:inline-block;margin-left:8px}.atc-success{border-color:var(--atc-line,#dce6e8);border-left-color:var(--atc-accent,#087f78);background:var(--atc-selected,#eaf5f3)}
.atc-review{display:grid;grid-template-columns:135px minmax(0,1fr);gap:10px 16px;margin:18px 0 24px;font-size:13px;line-height:1.6}.atc-review dt{color:var(--atc-muted,#60717b)}.atc-review dd{margin:0;overflow-wrap:anywhere}.atc-preserve{white-space:pre-wrap;overflow-wrap:anywhere}
.atc-check{display:flex;align-items:start;gap:10px;margin:18px 0;font-size:13px;line-height:1.6}.atc-check input{width:17px;height:17px;margin-top:2px}
.atc-section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:22px;margin:0 0 22px}.atc-section-heading h1{font-size:26px;margin:0 0 8px;font-weight:650;letter-spacing:-.4px}.atc-section-heading h2{font-size:21px;margin:0 0 8px}.atc-section-heading h3{margin:0 0 8px}.atc-section-heading p{margin:0;color:var(--atc-muted,#60717b);font-size:13px;line-height:1.6}.atc-section-heading>button{flex-shrink:0}
.atc-eyebrow{font-size:10px!important;font-weight:650;letter-spacing:1.4px;color:var(--atc-accent,#087f78)!important;margin:0 0 9px!important}
.atc-table-scroll{overflow:auto;border:1px solid var(--atc-line,#dce6e8);border-radius:5px;background:var(--atc-surface,#fff)}.atc-table{border-collapse:collapse;width:100%;font-size:13px;line-height:1.5;min-width:680px}.atc-table th{padding:13px 16px;text-align:left;background:var(--atc-selected,#eaf5f3);font-size:11px;font-weight:650;white-space:nowrap}.atc-table td{padding:16px;border-top:1px solid var(--atc-line,#dce6e8);vertical-align:top}.atc-table td small{display:block;color:var(--atc-muted,#60717b);margin-top:5px}.atc-table button{color:var(--atc-accent,#087f78);background:none;border:0;text-align:left;padding:0}.atc-table a{color:var(--atc-accent,#087f78)}
.atc-search{max-width:360px}.atc-status{display:inline-block;background:var(--atc-selected,#eaf5f3);border:1px solid var(--atc-line,#dce6e8);padding:4px 8px;border-radius:4px;font-size:11px;text-transform:capitalize;white-space:nowrap}.atc-status.suspended,.atc-status.dismissed{background:transparent;color:var(--atc-muted,#60717b)}.atc-row-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.atc-text-link{border:0;background:transparent;color:var(--atc-accent,#087f78);padding:0;text-align:left;font-weight:600!important}.atc-list-toolbar{display:flex;justify-content:space-between;align-items:center}.atc-list-toolbar .atc-field{width:240px}
.atc-crm-groups{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid var(--atc-line,#dce6e8);border-radius:6px;overflow:hidden;background:var(--atc-surface,#fff);margin-bottom:26px}.atc-crm-groups>button{display:flex;align-items:center;gap:15px;padding:17px 20px;border:0;border-right:1px solid var(--atc-line,#dce6e8);background:transparent;color:var(--atc-ink,#143344);text-align:left;font-family:inherit;cursor:pointer}.atc-crm-groups>button:last-child{border-right:0}.atc-crm-groups>button[aria-current=page]{background:var(--atc-selected,#eaf5f3);box-shadow:inset 0 -3px var(--atc-accent,#087f78)}.atc-crm-groups strong{display:block;font-size:14px;font-weight:650}.atc-crm-groups small{display:block;margin-top:5px;color:var(--atc-muted,#60717b);font-size:11px}.atc-group-icon{font-size:27px;color:var(--atc-accent,#087f78)}.atc-crm-subnav{display:flex;gap:20px;overflow:auto;border-bottom:1px solid var(--atc-line,#dce6e8);margin-bottom:24px}.atc-crm-subnav>button{flex-shrink:0;position:relative;background:none;border:0;padding:0 0 12px;color:var(--atc-muted,#60717b);font:600 13px/1.4 ATCText,Arial,sans-serif;cursor:pointer}.atc-crm-subnav>button[aria-selected=true]{color:var(--atc-accent,#087f78)}.atc-crm-subnav>button[aria-selected=true]:after{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;background:var(--atc-accent,#087f78)}
.atc-compose-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;align-items:start}.atc-content-block{border:1px solid var(--atc-line,#dce6e8)!important;padding:14px!important;margin:0 0 12px!important;border-radius:5px}.atc-content-block .atc-field:last-child{margin-bottom:0}.atc-block-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:0 0 12px;font-size:12px}.atc-block-heading button{min-width:26px;min-height:26px;border:0;background:transparent;color:var(--atc-muted,#60717b)}.atc-add-block{display:flex;gap:12px;align-items:end}.atc-add-block .atc-field{flex:1}.atc-add-block button{margin-bottom:17px}
.atc-email-preview{border:1px solid var(--atc-line,#dce6e8);border-radius:5px;overflow:hidden;background:#f0f4f7}.atc-email-preview iframe{display:block;width:100%;min-height:360px;height:400px;border:0;background:#fff}.atc-preview-caption{display:flex;flex-direction:column;gap:5px;padding:12px 14px;background:var(--atc-surface,#fff);font-size:12px;border-bottom:1px solid var(--atc-line,#dce6e8)}.atc-preview-caption span{color:var(--atc-muted,#60717b)}.atc-newsletter-wizard>.atc-email-preview{max-width:650px;margin:20px auto}.atc-ai-panel{border-top:1px solid var(--atc-line,#dce6e8);margin-top:22px;padding-top:18px}.atc-ai-panel summary,.atc-source-list summary,.atc-recent-searches summary{cursor:pointer;font-size:13px;font-weight:650;color:var(--atc-accent,#087f78)}.atc-ai-draft{background:var(--atc-selected,#eaf5f3);border-left:3px solid var(--atc-accent,#087f78);padding:18px;margin:18px 0}.atc-ai-draft p{line-height:1.7;font-size:13px}
.atc-measures{display:flex;flex-wrap:wrap;gap:24px;border-block:1px solid var(--atc-line,#dce6e8);padding:16px 0;margin:18px 0}.atc-measures>span{display:flex;flex-direction:column;gap:5px;color:var(--atc-muted,#60717b);font-size:11px;min-width:80px}.atc-measures b{font-size:24px;font-weight:650;color:var(--atc-ink,#143344)}.atc-send-review{margin-top:24px}
.atc-research-layout{display:grid;grid-template-columns:300px minmax(0,1fr);border:1px solid var(--atc-line,#dce6e8);border-radius:6px;background:var(--atc-surface,#fff);overflow:hidden}.atc-research-form{padding:22px;border-right:1px solid var(--atc-line,#dce6e8)}.atc-research-form .atc-steps li{font-size:10px;gap:5px}.atc-research-form .atc-steps li>span{width:21px;height:21px;font-size:10px}.atc-research-results{padding:24px;min-width:0}.atc-research-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:70px 30px;color:var(--atc-muted,#60717b);min-height:300px}.atc-research-empty>span{font-size:52px;color:var(--atc-accent,#087f78)}.atc-research-empty h3{font-size:20px;color:var(--atc-ink,#143344);margin:20px 0 8px}.atc-research-empty p{max-width:430px;font-size:13px;line-height:1.8}.atc-research-results .atc-section-heading{align-items:start}.atc-research-results .atc-section-heading h2{font-size:20px}.atc-research-results .atc-section-heading>small{white-space:nowrap;color:var(--atc-muted,#60717b)}
.atc-recent-searches{border-top:1px solid var(--atc-line,#dce6e8);margin-top:24px;padding-top:18px}.atc-recent-searches>button{display:block;border:0;border-bottom:1px solid var(--atc-line,#dce6e8);background:transparent;text-align:left;width:100%;padding:12px 0;color:var(--atc-ink,#143344)}.atc-recent-searches small{display:block;margin-top:5px;color:var(--atc-muted,#60717b)}.atc-source-list{margin-top:22px}.atc-source-list li{font-size:12px;line-height:1.8}.atc-lead-detail{border:1px solid var(--atc-line,#dce6e8);border-top:3px solid var(--atc-accent,#087f78);padding:24px;margin-top:24px;background:var(--atc-surface,#fff);border-radius:5px}.atc-lead-detail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}.atc-lead-detail-grid h3{font-size:13px;margin:0 0 8px}.atc-lead-detail-grid p{font-size:13px;line-height:1.7}.atc-lead-detail-grid a{font-size:12px;color:var(--atc-accent,#087f78)}.atc-campaign-feedback{border:1px solid var(--atc-line,#dce6e8);border-radius:6px;padding:24px;margin-top:24px;background:var(--atc-surface,#fff)}.atc-feedback-timeline article{display:grid;grid-template-columns:170px minmax(0,1fr);gap:20px;padding:14px 0;border-bottom:1px solid var(--atc-line,#dce6e8);font-size:12px}.atc-feedback-timeline time,.atc-feedback-timeline small{color:var(--atc-muted,#60717b)}.atc-feedback-timeline strong{text-transform:capitalize}.atc-feedback-timeline p{margin:5px 0;white-space:pre-wrap;line-height:1.6}
.atc-login{display:grid;grid-template-columns:1fr 1fr;min-height:100dvh;background:#f7f9fa;--atc-ink:#143344;--atc-muted:#60717b;--atc-line:#dce6e8;--atc-surface:#fff;--atc-accent:#087f78;--atc-selected:#eaf5f3}.atc-login-brand{display:flex;flex-direction:column;justify-content:space-between;gap:50px;background:#102f43;color:#fff;padding:50px 9%;position:relative;overflow:hidden}.atc-login-brand:after{content:"";position:absolute;inset:auto -110px -190px auto;width:510px;height:510px;border:1px solid #ffffff12;border-radius:50%;box-shadow:0 0 0 65px #ffffff07,0 0 0 130px #ffffff04;pointer-events:none}.atc-login-brand>a{align-self:start;background:#fff;border-radius:4px;padding:14px 18px;position:relative;z-index:1}.atc-login-brand img{display:block;width:225px;max-width:100%;height:auto}.atc-login-brand h1{font-size:clamp(30px,3.5vw,54px);font-weight:600;line-height:1.18;letter-spacing:-1px;color:#fff;margin:16px 0 22px}.atc-login-brand p:not(.atc-eyebrow){font-size:16px;line-height:1.8;color:#c6d6dd}.atc-login-brand .atc-eyebrow{color:#78d0c8!important}.atc-login-brand small{font-size:12px;color:#aac0cb}.atc-login-stages{display:flex;gap:12px;align-items:center;font-size:12px;color:#b9d6d9;margin-top:40px}.atc-login-stages i{display:block;width:22px;border-top:1px solid #477381}.atc-login-form{display:grid;place-items:center;padding:50px 30px;background:#f7f9fa}.atc-login-card{width:min(100%,390px)}.atc-login-card h2{font-size:32px;letter-spacing:-.8px;margin:6px 0 9px;font-weight:650}.atc-login-card>p:not(.atc-eyebrow){color:#60717b;font-size:14px;line-height:1.8}.atc-login-card form{margin-top:32px}.atc-login-submit{width:100%;margin-top:8px;justify-content:space-between}.atc-login-help{font-size:12px!important;margin-top:28px;padding-top:22px;border-top:1px solid #dce6e8}.atc-password-input{position:relative;display:flex}.atc-password-input input{padding-right:65px}.atc-password-input button{position:absolute;right:7px;top:7px;height:30px;border:0;background:transparent;color:#087f78;font-size:12px;font-weight:600}
@media(max-width:1100px){.atc-crm-groups>button{padding:14px;gap:10px}.atc-crm-groups small{display:none}.atc-research-layout{grid-template-columns:270px minmax(0,1fr)}.atc-research-form,.atc-research-results{padding:18px}.atc-lead-detail-grid{grid-template-columns:1fr 1fr}.atc-login-brand{padding:35px 8%}.atc-login-brand img{width:200px}}
@media(max-width:760px){.foundation-workspace{--header-row-height:104px}.atc-crm-groups{margin-bottom:20px}.atc-crm-groups>button{padding:13px 9px;gap:6px}.atc-crm-groups strong{font-size:11px;line-height:1.5}.atc-group-icon{display:none}.atc-crm-subnav{gap:18px}.atc-two,.atc-compose-grid,.atc-lead-detail-grid{grid-template-columns:1fr}.atc-section-heading{flex-direction:column;gap:16px}.atc-section-heading h1{font-size:23px}.atc-research-layout{grid-template-columns:1fr}.atc-research-form{border-right:0;border-bottom:1px solid var(--atc-line)}.atc-research-results{padding:18px}.atc-research-empty{min-height:200px;padding:30px 12px}.atc-review{grid-template-columns:110px 1fr;gap:9px}.atc-steps li{font-size:11px;gap:6px}.atc-steps li>span{width:23px;height:23px}.atc-inline{flex-direction:column;align-items:stretch}.atc-inline .atc-secondary{margin-bottom:0}.atc-campaign-feedback{padding:18px}.atc-feedback-timeline article{grid-template-columns:1fr;gap:7px}.atc-login{grid-template-columns:1fr;grid-template-rows:auto 1fr}.atc-login-brand{padding:26px;gap:25px}.atc-login-brand>div,.atc-login-brand>small{display:none}.atc-login-brand>a{padding:9px 12px}.atc-login-brand img{width:190px}.atc-login-form{padding:40px 24px;align-items:start}.atc-login-card h2{font-size:29px}.atc-email-preview iframe{height:330px;min-height:330px}}
@media(prefers-reduced-motion:no-preference){.atc-research-pulse{width:28px;height:28px;border:2px solid var(--atc-line);border-top-color:var(--atc-accent);border-radius:50%;animation:atc-search-spin 1s linear infinite}@keyframes atc-search-spin{to{transform:rotate(360deg)}}}

/* Transparent flag branding on the actual light/dark surface. */
.atc-login-brand>a{display:block;width:300px;max-width:100%;height:100px;background:transparent;border-radius:0;padding:0}
.atc-login-brand .atc-brand-image{width:100%;height:100%}
@media(max-width:760px){.atc-login-brand>a{width:240px;height:80px}}

.brand>.atc-brand-image{width:100%;height:100%}.app-header .brand{background:transparent!important}
/* R20 project intelligence: source-backed research on a geographic workspace. */
.atc-ai-connection{position:relative;padding:13px 12px 12px 28px;margin:0 0 22px;border:1px solid var(--atc-line);background:var(--atc-selected,#eaf5f3);border-radius:5px;font-size:12px;font-weight:600;line-height:1.5}.atc-ai-connection>span{position:absolute;left:12px;top:18px;width:6px;height:6px;border-radius:50%;background:#b4742a}.atc-ai-connection.is-ready>span{background:#087f78}.atc-ai-connection small{display:block;margin:5px 0;font-size:11px;line-height:1.6;font-weight:400;color:var(--atc-muted,#60717b)}.atc-ai-connection a{font-size:11px;color:var(--atc-accent)}.atc-ai-connection>button{font-size:10px!important;margin-left:8px}
.atc-map-workspace{padding:22px;min-width:0}.atc-map-heading{display:flex;align-items:start;justify-content:space-between;gap:22px;margin-bottom:20px}.atc-map-heading h2{margin:0 0 8px;font-size:23px;letter-spacing:-.4px}.atc-map-heading p:not(.atc-eyebrow){font-size:12px;line-height:1.7;color:var(--atc-muted);margin:0;max-width:720px}.atc-view-switch{display:flex;flex-shrink:0;padding:3px;background:var(--atc-selected,#eaf5f3);border:1px solid var(--atc-line);border-radius:5px}.atc-view-switch>button{border:0;border-radius:3px;padding:7px 14px;font-size:12px;font-weight:600;background:transparent;color:var(--atc-muted)}.atc-view-switch>button[aria-pressed=true]{background:var(--atc-surface,#fff);color:var(--atc-ink);box-shadow:0 1px 3px #102f4314}
.atc-map-toolbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:0 0 12px}.atc-data-switch{display:flex;gap:14px;margin-right:auto}.atc-data-switch>button{border:0;border-bottom:2px solid transparent;padding:8px 0;font-size:11px;font-weight:600;color:var(--atc-muted);background:transparent}.atc-data-switch>button[aria-pressed=true]{border-bottom-color:var(--atc-accent);color:var(--atc-accent)}.atc-map-toolbar label{display:block}.atc-map-toolbar input,.atc-map-toolbar select{width:100%;min-height:36px;padding:8px 10px;border:1px solid var(--atc-line);border-radius:4px;font:400 12px ATCText,Arial,sans-serif;background:var(--atc-surface,#fff);color:var(--atc-ink)}.atc-filter-search{width:min(235px,100%)}.atc-map-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:10px;color:var(--atc-muted);margin-bottom:10px;line-height:1.6}.atc-map-meta b{color:var(--atc-ink);font-weight:600}
.atc-map-region{position:relative;border:1px solid var(--atc-line);border-radius:5px;overflow:hidden;isolation:isolate}.atc-map-shell{position:relative;z-index:0}.atc-opportunity-map{height:440px;min-height:350px;width:100%;background:#e6edf0;z-index:0;font-family:ATCText,Arial,sans-serif}.atc-map-fit{position:absolute;top:12px;right:12px;z-index:450;border:1px solid #d4dfe5;border-radius:4px;padding:8px 12px;background:#fff;color:#143344;font-size:11px!important;font-weight:600;box-shadow:0 2px 8px #102f4314}.atc-map-accuracy{position:absolute;left:12px;bottom:27px;z-index:450;padding:5px 8px;background:#fffffff2;border:1px solid #d4dfe5;border-radius:3px;color:#365164;font-size:10px;pointer-events:none}.atc-map-start{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:min(390px,calc(100% - 95px));padding:24px;background:var(--atc-surface,#fff);border:1px solid var(--atc-line);border-radius:6px;box-shadow:0 8px 32px #102f431c;z-index:450}.atc-map-start h3{font-size:20px;line-height:1.4;margin:10px 0}.atc-map-start p{font-size:12px;line-height:1.7;color:var(--atc-muted);margin:0}.atc-map-start button{margin-top:14px}.atc-map-error{position:absolute;bottom:55px;left:12px;right:12px;z-index:460;border:1px solid #b4742a;padding:9px 12px;border-radius:4px;background:var(--atc-surface,#fff);color:var(--atc-ink);font-size:11px;line-height:1.5}.atc-map-error button{margin-left:6px;background:transparent;color:var(--atc-accent);border:0;text-decoration:underline}
.atc-map-marker{background:none;border:0}.atc-map-pin{display:grid;place-items:center;width:34px;height:34px;border:3px solid #fff;border-radius:50%;background:#087f78;color:#fff;font:bold 16px ATCText,Arial,sans-serif;box-shadow:0 2px 7px #102f4355}.atc-map-pin-company{background:#315caf}.atc-map-pin-contact{background:#a35c25}.atc-map-marker.is-selected .atc-map-pin{outline:3px solid #e8b35c;outline-offset:2px}.atc-map-marker:focus-visible{outline:3px solid #e8b35c;outline-offset:3px;border-radius:50%}.atc-opportunity-map .leaflet-popup-content{font-size:12px;line-height:1.5;color:#143344;min-width:170px}.atc-opportunity-map .leaflet-popup-content p{font-size:10px;color:#60717b;margin:4px 0 8px}.atc-map-popup-link{display:block;text-align:left;width:100%;padding:7px 0;border:0;border-top:1px solid #dce6e8;background:transparent;color:#087f78;font-size:12px!important}.atc-opportunity-map .leaflet-control-attribution{font-size:10px}.atc-opportunity-map .leaflet-control-attribution a{color:#155b8a}
.atc-map-selection{display:flex;justify-content:space-between;align-items:start;gap:24px;padding:20px;border:1px solid var(--atc-line);border-top:3px solid var(--atc-accent);border-radius:4px;margin-top:18px;background:var(--atc-selected,#eaf5f3)}.atc-map-selection h3{font-size:18px;margin:10px 0 7px}.atc-map-selection p{font-size:12px;color:var(--atc-muted);line-height:1.7;margin:0 0 9px;max-width:650px}.atc-map-selection a{color:var(--atc-accent);font-size:12px}.atc-map-selection small{display:block;font-size:10px;margin-top:8px;color:var(--atc-muted)}.atc-map-selection>.atc-row-actions{flex-shrink:0;max-width:180px}.atc-map-selection .atc-row-actions>button{width:100%}.atc-research-progress{display:flex;align-items:center;gap:15px;padding:15px 18px;background:var(--atc-selected,#eaf5f3);border:1px solid var(--atc-line);border-radius:5px;margin-bottom:18px}.atc-research-progress strong{font-size:13px}.atc-research-progress p{font-size:12px;margin:4px 0;color:var(--atc-muted);line-height:1.6}.atc-research-progress small{color:var(--atc-muted);font-size:11px}.atc-research-progress .atc-research-pulse{flex-shrink:0;display:block}.atc-table tr[aria-selected=true]{background:var(--atc-selected,#eaf5f3)}
html[data-theme=dark] .atc-base-tiles{filter:invert(1) hue-rotate(175deg) brightness(.8) saturate(.65)}html[data-theme=dark] .atc-opportunity-map{background:#152b37}
@media(max-width:1100px){.atc-map-heading{gap:12px}.atc-map-heading h2{font-size:20px}.atc-map-toolbar{gap:8px}.atc-data-switch{width:100%;margin-right:0}.atc-filter-search{flex:1}.atc-map-selection{flex-direction:column}.atc-map-selection>.atc-row-actions{max-width:none}.atc-map-selection .atc-row-actions>button{width:auto}}
@media(max-width:760px){.atc-map-workspace{padding:16px}.atc-map-heading{flex-direction:column;gap:12px}.atc-view-switch{align-self:flex-end;margin-top:-4px}.atc-opportunity-map{height:370px;min-height:330px}.atc-map-start{padding:18px;width:calc(100% - 88px)}.atc-map-start h3{font-size:17px}.atc-map-meta{flex-direction:column;align-items:start}.atc-map-selection{padding:16px}.atc-map-toolbar>label:last-child{width:110px}.atc-map-accuracy{font-size:9px;left:8px}.atc-map-fit{padding:7px 9px}.atc-map-start p{font-size:11px}}

.atc-email-setup{padding:24px;border:1px solid var(--erp-border,#dfe7ec);border-radius:12px;background:var(--erp-panel,#fff);color:var(--erp-text,#17324a)}
.atc-email-privilege{display:flex;align-items:flex-start;gap:12px;margin:20px 0;line-height:1.5}.atc-email-privilege input{width:18px;height:18px;flex:none;margin-top:3px;accent-color:#087f78}.atc-email-privilege strong,.atc-email-privilege small{display:block}.atc-email-privilege small{font-weight:400;opacity:.8}
.atc-mail-workspace{--mail-panel:#fff;--mail-line:#dce6e8;--mail-ink:#253b45;--mail-muted:#64757e;--mail-selected:#e9f6f3;color:var(--mail-ink);min-width:0}.atc-mail-workspace button{font:inherit;cursor:pointer}.atc-mail-workspace button:disabled{cursor:default;opacity:.5}.atc-mail-workspace :focus-visible{outline:3px solid #168a86;outline-offset:3px}.atc-mail-heading,.atc-mail-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px}.atc-mail-heading h1{margin:6px 0}.atc-mail-heading p,.atc-mail-toolbar p{margin:6px 0;color:var(--mail-muted)}.atc-mail-heading>a{color:#087f78}.atc-mail-tabs{display:flex;gap:6px;flex-wrap:wrap;padding:8px 0;margin:14px 0;border-bottom:1px solid var(--mail-line)}.atc-mail-tabs>button{border:0;border-radius:6px;background:transparent;color:var(--mail-muted);padding:10px 14px;font-weight:650}.atc-mail-tabs>button[aria-selected=true]{color:#07655f;background:var(--mail-selected)}.atc-mail-channels{display:flex;gap:10px;margin:18px 0}.atc-mail-channels>button,.atc-mail-toolbar>button,.atc-mail-pagination>button{border:1px solid var(--mail-line);border-radius:6px;padding:9px 14px;background:var(--mail-panel);color:var(--mail-ink)}.atc-mail-channels>button[aria-pressed=true]{background:#087f78;color:#fff;border-color:#087f78}.atc-mail-grid{display:grid;grid-template-columns:minmax(280px,35%) minmax(0,1fr);gap:18px;align-items:start}.atc-mail-list,.atc-mail-detail{border:1px solid var(--mail-line);border-radius:10px;background:var(--mail-panel);min-width:0;overflow:hidden}.atc-mail-list>.atc-field{padding:16px;margin:0;border-bottom:1px solid var(--mail-line)}.atc-mail-items{max-height:calc(100vh - 330px);min-height:260px;overflow:auto}.atc-mail-items>p{padding:16px}.atc-mail-item{display:flex;flex-direction:column;gap:8px;width:100%;text-align:left;padding:16px;border:0;border-bottom:1px solid var(--mail-line);background:var(--mail-panel);color:var(--mail-ink);overflow-wrap:anywhere}.atc-mail-item:hover,.atc-mail-item.selected{background:var(--mail-selected)}.atc-mail-item.selected{box-shadow:inset 3px 0 #087f78}.atc-mail-item-top{display:flex;gap:14px;justify-content:space-between;font-size:.8rem}.atc-mail-item-top>strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.atc-mail-item time{flex:none;font-size:.72rem;color:var(--mail-muted)}.atc-mail-preview{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:.82rem;line-height:1.5;color:var(--mail-muted)}.atc-mail-pagination{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px;font-size:.78rem}.atc-mail-detail>header{padding:22px 22px 8px;overflow-wrap:anywhere}.atc-mail-detail h2{font-size:1.25rem;margin:8px 0}.atc-mail-detail>header>p{font-size:.85rem;line-height:1.6}.atc-mail-detail>.atc-mail-tabs{padding:0 12px 8px}.atc-mail-panel{padding:12px 22px 22px;min-height:340px}.atc-mail-panel h3{margin-top:0}.atc-mail-panel fieldset{padding:0;border:0;min-width:0}.atc-mail-panel textarea{width:100%;box-sizing:border-box;resize:vertical;line-height:1.6}.atc-mail-addresses{display:grid;grid-template-columns:90px minmax(0,1fr);gap:9px;font-size:.85rem;margin:0 0 22px}.atc-mail-addresses dt{font-weight:650;color:var(--mail-muted)}.atc-mail-addresses dd{margin:0;overflow-wrap:anywhere}.atc-mail-body{white-space:pre-wrap;overflow-wrap:anywhere;font-size:.9rem;line-height:1.75;padding:18px;background:var(--mail-panel);border:1px solid var(--mail-line);border-radius:8px;max-height:70vh;overflow:auto}.atc-mail-note,.atc-mail-meta{font-size:.8rem;color:var(--mail-muted);line-height:1.6}.atc-mail-detail>.atc-mail-note,.atc-mail-detail>[role=alert],.atc-mail-notice{margin:12px 22px}.atc-mail-detail>footer{border-top:1px solid var(--mail-line);padding:14px 22px}.atc-mail-empty{border:1px dashed var(--mail-line);border-radius:10px;background:var(--mail-panel);padding:40px 24px;text-align:center;color:var(--mail-muted)}.atc-mail-empty h3{color:var(--mail-ink)}.atc-mail-actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.atc-mail-actions span{font-size:.8rem;color:var(--mail-muted)}.atc-mail-notice{padding:10px 14px;background:var(--mail-selected);border-radius:6px}.atc-mail-workspace [role=alert]{color:#aa302b}html[data-theme=dark] .atc-mail-workspace{--mail-panel:#142632;--mail-line:#38505c;--mail-ink:#e4eef1;--mail-muted:#adc0c8;--mail-selected:#153e40}html[data-theme=dark] .atc-mail-tabs>button[aria-selected=true],html[data-theme=dark] .atc-mail-heading>a{color:#79d7c8}@media(max-width:1000px){.atc-mail-grid{grid-template-columns:1fr}.atc-mail-items{max-height:350px;min-height:100px}.atc-mail-heading{align-items:flex-start}.atc-mail-detail>header,.atc-mail-panel{padding:16px}.atc-mail-detail>.atc-mail-tabs{padding-left:6px}.atc-mail-tabs>button{font-size:.82rem;padding:10px}}@media(max-width:600px){.atc-mail-heading,.atc-mail-toolbar{align-items:flex-start;flex-direction:column;gap:8px}.atc-mail-channels>button{flex:1}.atc-mail-addresses{grid-template-columns:64px minmax(0,1fr)}.atc-mail-item-top{flex-direction:column;gap:4px}.atc-mail-body{padding:12px}.atc-mail-pagination{padding:10px}}
.atc-email-setup fieldset{border:0;padding:0;min-width:0}.atc-email-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.atc-email-fields label{display:flex;flex-direction:column;gap:8px;font-weight:600}.atc-email-setup input,.atc-email-setup select{font:inherit;padding:10px;border:1px solid var(--erp-border,#bccbd5);border-radius:6px;color:inherit;background:var(--erp-panel,#fff);min-width:0}.atc-email-check{display:flex;gap:10px;margin:20px 0}.atc-email-actions{display:flex;flex-wrap:wrap;gap:10px}.atc-email-setup button{font:inherit;padding:9px 14px;border:1px solid #4380a5;border-radius:6px;color:inherit;background:transparent;cursor:pointer}.atc-email-setup button:disabled{opacity:.5;cursor:default}.atc-email-setup details{margin-top:22px}.atc-email-setup code{overflow-wrap:anywhere}.atc-email-setup [role=alert]{color:#b83d38}.atc-email-setup :focus-visible{outline:3px solid #2989d0;outline-offset:3px}html[data-theme=dark] .atc-email-setup{--erp-panel:#132535;--erp-text:#e1ecf4;--erp-border:#385164}@media(max-width:650px){.atc-email-fields{grid-template-columns:1fr}.atc-email-setup{padding:16px}}

/* Request-first discovery and focused project research. */
.atc-research-form>h2{font-size:21px;line-height:1.3;letter-spacing:-.3px;margin:0 0 10px}
.atc-research-form>p.atc-help{margin:0 0 20px}.atc-research-submit{width:100%;margin-top:16px}
.atc-research-options{margin-top:18px}.atc-research-options>summary{cursor:pointer;font-size:12px;color:var(--atc-accent);font-weight:600;padding:4px 0 16px}
.atc-research-form .atc-ai-connection{margin-top:22px;margin-bottom:0}.atc-evidence-action{margin-top:12px!important}
.atc-table .atc-row-actions{min-width:150px;align-items:flex-start;gap:10px}.atc-table .atc-row-actions .atc-primary{color:var(--atc-accent)!important;background:transparent;border:0;min-height:0;padding:0}
.atc-table .atc-row-actions .atc-secondary{min-height:0;padding:0;border:0;background:transparent;font-size:12px!important;color:var(--atc-accent)}
.atc-lead-detail-actions{margin:0 0 24px}.atc-lead-detail .atc-success p{margin:6px 0}.atc-map-selection>.atc-text-link{flex-shrink:0;font-size:12px!important}
.atc-lead-detail:focus{outline:2px solid var(--atc-accent);outline-offset:3px}

/* Voice-to-text control within the request field. */
.atc-voice-area{position:relative;min-width:0}.atc-voice-area textarea{display:block;padding-right:49px}
.atc-voice-button{position:absolute;right:7px;top:7px;display:grid;place-items:center;width:34px;height:34px;padding:7px;border:1px solid var(--atc-line,#dce6e8);border-radius:5px;background:var(--atc-surface,#fff);color:var(--atc-accent,#087f78);cursor:pointer}
.atc-voice-button:hover{background:var(--atc-selected,#eaf5f3)}.atc-voice-button svg{display:block;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.atc-voice-button.is-listening{color:#b53b3b;border-color:currentColor}.atc-voice-area textarea[readonly]{background:var(--atc-selected,#eaf5f3)}
.atc-voice-status{font-size:11px;font-weight:400;line-height:1.5;color:var(--atc-muted,#60717b);overflow-wrap:anywhere}.atc-voice-status:empty{display:none}.atc-voice-status.is-error{color:#b53b3b}
html[data-theme=dark] .atc-voice-button.is-listening,html[data-theme=dark] .atc-voice-status.is-error{color:#ff9e9e}

.atc-item-website{padding:24px;max-width:100%;min-width:0}.atc-website-heading,.atc-website-section-title{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.atc-website-heading h2{margin:6px 0 8px;font-size:1.5rem;letter-spacing:-.025em}.atc-website-heading p,.atc-website-section p{line-height:1.6;color:var(--text-muted,#65748b);max-width:90ch}.atc-website-eyebrow{margin:0;font-size:.7rem;font-weight:700;letter-spacing:.13em;color:#007df0!important}.atc-website-version{border:1px solid var(--border,#cbd9e6);padding:5px 9px;border-radius:4px;white-space:nowrap}.atc-website-section{border-top:1px solid var(--border,#d5e0ec);padding-top:24px;margin-top:24px}.atc-website-section h3{margin:0 0 8px}.atc-website-table-scroll{overflow-x:auto;max-width:100%;border:1px solid var(--border,#d5e0ec);border-radius:5px}.atc-website-table{width:100%;min-width:1000px;border-collapse:collapse;font-size:.85rem;text-align:left}.atc-website-table th{padding:10px 12px;background:var(--bg-panel,#edf4fc);border-bottom:1px solid var(--border,#d5e0ec);font-size:.75rem;white-space:nowrap}.atc-website-table td{padding:9px 10px;border-bottom:1px solid var(--border,#e2eaf2);vertical-align:top}.atc-website-table tr:last-child td{border-bottom:0}.atc-website-table input:not([type=checkbox]),.atc-website-table select,.atc-website-save input,.atc-website-import select{width:100%;min-height:34px;background:var(--bg-input,#fff);color:inherit;border:1px solid var(--border,#b9cbdc);border-radius:4px;padding:6px 8px;font:inherit}.atc-website-table input[type=number]{width:68px}.atc-website-table input[type=checkbox]{width:18px;height:18px;accent-color:#007cf0;margin-top:7px}.atc-website-table input+input{margin-top:5px}.atc-website-table small{display:block;font-size:.7rem;line-height:1.45;color:var(--text-muted,#66788c);margin-top:5px}.atc-website-table td:first-child input:not([type=checkbox]){min-width:150px}.atc-website-document-table td:nth-child(2){min-width:230px;max-width:320px;overflow-wrap:anywhere}.atc-website-document-table td:nth-child(3){min-width:240px}.atc-website-table td:nth-child(4) input{min-width:70px}.atc-item-website button,.atc-website-link{border:1px solid var(--border,#bdcede);background:var(--bg-panel,#f2f7fc);border-radius:4px;color:inherit;font:inherit;padding:8px 12px;cursor:pointer;white-space:nowrap}.atc-item-website button:disabled,.atc-website-link:disabled{opacity:.55;cursor:default}.atc-website-import{display:flex;align-items:end;gap:12px;margin:18px 0}.atc-website-import label{display:grid;gap:6px;max-width:600px;flex:1}.atc-website-save{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin-top:28px;padding-top:24px;border-top:1px solid var(--border,#d5e0ec)}.atc-website-save label{display:grid;gap:6px;flex:1;min-width:220px}.atc-item-website .atc-website-primary{background:#0079ed;color:white;border-color:#0079ed;font-weight:650}.atc-website-empty{padding:14px;background:var(--bg-panel,#f3f7fb)}.atc-website-note{background:#fff3d8;color:#664b0d;padding:12px;border:1px solid #ead19a;border-radius:4px}.atc-website-error{background:#fff0ee;color:#9d2a20;padding:12px;border-radius:4px}.atc-website-success{background:#e7f7f0;color:#135b42;padding:12px;border-radius:4px}@media(max-width:700px){.atc-item-website{padding:14px}.atc-website-heading,.atc-website-section-title{flex-wrap:wrap}.atc-website-import{align-items:stretch;flex-direction:column}}

html[data-theme=dark] .atc-website-table th,html[data-theme=dark] .atc-website-empty{background:#14283e;color:#e3edf7}html[data-theme=dark] .atc-website-table td{border-color:#2d435b}html[data-theme=dark] .atc-website-table input:not([type=checkbox]),html[data-theme=dark] .atc-website-table select,html[data-theme=dark] .atc-website-save input,html[data-theme=dark] .atc-website-import select{background:#0d1c2d;color:#edf4ff;border-color:#3a5066}html[data-theme=dark] .atc-item-website button,html[data-theme=dark] .atc-website-link{background:#18334d;color:#ebf5ff;border-color:#3a536c}html[data-theme=dark] .atc-item-website .atc-website-primary{background:#0080ff;border-color:#0080ff;color:white}

.atc-item-website,.atc-item-website *{box-sizing:border-box}

/* Use locally bundled cartography in the workspace's restricted image policy. */
.atc-opportunity-map.leaflet-container { background:#dfecf0; }
.atc-opportunity-map .crm-map-land { fill:#f7f7ec; stroke:#a1b1a4; }
.atc-opportunity-map .crm-map-boundaries { stroke:#9aa99c; }
.atc-opportunity-map .crm-map-label { color:#49635d; font:600 10px/16px system-ui,sans-serif; text-align:center; pointer-events:none; text-shadow:0 1px 2px #fff; }
[data-theme=dark] .atc-opportunity-map.leaflet-container { background:#1c343f; }
[data-theme=dark] .atc-opportunity-map .crm-map-land { fill:#344741; stroke:#72877a; }
[data-theme=dark] .atc-opportunity-map .crm-map-boundaries { stroke:#76887c; }
[data-theme=dark] .atc-opportunity-map .crm-map-label { color:#dce6df; text-shadow:0 1px 2px #14221f; }

.crm-management { --crm-line:#cedce1; --crm-accent:#006d69; --crm-surface:#fff; --crm-muted:#495f6d; display:grid; gap:1.2rem; padding:clamp(.8rem,2vw,1.6rem); }
.crm-management header { display:flex; align-items:center; justify-content:space-between; gap:.65rem; flex-wrap:wrap; }
.crm-management :is(h1,h2,dl,dd,ul) { margin:0; }
.crm-management h1 { font-size:clamp(1.45rem,2.4vw,2rem); }
.crm-management h2 { font-size:1.06rem; }
.crm-management button { justify-self:start; cursor:pointer; border:1px solid var(--crm-line); border-radius:.45rem; background:var(--crm-surface); color:var(--crm-accent); font:inherit; font-weight:600; padding:.5rem .8rem; }
.crm-management button:focus-visible { outline:2px solid var(--crm-accent); outline-offset:2px; }
.crm-management-metrics,.crm-management-panels { display:grid; gap:.8rem; }
.crm-management-metrics { grid-template-columns:repeat(auto-fit,minmax(min(100%,11rem),1fr)); }
.crm-management-metrics>div,.crm-management-panels>section { min-width:0; padding:1rem; background:var(--crm-surface); border:1px solid var(--crm-line); border-radius:.6rem; }
.crm-management .crm-management-metrics>div { display:flex; flex-direction:column; align-items:stretch; gap:.35rem; }
.crm-management .crm-management-metrics dd { text-align:start; line-height:1.25; }
.crm-management-metrics dt { color:var(--crm-muted); font-size:.9rem; }
.crm-management-metrics dd { font-size:clamp(1.35rem,2.5vw,2rem); font-variant-numeric:tabular-nums; font-weight:650; overflow-wrap:anywhere; }
.crm-management-panels { grid-template-columns:repeat(auto-fit,minmax(min(100%,15rem),1fr)); }
.crm-management-panels>section { display:flex; flex-direction:column; align-items:stretch; gap:.85rem; }
.crm-management-panels dl>div { display:flex; justify-content:space-between; gap:.6rem; padding:.4rem 0; border-bottom:1px solid var(--crm-line); }
.crm-management-panels dd { font-weight:650; }
.crm-management-panels ul { list-style:none; padding:0; }
.crm-management-panels li { display:grid; padding:.35rem 0; overflow-wrap:anywhere; }
.crm-management-panels li span,.crm-management-panels p { color:var(--crm-muted); font-size:.9rem; }
.crm-management-panels button { align-self:flex-start; margin-top:auto; }
[data-theme=dark] .crm-management { --crm-line:#49606a; --crm-accent:#7adbd1; --crm-surface:#1e3039; --crm-muted:#beced5; }

.atc-settings-overview {max-width:54rem;background:var(--settings-surface,#fff);border:1px solid var(--settings-line,#cbd9df);border-radius:12px;padding:clamp(1rem,3vw,1.75rem);color:var(--settings-text,#203a47)}
.atc-settings-overview header,.atc-settings-overview footer {display:flex;align-items:center;flex-wrap:wrap;justify-content:space-between;gap:.75rem}
.atc-settings-overview h2,.atc-settings-overview h3 {margin:0;font:inherit;font-weight:700}
.atc-settings-overview h2 {font-size:1.25rem}.atc-settings-overview h3 {margin-top:1.4rem}
.atc-settings-overview dl {margin:.75rem 0}.atc-settings-overview dl>div {display:grid;grid-template-columns:minmax(10rem,1fr) minmax(0,1fr);gap:.75rem;border-bottom:1px solid var(--settings-line,#d8e2e6);padding:.6rem 0}
.atc-settings-overview dd {margin:0;font-weight:600}.atc-settings-overview footer {justify-content:flex-start;gap:1.25rem;margin-top:1rem}
.atc-settings-overview button,.atc-settings-overview a {font:inherit;font-weight:650;color:var(--settings-link,#086960)}
.atc-settings-overview button {cursor:pointer;border:1px solid currentColor;border-radius:6px;background:transparent;padding:.45rem .8rem}
.atc-settings-stamp {font-size:.85rem;margin:.5rem 0}
[data-theme=dark] .atc-settings-overview {--settings-surface:#20313a;--settings-text:#e3edef;--settings-line:#52666f;--settings-link:#7ae2d7}
@media(max-width:480px){.atc-settings-overview dl>div{grid-template-columns:1fr;gap:.2rem}}

/* Email R02: all styling is scoped to the content workspace. */
.atc-mail-workspace{--mail-panel:#fff;--mail-line:#d8e3ec;--mail-ink:#183347;--mail-muted:#566e82;--mail-selected:#e9f5f2;--mail-surface:#f6f8fb;--mail-accent:#008480;--mail-soft:#e4f3ed;--mail-warning:#946017;--mail-warning-bg:#fff5e5;min-width:0;color:var(--mail-ink);padding:24px!important;font-size:14px;line-height:1.5}
.atc-mail-workspace *{box-sizing:border-box}.atc-mail-workspace svg{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.atc-mail-workspace button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:38px;border:1px solid var(--mail-line);border-radius:5px;background:var(--mail-panel);color:var(--mail-ink);padding:8px 14px;font:inherit;line-height:1.3;font-weight:500;cursor:pointer;transition:background .15s ease,border-color .15s ease}
.atc-mail-workspace button:hover:not(:disabled){border-color:var(--mail-accent);background:var(--mail-selected)}.atc-mail-workspace button:disabled{opacity:.5;cursor:default}.atc-mail-workspace :focus-visible{outline:3px solid var(--mail-accent);outline-offset:3px}.atc-mail-workspace .atc-primary{background:var(--mail-accent);border-color:var(--mail-accent);color:#fff}.atc-mail-workspace .atc-primary:hover:not(:disabled){background:#006d69;color:#fff}
.atc-mail-workspace input:not([type=checkbox]),.atc-mail-workspace select,.atc-mail-workspace textarea{border:1px solid var(--mail-line);background:var(--mail-panel);color:var(--mail-ink);border-radius:5px;font:inherit;max-width:100%}.atc-mail-workspace input:not([type=checkbox]),.atc-mail-workspace select{min-height:38px;padding:8px 10px}.atc-mail-workspace textarea{padding:12px;line-height:1.65}.atc-mail-workspace input[type=checkbox]{accent-color:var(--mail-accent);width:16px;height:16px;flex:none}.atc-mail-workspace .atc-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.atc-mail-workspace .atc-mail-heading{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}.atc-mail-workspace .atc-mail-heading h1{font-size:32px;line-height:1.2;letter-spacing:-.6px;margin:0 0 6px;font-weight:750}.atc-mail-workspace .atc-mail-heading p{margin:0;color:var(--mail-muted);font-size:14px}.atc-mail-workspace .atc-mail-heading>a{font-size:13px;color:var(--mail-accent);text-decoration:none}
.atc-mail-workspace .atc-mail-channels{display:inline-flex;gap:2px;background:#e8edf2;border:1px solid var(--mail-line);border-radius:6px;padding:3px;margin:0 0 14px}.atc-mail-workspace .atc-mail-channels>button{border-color:transparent;background:transparent;color:var(--mail-muted);min-width:135px;padding:8px 18px}.atc-mail-workspace .atc-mail-channels>button[aria-pressed=true]{background:var(--mail-panel);color:var(--mail-accent);border-color:var(--mail-line);font-weight:700;box-shadow:0 1px 2px #1732480a}
.atc-mail-workspace .atc-mail-inbox-context{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:-2px 0 14px;color:var(--mail-muted);font-size:12px}.atc-mail-workspace .atc-mail-inbox-context>div{display:flex;align-items:center;flex-wrap:wrap;gap:12px}.atc-mail-workspace .atc-mail-inbox-context>button{font-size:12px;min-height:30px;padding:5px 10px}.atc-mail-workspace .atc-mail-inbox-context>button[aria-pressed=true]{background:var(--mail-selected);color:var(--mail-accent)}.atc-mail-workspace .atc-mail-connected{display:inline-flex;align-items:center;gap:6px;background:var(--mail-soft);color:#08785e;border-radius:4px;padding:4px 9px}.atc-mail-workspace .atc-mail-connected svg{width:14px;height:14px}
.atc-mail-workspace .atc-mail-grid{display:grid;grid-template-columns:minmax(275px,28%) minmax(0,1fr);gap:0;align-items:stretch;background:var(--mail-panel);border:1px solid var(--mail-line);border-radius:8px;overflow:hidden;min-height:670px}.atc-mail-workspace .atc-mail-list,.atc-mail-workspace .atc-mail-detail{border:0;border-radius:0;min-width:0;background:var(--mail-panel);overflow:hidden}.atc-mail-workspace .atc-mail-list{border-right:1px solid var(--mail-line);display:flex;flex-direction:column}.atc-mail-workspace .atc-mail-list-tools{padding:16px 16px 0}.atc-mail-workspace .atc-mail-list-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.atc-mail-workspace .atc-mail-list-title h2{font-size:18px;margin:0;letter-spacing:-.2px}.atc-mail-workspace .atc-mail-list-title>button{min-height:30px;width:30px;padding:5px;border:0;color:var(--mail-muted)}.atc-mail-workspace .atc-mail-ai-filter{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;color:var(--mail-muted);margin-bottom:12px}.atc-mail-workspace .atc-mail-ai-filter select{font-size:12px;min-height:32px;max-width:180px;padding:5px 8px}
.atc-mail-workspace .atc-mail-search{display:flex;position:relative;margin-bottom:8px}.atc-mail-workspace .atc-mail-search input{width:100%;background:var(--mail-surface);padding-right:42px;font-size:12px;height:40px}.atc-mail-workspace .atc-mail-search button{position:absolute;right:2px;top:2px;min-height:36px;width:36px;padding:6px;background:transparent;border:0;color:var(--mail-muted)}.atc-mail-workspace .atc-mail-folder-tabs{display:flex;gap:4px;justify-content:space-between}.atc-mail-workspace .atc-mail-folder-tabs>button{border:0;border-radius:0;border-bottom:2px solid transparent;background:transparent;color:var(--mail-muted);font-size:12px;padding:10px 5px;min-height:38px}.atc-mail-workspace .atc-mail-folder-tabs>button[aria-current=page]{border-bottom-color:var(--mail-accent);color:var(--mail-accent);font-weight:700}
.atc-mail-workspace .atc-mail-items{max-height:760px;min-height:340px;overflow:auto;flex:1}.atc-mail-workspace .atc-mail-item{display:flex;flex-direction:row;align-items:flex-start;gap:10px;border:0;border-radius:0;border-bottom:1px solid var(--mail-line);width:100%;text-align:left;padding:14px 16px;min-height:104px;background:var(--mail-panel);color:var(--mail-ink);box-shadow:none}.atc-mail-workspace .atc-mail-item.selected{background:var(--mail-selected);box-shadow:inset 3px 0 var(--mail-accent)}.atc-mail-workspace .atc-mail-item.unread .atc-mail-avatar{box-shadow:-8px 0 0 -5px #2c78bd}.atc-mail-workspace .atc-mail-avatar{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;flex:none;border-radius:50%;background:#d6e8e4;color:var(--mail-ink);font-weight:700;font-size:10px}.atc-mail-workspace .atc-mail-item-copy{display:block;min-width:0;flex:1}.atc-mail-workspace .atc-mail-item-top{display:flex;flex-direction:row;align-items:baseline;justify-content:space-between;gap:8px;font-size:13px;margin-bottom:4px}.atc-mail-workspace .atc-mail-item-top>strong{font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.atc-mail-workspace .atc-mail-item time{font-size:10px;color:var(--mail-muted);white-space:nowrap}.atc-mail-workspace .atc-mail-item-copy>b{display:block;font-size:13px;line-height:1.45;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-bottom:5px}.atc-mail-workspace .atc-mail-item.unread .atc-mail-item-copy>b{font-weight:700}.atc-mail-workspace .atc-mail-preview{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;color:var(--mail-muted);font-size:11px;line-height:1.5;margin-bottom:5px}
.atc-mail-workspace .atc-mail-status{display:inline-flex;align-items:center;gap:5px;font-size:10px;font-weight:500;line-height:1.4;padding:3px 8px;border-radius:4px;white-space:nowrap;color:var(--mail-muted);background:#edf1f5}.atc-mail-workspace .atc-mail-status svg{width:12px;height:12px}.atc-mail-workspace .atc-mail-status.analyzed{color:#007a5e;background:var(--mail-soft)}.atc-mail-workspace .atc-mail-status.analyzing{color:#236eb0;background:#eaf2ff}.atc-mail-workspace .atc-mail-status.failed{color:#a35b0c;background:#fff0db}.atc-mail-workspace .atc-mail-draft-label{display:inline-block;margin-left:8px;font-size:10px;color:var(--mail-accent)}.atc-mail-workspace .atc-mail-list-state{padding:20px 16px;font-size:13px;color:var(--mail-muted)}.atc-mail-workspace .atc-mail-list-footer{padding:16px;border-top:1px solid var(--mail-line);font-size:10px;color:var(--mail-muted)}.atc-mail-workspace .atc-mail-list-footer nav{display:flex;align-items:center;gap:6px}.atc-mail-workspace .atc-mail-list-footer nav span{flex:1}.atc-mail-workspace .atc-mail-list-footer button{width:28px;min-height:28px;padding:4px;font-size:18px}.atc-mail-workspace .atc-mail-list-footer p{margin:8px 0 0}
.atc-mail-workspace .atc-mail-detail{display:flex;flex-direction:column}.atc-mail-workspace .atc-mail-message-heading{padding:24px 28px 22px!important}.atc-mail-workspace .atc-mail-heading-line{display:flex;align-items:center;justify-content:space-between;gap:10px}.atc-mail-workspace .atc-eyebrow{font-size:10px;letter-spacing:1.5px;font-weight:700;color:var(--mail-muted);margin:0}.atc-mail-workspace .atc-mail-message-heading h2{font-size:25px;line-height:1.3;letter-spacing:-.4px;margin:14px 0 18px;overflow-wrap:anywhere}.atc-mail-workspace .atc-mail-sender{display:flex;align-items:center;gap:12px;font-size:13px}.atc-mail-workspace .atc-mail-sender>.atc-mail-avatar{width:40px;height:40px;font-size:12px}.atc-mail-workspace .atc-mail-sender>div:nth-child(2){min-width:0;overflow-wrap:anywhere;flex:1}.atc-mail-workspace .atc-mail-sender p{font-size:11px;color:var(--mail-muted);margin:4px 0 0}.atc-mail-workspace .atc-mail-message-time{display:flex;flex-direction:column;align-items:flex-end;gap:5px;font-size:10px;color:var(--mail-muted);flex:none}.atc-mail-workspace .atc-mail-detail>.atc-mail-tabs{display:flex;flex-wrap:nowrap;gap:25px;border-top:1px solid var(--mail-line);border-bottom:1px solid var(--mail-line);padding:0 28px;margin:0;overflow:auto}.atc-mail-workspace .atc-mail-tabs>button{border:0;border-bottom:3px solid transparent;border-radius:0;color:var(--mail-muted);background:transparent;padding:16px 0;min-height:50px;font-size:12px;white-space:nowrap;flex:none}.atc-mail-workspace .atc-mail-tabs>button[aria-selected=true]{color:var(--mail-accent);border-bottom-color:var(--mail-accent);font-weight:700}.atc-mail-workspace .atc-mail-panel{padding:24px 28px;min-height:420px;flex:1}.atc-mail-workspace .atc-mail-panel h3{font-size:16px;color:var(--mail-ink);margin:0 0 10px}.atc-mail-workspace .atc-mail-addresses{display:grid;grid-template-columns:64px minmax(0,1fr);gap:10px;font-size:12px;margin:0 0 24px}.atc-mail-workspace .atc-mail-addresses dt{font-weight:500;color:var(--mail-muted)}.atc-mail-workspace .atc-mail-addresses dd{margin:0;overflow-wrap:anywhere}.atc-mail-workspace .atc-mail-body{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.8;padding:0;border:0;border-radius:0;background:transparent;max-height:65vh;overflow:auto;min-height:220px}.atc-mail-workspace .atc-mail-detail-actions{display:flex;gap:10px;margin-top:25px}.atc-mail-workspace .atc-mail-note,.atc-mail-workspace .atc-mail-meta{font-size:10px;color:var(--mail-muted);line-height:1.7}.atc-mail-workspace .atc-mail-detail>footer{padding:12px 28px;border-top:1px solid var(--mail-line)}.atc-mail-workspace .atc-mail-feedback{margin:12px 28px 0;padding:10px 12px;font-size:12px;background:var(--mail-selected);border:1px solid var(--mail-line);border-radius:5px;overflow-wrap:anywhere}.atc-mail-workspace .atc-mail-feedback button{font-size:12px;min-height:28px;padding:4px 8px}.atc-mail-workspace .atc-mail-dirty{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 28px;margin:12px 0 0;font-size:11px;color:var(--mail-muted)}.atc-mail-workspace .atc-mail-dirty button{border:0;min-height:26px;padding:2px;color:var(--mail-accent);font-size:11px;background:transparent}
.atc-mail-workspace .atc-section-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:20px}.atc-mail-workspace .atc-section-heading h3{margin-bottom:4px}.atc-mail-workspace .atc-section-heading p{font-size:12px;color:var(--mail-muted);margin:0}.atc-mail-workspace .atc-section-heading>button{font-size:12px;flex:none}.atc-mail-workspace .atc-mail-review-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.atc-mail-workspace .atc-mail-review-card{padding:18px;border:1px solid var(--mail-line);border-radius:6px;min-width:0}.atc-mail-workspace .atc-mail-review-card.summary,.atc-mail-workspace .atc-mail-review-card.actions{grid-column:1/-1}.atc-mail-workspace .atc-mail-review-card.summary{background:#f5faf8;border-color:#cce2d9}.atc-mail-workspace .atc-mail-review-card.missing{background:var(--mail-warning-bg);border-color:#ead8b7}.atc-mail-workspace .atc-mail-review-card h3{display:flex;align-items:center;gap:8px;font-size:14px}.atc-mail-workspace .atc-mail-review-card>div{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.8}.atc-mail-workspace .atc-mail-review-card>button{margin-top:15px;font-size:11px}.atc-mail-workspace .atc-mail-task-form{display:flex;gap:8px;margin-top:14px}.atc-mail-workspace .atc-mail-task-form input{flex:1;min-width:0;font-size:12px}.atc-mail-workspace .atc-mail-task-form button{font-size:12px}.atc-mail-workspace .atc-mail-tasks{list-style:none;margin:12px 0;padding:0}.atc-mail-workspace .atc-mail-tasks li{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid var(--mail-line);padding:10px 0;font-size:12px}.atc-mail-workspace .atc-mail-tasks label{display:flex;align-items:center;gap:8px;min-width:0;overflow-wrap:anywhere}.atc-mail-workspace .atc-mail-tasks small{color:var(--mail-muted);font-size:10px}.atc-mail-workspace .atc-mail-tasks .complete{text-decoration:line-through;color:var(--mail-muted)}
.atc-mail-workspace .atc-mail-compose-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(230px,31%);gap:20px;align-items:start}.atc-mail-workspace .atc-mail-compose{border:1px solid var(--mail-line);border-radius:6px;overflow:hidden}.atc-mail-workspace .atc-mail-compose-row{display:flex;align-items:center;gap:12px;min-height:42px;border-bottom:1px solid var(--mail-line);margin:0;padding:0 14px;font-size:12px}.atc-mail-workspace .atc-mail-compose-row>span{width:44px;flex:none;font-size:10px;color:var(--mail-muted)}.atc-mail-workspace .atc-mail-compose-row strong{font-weight:500;overflow-wrap:anywhere;min-width:0}.atc-mail-workspace .atc-mail-compose-row input{border:0;border-radius:0;min-width:0;width:100%;padding:8px 0;min-height:40px}.atc-mail-workspace .atc-mail-compose>textarea{border:0;border-radius:0;width:100%;display:block;resize:vertical;padding:16px 18px;min-height:320px;font-size:13px;line-height:1.8}.atc-mail-workspace .atc-mail-compose-caption{border-top:1px solid var(--mail-line);padding:10px 14px;font-size:10px;color:var(--mail-muted);text-align:right}.atc-mail-workspace .atc-mail-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:16px}.atc-mail-workspace .atc-mail-actions button{font-size:12px;min-height:40px}.atc-mail-workspace .atc-mail-actions>span{display:inline-flex;align-items:center;gap:5px;color:var(--mail-muted);font-size:10px;margin-left:auto}.atc-mail-workspace .atc-mail-actions>span svg{width:12px;height:12px;color:var(--mail-accent)}.atc-mail-workspace .atc-mail-linda{border:1px solid #c9e0d8;border-radius:6px;background:#f4faf7;padding:16px}.atc-mail-workspace .atc-mail-linda h3{display:flex;align-items:center;gap:10px;font-size:20px;margin:0 0 8px}.atc-mail-workspace .atc-mail-linda h3>span{display:flex;align-items:center;justify-content:center;width:30px;height:30px;background:#e0f1e9;border-radius:50%;color:var(--mail-accent)}.atc-mail-workspace .atc-mail-linda>p{font-size:12px;color:var(--mail-muted);margin:0 0 18px}.atc-mail-workspace .atc-mail-linda .atc-voice-field{margin:0}.atc-mail-workspace .atc-mail-linda .atc-voice-field>label{font-size:12px;font-weight:700;display:block;margin-bottom:10px}.atc-mail-workspace .atc-mail-linda .atc-voice-area textarea{min-height:215px;font-size:12px;padding:12px 42px 12px 12px;border-color:#b6d7c9}.atc-mail-workspace .atc-mail-linda .atc-voice-button{position:absolute;top:8px;right:8px;width:30px;height:30px;min-height:30px;border:0;padding:6px;border-radius:50%;background:#e0f1e9;color:var(--mail-accent)}.atc-mail-workspace .atc-mail-linda .atc-voice-button.is-listening{background:#a02828;color:#fff}.atc-mail-workspace .atc-mail-linda .atc-voice-status{display:block;min-height:22px;margin:8px 0;font-size:10px}.atc-mail-workspace .atc-mail-update{width:100%;color:var(--mail-accent);background:#e6f3ee;border-color:#c8e1d7;font-size:12px;justify-content:flex-start}.atc-mail-workspace .atc-mail-linda>.atc-mail-note{font-size:10px;border-top:1px solid #d1e5dc;margin:18px 0 0;padding-top:14px}.atc-mail-workspace .atc-mail-send-status{font-size:12px;padding:10px;border:1px solid var(--mail-line);border-radius:5px;background:var(--mail-soft)}.atc-mail-workspace .atc-mail-send-status.uncertain,.atc-mail-workspace .atc-mail-send-status.failed{background:var(--mail-warning-bg)}
.atc-mail-workspace .atc-mail-training>p{color:var(--mail-muted);font-size:12px}.atc-mail-workspace .atc-mail-training fieldset{border:0;padding:0;min-width:0}.atc-mail-workspace .atc-mail-training .atc-field{font-size:12px}.atc-mail-workspace .atc-mail-empty{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;border:0;border-radius:0;padding:50px 28px;text-align:center;min-width:0;background:var(--mail-panel);color:var(--mail-muted)}.atc-mail-workspace .atc-mail-empty h2{font-size:21px;color:var(--mail-ink);margin:12px 0 0}.atc-mail-workspace .atc-mail-empty p{max-width:340px;margin:0;font-size:13px}.atc-mail-workspace .atc-mail-empty-icon{width:58px;height:58px;border:1px solid var(--mail-line);background:var(--mail-surface);border-radius:50%;display:flex;align-items:center;justify-content:center}.atc-mail-workspace .atc-mail-empty-icon svg{width:26px;height:26px;color:var(--mail-accent)}
html[data-theme=dark] .atc-mail-workspace{--mail-panel:#172a36;--mail-line:#3a5362;--mail-ink:#e6eff3;--mail-muted:#acc0ce;--mail-selected:#1f423e;--mail-surface:#1c3342;--mail-accent:#37bcb3;--mail-soft:#1d4439;--mail-warning:#e7c99c;--mail-warning-bg:#3b3325}html[data-theme=dark] .atc-mail-workspace .atc-mail-channels{background:#1c3342}html[data-theme=dark] .atc-mail-workspace .atc-mail-connected,html[data-theme=dark] .atc-mail-workspace .atc-mail-status.analyzed{color:#8addbb}html[data-theme=dark] .atc-mail-workspace .atc-mail-status{background:#293f50;color:#bdccd7}html[data-theme=dark] .atc-mail-workspace .atc-mail-status.analyzing{background:#183b5a;color:#a5d4ff}html[data-theme=dark] .atc-mail-workspace .atc-mail-status.failed{background:#4d3822;color:#f3c786}html[data-theme=dark] .atc-mail-workspace .atc-mail-avatar{background:#30534e;color:#e6eff3}html[data-theme=dark] .atc-mail-workspace .atc-mail-review-card.summary,html[data-theme=dark] .atc-mail-workspace .atc-mail-linda{background:#1a342e;border-color:#3e6759}html[data-theme=dark] .atc-mail-workspace .atc-mail-linda h3>span,html[data-theme=dark] .atc-mail-workspace .atc-mail-linda .atc-voice-button,html[data-theme=dark] .atc-mail-workspace .atc-mail-update{background:#244c42;border-color:#3e6759}html[data-theme=dark] .atc-mail-workspace .atc-mail-review-card.missing{border-color:#786348}
@media(min-width:1800px){.atc-mail-workspace .atc-mail-grid{grid-template-columns:355px minmax(0,1fr)}}@media(max-width:1250px){.atc-mail-workspace .atc-mail-compose-layout{grid-template-columns:1fr}.atc-mail-workspace .atc-mail-linda .atc-voice-area textarea{min-height:130px}.atc-mail-workspace .atc-mail-detail>.atc-mail-tabs{gap:18px;padding:0 20px}.atc-mail-workspace .atc-mail-panel,.atc-mail-workspace .atc-mail-message-heading{padding:20px!important}.atc-mail-workspace .atc-mail-message-time{max-width:120px;text-align:right}.atc-mail-workspace .atc-mail-message-heading h2{font-size:22px}}
@media(max-width:820px){.atc-mail-workspace{padding:16px!important}.atc-mail-workspace .atc-mail-grid{grid-template-columns:260px minmax(0,1fr)}.atc-mail-workspace .atc-mail-review-grid{grid-template-columns:1fr}.atc-mail-workspace .atc-mail-sender{flex-wrap:wrap}.atc-mail-workspace .atc-mail-message-time{width:calc(100% - 52px);max-width:none;flex-direction:row;align-items:center;gap:12px;margin-left:52px}.atc-mail-workspace .atc-mail-message-heading h2{font-size:20px}.atc-mail-workspace .atc-section-heading{align-items:flex-start;flex-direction:column}.atc-mail-workspace .atc-mail-detail>.atc-mail-tabs{gap:16px;padding:0 16px}.atc-mail-workspace .atc-mail-tabs>button{font-size:11px}}
@media(max-width:640px){.atc-mail-workspace .atc-mail-grid{grid-template-columns:1fr}.atc-mail-workspace .atc-mail-list{border-right:0;border-bottom:1px solid var(--mail-line)}.atc-mail-workspace .atc-mail-items{max-height:300px;min-height:120px}.atc-mail-workspace .atc-mail-heading{align-items:flex-start;gap:10px}.atc-mail-workspace .atc-mail-heading h1{font-size:28px}.atc-mail-workspace .atc-mail-heading>a{font-size:10px;max-width:90px;text-align:right}.atc-mail-workspace .atc-mail-channels{display:flex}.atc-mail-workspace .atc-mail-channels>button{min-width:0;flex:1;padding:8px}.atc-mail-workspace .atc-mail-inbox-context>div>span:last-child{overflow-wrap:anywhere}.atc-mail-workspace .atc-mail-task-form{flex-wrap:wrap}.atc-mail-workspace .atc-mail-task-form input{min-width:140px}.atc-mail-workspace .atc-mail-actions>span{margin-left:0}}
@media(prefers-reduced-motion:reduce){.atc-mail-workspace button{transition:none}}

html[data-theme=dark] .atc-mail-workspace .atc-primary{color:#102b2e}html[data-theme=dark] .atc-mail-workspace .atc-primary:hover:not(:disabled){color:#fff}

/* R03 workspace frame: mailbox uses the available ERP content area. */
.main.atc-mail-workspace {
  width:100%; max-width:none; margin:0; padding:16px!important;
  display:flex; flex-direction:column; gap:12px;
  height:var(--mail-workspace-height,calc(100dvh - 88px));
  min-height:430px; overflow:hidden;
}
.atc-mail-workspace .atc-mail-workbar {
  display:flex; align-items:center; justify-content:space-between; gap:16px;
  flex:none; min-height:44px;
}
.atc-mail-workspace .atc-mail-workbar-left,
.atc-mail-workspace .atc-mail-workbar-actions {display:flex; align-items:center; gap:14px; min-width:0}
.atc-mail-workspace .atc-mail-workbar-actions {flex:none; gap:8px}
.atc-mail-workspace .atc-mail-workbar-actions>button {font-size:12px; min-height:38px}
.atc-mail-workspace .atc-mail-channels {margin:0; flex:none}
.atc-mail-workspace .atc-mail-channels>button {min-width:118px; min-height:34px; padding:7px 14px}
.atc-mail-workspace .atc-mail-inbox-context {display:flex; align-items:center; flex-wrap:wrap; gap:8px; margin:0; font-size:11px; min-width:0}
.atc-mail-workspace .atc-mail-inbox-context>span:last-child {overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
.atc-mail-workspace .atc-mail-connected {font-size:10px; flex:none}
.atc-mail-workspace .atc-mail-grid {
  flex:1; min-height:0; grid-template-columns:clamp(280px,24%,340px) minmax(0,1fr);
}
.atc-mail-workspace .atc-mail-list,
.atc-mail-workspace .atc-mail-detail {min-height:0; height:100%}
.atc-mail-workspace .atc-mail-list-tools {padding:14px 14px 0; flex:none}
.atc-mail-workspace .atc-mail-list-title {margin-bottom:10px}
.atc-mail-workspace .atc-mail-list-title h2 {font-size:17px}
.atc-mail-workspace .atc-mail-ai-filter {margin-bottom:10px}
.atc-mail-workspace .atc-mail-items {min-height:0; max-height:none; flex:1; overflow:auto; overscroll-behavior:contain}
.atc-mail-workspace .atc-mail-item {min-height:100px; padding:12px 14px; gap:10px}
.atc-mail-workspace .atc-mail-item-copy>strong {font-size:13px; display:block; margin-bottom:5px; overflow-wrap:anywhere}
.atc-mail-workspace .atc-mail-item-copy>b {font-size:13px}
.atc-mail-workspace .atc-mail-list-footer {flex:none; padding:10px 14px}
.atc-mail-workspace .atc-mail-list-footer p {margin:6px 0 0}
.atc-mail-workspace .atc-mail-list-group {padding:8px 14px; margin:0; color:var(--mail-muted); background:var(--mail-surface); font-size:10px; letter-spacing:.5px; font-weight:700}
.atc-mail-workspace .atc-mail-personal-drafts .atc-mail-draft-label {margin-left:0}
.atc-mail-workspace .atc-mail-message-heading {padding:16px 20px!important; flex:none}
.atc-mail-workspace .atc-mail-message-heading h2 {font-size:22px; margin:10px 0 14px; line-height:1.35}
.atc-mail-workspace .atc-mail-heading-actions {display:flex; align-items:center; gap:10px}
.atc-mail-workspace .atc-mail-heading-actions>button {min-height:28px; padding:4px 8px; font-size:11px; border-color:transparent; color:var(--mail-accent)}
.atc-mail-workspace .atc-mail-heading-actions>button svg {width:14px; height:14px}
.atc-mail-workspace .atc-mail-detail>.atc-mail-tabs {padding:0 20px; gap:24px; flex:none}
.atc-mail-workspace .atc-mail-tabs>button {min-height:45px; padding:12px 0; font-size:12px}
.atc-mail-workspace .atc-mail-panel {padding:18px 20px!important; min-height:0; overflow:auto; overscroll-behavior:contain; container:mail-pane/inline-size}
.atc-mail-workspace .atc-mail-detail>footer {padding:8px 20px; flex:none; font-size:10px}
.atc-mail-workspace .atc-mail-header-details {font-size:11px; color:var(--mail-muted); margin-bottom:18px}
.atc-mail-workspace .atc-mail-header-details>summary {cursor:pointer; width:fit-content}
.atc-mail-workspace .atc-mail-header-details[open] .atc-mail-addresses {margin:14px 0 0; padding-bottom:14px; border-bottom:1px solid var(--mail-line)}
.atc-mail-workspace .atc-mail-body {min-height:0; max-height:none; overflow:visible; font-size:14px; line-height:1.8}
.atc-mail-workspace .atc-mail-addresses dd,
.atc-mail-workspace .atc-mail-body,
.atc-mail-workspace .atc-mail-compose-row input {text-transform:none}
.atc-mail-workspace .atc-mail-detail-actions {margin-top:24px; padding-top:16px; border-top:1px solid var(--mail-line)}
.atc-mail-workspace .atc-mail-feedback {margin:10px 20px 0; flex:none}
.atc-mail-workspace .atc-mail-dirty {padding:0 20px; margin:8px 0 0; flex:none}
.atc-mail-workspace .atc-mail-review-grid {gap:14px}
.atc-mail-workspace .atc-mail-review-card {padding:16px}
.atc-mail-workspace .atc-mail-review-card>div {font-size:13px; line-height:1.75}
.atc-mail-workspace .atc-mail-new-heading {display:flex; justify-content:space-between; align-items:center; gap:16px; padding:16px 20px!important; border-bottom:1px solid var(--mail-line); flex:none}
.atc-mail-workspace .atc-mail-new-heading h2 {font-size:21px; line-height:1.3; margin:0 0 4px}
.atc-mail-workspace .atc-mail-new-heading p {font-size:11px; color:var(--mail-muted); margin:0}
.atc-mail-workspace .atc-mail-new-heading>button {font-size:11px; min-height:32px; flex:none}
.atc-mail-workspace .atc-mail-compose-layout {grid-template-columns:minmax(0,1fr) minmax(250px,30%); gap:18px; align-items:start}
.atc-mail-workspace .atc-mail-editor-column {min-width:0}
.atc-mail-workspace .atc-mail-compose-heading {display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:6px; min-height:30px; margin-bottom:10px}
.atc-mail-workspace .atc-mail-compose-heading h3 {font-size:15px; margin:0}
.atc-mail-workspace .atc-mail-compose-heading>span {font-size:10px; color:var(--mail-muted)}
.atc-mail-workspace .atc-mail-compose-row {min-height:40px; padding:0 12px}
.atc-mail-workspace .atc-mail-compose-row input {font-size:13px; min-height:39px}
.atc-mail-workspace .atc-mail-compose>textarea {height:220px; min-height:160px; padding:14px 16px; font-size:14px; line-height:1.7; resize:vertical}
.atc-mail-workspace .atc-mail-compose-caption {padding:7px 12px}
.atc-mail-workspace .atc-mail-actions {margin-top:12px; gap:10px; padding:4px 0}
.atc-mail-workspace .atc-mail-actions button {min-height:38px; padding:9px 16px; font-size:12px}
.atc-mail-workspace .atc-mail-linda {margin-top:0; padding:16px; min-width:0}
.atc-mail-workspace .atc-mail-linda h3 {font-size:19px}
.atc-mail-workspace .atc-mail-linda>p {margin:0 0 16px}
.atc-mail-workspace .atc-mail-linda .atc-voice-area textarea {height:220px; min-height:160px; font-size:13px; line-height:1.65}
.atc-mail-workspace .atc-mail-linda .atc-voice-status {min-height:18px; margin:7px 0}
.atc-mail-workspace .atc-mail-update {min-height:38px}
.atc-mail-workspace .atc-mail-linda>.atc-mail-note {padding-top:12px; margin-top:14px}
@container mail-pane (max-width:730px) {
  .atc-mail-workspace .atc-mail-compose-layout {grid-template-columns:1fr}
  .atc-mail-workspace .atc-mail-linda .atc-voice-area textarea {height:150px; min-height:120px}
  .atc-mail-workspace .atc-mail-review-grid {grid-template-columns:1fr}
}
@media(max-width:1100px) {
  .atc-mail-workspace .atc-mail-workbar-left {flex-wrap:wrap; gap:8px}
  .atc-mail-workspace .atc-mail-inbox-context {font-size:10px}
  .atc-mail-workspace .atc-mail-grid {grid-template-columns:280px minmax(0,1fr)}
  .atc-mail-workspace .atc-mail-workbar-actions>button {padding:8px 10px}
}
@media(max-width:760px) {
  .main.atc-mail-workspace {padding:12px!important; height:auto; min-height:var(--mail-workspace-height,calc(100dvh - 88px)); overflow:visible; gap:10px}
  .atc-mail-workspace .atc-mail-workbar {flex-wrap:wrap; align-items:flex-start; gap:10px}
  .atc-mail-workspace .atc-mail-workbar-left {flex:1 1 100%}
  .atc-mail-workspace .atc-mail-workbar-actions {margin-left:auto}
  .atc-mail-workspace .atc-mail-channels>button {min-width:112px}
  .atc-mail-workspace .atc-mail-grid {display:grid; grid-template-columns:1fr; flex:none; min-height:480px}
  .atc-mail-workspace .atc-mail-list {height:360px; border-right:0; border-bottom:1px solid var(--mail-line)}
  .atc-mail-workspace .atc-mail-detail {height:auto; min-height:300px}
  .atc-mail-workspace .atc-mail-panel {overflow:visible; padding:16px!important}
  .atc-mail-workspace .atc-mail-message-heading {padding:16px!important}
  .atc-mail-workspace .atc-mail-message-heading h2 {font-size:20px}
  .atc-mail-workspace .atc-mail-detail>.atc-mail-tabs {gap:16px; padding:0 16px}
  .atc-mail-workspace .atc-mail-new-heading {align-items:flex-start; padding:16px!important}
  .atc-mail-workspace .atc-mail-new-heading p {overflow-wrap:anywhere}
  .atc-mail-workspace .atc-mail-new-heading>button {max-width:112px}
}

/* R04 connection setup: native modal keeps the current mailbox in place. */
.atc-mail-workspace .atc-mail-setup-dialog {
  width:900px; max-width:calc(100vw - 32px); max-height:90dvh;
  padding:0; margin:auto; border:1px solid var(--mail-line); border-radius:10px;
  background:var(--mail-panel); color:var(--mail-ink); font:inherit;
  box-shadow:0 24px 80px #102b3d33; overflow:hidden;
}
.atc-mail-workspace .atc-mail-setup-dialog[open] {display:flex; flex-direction:column}
.atc-mail-workspace .atc-mail-setup-dialog::backdrop {background:#102b3d70}
.atc-mail-workspace .atc-mail-setup-header {
  display:flex; align-items:flex-start; justify-content:space-between; gap:20px;
  padding:22px 24px 20px; border-bottom:1px solid var(--mail-line); flex:none;
}
.atc-mail-workspace .atc-mail-setup-header .atc-eyebrow {color:var(--mail-accent)}
.atc-mail-workspace .atc-mail-setup-header h2 {margin:5px 0; font-size:23px; line-height:1.3; letter-spacing:-.4px}
.atc-mail-workspace .atc-mail-setup-header p {margin:0; color:var(--mail-muted); font-size:12px}
.atc-mail-workspace .atc-mail-setup-header>button {width:36px; height:36px; min-height:36px; padding:8px; flex:none}
.atc-mail-workspace .atc-mail-setup-body {padding:22px 24px 24px; overflow:auto; overscroll-behavior:contain; min-height:0}
.atc-mail-workspace .atc-mail-setup-body .atc-email-setup {border:0; border-radius:0; padding:0; background:transparent; color:inherit}
.atc-mail-workspace .atc-mail-setup-body .atc-email-setup h2 {margin:0 0 5px; font-size:16px; line-height:1.4}
.atc-mail-workspace .atc-mail-setup-body .atc-email-setup p {font-size:12px; color:var(--mail-muted); margin:0 0 18px}
.atc-mail-workspace .atc-mail-setup-body .atc-email-setup [role=alert] {color:var(--mail-warning)}
.atc-mail-workspace .atc-mail-setup-body .atc-email-setup legend {font-size:12px; font-weight:700; margin-bottom:12px}
.atc-mail-workspace .atc-mail-setup-body .atc-email-fields {gap:16px 20px}
.atc-mail-workspace .atc-mail-setup-body .atc-email-fields label {font-size:12px; gap:6px}
.atc-mail-workspace .atc-mail-setup-body .atc-email-fields label:last-child {grid-column:1/-1}
.atc-mail-workspace .atc-mail-setup-body .atc-email-fields small {font-size:10px; font-weight:400; color:var(--mail-muted)}
.atc-mail-workspace .atc-mail-setup-body .atc-email-fields input,
.atc-mail-workspace .atc-mail-setup-body .atc-email-fields select {width:100%; min-height:40px; font-size:13px}
.atc-mail-workspace .atc-mail-setup-body .atc-email-check {align-items:center; font-size:12px; margin:18px 0}
.atc-mail-workspace .atc-mail-setup-body .atc-email-actions {gap:8px; margin-bottom:18px}
.atc-mail-workspace .atc-mail-setup-body .atc-email-actions button {font-size:12px; padding:9px 12px; border-color:var(--mail-line)}
.atc-mail-workspace .atc-mail-setup-body .atc-email-actions button[type=submit] {background:var(--mail-accent); border-color:var(--mail-accent); color:#fff}
.atc-mail-workspace .atc-mail-setup-body .atc-email-setup details {font-size:12px; border-top:1px solid var(--mail-line); padding-top:16px; margin-top:18px}
.atc-mail-workspace .atc-mail-setup-body .atc-email-setup summary {cursor:pointer; font-weight:600}
.atc-mail-workspace .atc-mail-setup-body .atc-email-setup details p {margin:12px 0}
.atc-mail-workspace .atc-mail-setup-notice,
.atc-mail-workspace .atc-mail-setup-discard {padding:12px 14px; margin:0 0 18px; border:1px solid var(--mail-line); border-radius:5px; font-size:12px; background:var(--mail-selected)}
.atc-mail-workspace .atc-mail-setup-discard {background:var(--mail-warning-bg)}
.atc-mail-workspace .atc-mail-setup-discard p {margin:0 0 10px; font-weight:600}
.atc-mail-workspace .atc-mail-setup-discard>div {display:flex; flex-wrap:wrap; gap:8px}
@media(max-width:760px) {
  .atc-mail-workspace .atc-mail-workbar-actions {flex-wrap:wrap; justify-content:flex-end}
  .atc-mail-workspace .atc-mail-setup-dialog {max-width:calc(100vw - 20px); max-height:94dvh; border-radius:8px}
  .atc-mail-workspace .atc-mail-setup-header {padding:16px; gap:12px}
  .atc-mail-workspace .atc-mail-setup-header h2 {font-size:21px}
  .atc-mail-workspace .atc-mail-setup-body {padding:18px 16px}
  .atc-mail-workspace .atc-mail-setup-body .atc-email-fields {grid-template-columns:1fr}
  .atc-mail-workspace .atc-mail-setup-body .atc-email-actions button {min-height:44px}
}

.atc-mail-automation{border-top:1px solid var(--mail-line,#ccd8e2);margin-top:18px;padding-top:16px}.atc-mail-automation fieldset{display:grid;gap:12px;border:0;padding:0;margin:14px 0}.atc-mail-automation label{display:flex;align-items:center;gap:9px}.atc-mail-automation select{padding:8px 12px;min-height:40px;border-radius:5px}.atc-mail-automation input[type=checkbox]{width:17px;height:17px}.atc-mail-automation p{line-height:1.5}

.atc-task-workspace{--task-border:var(--erp-border,#dce4ea);--task-surface:var(--erp-surface,#fff);--task-text:var(--erp-text,#253d4a);--task-muted:var(--erp-muted,#70808c);--task-subtle:var(--erp-subtle,#f2f6f8);--task-accent:var(--erp-accent,#087f78);color:var(--task-text);min-width:0}
.atc-task-workspace *{box-sizing:border-box}.atc-task-workspace button{font:inherit;cursor:pointer}.atc-task-workspace button:disabled{cursor:default;opacity:.5}.atc-task-workspace button:not(.atc-task-link){min-height:32px;padding:6px 11px;border:1px solid var(--task-border);border-radius:4px;background:var(--task-surface);color:var(--task-text)}.atc-task-workspace button.atc-primary{background:var(--task-accent);border-color:var(--task-accent);color:#fff}.atc-task-workspace :focus-visible{outline:3px solid var(--task-accent);outline-offset:2px}.atc-task-workspace [role=alert],.atc-task-form [role=alert]{color:#ac3331;background:var(--erp-danger-surface,#fff4f2);padding:10px 12px;border:1px solid #dfafaa;border-radius:4px}.atc-task-workspace [role=status]{line-height:1.6}
.atc-task-heading,.atc-task-section-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;margin:0 0 16px}.atc-task-heading h1{font-size:24px;font-weight:600;margin:4px 0}.atc-task-heading p{margin:5px 0;color:var(--task-muted);font-size:12px}.atc-task-heading .atc-eyebrow{font-size:10px;letter-spacing:.12em;color:var(--task-accent)}.atc-task-section-heading h2{font-size:19px;font-weight:600;margin:12px 0 0}.atc-task-section-heading h3{font-size:16px;margin:0 0 5px}.atc-task-section-heading p{color:var(--task-muted);font-size:12px;line-height:1.5;margin:0}.atc-task-main-tabs{display:flex;gap:6px;margin:0 0 18px;border-bottom:1px solid var(--task-border);padding-bottom:8px}.atc-task-main-tabs>button[aria-current=page]{color:var(--task-accent);background:var(--erp-selected,#e8f5f1);border-color:var(--task-accent);font-weight:650}
.atc-task-metrics{margin-top:16px}.atc-task-metrics>article{padding:15px 17px;border:1px solid var(--task-border);border-top:2px solid var(--task-accent);background:var(--task-surface);border-radius:5px}.atc-task-metrics>article>span{display:block;font-size:12px;color:var(--task-muted);margin-bottom:10px}.atc-task-metrics>article>strong{font-size:27px;color:var(--task-accent);font-weight:600}.atc-task-metrics small{font-size:11px;color:var(--task-muted);font-weight:400}.atc-task-metrics p{margin:7px 0 0;font-size:12px}.atc-task-proposals{border:1px solid var(--task-border);background:var(--task-subtle);padding:10px 14px;border-radius:4px;font-size:12px}.atc-task-dashboard-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.atc-task-dashboard-grid>section{padding:18px;background:var(--task-surface);border:1px solid var(--task-border);border-radius:5px;min-width:0}.atc-task-dashboard-grid h3{font-size:16px;margin:0 0 8px}.atc-task-today{list-style:none;padding:0;margin:12px 0 0}.atc-task-today>li{padding:12px 0;border-top:1px solid var(--task-border);display:flex;align-items:center;gap:12px;justify-content:space-between}.atc-task-today>li>button{flex:1;min-width:0;text-align:left;border:0!important;padding:0!important;background:transparent!important}.atc-task-today strong,.atc-task-today span,.atc-task-today small{display:block}.atc-task-today strong{font-size:11px;color:var(--task-accent)}.atc-task-today span{font-size:13px;line-height:1.5;margin:4px 0;overflow-wrap:anywhere}.atc-task-today small{font-size:10px;color:var(--task-muted)}
.atc-task-workspace .atc-task-toolbar{display:flex;align-items:center;gap:10px;margin-bottom:12px;flex-wrap:wrap}.atc-task-toolbar form{display:flex;gap:6px;flex:1;min-width:220px}.atc-task-toolbar input:not([type=checkbox]),.atc-task-toolbar select{font:inherit;background:var(--task-surface);color:var(--task-text);border:1px solid var(--task-border);border-radius:4px;min-height:32px;padding:6px 9px;min-width:0}.atc-task-toolbar form input{flex:1}.atc-task-toolbar label{font-size:11px;display:flex;gap:6px;align-items:center}.atc-task-workspace .atc-task-table-panel{height:auto;min-height:330px;max-height:calc(var(--erp-viewport-height,100dvh) - 340px);border-radius:5px;border:1px solid var(--task-border)}.atc-task-workspace .view-table-scroll{min-width:0;overflow:auto;margin:0}.atc-task-workspace .atc-task-table{min-width:1000px;width:100%;border-collapse:collapse;font-size:12px}.atc-task-table th{white-space:nowrap;text-align:left;padding:9px 12px}.atc-task-table td{padding:8px 12px;border-bottom:1px solid var(--task-border);vertical-align:middle}.atc-task-table td:first-child,.atc-task-table td:nth-child(2){text-align:center}.atc-task-table td strong{font-size:12px}.atc-task-table td small{display:block;max-width:320px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;line-height:1.5;color:var(--task-muted);margin-top:4px}.atc-task-table input[type=checkbox],.atc-task-check input{width:16px;height:16px;accent-color:var(--task-accent);cursor:pointer}.atc-task-table input:disabled{cursor:default}.atc-task-link{border:0;background:transparent;color:var(--task-accent);font-weight:650;padding:0;white-space:nowrap;text-decoration:underline;text-underline-offset:3px}.atc-task-overdue td:nth-child(8){color:var(--erp-danger,#b7463d);font-weight:600}.atc-task-row-actions{display:flex;flex-wrap:wrap;gap:6px}.atc-task-table .atc-task-row-actions{min-width:150px}.atc-task-workspace .service-pager{display:flex;justify-content:flex-end;align-items:center;gap:10px;font-size:11px;padding:11px 12px;background:var(--task-surface);border-top:1px solid var(--task-border)}.atc-task-workspace .service-pager>span{margin-right:auto;color:var(--task-muted)}
.atc-task-detail{border:1px solid var(--task-border);border-radius:5px;background:var(--task-surface);padding:18px;min-width:0}.atc-task-detail-tabs{display:flex;gap:5px;overflow-x:auto;border-bottom:1px solid var(--task-border);padding:0 0 9px;margin:18px 0}.atc-task-detail-tabs>button{white-space:nowrap;flex:none;font-size:11px!important}.atc-task-detail-tabs>button[aria-selected=true]{background:var(--erp-selected,#e8f5f1);color:var(--task-accent);border-color:var(--task-accent);font-weight:650}.atc-task-detail-panel{padding:5px 0 18px;min-height:240px}.atc-task-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:16px;background:var(--task-subtle);border:1px solid var(--task-border);border-radius:4px}.atc-task-facts>div>span:first-child{display:block;font-size:10px;color:var(--task-muted);margin-bottom:7px}.atc-task-facts strong{font-size:12px;font-weight:600}.atc-task-copy{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65;font-size:12px}.atc-task-muted{font-size:11px;color:var(--task-muted);line-height:1.5}.atc-task-source{padding:14px;background:var(--task-subtle);border:1px solid var(--task-border);border-radius:4px}.atc-task-source h3{margin:0 0 8px}.atc-task-activity{padding-left:20px;font-size:11px;color:var(--task-muted)}.atc-task-activity li{padding:7px 0}.atc-task-activity p{color:var(--task-text);margin:5px 0}.atc-task-related-card{display:flex;align-items:flex-start;gap:24px;flex-wrap:wrap;border:1px solid var(--task-border);background:var(--task-subtle);border-radius:4px;padding:20px}.atc-task-related-card>div{min-width:170px}.atc-task-related-card>p{flex:1;min-width:200px;margin:0}.atc-task-related-card h3{margin:7px 0}.atc-task-related-card>div>span:first-child{font-size:11px;color:var(--task-muted)}
.atc-task-form{--task-border:var(--erp-border,#dce4ea);--task-surface:var(--erp-surface,#fff);--task-text:var(--erp-text,#253d4a);--task-muted:var(--erp-muted,#70808c);--task-accent:var(--erp-accent,#087f78);margin:16px 0 0;color:var(--task-text)}.atc-task-form fieldset{border:0;padding:0;margin:0;min-width:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.atc-task-form label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:600;min-width:0}.atc-task-form input:not([type=checkbox]),.atc-task-form textarea,.atc-task-form select{box-sizing:border-box;width:100%;min-width:0;border:1px solid var(--task-border);border-radius:4px;padding:9px 10px;font:400 12px/1.5 ATCText,Arial,sans-serif;color:var(--task-text);background:var(--task-surface)}.atc-task-form textarea{resize:vertical}.atc-task-form input[type=file]{padding:7px}.atc-task-form .atc-task-check{display:flex;flex-direction:row;align-items:center;gap:9px}.atc-task-form .atc-task-wide{grid-column:1/-1}.atc-task-form button{font:inherit;min-height:32px;padding:6px 11px;border:1px solid var(--task-border);border-radius:4px;color:var(--task-text);background:var(--task-surface);cursor:pointer}.atc-task-form button.atc-primary{background:var(--task-accent);color:#fff;border-color:var(--task-accent)}.atc-task-form button:disabled{opacity:.5;cursor:default}.atc-task-form [role=alert] button{margin:6px}.atc-task-reference-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.atc-task-reference-picker{border:1px solid var(--task-border);border-radius:4px;padding:12px;min-width:0}.atc-task-reference-picker>label>span{font-size:11px;font-weight:400;color:var(--task-muted);line-height:1.5}.atc-task-picker-search{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}.atc-task-picker-search input{flex:1;min-width:120px!important}.atc-task-pick-results{margin-top:10px;border-top:1px solid var(--task-border)}.atc-task-pick-results>button{width:100%;text-align:left;display:block;border:0;border-bottom:1px solid var(--task-border);border-radius:0;padding:10px 4px}.atc-task-pick-results small{display:block;margin-top:4px;color:var(--task-muted)}.atc-task-pick-results .service-pager{padding:9px 0;display:flex;justify-content:space-between;align-items:center;gap:7px;font-size:10px}
@media(max-width:1000px){.atc-task-dashboard-grid{grid-template-columns:1fr}.atc-task-workspace .atc-task-table-panel{max-height:600px}.atc-task-facts{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:640px){.atc-task-heading,.atc-task-section-heading{align-items:flex-start;flex-wrap:wrap}.atc-task-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.atc-task-main-tabs>button{flex:1}.atc-task-main-tabs{gap:4px}.atc-task-detail{padding:12px}.atc-task-form fieldset,.atc-task-reference-grid{grid-template-columns:1fr}.atc-task-form .atc-task-wide{grid-column:auto}.atc-task-facts{padding:12px;gap:14px}.atc-task-workspace .service-pager{flex-wrap:wrap;justify-content:flex-end}.atc-task-workspace .service-pager>span{width:100%}.atc-task-toolbar form{flex-basis:100%}}
.atc-task-workspace .atc-task-table-scroll{max-width:100%;overflow:auto;border:1px solid var(--task-border);border-radius:4px}.atc-task-record-title{display:block;line-height:1.5;margin-top:4px}.atc-task-form .atc-task-help,.atc-task-form .atc-task-parent-picker,.atc-task-form .atc-task-form-grid,.atc-task-form fieldset>label.atc-field{grid-column:1/-1}.atc-task-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.atc-task-form .atc-task-help{font-size:11px;font-weight:400;line-height:1.5;color:var(--task-muted);margin:0}.atc-task-conflict{border:1px solid var(--task-border);padding:12px;border-radius:4px;margin-bottom:15px}.atc-task-conflict p{font-size:12px;line-height:1.5}@media(max-width:640px){.atc-task-form-grid{grid-template-columns:1fr}}

.fabrication-engineering{--fab-ink:#163044;--fab-muted:#586b7a;--fab-line:#d5dee5;--fab-paper:#fff;--fab-soft:#f3f6f8;color:var(--fab-ink);background:var(--fab-paper);padding:22px;min-width:0}.fabrication-section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.fabrication-section-heading small{font-size:10px;letter-spacing:.16em;font-weight:700;color:#85704c}.fabrication-section-heading h2,.fabrication-section-heading h3{margin:5px 0;font-size:22px;font-weight:600}.fabrication-status{font-size:11px;white-space:nowrap;color:var(--fab-muted);border:1px solid var(--fab-line);padding:6px 9px}.fabrication-tab{font:inherit;background:transparent;border:1px solid var(--fab-line,#c8d4df);border-radius:5px;padding:8px 12px;color:inherit;cursor:pointer}.fabrication-tab.selected{background:#163b54;color:white}.fabrication-assumptions,.fabrication-review{border:1px solid var(--fab-line);padding:12px 14px;margin:15px 0;background:var(--fab-soft)}.fabrication-assumptions summary,.fabrication-review summary{font-weight:600;cursor:pointer}.fabrication-input-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;padding:17px 0 8px}.fabrication-input{display:flex;flex-direction:column;gap:5px;font-size:11px;color:var(--fab-muted);font-weight:600}.fabrication-input input,.fabrication-input select,.fabrication-table select{width:100%;min-width:0;padding:8px;background:var(--fab-paper);color:var(--fab-ink);border:1px solid var(--fab-line);border-radius:4px;font:inherit}.fabrication-check{display:flex;align-items:center;gap:7px;font-size:12px}.fabrication-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:16px 0;border-block:1px solid var(--fab-line)}.fabrication-metrics>div{padding:13px;border-right:1px solid var(--fab-line)}.fabrication-metrics dt{color:var(--fab-muted);font-size:11px}.fabrication-metrics dd{margin:5px 0 0;font-size:21px;font-variant-numeric:tabular-nums;font-weight:600}.fabrication-metrics dd small{font-size:11px;font-weight:400}.fabrication-table-wrap{overflow-x:auto;width:100%;margin:18px 0}.fabrication-table{border-collapse:collapse;min-width:600px;width:100%;font-size:11px;font-variant-numeric:tabular-nums;text-align:left}.fabrication-table caption{text-align:left;font-weight:700;font-size:13px;padding:10px 0}.fabrication-table td,.fabrication-table th{padding:10px;border-bottom:1px solid var(--fab-line);vertical-align:top}.fabrication-table thead{background:var(--fab-soft)}.fabrication-table th{font-weight:600}.fabrication-table td small{display:block;color:var(--fab-muted);font-size:10px;line-height:1.5;margin-top:5px}.fabrication-table th:first-child{max-width:160px;overflow-wrap:anywhere}.fabrication-table tbody tr:hover{background:var(--fab-soft)}.fabrication-table select{min-width:160px}.fabrication-actions{display:flex;gap:10px;flex-wrap:wrap;margin:15px 0}.fabrication-actions button,.fabrication-actions a{display:inline-flex;text-decoration:none;align-items:center;min-height:34px;padding:7px 11px;border:1px solid var(--fab-line);border-radius:4px;background:var(--fab-paper);color:var(--fab-ink);font:inherit;font-size:12px;cursor:pointer}.fabrication-actions button:disabled{opacity:.5;cursor:default}.fabrication-caption,.fabrication-assumptions p,.fabrication-engineering>p{font-size:12px;line-height:1.6;color:var(--fab-muted)}.fabrication-formula{padding:15px 20px;background:#eaf2f6;color:#21465d;font-size:15px}.fabrication-slider{display:flex;flex-wrap:wrap;font-size:12px;font-weight:600;justify-content:space-between;gap:5px}.fabrication-slider input{flex-basis:100%;accent-color:#307b9e;width:100%}.fabrication-slider span{font-size:10px;color:var(--fab-muted)}.fabrication-load-value{font-size:30px;font-variant-numeric:tabular-nums;color:#b27b40}.fabrication-thermal-status{border-left:3px solid #bb874a;background:var(--fab-soft);padding:12px 15px;font-size:12px;line-height:1.5;margin:15px 0}.fabrication-thermal-status.unstable,.fabrication-error{border-left-color:#ba3f36;color:#a1352d}.fabrication-temperature-scale{display:flex;align-items:center;gap:10px;font-size:10px;color:var(--fab-muted);margin:10px 0}.fabrication-temperature-scale i{flex:1;height:9px;background:linear-gradient(90deg,#2165d2,#16bed5,#48d936,#edce26,#e63a2c)}.fabrication-viewport{background:#e9edf0;color:#173246;position:relative;min-width:0;border:1px solid #cbd6df}.fabrication-view-tools{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;padding:10px}.fabrication-view-tools>div{display:flex;gap:4px}.fabrication-view-tools button{font:inherit;font-size:10px;padding:5px 8px;border:1px solid #bdcbd5;background:#f9fbfc;border-radius:3px;color:#28455a;text-transform:capitalize;cursor:pointer}.fabrication-view-tools button[aria-pressed=true]{background:#214b65;color:white}.fabrication-canvas{height:480px;position:relative;overflow:hidden}.fabrication-webgl{width:100%;height:100%;touch-action:none}.fabrication-labels{position:absolute;inset:0;pointer-events:none;overflow:hidden}.fabrication-callout{position:absolute;transform:translate(-50%,-100%);max-width:220px;min-width:90px;border-left:2px solid #bd8a50;background:rgba(255,255,255,.94);box-shadow:0 2px 8px #142a3a20;padding:6px 8px;font-size:9px;line-height:1.5;color:#214258;font-variant-numeric:tabular-nums}.fabrication-callout:after{content:'';position:absolute;width:1px;height:16px;bottom:-16px;left:50%;background:#647c8b}.fabrication-view-badge{position:absolute;bottom:12px;left:13px;font-size:9px;letter-spacing:.16em;font-weight:700;opacity:.7}.fabrication-view-bottom{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:9px 13px;border-top:1px solid #cad6df;font-size:11px;flex-wrap:wrap}.fabrication-view-bottom label{display:flex;align-items:center;gap:8px}.fabrication-view-bottom input[type=range]{width:150px;accent-color:#ad7745}.fabrication-viewport>.fabrication-caption{margin:0;padding:7px 13px;color:#536977;font-size:10px;background:#f4f7f9}.fabrication-render-error{position:absolute;top:30%;left:20%;right:20%;padding:20px;background:white}.fabrication-viewport.is-thermal{background:#111d2b;color:#cad7e0}.is-thermal .fabrication-view-tools{background:#172737}.is-thermal .fabrication-callout{background:#203b4e;color:white;border-color:#db9a5a}.is-thermal .fabrication-view-tools button{background:#203b4e;color:#e1eaf1;border-color:#385366}.is-thermal .fabrication-view-bottom{border-color:#385366}.studio-custom-main:has(.fabrication-engineering){overflow:hidden}.studio-custom-layout:has(.fabrication-engineering){grid-template-columns:minmax(0,1fr)}.studio-custom-layout:has(.fabrication-engineering)>.studio-custom-summary{display:none}.studio-design-tabs{flex-wrap:wrap}.fabrication-engineering button:focus-visible,.fabrication-viewport button:focus-visible,.fabrication-engineering input:focus-visible,.fabrication-engineering select:focus-visible{outline:2px solid #1c83b2;outline-offset:2px}html[data-theme=dark] .fabrication-engineering{--fab-ink:#e1e9ef;--fab-muted:#a4b7c5;--fab-line:#354a5a;--fab-paper:#182a38;--fab-soft:#203646}html[data-theme=dark] .fabrication-formula{background:#234359;color:#dceaf2}@media(max-width:800px){.fabrication-engineering{padding:14px}.fabrication-input-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.fabrication-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.fabrication-canvas{height:380px}.fabrication-callout{max-width:150px;font-size:8px}.fabrication-section-heading h2{font-size:18px}.fabrication-view-bottom input[type=range]{width:100px}}@media(prefers-reduced-motion:reduce){.fabrication-engineering *{scroll-behavior:auto;transition:none!important}}

.fabrication-quality{display:flex;align-items:center;gap:5px;font-size:10px}.fabrication-quality select{font:inherit;background:#f9fbfc;color:#28455a;border:1px solid #bdcbd5;padding:4px}.is-thermal .fabrication-quality select{background:#203b4e;color:#e1eaf1;border-color:#385366}

/* The component register stays readable without covering the model. */
.fabrication-model-layout{display:grid;grid-template-columns:minmax(0,1fr) 250px;align-items:stretch}.fabrication-canvas{height:clamp(420px,57vh,780px);background:radial-gradient(ellipse at 50% 40%,#f7f9fb,#dce3e9)}.fabrication-parts{padding:18px;border-left:1px solid #cbd6df;background:#f7f9fb;overflow:auto;max-height:780px;font-size:11px;line-height:1.6}.fabrication-parts h3{font-size:13px;margin:0 0 8px}.fabrication-parts dl{margin:12px 0}.fabrication-parts dl>div{padding:12px 0;border-top:1px solid #d5dee5}.fabrication-parts dt{font-weight:700}.fabrication-parts dd{margin:3px 0;overflow-wrap:anywhere}.fabrication-model-id{font-weight:600;overflow-wrap:anywhere}.fabrication-callout{max-width:190px;font-size:10px}.is-thermal .fabrication-parts{background:#172737;color:#d5e2ed;border-color:#385366}.is-thermal .fabrication-parts dl>div{border-color:#385366}@media(max-width:900px){.fabrication-model-layout{grid-template-columns:minmax(0,1fr)}.fabrication-parts{border-left:0;border-top:1px solid #cbd6df;max-height:260px}.fabrication-parts dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.fabrication-canvas{height:420px}}

/* Approved Studio concept: white engineering surfaces, navy hierarchy, teal decisions. */
.studio-workspace{--studio-paper:#fff;--studio-ink:#142238;--studio-muted:#62758b;--studio-line:#d9e2eb;--studio-accent:#008e88;background:#f6f8fb;color:var(--studio-ink);font-size:13px}
.studio-workspace .studio-titlebar{margin-bottom:18px}.studio-workspace .studio-titlebar h1{font-size:30px;color:var(--studio-ink);font-weight:700;letter-spacing:-.6px}.studio-workspace .studio-titlebar p{font-size:12px;color:var(--studio-muted)}
.studio-workspace .MuiButton-root,.studio-workspace .fabrication-tab{border-radius:7px;box-shadow:none!important;transform:none!important;min-height:38px;font-size:12px;font-weight:600;text-transform:none}.studio-workspace .MuiButton-contained{background:#008e88;border:1px solid #008e88}.studio-workspace .MuiButton-outlined{background:#fff;border:1px solid #cbd8e4;color:#234459}.studio-workspace .MuiButton-root:hover{box-shadow:0 2px 8px #132e4210!important}
.studio-workspace [role=tablist]{border-bottom:1px solid var(--studio-line);padding-bottom:14px;margin-bottom:18px}.studio-workspace [role=tab]{border-radius:8px;min-height:40px;box-shadow:none;background:#fff;border:1px solid #d4dfe9;color:#233c51}.studio-workspace [role=tab][aria-selected=true]{background:#e3f5f3;color:#007e78;border-color:#74bcb4}
.studio-workspace .studio-design-tabs{display:flex;gap:0;border:1px solid #d2dde8;background:#f9fbfd;border-radius:9px;padding:0;overflow:hidden;margin:0 0 20px}.studio-workspace .studio-design-tabs>button{flex:1 0 auto;border:0;border-right:1px solid #dbe4ed;border-radius:0;padding:10px 12px;box-shadow:none!important;background:transparent;color:#23334a;min-height:43px;font-size:12px}.studio-workspace .studio-design-tabs>button:last-child{border-right:0}.studio-workspace .studio-design-tabs>button[aria-pressed=true]{background:#008e88;color:white}
.studio-workspace .studio-panel{border:1px solid var(--studio-line);border-radius:10px;box-shadow:0 2px 8px #183b5010;background:white}.studio-workspace .studio-panel>header{background:linear-gradient(180deg,#fff,#f8fafc);border-color:var(--studio-line);height:50px;min-height:50px;color:#172b42}.studio-workspace .studio-panel h2{font-size:15px;font-weight:700}.studio-workspace .studio-panel h3{color:#183249}
.studio-workspace .studio-families>button{border-radius:9px;border:1px solid var(--studio-line);padding:12px 16px;background:white;transition:background .15s,border-color .15s}.studio-workspace .studio-families>button[aria-pressed=true]{border-color:#64b8b0;background:#eaf8f5}.studio-workspace .studio-families strong{font-size:13px;color:#253c50}.studio-workspace .studio-families small{font-size:10px;color:#6e8190}.studio-workspace .studio-families>button>span:first-child{border:0;border-radius:8px;background:#eaf5f5;color:#078f87}
.studio-workspace .studio-field{font-size:12px;margin-bottom:15px}.studio-workspace .studio-field>span{font-size:11px;color:#526a7c;font-weight:600}.studio-workspace .studio-field input,.studio-workspace .studio-field select,.studio-workspace .studio-field textarea{border:1px solid #cbd7e3;border-radius:6px;padding:9px 11px;color:#20364a;min-height:38px;background:#fff}.studio-workspace .studio-field :is(input,select,textarea):focus{outline:2px solid #63bdb5;outline-offset:1px}
.studio-workspace .studio-custom-intro{padding:0 0 16px}.studio-workspace .studio-custom-intro h2{font-size:24px;color:#172c43;margin-bottom:7px}.studio-workspace .studio-custom-intro p{color:#687c8d;font-size:12px}.studio-workspace .studio-custom-layout{gap:20px;align-items:stretch}.studio-workspace .studio-inputs{padding:5px 22px 22px}.studio-workspace .studio-inputs h3{font-size:15px;padding:15px 0 11px;margin:18px 0 14px;border-bottom:1px solid #e0e7ef;color:#1c3349}.studio-workspace .studio-inputs h3>span{border:0;background:#e4f4f1;border-radius:5px;color:#008f85;font-size:11px;min-width:26px;min-height:26px;display:grid;place-items:center}.studio-workspace .studio-primary-card,.studio-workspace .studio-output-card{border-radius:8px;background:#f9fbfd;border:1px solid #dbe4ed;padding:15px}
.studio-workspace .studio-custom-summary{background:#fff;border-radius:10px;border:1px solid var(--studio-line)}.studio-workspace .studio-custom-summary h2{font-size:19px;color:#172a42}.studio-workspace .studio-specs{gap:0 15px}.studio-workspace .studio-specs>div{padding:12px 0;border-bottom:1px solid #e7edf3}.studio-workspace .studio-specs strong{color:#20364b}.studio-workspace .studio-product-stage{background:radial-gradient(ellipse at center,#fff,#f7fafc);border-bottom:1px solid #e1e9ef}.studio-workspace .studio-model-number{font-size:15px;color:#152d43}.studio-workspace .studio-tag{border:1px solid #c8e6e1;background:#effaf7;color:#007c75;border-radius:5px}
.studio-workspace .studio-grid-scroll thead{background:#edf2f7;color:#24384e}.studio-workspace .studio-grid-scroll th{background:#eaf0f5;color:#21344c;border-color:#d5dfe9;font-size:12px}.studio-workspace .studio-grid-scroll td{border-color:#e1e8ee;padding-top:16px;padding-bottom:16px}.studio-workspace .studio-grid-scroll tr.selected{background:#e8f7f3}.studio-workspace .studio-grid-scroll tr.selected td:first-child{box-shadow:inset 3px 0 #00988d}.studio-workspace .studio-grid-foot{background:#fbfcfe;border-top:1px solid #dde5ed}
.studio-workspace .studio-schematic{padding:22px;background:#fff}.studio-workspace .studio-schematic-scroll{background:#fbfcfe;border:1px solid #d9e3ec;border-radius:10px;padding:18px;overflow:auto}.studio-workspace .studio-schematic-scroll svg{display:block;width:100%;height:auto;min-width:660px;max-width:1200px;margin:auto}.studio-workspace .studio-circuit-heading h2{font-size:22px}.studio-workspace .studio-circuit-heading p{color:#677f90}
/* Engineering tab cards and measured-data tables. */
.fabrication-engineering{--fab-ink:#152c43;--fab-muted:#62798b;--fab-line:#d8e3ec;--fab-soft:#f6f9fc;padding:24px;background:#fff}.fabrication-section-heading h2{font-size:28px;font-weight:700;letter-spacing:-.5px}.fabrication-section-heading small{color:#008d85;letter-spacing:.12em}.fabrication-status{border-radius:20px;background:#f1f7fa;border-color:#d4e3ec;padding:7px 12px}.fabrication-assumptions{border-radius:9px;background:#f8fafc;border:1px solid #dbe5ed}.fabrication-input-grid{gap:15px}.fabrication-input input,.fabrication-input select{border-radius:6px;padding:10px;font-size:12px}.fabrication-input{font-size:12px}.fabrication-formula{border-radius:10px;border:1px solid #cfe6e6;background:linear-gradient(100deg,#e3f4f1,#f6fafb);font-size:19px;padding:22px}.fabrication-metrics{gap:12px;border:0;margin:18px 0;grid-template-columns:repeat(3,minmax(0,1fr))}.fabrication-metrics>div{border:1px solid #d8e3ec;border-radius:9px;padding:16px;background:linear-gradient(#fff,#f8fbfd)}.fabrication-metrics dd{font-size:25px;color:#15324a}.fabrication-metrics dt{font-size:12px}.fabrication-table-wrap{border:1px solid #d9e3ec;border-radius:9px;background:white}.fabrication-table{font-size:12px;min-width:700px}.fabrication-table caption{padding:15px 16px;font-size:15px;background:#f8fafc;color:#19364c}.fabrication-table th,.fabrication-table td{padding:12px 14px;border-color:#dfe7ee}.fabrication-table thead{background:#edf3f8}.fabrication-table th{color:#18314a}.fabrication-actions button,.fabrication-actions a{border-radius:7px;padding:10px 14px;background:#fff;border-color:#b8d9d6;font-weight:600;color:#007f78}.fabrication-actions button:first-child{background:#008e88;color:white;border-color:#008e88}.fabrication-actions button:disabled{background:#eef2f5;color:#81919c;border-color:#d4dde4}.fabrication-table td small{font-size:11px}
.studio-engineering-hero{display:grid;grid-template-columns:minmax(300px,.85fr) minmax(0,1.5fr);gap:22px;align-items:start;margin:20px 0}.studio-engineering-hero>.fabrication-viewport{position:sticky;top:0}.studio-engineering-hero .fabrication-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.studio-bom-layout{display:grid;grid-template-columns:minmax(280px,.7fr) minmax(0,1.7fr);gap:22px;align-items:start}.studio-bom-layout .fabrication-table{min-width:560px}.studio-bom-layout .fabrication-table-wrap{margin-top:0}.studio-bom-layout .fabrication-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.studio-thermal-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(320px,1fr);gap:24px;align-items:start}.studio-thermal-layout .fabrication-input-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.studio-thermal-layout .fabrication-metrics{grid-template-columns:1fr}.studio-thermal-layout .fabrication-slider{background:#f1f8f8;border:1px solid #cce5e0;border-radius:10px;padding:16px}.studio-thermal-layout .fabrication-load-value{color:#008e88}.studio-thermal-layout .fabrication-section-heading h3{font-size:20px}
.studio-material-intro{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:20px 0}.studio-material-intro article{border:1px solid #d7e3ec;border-radius:10px;background:linear-gradient(120deg,#fff,#f1f7fa);padding:24px;display:flex;gap:20px;align-items:center}.studio-material-intro h3{font-size:21px;margin:0 0 8px;color:#18354c}.studio-material-intro p{font-size:12px;line-height:1.7;color:#5e7484;margin:0}.studio-material-symbol{font-size:36px;line-height:1;color:#008e88;flex-shrink:0}.studio-method-cards{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:22px 0}.studio-method-cards article{background:#fff;border:1px solid #d6e2ec;border-radius:9px;padding:18px 15px}.studio-method-cards b{display:grid;place-items:center;background:#e0f3ef;color:#008e88;width:32px;height:32px;border-radius:50%;margin-bottom:12px}.studio-method-cards h3{font-size:15px;margin:0 0 9px}.studio-method-cards p{font-size:12px;line-height:1.7;color:#64798a}.studio-learn-flow{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;padding:0;list-style:none;counter-reset:studio-step}.studio-learn-flow li{border:1px solid #d7e3ec;border-radius:9px;padding:15px;font-size:12px;line-height:1.7;counter-increment:studio-step;background:#f8fbfc}.studio-learn-flow li:before{content:counter(studio-step);display:grid;place-items:center;width:25px;height:25px;background:#008e88;color:white;border-radius:50%;margin-bottom:9px}
/* A live model on a white photographic stage, with native readable component cards. */
.fabrication-viewport{border:1px solid #d5e1eb;border-radius:10px;overflow:hidden;background:#f8fafc;color:#172f46}.fabrication-view-tools{background:#fff;border-bottom:1px solid #e0e8ef;padding:12px;gap:12px;align-items:center}.fabrication-view-tools button{border-radius:5px;background:white;border:1px solid #d3e0e9;min-height:33px;font-size:11px;padding:6px 9px}.fabrication-view-tools button[aria-pressed=true]{background:#008e88;border-color:#008e88}.fabrication-view-tools .studio-assembly-modes{gap:0;border:1px solid #c6d9e0;border-radius:7px;overflow:hidden}.studio-assembly-modes button{border:0;border-right:1px solid #d3e0e9;border-radius:0;font-size:12px;font-weight:600}.fabrication-quality{font-size:11px}.fabrication-quality select{border-radius:5px;padding:7px}
.fabrication-viewport .fabrication-model-layout{grid-template-columns:minmax(0,1fr) 330px;align-items:stretch}.fabrication-viewport .fabrication-canvas{height:clamp(440px,60vh,720px);background:#f8fafc}.fabrication-viewport .fabrication-parts{padding:18px;background:#f7fafc;border-color:#dae4ed;max-height:clamp(440px,60vh,720px);font-size:12px}.fabrication-parts h3{font-size:18px;margin-bottom:6px;color:#18334d}.fabrication-model-id{font-size:12px;color:#60788b;font-weight:500;padding-bottom:14px;margin:0 0 10px!important;border-bottom:1px solid #d8e3ec}.studio-part-card{display:grid;grid-template-columns:48px minmax(0,1fr);gap:12px;padding:15px 12px;margin:0 0 12px;border:1px solid #d4e0e9;border-radius:9px;background:linear-gradient(135deg,#fff,#f7fafc)}.studio-part-card h4{font-size:14px;margin:0 0 8px;color:#16314a}.studio-part-field{display:flex;flex-direction:column;gap:2px;margin:7px 0!important;padding:0!important;font-size:11px;line-height:1.55;color:#516a7e}.studio-part-field span{font-weight:400;color:#6c8291}.studio-part-field strong{font-size:12px;font-weight:600;color:#263d50;overflow-wrap:anywhere}.studio-part-icon{width:48px;height:52px;fill:#adb8bf;stroke:#5e6e78;stroke-width:1.4}.studio-part-icon.wire{fill:#d18b4c;stroke:#9a5428;stroke-width:1.5}.studio-part-icon.hardware{fill:#bdc7ce;stroke:#6d7c87}.studio-parts-help{font-size:11px;line-height:1.7;color:#6b8191}.fabrication-other-parts summary{font-size:12px;font-weight:600;color:#257b78;cursor:pointer;padding:12px 0}.fabrication-other-parts .studio-part-card{grid-template-columns:36px minmax(0,1fr)}.fabrication-other-parts .studio-part-icon{width:36px}.fabrication-view-bottom{background:white;font-size:12px;padding:13px 16px}.fabrication-view-bottom input[type=range]{accent-color:#008e88}.fabrication-viewport>.fabrication-caption{background:#f7fafc;border-top:1px solid #e0e8ef;font-size:11px;padding:9px 16px}.fabrication-callout{background:#fff;border:1px solid #bfded8;border-left:3px solid #008e88;border-radius:6px;box-shadow:0 3px 14px #16374a18;color:#1e4255;font-size:10px}
.fabrication-viewport.is-compact .fabrication-model-layout{grid-template-columns:minmax(0,1fr)}.fabrication-viewport.is-compact .fabrication-canvas{height:400px}.fabrication-viewport.is-compact .studio-camera-presets{display:none}.fabrication-viewport.is-compact .fabrication-quality{display:none}.fabrication-viewport.is-compact .fabrication-view-tools{gap:6px}.fabrication-viewport.is-compact .fabrication-view-tools>div{flex-wrap:wrap}.fabrication-viewport.is-compact .fabrication-view-bottom{font-size:11px;gap:6px}.fabrication-viewport.is-compact .fabrication-view-bottom input[type=range]{width:90px}.fabrication-viewport.is-compact .fabrication-caption{font-size:10px}
html[data-theme=dark] .studio-workspace{--studio-ink:#e0ebf4;--studio-muted:#a5b9c9;--studio-line:#354b5b;background:#142736;color:#dce8f0}html[data-theme=dark] .studio-workspace :is(.studio-panel,.studio-custom-summary,.studio-custom-main){background:#1c3345;color:#e0ebf4;border-color:#3b5264}html[data-theme=dark] .studio-workspace .studio-panel>header{background:#203b4e}html[data-theme=dark] .studio-workspace :is(h1,h2,h3,.studio-model-number){color:#e0ebf4}html[data-theme=dark] .studio-workspace .studio-field :is(input,select,textarea){background:#1b3446;color:#dceaf3;border-color:#426072}html[data-theme=dark] .studio-workspace .studio-families>button{background:#1b3446;border-color:#3b5566}html[data-theme=dark] .studio-workspace .studio-families>button[aria-pressed=true]{background:#164840}html[data-theme=dark] .studio-workspace .studio-families strong{color:#d5e5ee}html[data-theme=dark] .studio-workspace .studio-design-tabs{background:#1a3448;border-color:#37596b}html[data-theme=dark] .studio-workspace .studio-design-tabs>button{color:#d9e9f2}html[data-theme=dark] .fabrication-engineering{background:#1b3345;color:#deebf4}html[data-theme=dark] .fabrication-metrics>div,html[data-theme=dark] .fabrication-table-wrap,html[data-theme=dark] .studio-material-intro article,html[data-theme=dark] .studio-method-cards article,html[data-theme=dark] .studio-learn-flow li{background:#223e52;border-color:#3c586b}html[data-theme=dark] .fabrication-metrics dd,html[data-theme=dark] .fabrication-table th,html[data-theme=dark] .studio-material-intro h3{color:#dfedf6}.fabrication-viewport.is-thermal .fabrication-canvas{background:#111d2b}.fabrication-viewport.is-thermal .fabrication-parts{background:#172c3e}.is-thermal .studio-part-card{background:#213b4d;border-color:#405e71}.is-thermal .studio-part-card h4,.is-thermal .studio-part-field strong,.is-thermal .fabrication-parts h3{color:#e1edf4}.is-thermal .studio-part-field span{color:#a3bdce}
@media(max-width:1100px){.studio-engineering-hero,.studio-bom-layout,.studio-thermal-layout{grid-template-columns:minmax(0,1fr)}.studio-engineering-hero>.fabrication-viewport{position:static}.studio-method-cards,.studio-learn-flow{grid-template-columns:repeat(2,minmax(0,1fr))}.studio-workspace .studio-custom-layout{grid-template-columns:minmax(0,1fr)}.studio-workspace .studio-families{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.fabrication-viewport .fabrication-model-layout{grid-template-columns:minmax(0,1fr)}.fabrication-viewport .fabrication-parts{max-height:340px;border-left:0;border-top:1px solid #dae4ed}.studio-material-intro{grid-template-columns:1fr}.fabrication-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.studio-workspace .studio-design-tabs{overflow:auto;flex-wrap:nowrap}.studio-workspace .studio-design-tabs>button{flex:0 0 auto}.fabrication-engineering{padding:16px}}
@media(max-width:600px){.studio-workspace .studio-titlebar{align-items:flex-start;flex-direction:column}.studio-workspace .studio-titlebar h1{font-size:25px}.studio-workspace .studio-families{grid-template-columns:1fr 1fr;gap:8px}.studio-workspace .studio-families>button{padding:10px;gap:8px}.studio-workspace .studio-families strong{font-size:11px}.studio-workspace .studio-families small{font-size:9px}.studio-workspace .studio-fields-three{grid-template-columns:1fr}.studio-method-cards,.studio-learn-flow{grid-template-columns:1fr}.fabrication-input-grid{grid-template-columns:1fr 1fr}.fabrication-section-heading h2{font-size:23px}.fabrication-viewport .fabrication-canvas{height:400px}}
@media(prefers-reduced-motion:reduce){.studio-workspace *{transition:none!important;scroll-behavior:auto!important}}
.studio-workspace .studio-output{border:1px solid #d5e2ec;border-radius:9px;background:linear-gradient(#fff,#f8fbfd);padding:16px;margin-bottom:14px}.studio-workspace .studio-output-title{color:#1b354c;border-bottom:1px solid #e0e9f0;padding-bottom:12px;margin-bottom:14px}.studio-workspace .studio-circuit-section{border-radius:8px}.studio-workspace .studio-circuit-grid{gap:14px}.studio-workspace .studio-help{color:#657d8d;font-size:12px;line-height:1.7}.studio-workspace .studio-source-note{border-radius:7px;background:#f1f8f8;border-color:#c1ddd9}
.studio-material-image{width:150px;height:130px;object-fit:contain;flex-shrink:0;filter:drop-shadow(0 4px 7px #1d354912)}@media(max-width:600px){.studio-material-intro article{flex-direction:column;text-align:center}.studio-material-image{width:180px;height:140px}}

/* Give the detailed model the full design surface; its own component register remains visible. */
.studio-workspace .studio-custom-layout:has(.fabrication-viewport){grid-template-columns:minmax(0,1fr)}
.studio-workspace .studio-custom-layout:has(.fabrication-viewport)>.studio-custom-summary{display:none}
.studio-workspace .studio-custom-main:has(.fabrication-viewport){min-width:0}
.fabrication-engineering,.fabrication-engineering *,.fabrication-viewport,.fabrication-viewport *{box-sizing:border-box}
.studio-engineering-hero>*,.studio-bom-layout>*,.studio-thermal-layout>*,.studio-material-intro>*{min-width:0}
html[data-theme=dark] .fabrication-table caption,html[data-theme=dark] .fabrication-table thead{background:#203b4e;color:#e0edf5}
html[data-theme=dark] .fabrication-assumptions,html[data-theme=dark] .fabrication-review{background:#203b4e;border-color:#3c586b}
html[data-theme=dark] .studio-method-cards :is(h3,p),html[data-theme=dark] .studio-learn-flow li,html[data-theme=dark] .studio-material-intro p{color:#c1d6e4}
html[data-theme=dark] .studio-workspace .studio-output{background:#203b4e;border-color:#3c586b}
html[data-theme=dark] .studio-workspace .studio-schematic,html[data-theme=dark] .studio-workspace .studio-schematic-scroll{background:#1c3345;border-color:#3c586b}
html[data-theme=dark] .fabrication-actions button,html[data-theme=dark] .fabrication-actions a{background:#203b4e;color:#8edbd1;border-color:#45667a}
html[data-theme=dark] .fabrication-actions button:first-child{background:#008e88;color:#fff}
html[data-theme=dark] .studio-workspace .studio-grid-scroll th{background:#203b4e;color:#deedf5}
html[data-theme=dark] .studio-workspace .studio-grid-scroll tr.selected{background:#164840}
@media(max-width:600px){.fabrication-section-heading{align-items:flex-start;flex-wrap:wrap}.fabrication-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}

.fabrication-table th small{display:block;margin-top:5px;color:var(--fab-muted);font-size:11px;font-weight:400;line-height:1.5}
.fabrication-viewport.is-thermal .fabrication-view-bottom{background:#172c3e;color:#deebf4}
.fabrication-viewport.is-thermal>.fabrication-caption{background:#172c3e;color:#a7bfd1;border-color:#405e71}
.fabrication-viewport.is-thermal .fabrication-model-id{color:#a7bfd1}

.fabrication-render-error{color:#214258}
html[data-theme=dark] .fabrication-status{background:#203b4e;color:#d5e9f6;border-color:#48677b}
html[data-theme=dark] .fabrication-section-heading small,html[data-theme=dark] .fabrication-load-value{color:#83d8cd}
html[data-theme=dark] .studio-thermal-layout .fabrication-slider{background:#203b4e;color:#dfedf6;border-color:#49697d}
html[data-theme=dark] .fabrication-slider span{color:#b4cbdc}

/* R04: the approved model composition uses the available workspace, not stacked headings. */
.studio-workspace:has(.studio-custom-design){position:relative;display:flex;flex-direction:column;overflow:hidden;gap:10px;padding-top:12px}
.studio-workspace:has(.studio-custom-design)>.studio-titlebar{position:absolute;top:12px;right:20px;margin:0;z-index:2}
.studio-workspace:has(.studio-custom-design)>.studio-titlebar>div:first-child{display:none}
.studio-workspace:has(.studio-custom-design)>.studio-primary-tabs{flex:0 0 auto;min-height:44px;margin:0;padding:0;max-width:48%}
.studio-workspace:has(.studio-custom-design) [role=tablist]{padding-bottom:0;margin-bottom:0;border:0}
.studio-workspace:has(.studio-custom-design)>.studio-section{flex:1;min-height:0;overflow:hidden}
.studio-workspace .studio-custom-design{height:100%;min-height:0;display:flex;flex-direction:column;overflow:hidden}
.studio-workspace .studio-custom-intro{display:none}
.studio-workspace .studio-custom-design>.studio-design-tabs{flex:0 0 auto;margin:0 0 12px;min-height:48px;flex-wrap:nowrap;overflow-x:auto}
.studio-workspace .studio-design-tabs>button{font-size:14px;flex:1 0 auto;color:#152943!important}
.studio-workspace .studio-design-tabs>button[aria-pressed=true]{background:#008e88!important;color:#fff!important}
.studio-workspace .studio-custom-layout{flex:1;min-height:0;overflow:hidden}
.studio-workspace .studio-custom-main{height:100%;min-height:0;overflow:auto}
.studio-workspace .studio-custom-main:has(>.fabrication-viewport){display:flex;flex-direction:column;overflow:auto;position:relative}
.studio-workspace .studio-custom-main:has(>.fabrication-viewport)>.studio-circuit-heading{padding:12px 20px;flex:0 0 auto;min-height:54px}
.studio-workspace .studio-custom-main:has(>.fabrication-viewport)>.studio-circuit-heading h2{font-size:25px;margin:0}
.studio-workspace .studio-custom-main>.fabrication-viewport{flex:1 0 540px;min-height:0;border:0;border-radius:0;display:flex;flex-direction:column;background:#fff}
.studio-workspace .studio-custom-main>.fabrication-viewport .fabrication-model-layout{flex:1;min-height:0;grid-template-columns:minmax(0,1fr) 370px}
.studio-workspace .studio-custom-main>.fabrication-viewport .fabrication-canvas{height:100%;min-height:360px;background:#fff}
.studio-workspace .studio-custom-main>.fabrication-viewport .fabrication-webgl{position:absolute;inset:0}
.studio-workspace .studio-custom-main>.fabrication-viewport .fabrication-parts{height:100%;max-height:none;min-height:0;overflow:auto;background:#f5f8fb;padding:18px}
.studio-workspace .studio-custom-main>.fabrication-viewport .fabrication-view-tools,.studio-workspace .studio-custom-main>.fabrication-viewport .fabrication-view-bottom{flex-shrink:0}
.studio-workspace .studio-custom-main>.fabrication-viewport .fabrication-view-tools{padding:10px 18px}
.studio-workspace .studio-custom-main>.fabrication-viewport .studio-assembly-modes button{font-size:15px;padding:9px 18px}
.studio-part-picture{display:block;width:88px;height:94px;overflow:hidden;flex-shrink:0}
.studio-part-card{grid-template-columns:88px minmax(0,1fr);gap:14px;padding:14px;margin:0 0 12px;background:linear-gradient(120deg,#fff,#f1f6fa);box-shadow:0 1px 3px #15304a08}
.studio-part-card h4{font-size:18px;margin:0 0 8px;line-height:1.2;font-weight:700;color:#14283f}
.studio-part-field{display:grid;grid-template-columns:92px minmax(0,1fr);gap:8px;border-bottom:1px solid #d6e0e9;padding-bottom:4px!important;margin:4px 0!important;font-size:12px;line-height:1.45}
.studio-part-field strong{font-size:12px;color:#152e42;font-weight:600}
.studio-part-field span{color:#36536a;overflow-wrap:anywhere}
.fabrication-parts h3{font-size:24px;margin-bottom:8px}.fabrication-model-id{font-size:12px}
.fabrication-other-parts .studio-part-card{grid-template-columns:62px minmax(0,1fr)}
.fabrication-other-parts .studio-part-picture{width:62px;height:72px}
.studio-mechanical-disclosure{flex:0 0 auto;border-top:1px solid #d5e0e9;background:#fff;color:#183247}
.studio-mechanical-disclosure>summary{cursor:pointer;padding:12px 20px;font-weight:600;font-size:13px}
.studio-mechanical-disclosure[open]{max-height:80%;overflow:auto}
.studio-fit-warning{font-size:11px;line-height:1.5;border-left:3px solid #c28c32;background:#fff5dc;color:#6c4b15;padding:10px}
html[data-theme=dark] .studio-workspace .studio-design-tabs>button{color:#dcebf5!important}
html[data-theme=dark] .studio-workspace .studio-design-tabs>button[aria-pressed=true]{color:#fff!important}
html[data-theme=dark] .studio-mechanical-disclosure{background:#203b4e;color:#dcebf5;border-color:#3c586b}
@media(min-width:1100px) and (min-height:650px){.studio-workspace .studio-custom-main>.fabrication-viewport{flex:1 1 0;min-height:0}.studio-workspace .studio-custom-main>.fabrication-viewport .fabrication-canvas{min-height:0}}
@media(max-width:1000px){.studio-workspace .studio-custom-main>.fabrication-viewport .fabrication-model-layout{grid-template-columns:minmax(0,1fr)}.studio-workspace .studio-custom-main>.fabrication-viewport .fabrication-parts{height:300px;max-height:300px}.studio-workspace .studio-custom-main>.fabrication-viewport{flex-basis:auto}.studio-workspace .studio-custom-main>.fabrication-viewport .fabrication-canvas{height:420px;min-height:420px}}
@media(max-width:650px){.studio-workspace:has(.studio-custom-design)>.studio-titlebar{position:static;align-self:flex-end}.studio-workspace:has(.studio-custom-design)>.studio-primary-tabs{max-width:100%}.studio-workspace .studio-custom-main:has(>.fabrication-viewport)>.studio-circuit-heading h2{font-size:20px}.studio-workspace .studio-design-tabs>button{font-size:12px}}

/* Keep the design tab header available throughout the 3D workspace. */
.studio-workspace:has(.studio-custom-main>.fabrication-viewport)>.studio-titlebar,
.studio-workspace:has(.studio-custom-main>.fabrication-viewport)>.studio-primary-tabs,
.studio-workspace:has(.studio-custom-main>.fabrication-viewport)>.studio-notices{display:none}
.studio-workspace .studio-custom-main>.fabrication-viewport .fabrication-parts{padding:16px}
.studio-part-field{grid-template-columns:88px minmax(0,1fr);font-size:12px;line-height:1.3;margin:3px 0!important}
.studio-part-card{padding:11px 12px}.studio-part-card h4{font-size:17px;margin-bottom:7px}

.studio-part-extra>summary{font-size:11px;color:#257b78;cursor:pointer;padding-top:7px}.studio-part-extra[open]{padding-top:5px}html[data-theme=dark] .studio-part-extra>summary{color:#8edbd1}

/* R05: use the approved illustration for presentation and the live model for inspection. */
.fabrication-assembly-picture{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:contain;padding:8px 12px 26px;background:#fff}
.fabrication-webgl[hidden],.fabrication-labels[hidden]{display:none}
.fabrication-view-badge{pointer-events:none}

/* Match the user's dark Studio surface in the illustration and live 3D modes. */
html[data-theme=dark] .studio-workspace .fabrication-viewport{background:#111d2b;color:#deebf4;border-color:#405e71}
html[data-theme=dark] .studio-workspace .fabrication-viewport :is(.fabrication-canvas,.fabrication-assembly-picture){background:#111d2b}
html[data-theme=dark] .studio-workspace .fabrication-viewport .fabrication-parts{background:#172c3e;border-color:#405e71}
html[data-theme=dark] .studio-workspace .fabrication-viewport .studio-part-card{background:#213b4d;border-color:#405e71}
html[data-theme=dark] .studio-workspace .fabrication-viewport :is(.fabrication-parts h3,.studio-part-card h4,.studio-part-field strong){color:#e1edf4}
html[data-theme=dark] .studio-workspace .fabrication-viewport .studio-part-field{border-color:#405e71}
html[data-theme=dark] .studio-workspace .fabrication-viewport .studio-part-field span{color:#a3bdce}
html[data-theme=dark] .studio-workspace .fabrication-viewport :is(.fabrication-view-tools,.fabrication-view-bottom,.fabrication-caption){background:#172c3e;color:#deebf4;border-color:#405e71}
html[data-theme=dark] .studio-workspace .fabrication-viewport :is(button,select){background:#203b4e;color:#e1eaf1;border-color:#385366}
html[data-theme=dark] .studio-workspace .fabrication-viewport button[aria-pressed=true]{background:#008e88;color:#fff;border-color:#008e88}
html[data-theme=dark] .studio-workspace .fabrication-viewport .studio-assembly-modes{border-color:#405e71}
html[data-theme=dark] .studio-workspace .fabrication-viewport :is(.fabrication-model-id,.studio-parts-help,.fabrication-caption){color:#a7bfd1}
html[data-theme=dark] .studio-workspace .fabrication-viewport .fabrication-parts summary{color:#8edbd1}
html[data-theme=dark] .studio-workspace .fabrication-viewport .studio-fit-warning{background:#3c3122;color:#ffe0a8;border-color:#c28c32}
html[data-theme=dark] .studio-workspace .fabrication-viewport .fabrication-render-error{background:#203b4e;color:#e1eaf1}
/* The workspace owns vertical scrolling, including the complete winding list. */
.fabrication-viewport:not(.is-compact) .fabrication-model-layout{align-items:start}.fabrication-viewport:not(.is-compact) .fabrication-parts{max-height:none;overflow:visible}.fabrication-viewport:not(.is-compact) .fabrication-canvas{position:sticky;top:0}.fabrication-parts .studio-part-extra summary{cursor:pointer;color:var(--sr06-teal,#008e88);font-size:12px;padding-block:5px}

/* R06: mode selection and design views share one navigation row. */
.studio-workspace-r06{--sr06-paper:#fff;--sr06-surface:#f5f8fb;--sr06-ink:#13253d;--sr06-muted:#5b7185;--sr06-line:#cbd8e4;--sr06-teal:#008e88;--sr06-tint:#e0f4f1;--sr06-input:#fff;position:relative;display:flex;flex-direction:column;gap:12px;overflow:hidden!important;padding-top:14px!important}
.studio-workspace-r06 *{box-sizing:border-box}
.studio-workspace-r06>.studio-section{flex:1;min-height:0;overflow:hidden}
.studio-workspace-r06 :is(h1,h2,h3,h4){color:var(--sr06-ink)}
.studio-navigation{display:flex;align-items:center;flex:0 0 auto;gap:14px;padding:7px 9px;border:1px solid var(--sr06-line);border-radius:10px;background:var(--sr06-surface);min-width:0;color:var(--sr06-ink)}
.sr06-mode-switch{display:flex;gap:5px;align-items:center;flex:0 0 auto;padding-right:15px;border-right:1px solid var(--sr06-line)}
.studio-workspace-r06 .sr06-mode-switch{margin-bottom:0;padding-bottom:0;border-bottom:0}
.sr06-mode-label{font-size:12px;font-weight:600;color:var(--sr06-muted);padding:0 7px}
.studio-navigation button{font:inherit;line-height:1.25;white-space:nowrap;cursor:pointer;min-height:42px}
.sr06-mode-switch>button{padding:10px 18px;border:1px solid var(--sr06-line);border-radius:8px;background:var(--sr06-paper);color:var(--sr06-ink);font-size:14px;font-weight:650}
.sr06-mode-switch>button[aria-selected=true]{border-color:var(--sr06-teal);color:#007c76;background:var(--sr06-tint);box-shadow:inset 0 0 0 1px #008e8820}
.sr06-view-switch{display:flex;flex:1;min-width:0;overflow-x:auto;border:1px solid var(--sr06-line);border-radius:7px;scrollbar-width:thin}
.sr06-view-switch>button{display:flex;align-items:center;justify-content:center;gap:8px;flex:1 0 auto;padding:10px 13px;border:0;border-right:1px solid var(--sr06-line);background:transparent;color:var(--sr06-ink);font-size:13px;font-weight:650}
.sr06-view-switch>button:last-child{border-right:0}.sr06-view-switch>button[aria-pressed=true]{background:var(--sr06-teal);color:#fff}
.sr06-view-switch svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.studio-navigation button:disabled{opacity:.45;cursor:default}.studio-navigation button:not(:disabled):hover{box-shadow:inset 0 0 0 999px #008e880a}
.studio-workspace-r06 button:focus-visible,.studio-workspace-r06 :is(input,select,summary):focus-visible{outline:2px solid #16a89e;outline-offset:2px}
.sr06-page-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;flex:0 0 auto;min-height:40px}
.sr06-page-heading h1{margin:0;font-size:29px;letter-spacing:-.5px;line-height:1.2;font-weight:750}
.sr06-workspace-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.sr06-workspace-actions>div{display:flex;gap:8px;align-items:center}.sr06-workspace-actions button{min-height:33px!important;font-size:12px!important}
.studio-workspace-r06 .sr06-design-body{height:100%;flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden}
.studio-workspace-r06 .sr06-design-body>.studio-custom-layout{flex:1;min-height:0}
.studio-workspace-r06 .sr06-design-body .studio-custom-main{min-width:0}
.studio-workspace-r06 .sr06-model-actions{min-height:0!important;padding:8px 15px!important;justify-content:flex-end}
.studio-workspace-r06 .fabrication-section-heading small,.studio-workspace-r06 .fabrication-section-heading h2{display:none}
.studio-workspace-r06 .fabrication-section-heading{min-height:26px;margin-bottom:12px;justify-content:flex-end}
.studio-workspace-r06 .fabrication-section-heading>div:empty{display:none}
.sr06-primary,.sr06-outline{font:inherit;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:8px 13px;border-radius:6px;border:1px solid var(--sr06-teal);min-height:34px;font-size:13px;font-weight:650;cursor:pointer}
.sr06-primary{background:var(--sr06-teal);color:#fff}.sr06-outline{background:var(--sr06-paper);color:#007e78}
.sr06-primary:disabled,.sr06-outline:disabled,.sr06-remove:disabled{opacity:.45;cursor:default}

/* The approved Requirements composition: compact sections beside a live nominal summary. */
.sr06-requirements{display:grid;grid-template-columns:minmax(0,1.85fr) minmax(330px,.95fr);gap:22px;min-height:0;height:100%;flex:1;color:var(--sr06-ink)}
.sr06-requirements-editor{min-width:0;overflow:auto;scrollbar-width:thin;padding:0 2px 2px 0}
.sr06-inputs{border:0;padding:0;margin:0;min-width:0;display:flex;flex-direction:column;gap:13px}
.sr06-top-row{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:16px}
.sr06-block{border:1px solid var(--sr06-line);border-radius:9px;overflow:hidden;background:var(--sr06-paper);min-width:0}
.sr06-block>header{display:flex;align-items:center;gap:10px;min-height:39px;padding:7px 16px;background:var(--sr06-surface)}
.sr06-block h2{font-size:19px;line-height:1.2;margin:0!important;font-weight:750;color:var(--sr06-ink)!important}
.sr06-section-mark{font-size:25px;line-height:1;color:var(--sr06-ink);width:25px;text-align:center;flex-shrink:0}
.sr06-block-action{margin-left:auto}.sr06-block-action button{font-size:12px;min-height:29px;padding:4px 10px}
.sr06-block-body{padding:10px 15px;min-width:0}
.sr06-field{display:grid;grid-template-columns:125px minmax(0,1fr);align-items:center;gap:10px;min-width:0;margin:6px 0;font-size:13px;color:var(--sr06-ink)}
.sr06-field>span{font-weight:550;line-height:1.35}
.sr06-field :is(input,select){background:var(--sr06-input);color:var(--sr06-ink);border:1px solid #b9cbdc;border-radius:5px;font:inherit;min-width:0;width:100%;min-height:32px;padding:6px 10px;line-height:1.25}
.sr06-field :is(input,select):disabled{opacity:1;color:var(--sr06-ink);background:var(--sr06-surface);cursor:default}
.sr06-rating-options{display:flex;flex-direction:column;gap:9px;padding:3px 0;font-size:13px}.sr06-rating-options>label,.sr06-check{display:flex;align-items:center;gap:8px}
.sr06-rating-options input,.sr06-check input{accent-color:var(--sr06-teal);width:17px;height:17px;flex-shrink:0;margin:0}
.sr06-check{font-size:12px;color:var(--sr06-muted);margin:7px 0 0;line-height:1.3}
.sr06-power-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:25px;align-items:center}
.sr06-power-row .sr06-field{grid-template-columns:135px minmax(0,1fr)}
.sr06-table-scroll{overflow-x:auto;scrollbar-width:thin}
.sr06-circuits{border-collapse:collapse;width:100%;table-layout:fixed;min-width:690px;text-align:left;font-size:13px}
.sr06-circuits thead{background:var(--sr06-surface)}.sr06-circuits thead th{padding:6px 8px;font-weight:700;white-space:nowrap;color:var(--sr06-ink)}
.sr06-circuits th:nth-child(1){width:18%}.sr06-circuits th:nth-child(2){width:23%}.sr06-circuits th:nth-child(3),.sr06-circuits th:nth-child(4){width:16%}.sr06-circuits th:nth-child(5){width:23%}.sr06-circuits th:last-child{width:34px}
.sr06-circuits tbody :is(th,td){padding:6px 7px;border-bottom:1px solid var(--sr06-line);vertical-align:top;font-weight:400}
.sr06-circuits .sr06-field{display:block;margin:0}.sr06-circuits .sr06-field>span{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.sr06-circuits .sr06-field :is(input,select){padding:5px 7px;min-height:31px;font-size:13px}
.sr06-circuits .sr06-check{font-size:11px;margin-top:5px}.sr06-circuits .sr06-check input{width:14px;height:14px}
.sr06-remove{border:0;background:transparent;color:var(--sr06-muted);font-size:22px;cursor:pointer;min-height:31px;min-width:28px;padding:0}
.sr06-hint{font-size:11px!important;color:var(--sr06-muted)!important;line-height:1.5;margin:8px 0}
.sr06-advanced{border:1px solid var(--sr06-line);border-radius:7px;background:var(--sr06-paper);font-size:13px}.sr06-advanced>summary{padding:10px 15px;font-weight:600;cursor:pointer;color:var(--sr06-ink)}
.sr06-advanced-body{padding:0 15px 15px}.sr06-legacy-advanced .studio-inputs{margin:0;padding:0;border:0;min-width:0}
.sr06-legacy-advanced .studio-inputs>:not(details):not(legend){display:none!important}
.sr06-legacy-advanced .studio-inputs>details{display:block;margin-top:12px;border-top:1px solid var(--sr06-line);padding-top:12px}
.sr06-review-state{display:flex;align-items:center;gap:14px;margin-top:13px;padding:9px 14px;border:1px solid var(--sr06-line);border-radius:8px;background:var(--sr06-surface);font-size:13px}
.sr06-review-state>strong{white-space:nowrap;font-size:15px}.sr06-review-badge{padding:6px 13px;border-radius:18px;white-space:nowrap;background:var(--sr06-tint);color:#006e69;font-weight:650;font-size:12px}
.sr06-review-state p{margin:0!important;color:var(--sr06-muted)!important;font-size:11px;line-height:1.5}
.sr06-summary{border:1px solid var(--sr06-line);border-radius:10px;background:var(--sr06-paper);min-width:0;overflow:auto;scrollbar-width:thin;display:flex;flex-direction:column;padding:0 12px 14px}
.sr06-summary>header{display:flex;align-items:center;gap:10px;padding:10px 7px 8px;flex-shrink:0}.sr06-summary>header>span{font-size:25px}.sr06-summary h2{font-size:21px;margin:0!important;font-weight:750;color:var(--sr06-ink)!important}
.sr06-summary-art{margin:0 0 8px;border:1px solid var(--sr06-line);border-radius:9px;overflow:hidden;background:var(--sr06-paper);flex:0 0 auto}
.sr06-summary-art img{display:block;width:100%;height:220px;object-fit:contain;padding:8px}
.sr06-summary-art figcaption{font-size:10px;color:var(--sr06-muted);text-align:center;padding:0 8px 7px}
.sr06-summary dl{margin:0;padding:0 7px}.sr06-summary-row{display:grid;grid-template-columns:41% minmax(0,1fr);gap:12px;padding:7px 0;border-bottom:1px solid var(--sr06-line);font-size:12px;line-height:1.4}
.sr06-summary-row dt{font-weight:500}.sr06-summary-row dd{margin:0;font-weight:650;overflow-wrap:anywhere}.sr06-summary-row ul{list-style:none;padding:0;margin:0}.sr06-summary-row li+li{margin-top:8px}.sr06-summary-row li>span{display:block;font-size:11px;font-weight:400;margin-top:2px}
.sr06-summary-bottom{padding:12px 7px 0;margin-top:auto}.sr06-summary-bottom>.sr06-primary{width:100%;font-size:15px;min-height:38px}
.sr06-nominal-status{display:block;color:var(--sr06-muted);font-size:11px;margin-bottom:9px}.sr06-nominal-status.is-complete{color:#008378}
.sr06-save-actions{margin-top:10px}.sr06-save-actions .studio-panel-actions{border:0;padding:0;display:flex;gap:8px;flex-wrap:wrap}.sr06-save-actions button{flex:1;min-height:32px!important;font-size:11px!important}
.sr06-checks{margin-top:12px;font-size:11px;color:var(--sr06-muted);line-height:1.6}.sr06-checks>summary{cursor:pointer;font-weight:600}.sr06-checks ul{padding-left:17px}
.sr06-catalog-shell{height:100%;min-height:0;display:flex;flex-direction:column;gap:12px}.sr06-catalog-browser{flex:1;min-height:0;overflow:auto}.sr06-catalog-browser[hidden]{display:none}
.sr06-catalog-shell>.sr06-design-body{height:auto;flex:1;min-height:0}
.sr06-catalog-context{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:11px 16px;flex:0 0 auto;background:var(--sr06-paper);border:1px solid var(--sr06-line);border-radius:8px;color:var(--sr06-ink)}
.sr06-catalog-context>div:last-child{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.sr06-catalog-context p{margin:4px 0 0!important;font-size:12px;color:var(--sr06-muted)!important}
.sr06-context-tag{display:inline-block;font-size:11px;font-weight:650;border:1px solid var(--sr06-line);padding:4px 8px;border-radius:5px;margin-right:12px;background:var(--sr06-surface);color:var(--sr06-muted)}
html[data-theme=dark] .studio-workspace-r06{--sr06-paper:#1b3345;--sr06-surface:#203b4e;--sr06-ink:#e0ebf4;--sr06-muted:#a5b9c9;--sr06-line:#3b5568;--sr06-tint:#174842;--sr06-input:#182e40}
html[data-theme=dark] .studio-workspace-r06 .sr06-mode-switch>button[aria-selected=true]{color:#46d5c7;border-color:#37bbae}
html[data-theme=dark] .studio-workspace-r06 :is(.sr06-review-badge,.sr06-outline){color:#8edbd1}
html[data-theme=dark] .studio-workspace-r06 .sr06-field :is(input,select){border-color:#476074}
html[data-theme=dark] .studio-workspace-r06 .sr06-nominal-status.is-complete{color:#6bd4c4}
html[data-theme=dark] .studio-workspace-r06 .sr06-summary-art{background:#111d2b}
@media(max-width:1100px){.sr06-requirements{grid-template-columns:minmax(0,1.7fr) minmax(300px,1fr);gap:14px}.sr06-power-row{gap:14px}.sr06-field,.sr06-power-row .sr06-field{grid-template-columns:110px minmax(0,1fr)}.sr06-top-row{gap:12px}.sr06-review-state{flex-wrap:wrap}.sr06-review-state p{flex-basis:100%}}
@media(max-width:900px){.sr06-requirements{display:block;overflow:auto;height:auto}.sr06-requirements-editor{overflow:visible}.sr06-summary{margin-top:18px;overflow:visible}.studio-workspace-r06>.studio-section{overflow:auto}.sr06-summary-art img{height:260px}.sr06-page-heading h1{font-size:25px}.sr06-catalog-shell{height:auto;min-height:100%}.sr06-design-body{overflow:visible!important}.sr06-mode-switch>button{padding:9px 12px}.sr06-mode-label{font-size:11px;padding:0 3px}.studio-navigation{gap:10px;padding:6px}}
@media(max-width:600px){.sr06-top-row,.sr06-power-row{grid-template-columns:minmax(0,1fr)}.sr06-top-row{gap:13px}.sr06-page-heading{align-items:flex-start;flex-direction:column;gap:10px}.sr06-workspace-actions{align-self:flex-end}.sr06-field{grid-template-columns:125px minmax(0,1fr)}.sr06-mode-switch{padding-right:8px;gap:3px}.sr06-mode-label{display:none}.sr06-mode-switch>button{font-size:12px;padding:8px 10px;min-height:38px}.sr06-view-switch>button{font-size:12px;min-height:38px}.sr06-block>header{padding:8px 12px}.sr06-block h2{font-size:17px}.sr06-block-body{padding:10px 12px}.sr06-catalog-context{align-items:flex-start;flex-direction:column}.sr06-summary-art img{height:230px}}
@media(prefers-reduced-motion:reduce){.studio-workspace-r06 *{transition:none!important;scroll-behavior:auto!important}}

/* R07: adapt to the Studio's available width, including the ERP sidebar. */
.studio-workspace-r06{container:studio / inline-size;min-width:0}
.studio-navigation{flex-wrap:wrap}
.studio-navigation button{min-height:44px}
.sr06-mode-switch>button{min-width:88px}
.sr06-view-switch{overflow:visible}
.sr06-view-switch>button{flex:1 1 auto;min-width:0;white-space:normal}
.sr06-mobile-view{display:none}
.sr06-view-hint{flex:0 0 100%;margin:0;padding:2px 7px;color:var(--sr06-muted);font-size:12px;line-height:1.5}
.sr06-section-mark svg,.sr06-summary>header svg,.sr06-review-state svg{display:block;width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.sr06-review-state>strong{display:inline-flex;gap:9px;align-items:center}
.sr06-block>header{flex-wrap:wrap}
.sr06-block-action{max-width:100%}
.sr06-summary-art img{max-width:100%}
.sr06-summary-row dt,.sr06-catalog-context strong{overflow-wrap:anywhere}
.sr06-table-scroll:focus-visible{outline:2px solid #16a89e;outline-offset:2px}
@container studio (max-width:1280px){
 .studio-navigation{gap:10px}
 .sr06-mode-switch{flex:0 0 100%;border-right:0;padding:0}
 .sr06-view-switch{flex:1 1 100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));overflow:hidden}
 .sr06-view-switch>button{border-bottom:1px solid var(--sr06-line);padding:9px 8px}
 .sr06-view-switch>button:nth-child(4n){border-right:0}
 .sr06-view-switch>button:nth-last-child(-n+4){border-bottom:0}
}
@container studio (max-width:1050px){
 .studio-workspace-r06>.studio-section{overflow:auto;overscroll-behavior:contain}
 .studio-workspace-r06 .sr06-design-body{height:auto;min-height:100%;overflow:visible}
 .sr06-requirements{display:block;height:auto;overflow:visible;flex:0 0 auto}
 .sr06-requirements-editor{overflow:visible;padding-right:0}
 .sr06-summary{margin-top:16px;overflow:visible}
 .sr06-summary-art img{height:250px}
 .sr06-catalog-shell{height:auto;min-height:100%}
 .sr06-top-row{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr)}
 .sr06-field,.sr06-power-row .sr06-field{grid-template-columns:125px minmax(0,1fr)}
}
@container studio (max-width:720px){
 .sr06-top-row,.sr06-power-row{grid-template-columns:minmax(0,1fr);gap:12px}
 .sr06-inputs{gap:14px}
 .sr06-field,.sr06-power-row .sr06-field{grid-template-columns:135px minmax(0,1fr)}
 .sr06-field :is(input,select){min-height:44px;font-size:16px}
 .sr06-rating-options{gap:0}.sr06-rating-options>label,.sr06-check{min-height:44px;font-size:13px}
 .sr06-rating-options input,.sr06-check input{width:19px;height:19px}
 .sr06-block-action button,.sr06-primary,.sr06-outline{min-height:44px}
 .sr06-circuits{min-width:0;display:block;font-size:13px}
 .sr06-circuits thead{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
 .sr06-circuits tbody{display:grid;gap:12px}
 .sr06-circuits tbody tr{position:relative;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:12px;border:1px solid var(--sr06-line);border-radius:8px;background:var(--sr06-surface)}
 .sr06-circuits tbody :is(th,td){display:block;min-width:0;padding:0;border:0}
 .sr06-circuits tbody th{grid-column:1/-1;padding-right:44px}
 .sr06-circuits tbody td:nth-child(2){grid-column:1/-1}
 .sr06-circuits tbody td:nth-child(5){grid-column:1/-1}
 .sr06-circuits tbody td:last-child{position:absolute;top:10px;right:9px}
 .sr06-circuits .sr06-field{display:grid;grid-template-columns:minmax(0,1fr);gap:5px;margin:0}
 .sr06-circuits .sr06-field>span{position:static;width:auto;height:auto;padding:0;margin:0;overflow:visible;clip:auto;white-space:normal;font-weight:600}
 .sr06-circuits .sr06-field :is(input,select){min-height:44px;font-size:16px;padding:8px}
 .sr06-circuits .sr06-check{min-height:42px;font-size:13px;margin:3px 0 0}
 .sr06-circuits .sr06-check input{width:19px;height:19px}
 .sr06-remove{min-width:44px;min-height:44px;border:1px solid var(--sr06-line);border-radius:6px;background:var(--sr06-paper)}
 .sr06-summary-row{grid-template-columns:minmax(110px,.7fr) minmax(0,1fr);gap:12px;font-size:13px}
 .sr06-summary-bottom>.sr06-primary{min-height:44px}
 .sr06-review-state{flex-wrap:wrap;gap:10px}
 .sr06-review-state p{flex-basis:100%;font-size:12px}
}
@container studio (max-width:620px){
 .studio-navigation{padding:8px;gap:8px}
 .sr06-mode-switch{gap:6px;padding:0;min-width:0}
 .sr06-mode-label{display:none}
 .sr06-mode-switch>button{flex:1;min-width:0;font-size:13px;padding:10px 8px;min-height:44px}
 .sr06-view-switch{display:none}
 .sr06-mobile-view{display:grid;grid-template-columns:48px minmax(0,1fr);align-items:center;gap:8px;width:100%;font-size:13px;font-weight:650;color:var(--sr06-muted)}
 .sr06-mobile-view select{min-width:0;width:100%;min-height:44px;border:1px solid var(--sr06-line);border-radius:7px;padding:8px 10px;font:inherit;font-size:16px;background:var(--sr06-paper);color:var(--sr06-ink)}
 .sr06-page-heading{align-items:stretch;flex-direction:column;gap:10px}
 .sr06-page-heading h1{font-size:25px}
 .sr06-workspace-actions{align-self:stretch;justify-content:flex-start}
 .sr06-workspace-actions>div{flex-wrap:wrap}
 .sr06-workspace-actions button{min-height:44px!important}
 .sr06-block h2{font-size:17px;overflow-wrap:anywhere}
 .sr06-block-action{margin-left:0;flex:0 0 100%}
 .sr06-block-action button{width:100%}
 .sr06-field,.sr06-power-row .sr06-field{grid-template-columns:minmax(0,1fr);gap:6px;margin:8px 0}
 .sr06-summary{padding:0 12px 14px}
 .sr06-summary h2{font-size:19px}
 .sr06-summary-art img{height:200px}
 .sr06-save-actions button{min-height:44px!important}
}

/* R08 scroll boundary: one user-scrollable page inside the actual ERP frame. */
.foundation-workspace:has(.studio-workspace-r06){height:var(--erp-viewport-height,100dvh);min-height:0;overflow:hidden}
.foundation-workspace>.workspace-content:has(>.studio-workspace-r06){min-height:0;max-height:100%;overflow:hidden}
.foundation-workspace>.workspace-content>.studio-workspace-r06{flex:1 1 0;height:100%;max-height:100%;min-height:0;overflow-x:hidden!important;overflow-y:auto!important;touch-action:pan-y pinch-zoom;overscroll-behavior-y:auto;-webkit-overflow-scrolling:touch}
.studio-workspace-r06>.studio-section{flex:0 0 auto;height:auto;max-height:none;overflow:visible!important}
.studio-workspace-r06 .sr06-design-body{flex:0 0 auto;height:auto!important;max-height:none;overflow:visible!important}
.studio-workspace-r06 .sr06-design-body>.studio-custom-layout{flex:0 0 auto;height:auto;max-height:none;overflow:visible}
.studio-workspace-r06 .sr06-design-body .studio-custom-main{height:auto;max-height:none;overflow:visible!important}
.studio-workspace-r06 :is(.fabrication-engineering,.studio-electrical){height:auto;max-height:none;overflow:visible}
.studio-workspace-r06 .fabrication-viewport .fabrication-parts{height:auto!important;max-height:none!important;overflow:visible!important}
.studio-workspace-r06 .studio-mechanical-disclosure[open]{max-height:none;overflow:visible}
.studio-workspace-r06 :is(.sr06-catalog-shell,.sr06-catalog-browser){flex:0 0 auto;height:auto;max-height:none;overflow:visible}
.studio-workspace-r06 .sr06-requirements{flex:0 0 auto;height:auto;overflow:visible;align-items:start}
.studio-workspace-r06 :is(.sr06-requirements-editor,.sr06-summary){height:auto;max-height:none;overflow:visible}
@media(pointer:coarse){
 .studio-workspace-r06 :is(.fabrication-webgl,.fabrication-webgl canvas,.studio-canvas canvas){touch-action:pan-y pinch-zoom!important}
}

@container studio (max-width:720px){.studio-workspace-r06 .sr06-circuits tbody th{width:auto;min-width:0}}

/* R12 inventory: compact controls, readable numeric columns and horizontal table access. */
.inventory-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:18px}.inventory-heading h1{font-size:24px;margin:0 0 4px}.inventory-heading p,.inventory-muted{color:var(--text-secondary,#64748b);margin:4px 0 16px}.inventory-toolbar{display:flex;flex-wrap:wrap;gap:12px;align-items:end}.inventory-workspace label,.inventory-item-panel label{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:600}.inventory-toolbar label:first-child{flex:1;min-width:220px}.inventory-workspace input,.inventory-workspace select,.inventory-item-panel input:not([type=checkbox]),.inventory-item-panel select{font:inherit;color:inherit;background:var(--surface,#fff);border:1px solid var(--border,#cbd5e1);border-radius:7px;padding:9px 11px;min-height:38px;box-sizing:border-box;max-width:100%}.inventory-workspace button,.inventory-item-panel button{font:inherit;color:inherit;cursor:pointer;border:1px solid var(--border,#cbd5e1);border-radius:7px;background:var(--surface,#fff);padding:9px 14px;min-height:38px}.inventory-workspace button.primary,.inventory-item-panel button.primary{background:#087f8c;color:#fff;border-color:#087f8c}.inventory-workspace button:disabled,.inventory-item-panel button:disabled{cursor:default;opacity:.5}.inventory-workspace input[type=checkbox],.inventory-item-panel input[type=checkbox]{accent-color:#087f8c;width:17px;height:17px;vertical-align:middle}.inventory-workspace input[type=checkbox]:disabled,.inventory-item-panel input[type=checkbox]:disabled{opacity:.8}.inventory-table-scroll{overflow:auto;width:100%;border:1px solid var(--border,#dce3ec);border-radius:9px;margin:14px 0}.inventory-stock-table,.inventory-price-table{border-collapse:collapse;width:100%;font-size:13px}.inventory-stock-table th,.inventory-price-table th{background:var(--surface-raised,#f1f5f9);font-size:11px;letter-spacing:.03em;text-align:left;white-space:normal;min-width:90px;padding:12px}.inventory-stock-table td,.inventory-price-table td{padding:12px;border-top:1px solid var(--border,#e2e8f0);vertical-align:middle}.inventory-stock-table td{max-width:280px;min-width:90px}.inventory-stock-table td:first-child{min-width:220px;font-weight:600}.inventory-stock-table td.inventory-description{min-width:260px}.inventory-stock-table .numeric{font-variant-numeric:tabular-nums;text-align:right;white-space:nowrap}.inventory-pagination{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-top:12px}.inventory-pagination>span:first-child{margin-right:auto}.inventory-item-panel{max-width:1050px}.inventory-item-panel h2{font-size:22px;margin:0 0 16px}.inventory-item-panel h3{font-size:17px;margin:28px 0 14px}.inventory-item-panel form{display:grid;gap:14px;margin-bottom:22px}.inventory-item-panel form>button{justify-self:start}.inventory-item-panel fieldset{border:0;padding:0;display:grid;gap:14px;min-width:0}.inventory-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:end;margin-bottom:14px}.inventory-checkbox-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:4px 0 16px}.inventory-checkbox-grid label{display:flex;flex-direction:row;align-items:center;flex-wrap:wrap;padding:15px;border:1px solid var(--border,#dce3ec);border-radius:9px}.inventory-checkbox-grid small{width:100%;font-weight:400;font-size:11px;line-height:1.5;color:var(--text-secondary,#64748b)}.inventory-stock-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;background:var(--surface-raised,#f1f5f9);padding:18px;border-radius:9px;margin-bottom:18px;font-size:12px}.inventory-stock-summary strong{display:block;font-size:21px;margin-top:6px;font-variant-numeric:tabular-nums}.inventory-form-grid small{display:block;margin-top:6px}.inventory-empty{padding:18px;background:var(--surface-raised,#f1f5f9);border-radius:8px}.inventory-workspace a{color:#087f8c}.inventory-workspace :focus-visible,.inventory-item-panel :focus-visible{outline:3px solid #29a2af;outline-offset:2px}[data-theme=dark] .inventory-workspace,[data-theme=dark] .inventory-item-panel{--surface:#17232d;--surface-raised:#22323f;--border:#405462;--text-secondary:#b0c1cc}@media(max-width:650px){.inventory-checkbox-grid,.inventory-stock-summary,.inventory-form-grid{grid-template-columns:1fr}.inventory-heading{align-items:start}.inventory-toolbar>*{width:100%}.inventory-pagination{flex-wrap:wrap}.inventory-pagination>span:first-child{width:100%}.inventory-item-panel h2{font-size:20px}.inventory-workspace{max-width:100%;min-width:0}.inventory-price-table{min-width:700px}}

.inventory-panel-tools{display:flex;justify-content:flex-end;margin-bottom:12px}
.inventory-item-layout:has(.inventory-item-panel){grid-template-columns:minmax(220px,280px) minmax(0,1fr);min-width:0;max-width:100%}.inventory-item-layout:has(.inventory-item-panel)>.item-related{min-width:0;max-width:100%}.inventory-item-panel{min-width:0;width:100%;box-sizing:border-box}.inventory-item-panel form,.inventory-item-panel fieldset,.inventory-item-panel label{min-width:0}.inventory-item-panel .inventory-price-table input:not([type=checkbox]){width:100%;min-width:80px}@media(max-width:900px){.inventory-item-layout:has(.inventory-item-panel){grid-template-columns:minmax(0,1fr)}.inventory-item-layout:has(.inventory-item-panel)>.item-related{order:-1}.inventory-item-panel input:not([type=checkbox]),.inventory-item-panel select,.inventory-item-panel button{min-height:44px}}html[data-theme=dark] .inventory-workspace a{color:#73d5dc}

/* R13 inventory: native column sizing and a compact, aligned filter bar. */
.inventory-workspace{padding:18px;box-sizing:border-box;min-width:0;display:flex;flex-direction:column}.inventory-workspace .inventory-heading{margin-bottom:16px}.inventory-workspace .inventory-heading p{margin:4px 0 0}.inventory-filter-bar{display:grid;grid-template-columns:minmax(240px,1fr) minmax(150px,180px) minmax(140px,170px) auto;gap:12px;align-items:end;margin:0;padding:14px;background:var(--surface-raised,#f7fafb);border:1px solid var(--border,#dce6eb);border-radius:10px}.inventory-filter-bar label,.inventory-filter-bar label:first-child{min-width:0;flex:initial;font-size:12px;line-height:1.4;color:var(--text-secondary,#415563)}.inventory-filter-bar input,.inventory-filter-bar select{height:44px;min-height:44px;width:100%;font-size:14px;font-weight:400;line-height:1.4;border-color:var(--border,#cbd8df);border-radius:7px;box-shadow:0 1px 2px #17384705}.inventory-filter-bar input::placeholder{color:var(--text-secondary,#7b8995);opacity:1}.inventory-search-control{position:relative;display:block}.inventory-control-icon{display:block;flex:none}.inventory-search-control>.inventory-control-icon{position:absolute;left:13px;top:50%;transform:translateY(-50%);color:var(--text-secondary,#798c99);pointer-events:none}.inventory-filter-bar .inventory-search-control input{padding-left:40px}.inventory-filter-actions{display:flex;gap:6px;align-items:center}.inventory-filter-actions button{height:44px;min-height:44px;padding:0 18px;font-size:13px;font-weight:600}.inventory-filter-actions .inventory-reset-filter{display:inline-flex;gap:7px;align-items:center;justify-content:center;background:transparent;border-color:transparent;color:var(--text-secondary,#536774);padding-inline:10px}.inventory-filter-actions .inventory-reset-filter:not(:disabled):hover{background:var(--surface,#fff);border-color:var(--border,#d5e1e7)}.inventory-list-meta{display:flex;gap:12px;align-items:center;justify-content:space-between;margin:12px 0 10px;min-height:36px}.inventory-result-status{display:flex;gap:12px;align-items:center;color:var(--text-secondary,#73818e);font-size:11px;min-width:0}.inventory-result-count{font-weight:600;font-size:12px;white-space:nowrap;color:var(--inventory-count-color,#0a6a70);background:#087f8c12;padding:5px 8px;border-radius:5px}.inventory-workspace .inventory-refresh-control{display:inline-flex;align-items:center;gap:7px;background:transparent;border-color:transparent;color:var(--text-secondary,#536774);font-size:12px;min-height:36px;padding:6px 10px;white-space:nowrap}.inventory-refresh-control:not(:disabled):hover{background:var(--surface-raised,#f1f5f9)}.inventory-table-native{border:1px solid var(--border,#dce3ec);border-radius:9px;overflow:hidden;min-width:0;max-width:100%;flex:1 1 auto;display:flex;flex-direction:column;min-height:220px}.inventory-table-native .view-table-scroll{width:100%;flex:1;min-height:0;overflow:auto}.inventory-table-native .view-table{font-size:13px;background:var(--surface,#fff);color:inherit}.inventory-table-native .view-table td{font-size:13px;line-height:1.5;padding:11px 12px}.inventory-table-native .view-table thead tr:first-child th{font-size:12px;line-height:1.4}.inventory-table-native .view-column-resize{width:10px;border-right-color:#ffffffa6}.inventory-numeric{display:block;text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.inventory-workspace .inventory-pagination{padding:0;border:0;margin-top:12px}.inventory-workspace .inventory-table-native input[type=checkbox]{width:17px;height:17px}html[data-theme=dark] .inventory-result-count{--inventory-count-color:#8bdfdd;background:#087f8c30}@media(max-width:1100px){.inventory-filter-bar{grid-template-columns:repeat(2,minmax(0,1fr))}.inventory-filter-bar .inventory-search-field,.inventory-filter-actions{grid-column:1/-1}.inventory-filter-actions{justify-content:flex-end}}@media(max-width:650px){.inventory-workspace{padding:12px}.inventory-filter-bar{padding:12px;gap:12px}.inventory-filter-bar>*{width:auto}.inventory-filter-actions button{flex:1}.inventory-result-status{flex-wrap:wrap;gap:5px 10px}.inventory-list-meta{align-items:flex-start}.inventory-workspace .inventory-heading h1{font-size:22px}.inventory-pagination button{min-height:40px}}

/* R14 item BOMs: native tables with revision metadata and component selection. */
.inventory-item-layout:has(.item-bom-panel){grid-template-columns:minmax(0,1fr);min-width:0}.inventory-item-layout:has(.item-bom-panel)>.item-overview{display:none}.inventory-item-layout:has(.item-bom-panel)>.item-related{min-width:0}.item-bom-panel{min-width:0;max-width:100%}.item-bom-panel h2{font-size:22px;margin:0 0 5px}.item-bom-panel h3{font-size:16px;margin:12px 0}.item-bom-toolbar,.item-bom-detail-toolbar,.item-bom-line-tools{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:16px}.item-bom-actions{display:flex;gap:8px;flex-wrap:wrap}.item-bom-panel button,.item-bom-modal-content button{font:inherit;color:inherit;border:1px solid var(--border,#cbd8df);border-radius:6px;padding:8px 12px;background:var(--surface,#fff);cursor:pointer;min-height:36px}.item-bom-panel button.primary{color:#fff;background:#087f8c;border-color:#087f8c}.item-bom-panel button:disabled,.item-bom-modal-content button:disabled{opacity:.5;cursor:default}.item-bom-panel label,.item-bom-modal-content label{display:flex;flex-direction:column;gap:6px;min-width:0;font-size:12px;font-weight:600}.item-bom-panel input:not([type=checkbox]),.item-bom-panel select,.item-bom-modal-content input:not([type=checkbox]),.item-bom-modal-content select,.item-bom-modal-content textarea,.item-more-info-panel textarea{font:inherit;font-weight:400;color:inherit;border:1px solid var(--border,#cbd8df);border-radius:6px;background:var(--surface,#fff);padding:9px 10px;min-height:38px;box-sizing:border-box;max-width:100%;width:100%}.item-bom-modal-content textarea{min-height:80px;resize:vertical}.item-more-info-panel textarea{min-height:80px;resize:vertical}.item-bom-panel input[type=checkbox],.item-bom-modal-content input[type=checkbox]{width:17px;height:17px;accent-color:#087f8c}.item-bom-table{min-width:0;max-width:100%;border:1px solid var(--border,#dce3ec);border-radius:8px;overflow:hidden;margin:12px 0;display:flex;flex-direction:column}.item-bom-table .view-table-scroll{min-width:0;min-height:160px;max-height:480px;overflow:auto}.item-bom-table .view-table{background:var(--surface,#fff);color:inherit}.item-bom-table .view-table td{line-height:1.5;font-size:12px}.item-bom-table .view-table button{padding:4px 8px;min-height:30px}.item-bom-filter{display:grid;grid-template-columns:minmax(140px,200px) minmax(220px,1fr);gap:12px;max-width:650px;margin-bottom:16px}.item-bom-layout{display:grid;grid-template-columns:minmax(240px,290px) minmax(0,1fr);gap:18px;align-items:start}.item-bom-overview{border:1px solid var(--border,#dce3ec);border-radius:8px;padding:16px;background:var(--surface,#fff);min-width:0}.item-bom-status{display:flex;gap:10px;align-items:center;justify-content:space-between;background:var(--surface-raised,#f1f6f7);padding:10px;border-radius:6px;font-size:12px}.item-bom-status label{flex-direction:row;align-items:center}.item-bom-overview dl{display:grid;gap:13px;margin:18px 0 0}.item-bom-overview dt{font-size:11px;color:var(--text-secondary,#6b7f8c);margin-bottom:4px}.item-bom-overview dd{font-size:13px;margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.item-bom-summary{padding:16px;border:1px solid var(--border,#dce3ec);background:var(--surface-raised,#f7fafb);border-radius:8px;margin-top:16px}.item-bom-summary h3{margin:0 0 14px}.item-bom-summary dl{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:0}.item-bom-summary dt{font-size:12px;color:var(--text-secondary,#64798b);margin-bottom:8px}.item-bom-summary dd{font-variant-numeric:tabular-nums;font-size:22px;font-weight:600;margin:0}.item-bom-detail-toolbar [role=tablist]{display:flex;gap:4px;background:var(--surface-raised,#edf3f5);padding:4px;border-radius:7px}.item-bom-detail-toolbar [role=tab]{border-color:transparent;background:transparent}.item-bom-detail-toolbar [aria-selected=true]{background:var(--surface,#fff);color:#087f8c;border-color:var(--border,#dce3ec)}.item-bom-revision-jump{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin:15px 0}.item-bom-revision-jump label{max-width:140px}.item-bom-revision-jump p{font-size:12px;color:var(--text-secondary,#64798b)}.item-bom-legacy{padding-top:12px;margin-top:20px;border-top:1px solid var(--border,#dce3ec)}.item-bom-notice,.item-bom-empty{padding:16px;border-radius:8px;background:var(--surface-raised,#edf6f7);color:var(--text-secondary,#4b6778)}.item-bom-panel a{color:var(--inventory-link,#087f8c)}.crm-form:has(.item-bom-modal-content){display:block}.item-bom-modal-content{grid-column:1/-1;min-width:0;width:100%;font-size:13px;color:inherit}.item-bom-editor-lock{border:0;padding:0;margin:0;min-width:0}.item-bom-editor{display:grid;grid-template-columns:minmax(260px,330px) minmax(0,1fr);gap:20px;align-items:start}.item-bom-editor-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.item-bom-wide{grid-column:1/-1}.item-bom-editor-fields label.item-bom-check{flex-direction:row;align-items:center}.item-bom-component-card{border:1px solid var(--border,#dce3ec);border-radius:8px;padding:15px;margin-bottom:12px;background:var(--surface,#fff)}.item-bom-component-card header{display:flex;gap:10px;align-items:start;justify-content:space-between;margin-bottom:14px}.item-bom-component-card header strong{font-size:13px;line-height:1.5;overflow-wrap:anywhere}.item-bom-card-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.item-bom-line-costs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;border-top:1px solid var(--border,#e1e9ee);padding-top:12px;margin-top:14px;font-size:11px;color:var(--text-secondary,#64798b)}.item-bom-line-costs strong{display:block;font-size:14px;color:var(--text-primary,#253747);margin-top:4px;font-variant-numeric:tabular-nums}.item-bom-reason{margin-top:18px}.item-bom-picker{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;align-items:start}.item-bom-picker-search{display:flex;gap:10px;align-items:end}.item-bom-picker-search label{flex:1}.item-bom-picker-search button{flex:none}.item-bom-picker .item-bom-table .view-table-scroll{height:350px;min-height:240px;max-height:45vh}.item-bom-picker-pagination{display:flex;align-items:end;gap:10px;flex-wrap:wrap;font-size:11px}.item-bom-picker-pagination label{max-width:90px}.item-bom-current>label{margin:18px 0}.item-bom-modal-content :focus-visible,.item-bom-panel :focus-visible{outline:3px solid #29a2af;outline-offset:2px}.inventory-price-levels{border:1px solid var(--border,#dce3ec);border-radius:8px;padding:14px;margin:15px 0 22px}.inventory-price-levels h3{margin:0 0 8px}.inventory-price-levels table{border-collapse:collapse;width:100%;font-size:12px}.inventory-price-levels th,.inventory-price-levels td{text-align:left;padding:10px;border-bottom:1px solid var(--border,#dce3ec)}.inventory-price-levels thead th{background:var(--surface-raised,#f1f5f9)}.inventory-price-levels tbody th{font-weight:600}.inventory-price-levels tbody tr:last-child>*{border-bottom:0}html[data-theme=dark] :is(.item-bom-panel,.item-bom-modal-content){--surface:#17232d;--surface-raised:#22323f;--border:#405462;--text-secondary:#b0c1cc;--text-primary:#e4edf2;--inventory-link:#73d5dc}@media(max-width:900px){.item-bom-layout,.item-bom-editor,.item-bom-picker{grid-template-columns:minmax(0,1fr)}.item-bom-summary dl{grid-template-columns:repeat(2,minmax(0,1fr))}.item-bom-toolbar,.item-bom-detail-toolbar{align-items:start}.item-bom-overview dl{grid-template-columns:repeat(2,minmax(0,1fr))}.item-bom-overview dl>div{min-width:0}.item-bom-picker .item-bom-table .view-table-scroll{height:260px}.item-bom-panel button,.item-bom-modal-content button,.item-bom-panel select,.item-bom-modal-content input:not([type=checkbox]),.item-bom-modal-content select{min-height:44px}.item-bom-panel .view-table button{min-height:36px}}@media(max-width:450px){.item-bom-filter{grid-template-columns:minmax(0,1fr)}.item-bom-overview dl,.item-bom-editor-fields{grid-template-columns:minmax(0,1fr)}.item-bom-line-costs{grid-template-columns:repeat(2,minmax(0,1fr))}.item-bom-actions{width:100%}.item-bom-actions button{flex:1}.item-bom-component-card{padding:12px}.item-bom-card-fields{grid-template-columns:minmax(0,1fr)}}

.sr06-tap-editor {
 display:grid;
 gap:5px;
 max-width:420px;
 margin:9px 0 11px;
 font-size:12px;
 font-weight:700;
}
.sr06-tap-editor input {
 width:100%;
 min-height:35px;
 padding:6px 9px;
 border:1px solid var(--sr06-line);
 border-radius:5px;
 background:var(--sr06-paper);
 color:inherit;
 font:inherit;
}
.sr06-tap-editor small {
 color:var(--sr06-muted);
 font-weight:400;
}

/* R07 Electrical: the approved illustration, equation, summaries and winding schedule. */
.studio-electrical.fabrication-engineering{--se07-ink:#0b1437;--se07-muted:#5b7185;--se07-line:#c3d2e0;--se07-paper:#fff;--se07-soft:#f0f5f9;--se07-tint:#ddf5f2;--se07-teal:#008e88;--fab-ink:var(--se07-ink);--fab-muted:var(--se07-muted);--fab-line:var(--se07-line);--fab-paper:var(--se07-paper);--fab-soft:var(--se07-soft);padding:0;background:transparent;color:var(--se07-ink);min-width:0}
.studio-electrical *{box-sizing:border-box}.studio-electrical :is(h2,h3){color:var(--se07-ink)!important;margin:0!important;font-weight:750;letter-spacing:-.35px}
.studio-workspace-r06 .studio-custom-main:has(>.studio-electrical){border:0;border-radius:0;box-shadow:none;background:transparent;overflow:auto!important;padding:0}
.studio-workspace-r06 .sr06-design-body[data-design-view=electrical]>.studio-custom-layout{gap:0}
.se07-design-reference{display:flex;align-items:center;justify-content:flex-end;gap:24px;min-height:32px;margin-bottom:14px;font-size:13px;line-height:1.4;color:var(--se07-ink)}
.se07-design-reference>span{padding-left:21px;border-left:1px solid var(--se07-line)}.se07-design-reference strong{margin-left:6px;font-weight:700}
.se07-layout{display:grid;grid-template-columns:minmax(240px,.72fr) minmax(0,1.58fr);gap:22px;align-items:stretch}
.se07-assembly{margin:0;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:15px 0 30px}
.se07-assembly-crop{width:100%;max-width:490px;aspect-ratio:9/8;overflow:hidden}.se07-assembly-crop>img{display:block;width:133.333333%;max-width:none;height:100%;object-fit:fill}
.se07-single-assembly{width:100%;max-width:490px}.se07-single-assembly>img{display:block;width:100%;height:auto;object-fit:contain}
.se07-assembly figcaption{color:var(--se07-muted);font-size:10px;text-align:center;margin-top:11px;line-height:1.4}
.se07-calculations{display:flex;flex-direction:column;gap:16px;min-width:0}
.se07-equation,.se07-summary-panel,.se07-schedule{border:1px solid var(--se07-line);border-radius:10px;overflow:hidden;background:var(--se07-paper);min-width:0}
.studio-electrical .se07-equation>h2,.studio-electrical .se07-schedule>h2{font-size:23px;line-height:1.25;padding:9px 18px 8px;background:var(--se07-soft)}
.se07-equation-body{display:flex;align-items:center;gap:20px;padding:10px 20px 12px;min-height:92px}
.se07-formula{display:flex;justify-content:center;align-items:baseline;gap:3px;flex:0 1 44%;min-width:275px;white-space:nowrap;padding:15px 18px;border-radius:9px;background:var(--se07-tint);color:var(--se07-ink);font:italic 27px/1.2 Georgia,'Times New Roman',serif}
.se07-formula sub{font-size:.65em;position:relative;bottom:-.3em;margin-left:-2px}
.studio-electrical .se07-equation-body>p{font-size:12px;line-height:1.6;color:var(--se07-ink);margin:0;border-left:1px solid var(--se07-line);padding:12px 0 12px 20px;flex:1}
.se07-summaries{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:stretch}
.studio-electrical .se07-summary-panel>h3{padding:8px 15px 7px;background:var(--se07-soft);font-size:18px;line-height:1.25}
.se07-summary-panel dl{padding:0 15px 12px;margin:0}.se07-summary-panel dl>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:baseline;min-height:29px;padding:5px 0;border-bottom:1px solid var(--se07-line);font-size:12px;line-height:1.4}
.se07-summary-panel dt{font-weight:450;overflow-wrap:anywhere}.se07-summary-panel dd{margin:0;font-weight:700;white-space:nowrap;font-variant-numeric:tabular-nums}
.se07-table-scroll{overflow-x:auto;margin:8px 16px 0;scrollbar-width:thin}
.se07-winding-table{width:100%;min-width:560px;border-collapse:separate;border-spacing:0;table-layout:fixed;font-size:13px;text-align:left;font-variant-numeric:tabular-nums;line-height:1.4}
.se07-winding-table :is(td,th){padding:7px 12px;border-right:1px solid var(--se07-line);border-bottom:1px solid var(--se07-line);vertical-align:middle;font-weight:450;overflow-wrap:anywhere}
.se07-winding-table thead th{background:#d8e3eb;font-weight:700}.se07-winding-table th:first-child{width:21%}.se07-winding-table th:nth-child(2){width:28%}.se07-winding-table th:nth-child(3){width:12%}.se07-winding-table th:nth-child(4){width:18%}.se07-winding-table th:last-child{width:21%}
.se07-winding-table thead th:first-child{border-top-left-radius:7px}.se07-winding-table thead th:last-child{border-top-right-radius:7px}
.se07-winding-table tr>:last-child{border-right:0}.se07-winding-table td small{display:block;font-size:10px;line-height:1.4;color:var(--se07-muted)}
.se07-winding-table tfoot :is(th,td){background:var(--se07-tint);font-weight:750;border-bottom:0}.se07-winding-table tfoot th:first-child{border-bottom-left-radius:7px}.se07-winding-table tfoot td:last-child{border-bottom-right-radius:7px}
.studio-electrical .se07-schedule-basis{font-size:10px;line-height:1.4;color:var(--se07-muted);margin:8px 17px 11px}
.se07-footer{display:flex;align-items:stretch;justify-content:space-between;gap:16px;margin-top:7px}
.se07-state{display:flex;align-items:center;gap:10px;flex:1;padding:10px 14px;background:var(--se07-tint);border-radius:10px;font-size:16px;font-weight:700;line-height:1.3;min-width:0}
.se07-icon{width:23px;height:23px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;color:var(--se07-teal)}
.se07-actions{display:flex;align-items:center;justify-content:flex-end;gap:15px;flex-shrink:0}
.studio-electrical .se07-actions :is(button,a){display:inline-flex;justify-content:center;align-items:center;gap:9px;font:inherit;font-size:14px;font-weight:650;min-height:42px!important;min-width:145px;padding:9px 18px;border:1px solid var(--se07-teal);border-radius:8px;line-height:1.3;cursor:pointer;color:var(--se07-teal);background:var(--se07-paper);text-decoration:none}
.studio-electrical .se07-actions .se07-save-button{background:var(--se07-teal);color:#fff}.studio-electrical .se07-actions :is(button,a):disabled{opacity:.5;cursor:default}
.studio-electrical .se07-actions :is(button,a):not(:disabled):hover{filter:brightness(.97)}.studio-electrical :is(button,input,select,summary):focus-visible{outline:2px solid #1aa89b;outline-offset:3px}
.se07-more{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:20px 0 4px;align-items:start}
.studio-electrical .se07-more>.fabrication-assumptions{margin:0;padding:10px 13px;background:var(--se07-paper);border-color:var(--se07-line);font-size:12px;line-height:1.5}
.se07-more>.fabrication-assumptions[open]{grid-column:1/-1}.se07-more summary{color:var(--se07-muted)}
.studio-electrical .se07-error{margin:0;padding:8px 12px;border-left:3px solid #bc443e;background:var(--se07-soft);color:#b1342d;font-size:12px;line-height:1.5}
html[data-theme=dark] .studio-electrical{--se07-ink:#e0ebf4;--se07-muted:#a5b9c9;--se07-line:#3b5568;--se07-paper:#1b3345;--se07-soft:#203b4e;--se07-tint:#174842}
html[data-theme=dark] .se07-winding-table thead th{background:#304d61}html[data-theme=dark] .studio-electrical .se07-actions .se07-recalculate{color:#8edbd1}
html[data-theme=dark] .studio-electrical .se07-error{color:#ffbcb3}html[data-theme=dark] .se07-state .se07-icon{color:#69d4c5}
@media(max-width:1250px){.se07-layout{grid-template-columns:minmax(210px,.66fr) minmax(0,1.6fr);gap:18px}.se07-summaries{gap:12px}.studio-electrical .se07-summary-panel>h3{font-size:16px;padding-inline:12px}.se07-summary-panel dl{padding-inline:12px}.se07-equation-body{gap:14px;padding:10px 14px}.se07-formula{font-size:23px;min-width:245px;padding-inline:12px}.se07-state{font-size:14px}.se07-actions{gap:10px}.studio-electrical .se07-actions :is(button,a){min-width:125px;font-size:13px;padding-inline:12px}}
@media(max-width:1000px){.se07-layout{grid-template-columns:minmax(190px,.55fr) minmax(0,1.6fr);gap:15px}.se07-equation-body{flex-wrap:wrap;gap:10px}.se07-formula{flex-basis:100%;padding:11px}.studio-electrical .se07-equation-body>p{border-left:0;padding:0;flex-basis:100%;font-size:11px}.se07-summaries{gap:9px}.se07-summary-panel dl>div{font-size:11px;gap:6px}.se07-footer{flex-wrap:wrap}.se07-actions{margin-left:auto}.se07-state{flex-basis:100%}.studio-electrical .se07-summary-panel>h3{font-size:15px}}
@media(max-width:760px){.se07-design-reference{justify-content:flex-start;flex-wrap:wrap;gap:7px;font-size:12px;margin-bottom:10px}.se07-design-reference>span{padding-left:10px}.se07-layout{grid-template-columns:minmax(0,1fr)}.se07-assembly{padding:0}.se07-assembly-crop{max-width:290px}.se07-single-assembly{max-width:270px}.se07-assembly figcaption{margin-top:5px}.se07-summaries{gap:10px}.se07-formula{flex-basis:auto}.studio-electrical .se07-equation-body>p{flex-basis:40%;padding-left:10px;border-left:1px solid var(--se07-line)}.se07-more{grid-template-columns:minmax(0,1fr)}.studio-electrical .se07-equation>h2,.studio-electrical .se07-schedule>h2{font-size:21px}}
@media(max-width:520px){.se07-summaries{grid-template-columns:minmax(0,1fr)}.studio-electrical .se07-summary-panel>h3{font-size:18px}.se07-summary-panel dl>div{font-size:13px}.se07-design-reference>span{border:0;padding:0;flex-basis:100%}.se07-equation-body{display:block}.se07-formula{min-width:0;font-size:24px;margin-bottom:10px}.studio-electrical .se07-equation-body>p{border:0;padding:0}.se07-actions{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.studio-electrical .se07-actions :is(button,a){min-width:0;width:100%;font-size:13px}.se07-table-scroll{margin-inline:10px}.se07-calculations{gap:13px}}
@media(prefers-reduced-motion:reduce){.studio-electrical *{transition:none!important;scroll-behavior:auto!important}}

/* R09: the approved 2D composition, with a single Studio page scroller. */
html:has(.studio-workspace-r06),body:has(.studio-workspace-r06){overflow:hidden!important}
.ss09-workspace{min-width:0;width:100%;height:auto;overflow:visible;color:var(--sr06-ink);font-size:14px}
.ss09-workspace :is(button,summary,a){touch-action:manipulation}
.ss09-workspace button{font:inherit;min-height:44px;border:1px solid var(--sr06-line);border-radius:7px;background:var(--sr06-paper);color:var(--sr06-ink);padding:8px 12px;cursor:pointer}
.ss09-workspace button:disabled{opacity:.45;cursor:default}
.ss09-workspace button:hover:not(:disabled){border-color:var(--sr06-teal);background:var(--sr06-tint)}
.ss09-workspace :is(button,summary,a,[tabindex]):focus-visible{outline:2px solid var(--sr06-teal);outline-offset:3px}
.ss09-intro{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px}
.ss09-intro p{font-size:14px;margin:0 0 7px;color:var(--sr06-muted)}
.ss09-sync{font-size:12px;color:var(--sr06-teal);display:inline-flex;align-items:center;gap:7px;flex-wrap:wrap}
.ss09-sync i{height:7px;width:7px;flex:0 0 auto;border-radius:50%;background:var(--sr06-teal)}
.ss09-tools{display:flex;flex:0 0 auto;gap:0;align-items:stretch}
.ss09-tools>button{border-radius:0;font-size:13px;white-space:nowrap;margin-right:-1px}
.ss09-tools>button:first-child{border-radius:8px 0 0 8px}.ss09-tools>button:nth-child(3){border-radius:0 8px 8px 0}
.ss09-tools>button span{font-size:19px;vertical-align:middle;margin-right:4px}
.ss09-layers{position:relative;margin-left:8px}
.ss09-layers>summary{list-style:none;min-height:44px;display:flex;align-items:center;gap:8px;border:1px solid var(--sr06-line);border-radius:8px;padding:8px 13px;cursor:pointer;background:var(--sr06-paper);font-size:13px}
.ss09-layers>summary:after{content:'⌄';margin-left:7px}
.ss09-layers>fieldset{position:absolute;z-index:4;right:0;top:45px;min-width:190px;margin:0;padding:9px 14px;background:var(--sr06-paper);border:1px solid var(--sr06-line);border-radius:8px;box-shadow:0 6px 18px #13253d14}
.ss09-layers label{display:flex;align-items:center;gap:10px;min-height:44px;font-size:13px}.ss09-layers input{width:18px;height:18px;accent-color:var(--sr06-teal)}
.ss09-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:20px;align-items:start;min-width:0}
.ss09-drawing-column,.ss09-sidebar{min-width:0;height:auto;max-height:none;overflow:visible}
.ss09-sheet-heading{display:flex;justify-content:space-between;gap:16px;align-items:center;flex-wrap:wrap;color:var(--sr06-muted);font-size:12px;padding:11px 15px;border:1px solid var(--sr06-line);border-bottom:0;border-radius:9px 9px 0 0;background:var(--sr06-surface)}
.ss09-sheet-heading strong{color:var(--sr06-ink);font-weight:600;font-variant-numeric:tabular-nums}
.ss09-diagram-scroll{width:100%;min-width:0;height:auto;max-height:none;overflow-x:auto;overflow-y:hidden;border:1px solid var(--sr06-line);border-radius:0 0 9px 9px;background:var(--sr06-paper);touch-action:pan-x pan-y pinch-zoom}
.ss09-diagram{display:block;height:auto;max-width:none;min-height:0;overflow:visible;color:var(--sr06-ink);font-family:inherit}
.ss09-diagram path,.ss09-legend svg path{fill:none;stroke:currentColor;stroke-width:2.5;stroke-linejoin:round;stroke-linecap:round}
.ss09-diagram .ss09-core{stroke-width:4}
.ss09-side-heading{fill:var(--sr06-tint);stroke:#7bc8c2;stroke-width:1}
.ss09-side-label{fill:var(--sr06-ink);font-size:24px;font-weight:700}
.ss09-circuit-name{fill:var(--sr06-ink);font-size:20px;font-weight:650}
.ss09-circuit-rating{fill:var(--sr06-ink);font-size:19px;font-weight:600;font-variant-numeric:tabular-nums}
.ss09-note{fill:var(--sr06-muted);font-size:15px;font-variant-numeric:tabular-nums}
.ss09-terminal{fill:var(--sr06-paper);stroke:var(--sr06-teal);stroke-width:3.5}
.ss09-terminal-label{fill:var(--sr06-ink);font-size:16px;font-weight:600}
.ss09-junction{fill:var(--sr06-ink);stroke:none}
.ss09-drawing-help,.ss09-caption{color:var(--sr06-muted);font-size:12px;line-height:1.6;margin:10px 2px}
.ss09-caption{padding-top:10px;border-top:1px solid var(--sr06-line)}
.ss09-card{border:1px solid var(--sr06-line);border-radius:9px;margin-bottom:16px;background:var(--sr06-paper);overflow:visible}
.ss09-card>h2{font-size:19px;font-weight:700;margin:0;padding:12px 15px;background:var(--sr06-surface);border-bottom:1px solid var(--sr06-line);border-radius:9px 9px 0 0}
.ss09-card-status{display:block;padding:10px 15px 0;font-size:11px;color:var(--sr06-teal);font-weight:600}
.ss09-specification dl{margin:5px 15px 12px;font-size:12px;font-variant-numeric:tabular-nums}
.ss09-spec-row{display:grid;grid-template-columns:80px minmax(0,1fr);gap:10px;padding:9px 0;border-bottom:1px solid var(--sr06-line)}
.ss09-spec-row:last-child{border:0}.ss09-spec-row dt{font-weight:650}.ss09-spec-row dd{margin:0;min-width:0;overflow-wrap:anywhere;text-transform:none}
.ss09-spec-circuit{display:flex;flex-direction:column;gap:4px;line-height:1.5}.ss09-spec-circuit+.ss09-spec-circuit{padding-top:9px;margin-top:9px;border-top:1px dashed var(--sr06-line)}
.ss09-spec-circuit strong{font-weight:650}.ss09-spec-circuit span:last-child{color:var(--sr06-muted)}
.ss09-specification .ss09-edit{font-size:12px;color:var(--sr06-teal);margin:0 15px 14px}
.ss09-save-actions{padding:0 15px 15px;display:flex;flex-direction:column;gap:8px}.ss09-save-actions>div{display:flex;flex-direction:column;gap:8px}
.ss09-legend>div{margin:0 15px;padding:9px 0;display:grid;grid-template-columns:65px minmax(0,1fr);align-items:center;gap:13px;border-bottom:1px solid var(--sr06-line);font-size:12px}
.ss09-legend svg{display:block;width:65px;height:26px;color:var(--sr06-ink)}
.ss09-legend>p,.ss09-ai>p{font-size:12px;line-height:1.6;color:var(--sr06-muted);margin:13px 15px}
.ss09-ai>button{display:block;margin:10px 15px;max-width:calc(100% - 30px);font-size:12px}
.ss09-ai .ss09-ai-button{background:var(--sr06-teal);border-color:var(--sr06-teal);color:#fff;width:calc(100% - 30px);font-weight:650}
.ss09-ai>[role=alert]{color:#a63a34}.ss09-ai>[role=status]{color:var(--sr06-teal)}
.ss09-ai>a{display:inline-flex;align-items:center;min-height:44px;margin:0 15px;font-size:12px;color:var(--sr06-teal)}
.ss09-ai>small{display:block;font-size:11px;line-height:1.6;color:var(--sr06-muted);margin:0 15px 15px}
.ss09-review{padding:14px 16px;background:var(--sr06-surface);border-left:3px solid #bf8b43;margin-top:16px;font-size:12px;line-height:1.6}
.ss09-review h2{font-size:15px;margin:0 0 7px}.ss09-review ul{margin:0 0 8px;padding-left:18px}.ss09-review button{font-size:12px}
.ss09-pagination{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;border:1px solid var(--sr06-line);padding:9px 12px;font-size:12px}
.ss09-pagination button{font-size:12px}
@container studio (max-width:1100px){.ss09-intro{align-items:flex-start;flex-direction:column;gap:13px}.ss09-layout{grid-template-columns:minmax(0,1fr) 290px;gap:15px}}
@container studio (max-width:800px){.ss09-layout{grid-template-columns:minmax(0,1fr)}.ss09-sidebar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start}.ss09-ai{grid-column:1/-1}.ss09-card{margin:0}.ss09-intro{margin-bottom:14px}}
@container studio (max-width:520px){.ss09-sidebar{display:flex;flex-direction:column;gap:14px}.ss09-sidebar>.ss09-card{width:100%}.ss09-tools{width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));row-gap:8px}.ss09-tools>button{font-size:12px;padding:7px 5px}.ss09-layers{grid-column:1/-1;margin:0}.ss09-layers>summary{justify-content:center}.ss09-layers>fieldset{width:100%}.ss09-intro p{font-size:13px;line-height:1.6}.ss09-sheet-heading{font-size:11px;padding:10px}.ss09-pagination{flex-direction:column;align-items:stretch}.ss09-pagination>span{text-align:center}.ss09-specification dl{font-size:13px}.ss09-card>h2{font-size:18px}}
@media(prefers-reduced-motion:reduce){.ss09-workspace *{scroll-behavior:auto}}

.ss09-diagram[data-stacked=true] .ss09-terminal-label{font-size:18px}

/* R10 Catalog: the approved filter / model list / selected transformer composition. */
.sc10-catalog{display:grid;grid-template-columns:290px minmax(0,1fr) 455px;grid-template-areas:'filters results selected';gap:18px;width:100%;min-width:0;align-items:start;color:var(--sr06-ink);font-size:15px}
.sc10-catalog *{box-sizing:border-box}
.sc10-catalog :is(button,input,select){font:inherit}
.sc10-catalog button{cursor:pointer;min-height:34px;border:1px solid var(--sr06-line);border-radius:7px;padding:7px 11px;background:var(--sr06-paper);color:var(--sr06-ink)}
.sc10-catalog button:disabled{opacity:.45;cursor:default}
.sc10-catalog button:hover:not(:disabled){border-color:var(--sr06-teal);background:var(--sr06-tint)}
.sc10-catalog :is(button,input,select,summary,a):focus-visible{outline:2px solid var(--sr06-teal);outline-offset:3px}
.sc10-catalog svg{width:23px;height:23px;flex:0 0 auto;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.sc10-filters,.sc10-results,.sc10-selected{min-width:0;height:auto;max-height:none;overflow:visible;border:1px solid var(--sr06-line);border-radius:10px;background:var(--sr06-paper)}
.sc10-filters{grid-area:filters;padding:11px}
.sc10-filters>header{display:flex;align-items:center;gap:6px;padding:0 5px 10px}
.sc10-filters h2,.sc10-selected h2{font-size:23px;font-weight:750;line-height:1.2;margin:0;color:var(--sr06-ink)}
.sc10-filters .sc10-reset{margin-left:auto;display:inline-flex;align-items:center;gap:5px;min-height:34px;border:0;background:transparent;color:var(--sr06-teal);font-size:13px;white-space:nowrap;padding:4px}
.sc10-reset svg{width:18px;height:18px}.sc10-mobile-filters{display:none}
.sc10-filter-group{border:1px solid var(--sr06-line);border-radius:8px;background:linear-gradient(180deg,var(--sr06-paper),var(--sr06-surface));padding:5px 12px 6px;margin:0 0 7px}
.sc10-filter-group>summary{display:flex;justify-content:space-between;align-items:center;list-style:none;min-height:25px;font-size:16px;font-weight:700;cursor:pointer;gap:10px}
.sc10-filter-group>summary::-webkit-details-marker{display:none}
.sc10-filter-group>summary>span{font-size:21px;line-height:1;font-weight:400}
.sc10-filter-group:not([open])>summary>span{transform:rotate(-90deg)}
.sc10-check{display:flex;gap:7px;align-items:center;min-height:25px;line-height:1.35;font-size:14px;cursor:pointer}
.sc10-check input{width:18px;height:18px;flex:0 0 auto;margin:0;accent-color:var(--sr06-teal)}
.sc10-check input:disabled+span{opacity:.45}.sc10-check span{min-width:0}.sc10-check small{display:inline;margin-left:5px;color:var(--sr06-muted);font-size:10px;white-space:nowrap}
.sc10-family,.sc10-exact>label{display:flex;flex-direction:column;gap:5px;font-size:13px;font-weight:600;margin:10px 2px 8px}
.sc10-catalog select{min-width:0;max-width:100%;border:1px solid var(--sr06-line);border-radius:6px;padding:8px;background:var(--sr06-paper);color:var(--sr06-ink);font-size:13px;min-height:35px}
.sc10-family select{width:100%}.sc10-exact{margin:10px 3px 3px;font-size:11px;color:var(--sr06-muted)}.sc10-exact summary{cursor:pointer;line-height:1.5}
.sc10-exact .sc10-check{font-size:12px;margin-top:10px}
.sc10-results{grid-area:results;padding:11px 10px 0}
.sc10-toolbar{display:flex;align-items:stretch;gap:14px;margin-bottom:15px;min-width:0}
.sc10-search{display:flex;flex:1;min-width:100px;align-items:center;gap:10px;padding:8px 12px;border:1px solid var(--sr06-line);border-radius:7px;background:var(--sr06-paper);color:var(--sr06-muted)}
.sc10-search svg{width:20px;height:20px}.sc10-search input{border:0;outline:none;min-width:0;width:100%;background:transparent;color:var(--sr06-ink);font-size:14px;min-height:29px;padding:0}
.sc10-search input::placeholder{color:var(--sr06-muted);opacity:1}
.sc10-sort{display:flex;flex:0 0 auto;align-items:center;border:1px solid var(--sr06-line);border-radius:7px;padding:0 5px 0 12px;background:var(--sr06-surface);font-size:12px}
.sc10-sort select{border:0;background:transparent;font-size:12px;padding-left:4px;max-width:185px}
.sc10-table-wrap{width:100%;min-width:0;overflow:visible}
.sc10-table{width:100%;table-layout:fixed;border-collapse:separate;border-spacing:0;font-size:14px;text-align:left}
.sc10-table thead th{background:var(--sr06-surface);font-weight:700;padding:12px 8px;font-size:13px}
.sc10-table thead th:first-child{width:28%;border-radius:7px 0 0 0}.sc10-table thead th:nth-child(2){width:32%}.sc10-table thead th:nth-child(3){width:14%}.sc10-table thead th:nth-child(4){width:12%}.sc10-table thead th:last-child{width:14%;border-radius:0 7px 0 0}
.sc10-table thead button{border:0;background:transparent;padding:0;font-size:13px;font-weight:700;min-height:20px;text-align:left}
.sc10-table tbody tr{height:70px}
.sc10-table tbody :is(td,th){border-bottom:1px solid var(--sr06-line);padding:11px 8px;vertical-align:middle;min-width:0;font-weight:400;overflow-wrap:anywhere}
.sc10-table tbody tr.is-selected :is(td,th){background:var(--sr06-tint)}
.sc10-table tbody tr.is-selected th{border-radius:7px 0 0 7px}.sc10-table tbody tr.is-selected td:last-child{border-radius:0 7px 7px 0}
.sc10-table .sc10-model{display:flex;align-items:center;gap:10px;text-align:left;padding:0;border:0;background:transparent;width:100%;min-height:38px;line-height:1.45;min-width:0}
.sc10-model>svg{width:25px;height:25px;color:var(--sr06-teal)}.sc10-model strong{font-size:15px;font-weight:700;overflow-wrap:anywhere}
.sc10-description{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.45}
.sc10-table td>small{display:block;color:var(--sr06-muted);font-size:10px;line-height:1.5;margin-top:4px;font-variant-numeric:tabular-nums}
.sc10-voltage-warning{display:inline-block;font-size:10px;color:#996b24;margin-top:4px}
.sc10-table .sc10-select{display:block;width:100%;min-width:0;min-height:32px;padding:5px 6px;white-space:nowrap;font-size:13px;font-weight:650;color:var(--sr06-teal);border-color:var(--sr06-teal);background:var(--sr06-paper)}
.sc10-table tr.is-selected .sc10-select{background:var(--sr06-teal);color:#fff}
.sc10-pagination{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:54px;padding:9px 3px;font-size:11px;color:var(--sr06-muted)}
.sc10-pagination>div{display:flex;align-items:center;gap:7px}.sc10-pagination button{font-size:18px;min-width:32px;min-height:30px;padding:0 6px}
.sc10-exact-chips{display:flex;flex-wrap:wrap;gap:6px;margin:-4px 0 10px}.sc10-exact-chips button{font-size:11px;min-height:27px;padding:4px 7px;background:var(--sr06-tint);border-color:var(--sr06-teal);color:var(--sr06-teal)}
.sc10-selected{grid-area:selected}
.sc10-selected>header{padding:14px 18px 12px;background:var(--sr06-surface);border-radius:10px 10px 0 0}
.sc10-selected figure{margin:0;padding:12px 18px 0}
.sc10-selected figure img{display:block;width:100%;height:315px;object-fit:contain;object-position:center}
.sc10-selected figcaption{text-align:center;color:var(--sr06-muted);font-size:10px;line-height:1.4;margin:3px 0 7px}
.sc10-selected-body{padding:4px 18px 16px}
.sc10-selected-body h3{margin:5px 0;font-size:26px;font-weight:750;line-height:1.25;overflow-wrap:anywhere}
.sc10-selected-description{margin:4px 0 15px;font-size:16px;line-height:1.45;color:var(--sr06-muted);overflow-wrap:anywhere}
.sc10-selected-body dl{margin:0 0 21px;border-top:1px solid var(--sr06-line);font-size:14px}
.sc10-selected-body dl>div{display:grid;grid-template-columns:1.08fr minmax(0,1fr);gap:12px;border-bottom:1px solid var(--sr06-line);min-height:42px;align-items:center;padding:8px 0}
.sc10-selected dt{display:flex;gap:13px;align-items:center;line-height:1.5}.sc10-selected dt svg{color:var(--sr06-teal);width:23px;height:23px}
.sc10-selected dd{margin:0;line-height:1.5;overflow-wrap:anywhere}
.sc10-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.sc10-actions button{display:flex;align-items:center;justify-content:center;gap:10px;min-height:49px;border-color:var(--sr06-teal);color:var(--sr06-teal);font-size:16px;font-weight:650;white-space:nowrap}
.sc10-actions .sc10-primary{background:var(--sr06-teal);color:#fff}.sc10-actions .sc10-primary:hover:not(:disabled){background:#007e79;color:#fff}.sc10-primary span{font-size:24px;font-weight:400;line-height:1}
.sc10-selected .sc10-preview{display:block;width:100%;border:0;font-size:12px;margin-top:8px;min-height:32px;color:var(--sr06-teal);background:transparent}
.sc10-source{font-size:11px;color:var(--sr06-muted);margin-top:6px;line-height:1.5}.sc10-source summary{cursor:pointer}.sc10-source small{display:block;overflow-wrap:anywhere;font-size:10px}.sc10-source button{margin-top:8px;font-size:12px}
.sc10-review{border-left:3px solid #ba884a;padding:8px 11px;background:var(--sr06-surface);font-size:12px;line-height:1.6}
.sc10-error{font-size:12px;line-height:1.6;color:#a34239}.sc10-loading,.sc10-empty{padding:35px 18px;min-height:300px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;text-align:center;color:var(--sr06-muted);font-size:14px}
.sc10-loading>span{font-size:12px}.sc10-empty h3{font-size:18px;margin:0}.sc10-empty p{margin:0;line-height:1.6}
.sc10-selected-empty{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:18px;padding:45px 24px;min-height:420px;color:var(--sr06-muted);text-align:center;line-height:1.6}.sc10-selected-empty svg{width:72px;height:72px;color:var(--sr06-teal);opacity:.35}
@container studio (max-width:1600px){.sc10-catalog{grid-template-columns:245px minmax(0,1fr) 365px;gap:14px}.sc10-toolbar{gap:8px;flex-wrap:wrap}.sc10-search{flex-basis:220px}.sc10-sort{margin-left:auto;min-height:37px}.sc10-selected figure img{height:265px}.sc10-selected-body{padding:4px 14px 14px}.sc10-selected-body h3{font-size:23px}.sc10-selected-description{font-size:14px}.sc10-actions{gap:8px}.sc10-actions button{font-size:13px;gap:6px}.sc10-selected-body dl{font-size:12px}.sc10-filters{padding:9px}.sc10-filter-group{padding-inline:9px}.sc10-check{font-size:13px}.sc10-check small{font-size:9px}.sc10-table thead th{font-size:12px;padding-inline:6px}.sc10-model strong{font-size:13px}.sc10-model>svg{width:21px;height:21px}.sc10-table .sc10-model{gap:6px}.sc10-table{font-size:12px}.sc10-table .sc10-select{font-size:11px;padding-inline:3px}}
@container studio (max-width:1300px){.sc10-catalog{grid-template-columns:245px minmax(0,1fr);grid-template-areas:'filters results' 'filters selected'}.sc10-selected figure img{height:270px}.sc10-selected{display:grid;grid-template-columns:1fr 1fr}.sc10-selected>header{grid-column:1/-1}.sc10-selected figure{align-self:start}.sc10-selected-body{padding-top:15px}.sc10-selected h2,.sc10-filters h2{font-size:21px}.sc10-table{font-size:13px}.sc10-model strong{font-size:14px}.sc10-results{padding-inline:9px}}
@container studio (max-width:850px){.sc10-catalog{grid-template-columns:minmax(0,1fr);grid-template-areas:'filters' 'results' 'selected';gap:14px}.sc10-filters>header{padding:2px 4px}.sc10-filters .sc10-mobile-filters{display:inline-flex;min-height:38px;font-size:13px;margin-left:5px}.sc10-filter-body{display:none}.sc10-filters[data-open=true] .sc10-filter-body{display:block;margin-top:12px}.sc10-filter-group>summary{min-height:36px}.sc10-check{min-height:44px;font-size:15px;gap:10px}.sc10-check input{height:20px;width:20px}.sc10-check small{font-size:11px}.sc10-family select,.sc10-exact select{min-height:44px;font-size:16px}.sc10-family{font-size:14px}.sc10-exact{font-size:13px}.sc10-exact .sc10-check{font-size:14px}.sc10-selected{display:block}.sc10-selected figure img{height:300px}.sc10-selected-body{padding:6px 17px 15px}.sc10-selected-body h3{font-size:25px}.sc10-selected-body dl{font-size:14px}.sc10-selected-description{font-size:15px}.sc10-actions button{font-size:15px;min-height:48px}.sc10-selected .sc10-preview{min-height:44px}.sc10-source{font-size:12px}.sc10-source>summary{min-height:36px;display:flex;align-items:center}.sc10-results{padding:10px}.sc10-toolbar{margin-bottom:10px}.sc10-search{flex-basis:100%;min-height:46px}.sc10-search input{font-size:16px}.sc10-sort{width:100%;justify-content:space-between;min-height:44px;font-size:13px}.sc10-sort select{flex:1;max-width:none;font-size:14px;min-height:42px}.sc10-table,.sc10-table tbody{display:block;width:100%}.sc10-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.sc10-table tbody tr{height:auto;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px;padding:14px 11px;border:1px solid var(--sr06-line);border-radius:8px;margin-bottom:10px;background:var(--sr06-paper)}.sc10-table tbody tr.is-selected{background:var(--sr06-tint);border-color:var(--sr06-teal)}.sc10-table tbody :is(td,th){display:block;border:0;padding:0;min-width:0;background:none!important;font-size:14px}.sc10-table tbody th{grid-column:1/-1}.sc10-table td[data-label=Description]{grid-column:1/-1}.sc10-table td[data-label=Configuration],.sc10-table td[data-label=Enclosure]{grid-column:1}.sc10-table td[data-label=Configuration]:before,.sc10-table td[data-label=Enclosure]:before{content:attr(data-label) ': ';font-weight:600}.sc10-table td.sc10-select-cell{grid-column:2;grid-row:3/span 2;align-self:center}.sc10-table .sc10-select{min-height:44px;font-size:14px;padding:8px 12px}.sc10-table .sc10-model{gap:11px;min-height:42px}.sc10-model strong{font-size:17px}.sc10-model>svg{width:27px;height:27px}.sc10-table td>small{font-size:12px}.sc10-description{font-size:14px}.sc10-pagination{font-size:12px;flex-wrap:wrap;justify-content:center;gap:12px}.sc10-pagination button{min-height:44px;min-width:44px}.sc10-source button{min-height:44px}.sc10-exact-chips button{min-height:38px;font-size:12px}.sc10-selected-empty{min-height:260px}.sc10-voltage-warning{font-size:12px}}
@media(prefers-reduced-motion:reduce){.sc10-catalog *{scroll-behavior:auto}}

.sc10-enclosure-preview {
 display:flex;
 align-items:center;
 justify-content:space-between;
 flex-wrap:wrap;
 gap:6px 10px;
 margin:10px 0 8px;
 padding:7px 9px;
 border:1px solid var(--sr06-line);
 border-radius:7px;
 background:var(--sr06-surface);
 color:var(--sr06-ink);
 font-size:12px;
 font-weight:700;
}
.sc10-enclosure-preview select {
 flex:1 1 auto;
 min-width:104px;
 min-height:33px;
 border:1px solid var(--sr06-line);
 border-radius:5px;
 padding:4px 8px;
 background:var(--sr06-paper);
 color:var(--sr06-ink);
 font:inherit;
}

/* R11: stable interactive model and the approved engineering-tab composition. */
.studio-workspace-r06 .sr06-design-body[data-design-view=mechanical] .fabrication-viewport{flex:0 0 auto;height:auto;min-height:0;overflow:hidden}
.studio-workspace-r06 .sr06-design-body[data-design-view=mechanical] .fabrication-model-layout{flex:0 0 auto;min-height:0;align-items:start}
.studio-workspace-r06 .sr06-design-body[data-design-view=mechanical] .fabrication-canvas{height:clamp(440px,58vh,720px);min-height:440px}
.studio-workspace-r06 .sr06-design-body[data-design-view=mechanical] .fabrication-webgl{position:absolute;inset:0}
.studio-workspace-r06 .sr06-design-body[data-design-view=mechanical] .fabrication-parts{height:auto;min-height:0}
.fabrication-viewport .si11-touch-toggle{display:none}
.fabrication-viewport .fabrication-view-tools>div{flex-wrap:wrap;max-width:100%;min-width:0}
.si11-exit-interaction{position:absolute;right:12px;bottom:12px;z-index:3;min-height:44px;border:1px solid #008e88;border-radius:7px;padding:8px 12px;background:#fff;color:#007f7a;font:inherit;cursor:pointer}
.si11-render-status{position:absolute;inset:40% 10% auto;text-align:center;padding:12px;color:var(--sr06-muted,#5b7185);font-size:14px;pointer-events:none}
.fabrication-viewport .fabrication-render-error{z-index:2;left:8%;right:8%;top:26%;border:1px solid var(--sr06-line,#c3d2e0);border-radius:8px;text-align:center;font-size:13px;line-height:1.5}
.fabrication-render-error button{min-height:40px;padding:8px 14px;border:1px solid #008e88;border-radius:6px;color:#008e88;background:#fff;font:inherit;cursor:pointer}
.studio-electrical .se07-assembly{overflow:hidden;isolation:isolate;align-self:start}
.studio-electrical .se07-assembly :is(.se07-assembly-crop,.se07-single-assembly){max-width:100%;flex-shrink:0}
.sp11-panel{--fab-ink:var(--sr06-ink);--fab-muted:var(--sr06-muted);--fab-line:var(--sr06-line);--fab-paper:var(--sr06-paper);--fab-soft:var(--sr06-surface);padding:0;background:transparent;color:var(--sr06-ink);min-width:0;font-size:14px}
.sp11-panel *{box-sizing:border-box}
.sp11-panel :is(h2,h3,p,figure){margin:0}
.sp11-panel :is(dt,dd,td,th,output,select,button,p){text-transform:none}
.studio-workspace-r06 .sp11-panel h2{font-size:24px;line-height:1.3;font-weight:750}
.studio-workspace-r06 .sp11-panel .sp11-winding-summary>h2{font-size:20px}
.sp11-core-composition,.sp11-wire-composition{position:relative;width:100%;height:280px}
.sp11-core-composition>.studio-part-picture:first-child{position:absolute;left:2%;top:0;width:80%;height:90%}
.sp11-core-composition>.studio-part-picture:last-child{position:absolute;right:0;bottom:0;width:72%;height:32%;transform:rotate(-4deg)}
.sp11-wire-composition>.studio-part-picture:first-child{position:absolute;left:0;top:0;width:75%;height:90%}
.sp11-wire-composition>.studio-part-picture:last-child{position:absolute;right:0;bottom:0;width:48%;height:62%}

.sp11-panel :is(h2,h3){color:var(--sr06-ink);font-weight:750;letter-spacing:-.25px}
.sp11-panel :is(button,select,input){font:inherit}
.sp11-panel button{display:inline-flex;justify-content:center;align-items:center;gap:10px;border:1px solid var(--sr06-teal);background:var(--sr06-paper);color:var(--sr06-teal);border-radius:7px;min-height:42px;padding:8px 15px;cursor:pointer;font-weight:650}
.sp11-panel button:disabled{opacity:.45;cursor:default}
.sp11-panel button:hover:not(:disabled){background:var(--sr06-tint)}
.sp11-panel :is(button,select,input,summary,a,[tabindex]):focus-visible{outline:2px solid var(--sr06-teal);outline-offset:3px}
.sp11-panel svg:not(.studio-part-picture){width:29px;height:29px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;color:var(--sr06-teal);flex-shrink:0}
.sp11-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:43px;margin-bottom:16px;flex-wrap:wrap}
.sp11-toolbar>button{margin-left:auto}.sp11-toolbar svg:not(.studio-part-picture){width:21px;height:21px}
.sp11-status{font-size:12px;color:var(--sr06-muted);padding:6px 0}
.sp11-card{min-width:0;border:1px solid var(--sr06-line);border-radius:10px;background:var(--sr06-paper);overflow:hidden}
.sp11-card>h2,.sp11-card>h3{padding:11px 16px;background:var(--sr06-surface);font-size:20px;line-height:1.3}
.sp11-definitions{margin:0;padding:3px 16px 12px;min-width:0}
.sp11-definitions>div{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:baseline;gap:12px;border-bottom:1px solid var(--sr06-line);padding:7px 0;line-height:1.5;min-width:0}
.sp11-definitions dt{font-weight:650;overflow-wrap:anywhere}.sp11-definitions dd{margin:0;overflow-wrap:anywhere}
.sp11-panel .sp11-caption{font-size:12px;line-height:1.6;color:var(--sr06-muted);margin:12px 2px}
.sp11-panel .sp11-details{border:1px solid var(--sr06-line);border-radius:8px;background:var(--sr06-paper);padding:11px 15px;margin:16px 0;color:var(--sr06-ink);font-size:13px;line-height:1.6;min-width:0}
.sp11-details>summary{cursor:pointer;font-weight:650;color:var(--sr06-muted);min-height:25px}.sp11-details[open]>summary{margin-bottom:12px}
.sp11-details>.fabrication-assumptions{margin:12px 0}
.sp11-bom-layout{display:grid;grid-template-columns:minmax(300px,.64fr) minmax(0,1.78fr);gap:20px;align-items:start}
.sp11-bom-reference{display:flex;flex-direction:column;gap:15px;min-width:0}
.sp11-bom-reference .fabrication-viewport{border-color:var(--sr06-line)}
.sp11-bom-reference .fabrication-viewport .fabrication-canvas{height:340px;min-height:340px}
.sp11-bom-reference .fabrication-caption{font-size:10px}
.sp11-winding-summary .sp11-definitions{font-size:12px}.sp11-winding-summary>p{padding:12px 16px;color:var(--sr06-muted);font-size:12px;line-height:1.5}
.sp11-bom-table-wrap{overflow-x:auto;max-width:100%;height:auto;max-height:none;padding:0 12px 15px;scrollbar-width:thin}
.sp11-bom-table{border-collapse:separate;border-spacing:0;width:100%;min-width:900px;table-layout:fixed;text-align:left;font-size:13px;line-height:1.55}
.sp11-bom-table :is(th,td){padding:12px 9px;border-bottom:1px solid var(--sr06-line);vertical-align:middle;overflow-wrap:anywhere;font-weight:450}
.sp11-bom-table thead th{background:var(--sr06-surface);font-weight:750;font-size:14px;white-space:normal}
.sp11-bom-table th:first-child{width:8%}.sp11-bom-table th:nth-child(2){width:13%}.sp11-bom-table th:nth-child(3){width:17%}.sp11-bom-table th:nth-child(4){width:25%}.sp11-bom-table th:nth-child(5){width:8%}.sp11-bom-table th:nth-child(6){width:6%}.sp11-bom-table th:last-child{width:23%}
.sp11-bom-table tbody th{font-size:12px;font-weight:550}.sp11-bom-table strong{font-weight:750;font-size:15px}
.sp11-bom-table .studio-part-picture{display:block;width:100%;height:73px;max-width:82px;object-fit:contain}
.sp11-bom-table .sp11-quantity{font-variant-numeric:tabular-nums;font-weight:600;white-space:nowrap}
.sp11-bom-table tbody tr:last-child :is(th,td){border-bottom:0}.sp11-empty{padding:35px 20px;text-align:center;line-height:1.6;color:var(--sr06-muted)}
.sp11-thermal-layout{display:grid;grid-template-columns:minmax(0,1.28fr) minmax(410px,1fr);gap:27px;align-items:start}
.sp11-thermal-model,.sp11-thermal-controls{min-width:0}
.sp11-thermal-model .fabrication-viewport .fabrication-canvas{height:clamp(460px,56vh,700px);min-height:460px}
.sp11-thermal-model .fabrication-viewport{border-color:var(--sr06-line)}
.sp11-temperature-scale{display:flex;gap:20px;align-items:center;margin:15px 5px;color:var(--sr06-ink);font-size:13px;line-height:1.5}
.sp11-temperature-scale>strong{font-weight:650;flex-shrink:0}.sp11-temperature-scale>div{display:flex;flex:1;flex-wrap:wrap;justify-content:space-between;min-width:0;gap:6px}
.sp11-temperature-scale i{display:block;width:100%;height:18px;border-radius:20px;background:linear-gradient(90deg,#0654ff,#00c6ff,#04d5a2,#cbe731,#ffcf00,#ff5f00)}
.sp11-temperature-scale span{font-size:12px}
.sp11-thermal-input{display:grid;grid-template-columns:45px minmax(125px,1fr) minmax(170px,1.3fr);align-items:center;gap:14px;border:1px solid var(--sr06-line);border-radius:10px;background:var(--sr06-paper);padding:16px 18px;margin-bottom:12px;min-height:100px}
.sp11-thermal-input>svg:not(.studio-part-picture){width:45px;height:45px;padding:6px;background:var(--sr06-tint);border-radius:9px}
.sp11-thermal-input h2{font-size:22px;line-height:1.3}.sp11-thermal-input .fabrication-input{font-size:12px;line-height:1.5;color:var(--sr06-ink)}
.sp11-thermal-input .fabrication-input input{font-size:17px;min-height:43px;border-radius:7px;padding:8px 12px}
.sp11-load{display:grid;grid-template-columns:minmax(0,1fr) 65px;gap:6px 12px;font-size:12px;line-height:1.4}
.sp11-load input{grid-row:2;grid-column:1;accent-color:var(--sr06-teal);width:100%;min-width:0}
.sp11-load output{grid-column:2;grid-row:2;border:1px solid var(--sr06-line);border-radius:6px;background:var(--sr06-paper);padding:7px 5px;font-size:17px;font-variant-numeric:tabular-nums;text-align:center;white-space:nowrap}
.sp11-panel .sp11-thermal-paths{margin:9px 0 19px}.sp11-thermal-paths .fabrication-input-grid{grid-template-columns:repeat(3,minmax(0,1fr));padding-top:5px}.sp11-thermal-paths p{font-size:12px;line-height:1.6;color:var(--sr06-muted)}
.sp11-estimates{border-top:1px solid var(--sr06-line);padding-top:16px;margin-top:14px}
.sp11-estimates>h2{font-size:25px;margin-bottom:15px}.sp11-estimates>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.sp11-estimates>div>div{display:flex;flex-direction:column;align-items:center;text-align:center;border:1px solid var(--sr06-line);border-radius:10px;background:var(--sr06-paper);padding:17px 12px;min-height:180px;gap:12px}
.sp11-estimates svg:not(.studio-part-picture){height:40px;width:40px}.sp11-estimates h3{font-size:16px;font-weight:550;line-height:1.5;flex:1}.sp11-estimates output{font-size:25px;font-weight:750;font-variant-numeric:tabular-nums;line-height:1.3}
.sp11-panel .sp11-thermal-status{font-size:12px;line-height:1.7;color:var(--sr06-muted);border-left:3px solid var(--sr06-teal);padding:10px 13px;margin-top:15px;background:var(--sr06-paper)}
.sp11-thermal-status.unstable{border-color:#b46b32!important}
.sp11-reference-actions,.sp11-register-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.sp11-register-actions{margin-left:auto}
.sp11-panel .sp11-register-actions>button:first-child{background:var(--sr06-teal);color:white}
.sp11-panel .sp11-material-notice{display:flex;align-items:center;gap:12px;border:1px solid #e6bd62;border-radius:7px;background:#fff5db;color:#735012;font-size:14px;font-weight:650;line-height:1.5;padding:10px 16px;margin:4px 0 18px}
.sp11-material-notice svg:not(.studio-part-picture){width:24px;height:24px;color:#a76c1e}
.sp11-material-card{display:grid;grid-template-columns:minmax(220px,.58fr) minmax(0,1.85fr);gap:15px;border:1px solid var(--sr06-line);border-radius:12px;padding:14px 18px 16px 12px;margin-bottom:16px;background:var(--sr06-paper);min-width:0}
.sp11-material-photo{display:flex;align-items:center;justify-content:center;min-width:0;min-height:280px}.sp11-material-photo img{display:block;width:100%;height:280px;object-fit:contain}
.sp11-material-body{min-width:0}.sp11-material-body>header{display:flex;align-items:center;gap:22px;border-bottom:1px solid var(--sr06-line);padding:0 0 13px;flex-wrap:wrap}
.sp11-supplier{font-size:26px;font-style:italic;font-weight:850;line-height:1;letter-spacing:1px;color:#008e88;padding-right:23px;border-right:1px solid var(--sr06-line)}
.sp11-supplier.sp11-essex{color:#17315c;font-size:23px}
.sp11-material-body h2{font-size:25px;line-height:1.3}.sp11-material-body header p{font-size:13px;line-height:1.5;margin-top:3px}
.sp11-pending{margin-left:auto;display:inline-flex;align-items:center;justify-content:center;min-height:35px;border:1px solid #e6bd62;border-radius:7px;background:#fff5db;color:#8b5d17;font-size:12px;font-weight:650;padding:7px 13px;line-height:1.4}
.sp11-reference-picker{display:flex;align-items:center;gap:12px;margin:11px 0;color:var(--sr06-muted);font-size:12px}
.sp11-reference-picker select{padding:7px 10px;border:1px solid var(--sr06-line);border-radius:6px;background:var(--sr06-paper);color:var(--sr06-ink);max-width:100%;min-width:0;font-size:13px;min-height:36px}
.sp11-material-columns{display:grid;grid-template-columns:1.13fr 1fr 1.08fr;gap:15px;align-items:start;min-width:0}
.sp11-material-columns>.sp11-definitions{padding:0 14px 0 0;border-right:1px solid var(--sr06-line)}
.sp11-material-columns .sp11-definitions{font-size:12px;line-height:1.5}
.sp11-material-columns .sp11-definitions>div{padding:6px 0;gap:10px}
.sp11-material-columns .sp11-card{border-radius:7px;background:var(--sr06-surface)}
.sp11-material-columns .sp11-card>h3{font-size:15px;padding:7px 11px}
.sp11-material-columns .sp11-card .sp11-definitions{padding:0 11px 8px}
.sp11-material-columns .sp11-definitions>div:last-child{border-bottom:0}
.sp11-source-link{display:inline-block;color:var(--sr06-teal);font-size:12px;margin-top:9px;text-decoration:underline;line-height:1.6}
html[data-theme=dark] .sp11-panel :is(.sp11-material-notice,.sp11-pending){background:#3c3122;border-color:#8f713d;color:#ffe0a8}
html[data-theme=dark] .sp11-supplier.sp11-essex{color:#dce9ff}
/* Stretch the three Catalog frames to the same actual content height. */
.sc10-catalog{align-items:stretch}
@container studio (min-width:1301px){
 .sc10-results{display:flex;flex-direction:column}.sc10-pagination{margin-top:auto}
 .sc10-selected{display:flex;flex-direction:column}.sc10-selected-body{display:flex;flex-direction:column;flex:1}.sc10-actions{margin-top:auto}
}
@container studio (max-width:1450px){
 .sp11-bom-layout{grid-template-columns:minmax(270px,.65fr) minmax(0,1.65fr);gap:16px}
 .sp11-thermal-layout{gap:18px;grid-template-columns:minmax(0,1fr) minmax(400px,1fr)}
 .sp11-thermal-input{padding:13px;gap:10px;grid-template-columns:38px minmax(110px,1fr) minmax(150px,1.2fr)}
 .sp11-thermal-input h2{font-size:19px}.sp11-thermal-input>svg:not(.studio-part-picture){height:38px;width:38px}
 .sp11-material-card{grid-template-columns:230px minmax(0,1fr)}.sp11-material-body h2{font-size:22px}.sp11-material-columns{gap:10px}.sp11-material-columns .sp11-definitions{font-size:11px}.sp11-pending{font-size:11px;padding:6px 9px}
}
@container studio (max-width:1050px){
 .sp11-core-composition,.sp11-wire-composition{height:230px}
 .sp11-thermal-layout{grid-template-columns:minmax(0,1fr)}.sp11-thermal-model .fabrication-viewport .fabrication-canvas{height:440px;min-height:440px}
 .sp11-material-card{grid-template-columns:180px minmax(0,1fr)}.sp11-material-photo img{height:230px}.sp11-material-photo{min-height:230px}.sp11-material-columns{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.sp11-material-columns>.sp11-definitions{grid-column:1/-1;border-right:0;padding:0}.sp11-material-body h2{font-size:20px}
 .sp11-bom-layout{grid-template-columns:minmax(0,1fr)}.sp11-bom-reference{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start}
}
@container studio (max-width:700px){
 .sp11-core-composition,.sp11-wire-composition{height:210px;max-width:320px}
 .studio-workspace-r06 .sp11-panel .sp11-thermal-input h2{font-size:21px}
 .studio-workspace-r06 .sp11-panel .sp11-material-body h2{font-size:22px}
 .sp11-toolbar{gap:10px;align-items:flex-start}.sp11-toolbar button{min-height:44px;font-size:13px}.sp11-panel{font-size:14px}
 .sp11-bom-reference{display:flex}.sp11-bom-reference .fabrication-viewport .fabrication-canvas{height:360px;min-height:360px}.sp11-winding-summary .sp11-definitions{font-size:13px}
 .sp11-material-card{grid-template-columns:minmax(0,1fr);padding:12px}.sp11-material-photo{min-height:180px}.sp11-material-photo img{height:210px;max-width:320px}.sp11-material-body>header{gap:12px}.sp11-supplier{font-size:23px}.sp11-material-body h2{font-size:22px}.sp11-material-columns{grid-template-columns:minmax(0,1fr)}.sp11-material-columns .sp11-definitions{font-size:13px}.sp11-material-columns .sp11-card>h3{font-size:17px}.sp11-material-columns>.sp11-definitions{padding-bottom:8px}.sp11-pending{margin:0;font-size:12px}.sp11-reference-picker{flex-direction:column;align-items:stretch;font-size:13px}.sp11-reference-picker select{font-size:16px;min-height:44px}.sp11-panel .sp11-material-notice{font-size:13px;align-items:flex-start;padding:10px}.sp11-register-actions{margin-left:0}.sp11-register-actions,.sp11-reference-actions{width:100%}.sp11-register-actions>button{width:100%}
 .sp11-thermal-input{grid-template-columns:38px minmax(0,1fr);gap:10px;padding:13px}.sp11-thermal-input>.fabrication-input,.sp11-load{grid-column:1/-1}.sp11-thermal-input .fabrication-input{font-size:13px}.sp11-thermal-input .fabrication-input input{min-height:44px;font-size:16px}.sp11-estimates>div{gap:8px}.sp11-estimates>div>div{padding:12px 7px;min-height:170px}.sp11-estimates h3{font-size:13px}.sp11-estimates output{font-size:18px}.sp11-estimates svg:not(.studio-part-picture){height:31px;width:31px}.sp11-thermal-paths .fabrication-input-grid{grid-template-columns:minmax(0,1fr)}.sp11-thermal-paths .fabrication-input{font-size:13px}.sp11-thermal-paths .fabrication-input input{min-height:44px;font-size:16px}.sp11-temperature-scale{gap:10px;font-size:12px;flex-wrap:wrap}.sp11-temperature-scale>div{flex-basis:100%}.sp11-panel .sp11-details{padding:10px 12px}
 .studio-workspace-r06 .sr06-design-body[data-design-view=mechanical] .fabrication-canvas{height:400px;min-height:400px}
}
@media(pointer:coarse){
 .fabrication-viewport .si11-touch-toggle{display:inline-flex}
 .studio-workspace-r06 .fabrication-viewport[data-interacting=true] :is(.fabrication-webgl,.fabrication-webgl canvas){touch-action:none!important}
}
@media(prefers-reduced-motion:reduce){.sp11-panel *{scroll-behavior:auto!important;transition:none!important}}

/* R12: one semantic BOM, presented as complete item cards when columns no longer fit. */
.sp12-mobile-label{display:none}
.sp12-thermal :is(input,output,dl,svg text){text-transform:none!important}
.sp12-design-basis{background:var(--sr06-tint);border:1px solid var(--sr06-line);border-radius:9px;margin:0 0 20px}
.sp12-scenario-basis{border-left:3px solid #b7894d;background:var(--sr06-paper);font-size:13px;line-height:1.7;padding:10px 14px;margin:0 0 20px;color:var(--sr06-muted)}
.sp12-construction-warning{border:1px solid #c49754;border-radius:8px;background:var(--sr06-paper);font-size:13px;line-height:1.7;padding:12px 15px;margin:0 0 16px;color:var(--sr06-ink)}
.sp12-design-basis .sp11-definitions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 22px;font-size:13px;padding:10px 16px}
.sp12-design-basis .sp11-definitions>div{grid-template-columns:minmax(0,.8fr) minmax(0,1fr)}
.sp12-control-card{background:var(--sr06-paper);border:1px solid var(--sr06-line);border-radius:10px;padding:18px;margin-bottom:14px;min-width:0}
.sp12-thermal .sp12-control-card h2{font-size:23px;margin:0 0 12px;line-height:1.3}
.sp12-control-card p,.sp12-number small{display:block;font-size:12px;line-height:1.6;color:var(--sr06-muted);margin-top:8px}
.sp12-main-inputs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.sp12-main-inputs .sp12-control-card{margin-bottom:14px}
.sp12-thermal .sp12-number{display:flex;flex-direction:column;gap:6px;font-size:13px;line-height:1.45;min-width:0}
.sp12-thermal .sp12-number input{display:block;width:100%;min-width:0;font-size:17px;min-height:44px;padding:9px 12px;border-radius:7px}
.sp12-number small{font-size:12px;margin:0}
.sp12-load-labels{display:flex;justify-content:space-between;gap:6px;font-size:12px;color:var(--sr06-muted);margin-top:9px}
.sp12-control-card .sp11-definitions{padding:0;font-size:13px}
.sp12-assumed{border-left:3px solid #b7894d;padding-left:10px}
.sp12-hottest{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px 15px;background:var(--sr06-tint);border:1px solid var(--sr06-teal);border-radius:9px;padding:18px;margin-top:15px}
.sp12-hottest>span,.sp12-hottest>p{grid-column:1/-1;font-size:13px;line-height:1.6}
.sp12-thermal .sp12-hottest h2{font-size:23px;line-height:1.3}.sp12-hottest>strong{font-size:27px;color:var(--sr06-teal);white-space:nowrap}
.sp12-power-summary{border:1px solid var(--sr06-line);border-radius:9px;margin-top:14px;padding:6px 0;font-size:14px;background:var(--sr06-paper)}
.sp12-thermal .sp11-estimates>div>div{min-height:130px;gap:10px}.sp12-thermal .sp11-estimates output{font-size:23px}
.sp12-part-results{margin:24px 0;min-width:0}.sp12-part-results>header p{color:var(--sr06-muted);font-size:13px;line-height:1.6;margin:8px 0 15px}
.sp12-thermal .sp12-part-results h2{font-size:27px}.sp12-part-results>ol{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.sp12-part-results li{background:var(--sr06-paper);border:1px solid var(--sr06-line);border-radius:10px;overflow:hidden;min-width:0}
.sp12-part-results li[data-hottest=true]{border-color:var(--sr06-teal)}
.sp12-part-title{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;background:var(--sr06-surface);padding:13px 16px;min-height:84px}
.sp12-part-title>span{display:grid;place-items:center;width:25px;height:25px;flex-shrink:0;border-radius:50%;background:var(--sr06-teal);color:white;font-size:13px}
.sp12-thermal .sp12-part-title h3{font-size:18px;line-height:1.4;flex:1;min-width:100px}.sp12-part-title>b{flex-basis:100%;font-size:11px;color:var(--sr06-teal)}
.sp12-part-results .sp11-definitions{font-size:13px}.sp12-part-results li>p,.sp12-loss-budget>p{font-size:12px;line-height:1.6;color:var(--sr06-muted);padding:0 16px 16px}
.sp12-analysis-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;align-items:start;margin:20px 0}
.sp12-thermal .sp12-analysis-grid h2{font-size:23px}.sp12-loss-budget .sp11-definitions{font-size:14px}.sp12-loss-budget .sp11-definitions>div{grid-template-columns:minmax(0,1.5fr) minmax(0,.6fr)}
.sp12-load-study>svg{display:block;width:100%;height:auto;padding:0 10px;color:var(--sr06-ink)}
.sp12-load-study text{fill:currentColor;font-size:12px}.sp12-load-study path{fill:none;stroke-width:2;vector-effect:non-scaling-stroke}
.sp12-load-study .sp12-chart-core{stroke:#279b96;stroke-width:3}.sp12-load-study .sp12-chart-winding{stroke:#bf7344;stroke-width:3;stroke-dasharray:7 3}
.sp12-load-study .sp12-chart-grid{stroke:var(--sr06-line);stroke-width:1}.sp12-load-study .sp12-chart-axis{stroke:var(--sr06-muted);stroke-width:1}
.sp12-chart-legend{display:flex;flex-wrap:wrap;gap:8px 20px;padding:15px;font-size:12px}.sp12-chart-legend span:before{content:'';display:inline-block;width:20px;height:3px;margin-right:7px;vertical-align:middle;background:#279b96}.sp12-chart-legend span+span:before{background:#bf7344}
.sp12-load-study>details{padding:12px 16px;font-size:13px;line-height:1.7}.sp12-load-study ul{padding:0;list-style:none}.sp12-load-study li{padding:6px 0;border-bottom:1px solid var(--sr06-line)}
.sp12-thermal :is(.sp12-physical-assumptions,.sp12-thermal-overrides) .fabrication-input-grid{grid-template-columns:repeat(3,minmax(0,1fr));margin:16px 0;gap:16px}
.sp12-sources{display:flex;flex-wrap:wrap;gap:10px 18px;margin-top:14px}
@media(max-width:1100px){
 .sp12-design-basis .sp11-definitions{grid-template-columns:repeat(2,minmax(0,1fr))}.sp12-part-results>ol{grid-template-columns:repeat(2,minmax(0,1fr))}
 .sp12-analysis-grid{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:1000px){
 .sp11-bom-table-wrap{overflow:visible;padding:0;border:0;background:transparent}
 .sp11-bom-table{display:block;width:100%;min-width:0!important;max-width:100%;table-layout:auto}
 .sp11-bom-table thead{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important}
 .sp11-bom-table tbody{display:block;width:100%}
 .sp11-bom-table tbody tr{display:grid;grid-template-columns:58px minmax(0,1fr) minmax(40px,.35fr);gap:10px 12px;border:1px solid var(--sr06-line);border-radius:10px;padding:15px;margin:0 0 14px;background:var(--sr06-paper);min-width:0}
 .sp11-bom-table tbody :is(th,td){display:block;width:auto!important;min-width:0;padding:0;border:0;font-size:14px;line-height:1.55;overflow-wrap:break-word;word-break:normal;hyphens:none}
 .sp11-bom-table tbody td:first-child{grid-column:1;grid-row:1/3;align-self:start}
 .sp11-bom-table tbody th{grid-column:2/-1;grid-row:2;font-size:13px;color:var(--sr06-muted)}
 .sp11-bom-table tbody td:nth-child(3){grid-column:2/-1;grid-row:1}.sp11-bom-table strong{font-size:17px;line-height:1.45}
 .sp11-bom-table tbody td:nth-child(4){grid-column:1/-1;grid-row:3;border-top:1px solid var(--sr06-line);padding-top:10px}
 .sp11-bom-table tbody td:nth-child(5){grid-column:1/3;grid-row:4;white-space:normal;font-size:17px}
 .sp11-bom-table tbody td:nth-child(6){grid-column:3;grid-row:4}
 .sp11-bom-table tbody td:last-child{grid-column:1/-1;grid-row:5;background:var(--sr06-tint);padding:10px 12px;border-radius:7px;font-size:13px}
 .sp11-bom-table .studio-part-picture{width:56px;height:65px;max-width:100%}
 .sp11-bom-table .sp12-mobile-label{display:block;font-size:12px;font-weight:650;color:var(--sr06-muted);margin-bottom:4px;white-space:normal}
}
@media(max-width:600px){
 .sp12-design-basis .sp11-definitions{grid-template-columns:minmax(0,1fr);padding:7px 12px;font-size:13px;gap:0}
 .sp12-main-inputs{grid-template-columns:minmax(0,1fr);gap:0}.sp12-control-card{padding:15px}
 .sp12-thermal .sp12-control-card h2{font-size:23px}.sp12-thermal .sp11-estimates>div{grid-template-columns:minmax(0,1fr)}
 .sp12-thermal .sp11-estimates>div>div{display:grid;grid-template-columns:minmax(0,1fr) auto;text-align:left;align-items:center;min-height:82px;padding:15px;gap:12px}
 .sp12-thermal .sp11-estimates h3{font-size:16px}.sp12-thermal .sp11-estimates output{font-size:24px}
 .sp12-hottest{grid-template-columns:minmax(0,1fr)}.sp12-hottest>strong{grid-column:1;font-size:30px}
 .sp12-part-results>ol{grid-template-columns:minmax(0,1fr)}.sp12-part-title{min-height:64px}
 .sp12-thermal :is(.sp12-physical-assumptions,.sp12-thermal-overrides) .fabrication-input-grid{grid-template-columns:minmax(0,1fr)}
 .sp12-power-summary .sp11-definitions{font-size:14px}.sp12-part-results .sp11-definitions{font-size:14px}
}

/* Thermal overview: keep the command row and green design basis inside the frame. */
.sp13-thermal-intro{padding:18px;margin:0 0 22px;border:1px solid var(--sr06-line);border-radius:10px;background:var(--sr06-paper)}
.sp13-thermal-intro .sp11-toolbar{gap:16px;margin:0 0 18px;min-height:42px}
.sp13-thermal-intro .sp11-status{padding:5px 0;line-height:1.6}
.sp13-thermal-intro .sp12-design-basis{margin:0;padding:6px;border-radius:8px}
.sp13-thermal-intro .sp11-definitions{gap:4px 24px;padding:10px 14px}
.sp13-thermal-intro .sp11-definitions>div{padding:9px 0;gap:15px}
.sp13-thermal-intro .sp11-toolbar>button{flex:none}
@media(max-width:760px){.sp13-thermal-intro{padding:14px;margin-bottom:18px}.sp13-thermal-intro .sp11-toolbar{align-items:flex-start;gap:12px;margin-bottom:15px}.sp13-thermal-intro .sp11-toolbar>button{margin-left:0;min-height:44px;width:100%}.sp13-thermal-intro .sp12-design-basis{padding:4px}.sp13-thermal-intro .sp11-definitions{padding:7px 10px;gap:3px}.sp13-thermal-intro .sp11-definitions>div{padding:10px 0;gap:12px}}

.studio-workspace-r06 .fabrication-engineering.sp11-bom{box-sizing:border-box;padding:clamp(16px,1.4vw,22px)}
.sp11-bom>.sp11-toolbar{max-width:100%;align-items:center}
.sp11-bom>.sp11-toolbar>button{max-width:100%;white-space:normal}

.fabrication-model-layout > .studio-model-stage {
  min-width: 0;
  align-self: start;
}
.fabrication-viewport:not(.is-compact):not(.is-thermal) .studio-model-stage > .fabrication-canvas {
  position: relative;
  top: auto;
  height: clamp(300px, 64vh, 800px);
  height: clamp(300px, 64dvh, 800px);
  min-height: 0;
}
.fabrication-viewport .studio-model-stage .fabrication-webgl {
  position: absolute;
  inset: 0;
}
.fabrication-viewport .studio-model-stage .fabrication-webgl canvas {
  display: block;
  width: 100%;
  height: 100%;
}
.fabrication-viewport .studio-model-stage {
  --viewer-ink: #203b4b;
  --viewer-secondary: #4f6674;
  --viewer-line: #d5e1e5;
  --viewer-surface: #f5f8f9;
  --viewer-control: #fff;
  --viewer-accent: #007a76;
  --viewer-pad: clamp(12px, 1.2vw, 20px);
}
html[data-theme=dark] .fabrication-viewport .studio-model-stage,
.fabrication-viewport.is-thermal .studio-model-stage {
  --viewer-ink: #e6f3f4;
  --viewer-secondary: #b4c9d1;
  --viewer-line: #3c5869;
  --viewer-surface: #192e3e;
  --viewer-control: #203a4a;
  --viewer-accent: #68dacf;
}
.fabrication-viewport .studio-model-stage .fabrication-view-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 18px;
  padding: 8px var(--viewer-pad);
  margin: 0;
  border-block: 1px solid var(--viewer-line);
  color: var(--viewer-ink);
  background: var(--viewer-surface);
  font-size: 13px;
  line-height: 1.35;
  font-weight: 600;
}
.fabrication-viewport .studio-model-stage .fabrication-view-bottom label {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  gap: 7px;
  margin: 0;
  color: inherit;
}
.fabrication-viewport .studio-model-stage .studio-explode-control {
  flex-wrap: wrap;
  column-gap: 10px;
  max-width: 100%;
}
.fabrication-viewport .studio-model-stage .studio-explode-control input {
  width: clamp(76px, 12vw, 175px);
  height: 24px;
  margin: 0;
  accent-color: var(--viewer-accent);
  cursor: pointer;
}
.studio-explode-control output {
  min-width: 4ch;
  font-variant-numeric: tabular-nums;
  text-align: end;
}
.studio-display-options {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
}
.studio-display-options label { cursor: pointer; }
.studio-display-options input[type=checkbox] { width: 16px; height: 16px; margin: 0; accent-color: var(--viewer-accent); }
.studio-display-options label:has(input:disabled) { opacity: .65; cursor: default; }
.fabrication-viewport .studio-model-stage .studio-view-help {
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 14px;
  width: 100%;
  margin: 0;
  padding: 7px var(--viewer-pad);
  border-bottom: 1px solid var(--viewer-line);
  background: var(--viewer-control);
  color: var(--viewer-secondary);
  font-size: 12px;
  line-height: 1.5;
}
.studio-view-help details[open] { flex-basis: 100%; }
.studio-view-help summary { color: var(--viewer-accent); cursor: pointer; font-weight: 600; }
.studio-view-help details p { max-width: 68ch; margin: 4px 0 2px; font-size: inherit; }
.studio-view-help .studio-touch-help { display: none; }
@media (pointer: coarse) {
  .studio-view-help .studio-pointer-help { display: none; }
  .studio-view-help .studio-touch-help { display: inline; }
  .fabrication-viewport .studio-model-stage .fabrication-view-bottom label { min-height: 40px; }
}
@media (max-width: 720px), (max-height: 480px) {
  .fabrication-viewport:not(.is-compact):not(.is-thermal) .studio-model-stage > .fabrication-canvas {
    height: clamp(230px, 54dvh, 440px);
  }
}

.service-hub-r01{--hub-accent:var(--erp-accent,#008e88);--hub-text:var(--erp-text,#12263e);--hub-muted:var(--erp-muted,#607287);--hub-border:var(--erp-border,#cfdee9);--hub-surface:var(--erp-surface,#fff);--hub-subtle:var(--erp-subtle,#edf4f9);--hub-selected:var(--erp-selected,#e7f6f3);--hub-bg:var(--erp-bg,#f5f8fb);min-width:0;min-height:0;height:100%;overflow:auto!important;overscroll-behavior:contain;scrollbar-gutter:stable;padding:20px 22px 28px!important;color:var(--hub-text);background:var(--hub-bg);font-size:13px;line-height:1.5;box-sizing:border-box}
.workspace-content:has(>.service-hub-r01){overflow:hidden;min-height:0}.service-hub-r01 *{box-sizing:border-box}.hub-content{max-width:1900px;min-width:0;margin:0 auto}.service-hub-r01 h1,.service-hub-r01 h2,.service-hub-r01 h3{color:var(--hub-text);letter-spacing:-.02em}.service-hub-r01 h1{font-size:28px;line-height:1.2;margin:0 0 6px;font-weight:700}.service-hub-r01 h2{font-size:18px;line-height:1.25;font-weight:700;margin:0}.service-hub-r01 h3{font-size:14px;margin:14px 0 7px;font-weight:650}.service-hub-r01 p{margin:8px 0 12px}.service-hub-r01 button,.service-hub-r01 select,.service-hub-r01 input{font:inherit;color:var(--hub-text)}.service-hub-r01 button,.hub-button{min-height:34px;border:1px solid var(--hub-border);background:var(--hub-surface);border-radius:5px;padding:6px 13px;font-weight:600;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:7px;line-height:1.4;text-decoration:none!important;color:var(--hub-text)!important}.service-hub-r01 button:hover,.hub-button:hover{border-color:var(--hub-accent);background:var(--hub-selected)}.service-hub-r01 button:disabled{opacity:.5;cursor:default}.service-hub-r01 .hub-primary{background:var(--hub-accent);color:#fff;border-color:var(--hub-accent);padding-inline:18px}.service-hub-r01 .hub-primary:hover{filter:brightness(.95)}.service-hub-r01 :focus-visible{outline:3px solid var(--hub-accent);outline-offset:3px}.service-hub-r01 input[type=checkbox]{accent-color:var(--hub-accent);width:16px;height:16px;cursor:pointer;flex:none}.service-hub-r01 input[type=checkbox]:disabled{cursor:default}.service-hub-r01 select{max-width:100%;min-height:34px;border:1px solid var(--hub-border);border-radius:5px;background:var(--hub-surface);padding:5px 28px 5px 10px}.service-hub-r01 input:not([type=checkbox]){min-width:0;border:1px solid var(--hub-border);border-radius:5px;background:var(--hub-surface);padding:7px 12px;min-height:34px}
.hub-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:0 0 18px;min-width:0}.hub-heading>div:first-child{min-width:0}.hub-heading p{font-size:12px;color:var(--hub-muted);margin:4px 0 0}.hub-heading-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:9px}.hub-link{color:var(--hub-accent);font-weight:650;text-decoration:none;cursor:pointer}.hub-link:hover{text-decoration:underline}.hub-link.hub-title-link{color:var(--hub-text);font-weight:600}.hub-nav{display:flex;gap:6px;align-items:center;overflow-x:auto;white-space:nowrap;border-bottom:1px solid var(--hub-border);margin:0 0 18px;min-width:0}.hub-nav>a{padding:12px 17px;color:var(--hub-text);font-weight:600;font-size:13px;border-bottom:3px solid transparent;flex:none}.hub-nav>a.active{color:var(--hub-accent);border-bottom-color:var(--hub-accent)}.hub-nav>a:hover{background:var(--hub-subtle);text-decoration:none}.hub-work-nav{display:flex;align-items:center;gap:0;overflow-x:auto;white-space:nowrap;max-width:100%;width:max-content;border:1px solid var(--hub-border);border-radius:6px;margin:0 0 18px;background:var(--hub-surface)}.hub-work-nav>a{padding:7px 22px;color:var(--hub-text);flex:none;font-size:12px}.hub-work-nav>a.active{color:var(--hub-accent);background:var(--hub-selected);box-shadow:inset 0 -2px var(--hub-accent)}.hub-breadcrumb{color:var(--hub-muted);font-size:12px;margin:8px 0 9px}.hub-breadcrumb>a{margin-right:8px}.hub-record-heading{align-items:flex-start}.hub-record-heading h1{font-size:27px;overflow-wrap:anywhere}.hub-identity{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.hub-identity>strong{color:var(--hub-accent)}.hub-identity>span:not(.hub-badge){color:var(--hub-muted);font-size:12px}.hub-owner{display:inline-flex;gap:8px;align-items:center;white-space:nowrap}.hub-avatar{display:inline-grid;place-items:center;flex:none;width:27px;height:27px;background:var(--hub-selected);color:var(--hub-text);border-radius:50%;font-size:10px;font-weight:700}.hub-badge{display:inline-block;max-width:100%;font-size:11px;line-height:1.35;padding:3px 8px;border-radius:4px;font-weight:650;white-space:normal}.hub-neutral{color:#314056;background:#e6ecf2}.hub-success{color:#006960;background:#d2f1e9}.hub-info{color:#104b90;background:#e0edff}.hub-warning{color:#754807;background:#fff1d7}.hub-danger{color:#a42b30;background:#ffe5e5}.hub-overdue{color:var(--erp-danger,#ac3036);font-weight:600}.hub-muted{font-size:11px!important;line-height:1.6!important;color:var(--hub-muted)!important}.hub-copy{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6}.service-hub-r01 .hub-text-button{border:0;background:transparent;color:var(--hub-accent);padding:2px 0;min-height:28px;text-align:left}.hub-empty{padding:22px 12px;color:var(--hub-muted);text-align:center;font-size:12px}.hub-alert,.hub-notice,.service-hub-r01 p.hub-warning,.service-hub-r01 div.hub-warning{padding:10px 13px;margin:0 0 14px;border:1px solid var(--hub-border);border-radius:5px;line-height:1.5}.hub-alert{border-left:3px solid #bd4650;background:var(--hub-surface)}.hub-notice{background:var(--hub-selected);border-left:3px solid var(--hub-accent);display:flex;align-items:center;gap:12px;justify-content:space-between}.hub-alert button,.hub-warning button{margin-left:10px}.service-hub-r01 p.hub-warning,.service-hub-r01 div.hub-warning{border-color:#ebc684;background:#fff5e5;color:#68410c;margin-top:12px}
.hub-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0 0 18px}.hub-metric{border:1px solid var(--hub-border);border-radius:7px;background:var(--hub-surface);display:flex;align-items:flex-start;gap:16px;padding:17px 19px;text-decoration:none!important;color:var(--hub-text)}.hub-metric:hover{border-color:var(--hub-accent)}.hub-metric-icon{display:grid;place-items:center;flex:none;width:45px;height:45px;border-radius:6px;background:var(--hub-selected);color:var(--hub-accent);font-size:32px;line-height:1}.hub-metric.danger .hub-metric-icon{background:#ffe5e8;color:#bd343d}.hub-metric.warning .hub-metric-icon{background:#fff0d9;color:#a36515}.hub-metric strong{font-size:12px;display:block;font-weight:650}.hub-metric b{font-size:34px;line-height:1.12;font-variant-numeric:tabular-nums;display:block;margin:5px 0 3px}.hub-metric small{display:block;font-size:10px;color:var(--hub-muted);font-weight:400}.hub-dashboard-top{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(290px,1fr);gap:16px;margin:0 0 16px}.hub-dashboard-bottom{display:grid;grid-template-columns:1.2fr 1fr;gap:16px}.hub-block{border:1px solid var(--hub-border);border-radius:7px;background:var(--hub-surface);padding:16px;min-width:0}.hub-block>header{display:flex;gap:12px;align-items:center;justify-content:space-between;margin:0 0 14px}.hub-block>header>h2{min-width:0}.hub-block-footer{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;border-top:1px solid var(--hub-border);padding:10px 1px 0;font-size:11px}.hub-inline-filters{display:flex;align-items:center;gap:5px;flex-wrap:wrap;justify-content:flex-end}.hub-inline-filters button{padding:4px 9px;min-height:29px;font-size:10px}.hub-inline-filters button[aria-pressed=true]{background:var(--hub-accent);border-color:var(--hub-accent);color:#fff}.hub-appointments{list-style:none;margin:0;padding:0}.hub-appointments>li{display:flex;align-items:flex-start;gap:12px;border-top:1px solid var(--hub-border);padding:17px 0;position:relative}.hub-appointments time{min-width:68px;font-weight:700;font-size:14px;font-variant-numeric:tabular-nums}.hub-appointments li>div{flex:1;min-width:0}.hub-appointments small{display:block;color:var(--hub-muted);font-size:11px;margin-top:4px}.hub-priorities{padding:0;margin:0;list-style:none}.hub-priorities li{display:grid;grid-template-columns:18px minmax(0,1fr) 100px 110px;gap:10px;align-items:center;padding:13px 0;border-top:1px solid var(--hub-border);font-size:12px}.hub-priorities li>span:first-child{color:var(--hub-muted);font-size:22px;line-height:1}.hub-owner-bars{padding:0;margin:0;list-style:none}.hub-owner-bars li{display:grid;grid-template-columns:125px minmax(0,1fr) 26px;align-items:center;gap:12px;margin:10px 0;font-size:12px}.hub-owner-bars meter{width:100%;height:15px}.hub-owner-bars meter::-webkit-meter-bar{border:0;background:var(--hub-subtle);border-radius:4px}.hub-owner-bars meter::-webkit-meter-optimum-value{background:var(--hub-accent);border-radius:4px}.hub-owner-bars meter::-moz-meter-bar{background:var(--hub-accent);border-radius:4px}.hub-owner-bars strong{text-align:right;font-variant-numeric:tabular-nums}
.hub-scopes{display:flex;align-items:center;gap:12px;overflow-x:auto;white-space:nowrap;max-width:100%;margin:0 0 16px;padding:1px 1px 4px}.hub-scopes button{min-width:120px;gap:18px;justify-content:center;flex:none;padding:8px 15px}.hub-scopes button[aria-pressed=true]{background:var(--hub-accent);color:#fff;border-color:var(--hub-accent)}.hub-scopes b{background:var(--hub-subtle);color:var(--hub-text);border-radius:12px;padding:1px 8px;min-width:24px;line-height:1.5;font-size:12px}.hub-tools{display:flex;align-items:end;gap:10px;flex-wrap:wrap;border:1px solid var(--hub-border);background:var(--hub-surface);padding:10px 12px;border-radius:7px;margin:0 0 12px;min-width:0}.hub-search{display:flex;align-items:center;gap:6px;flex:1;min-width:220px}.hub-search input{flex:1;width:100%}.hub-search button{font-size:12px}.hub-filter{display:flex;flex-direction:column;gap:3px;font-size:10px;min-width:115px}.hub-filter>span{color:var(--hub-muted);font-weight:600}.hub-filter select{font-size:12px}.hub-check{display:flex;align-items:center;gap:6px;font-size:12px;min-height:34px}.hub-column-picker{display:flex;flex-wrap:wrap;gap:12px;margin:0 0 12px;padding:12px;border:1px solid var(--hub-border);border-radius:5px;background:var(--hub-surface)}.hub-column-picker label{display:flex;align-items:center;gap:6px;font-size:12px}.hub-column-picker legend{font-weight:600;padding:0 6px}.hub-table-panel{border:1px solid var(--hub-border);border-radius:7px;background:var(--hub-surface);overflow:hidden;min-width:0}.hub-table-scroll{max-width:100%;min-width:0;overflow-x:auto;overflow-y:visible}.hub-table{width:100%;border-collapse:collapse;background:var(--hub-surface);color:var(--hub-text);font-size:12px;table-layout:auto}.hub-table th{background:var(--hub-subtle);color:var(--hub-text);font-size:11px;font-weight:650;white-space:nowrap;text-align:left;padding:10px 12px;border-bottom:1px solid var(--hub-border);height:auto!important}.hub-table td{padding:10px 12px;border-bottom:1px solid var(--hub-border);vertical-align:middle;max-width:310px;overflow-wrap:normal;line-height:1.4;height:auto!important}.hub-table td:has(>input[type=checkbox]){width:32px;text-align:center;padding-inline:8px}.hub-table td:has(>.hub-badge){min-width:80px}.hub-table td:has(>.hub-title-link){min-width:200px}.hub-table td:has(>.hub-link){min-width:100px}.hub-table td>.hub-link:not(.hub-title-link){white-space:nowrap}.hub-table small,.hub-record-title{display:block;font-size:10px;color:var(--hub-muted);margin-top:4px;max-width:300px}.hub-record-title{font-size:12px;color:var(--hub-text);font-weight:600}.hub-table tbody tr:hover td{background:var(--hub-selected)}.hub-table tbody tr:has(input[aria-label^=Select]:checked) td{background:var(--hub-selected)}.hub-table tbody tr:last-child td{border-bottom:0}.hub-dashboard-top .hub-table th,.hub-dashboard-top .hub-table td{padding:9px 10px;font-size:11px}.hub-dashboard-top .hub-table td{max-width:230px}.hub-dashboard-top .hub-table td:has(>.hub-link){min-width:90px}.hub-pager{padding:13px 14px;display:flex;align-items:center;justify-content:space-between;gap:15px;border-top:1px solid var(--hub-border);font-size:11px;background:var(--hub-surface);flex-wrap:wrap}.hub-pager>span{margin-right:auto;color:var(--hub-muted)}.hub-pager>div{display:flex;align-items:center;gap:10px}.hub-pager button{padding:3px 9px;min-height:29px}.hub-pager label{display:flex;gap:8px;align-items:center}.hub-pager select{min-height:30px;font-size:11px}.hub-parent-picker{border:1px solid var(--hub-accent);background:var(--hub-surface);padding:18px;margin-bottom:20px;border-radius:6px}.hub-parent-picker>header{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.hub-parent-picker ul{list-style:none;margin:12px 0;padding:0}.hub-parent-picker li{border-top:1px solid var(--hub-border)}.hub-parent-picker li button{width:100%;border:0;border-radius:0;display:flex;justify-content:flex-start;gap:18px;text-align:left;padding:11px 0}.hub-parent-picker li strong{color:var(--hub-accent)}.hub-parent-picker li span:nth-child(2){flex:1}
.hub-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;border:1px solid var(--hub-border);border-radius:7px;padding:12px 0;background:var(--hub-surface);margin:0 0 15px}.hub-summary>div{padding:0 18px;border-left:1px solid var(--hub-border);min-width:0}.hub-summary>div:first-child{border-left:0}.hub-summary>div>span:first-child{display:block;text-transform:uppercase;font-size:10px;letter-spacing:.05em;color:var(--hub-muted);margin-bottom:5px;font-weight:600}.hub-summary>div>strong,.hub-summary>div>.hub-link{font-size:14px;overflow-wrap:anywhere}.hub-tabs{display:flex;align-items:center;gap:2px;border-bottom:1px solid var(--hub-border);margin:0 0 18px;overflow-x:auto;white-space:nowrap;max-width:100%}.hub-tabs>button{border:0;border-bottom:3px solid transparent;border-radius:0;background:transparent;padding:10px 17px;flex:none;min-height:40px;font-size:12px}.hub-tabs>button[aria-current=page]{border-bottom-color:var(--hub-accent);color:var(--hub-accent)}.hub-detail-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(280px,1fr);gap:16px}.hub-detail-column{display:flex;flex-direction:column;gap:14px;min-width:0}.hub-detail-column>.hub-block:last-child{flex:1}.hub-facts{margin:10px 0 14px;display:grid;grid-template-columns:1fr 1fr;gap:0 22px;font-size:12px}.hub-facts>div{display:grid;grid-template-columns:110px minmax(0,1fr);gap:8px;padding:6px 0;border-bottom:1px solid var(--hub-border);min-width:0}.hub-facts dt{font-weight:650;color:var(--hub-text)}.hub-facts dd{margin:0;overflow-wrap:anywhere;min-width:0}.hub-detail-column>section:has(.hub-facts)>header+h3{margin-top:2px}.hub-detail-column:last-child .hub-facts{grid-template-columns:1fr}.hub-activity{padding:0;margin:0;list-style:none;font-size:11px}.hub-activity>li{display:grid;grid-template-columns:130px 85px minmax(0,1fr);gap:12px;border-top:1px solid var(--hub-border);padding:10px 0}.hub-activity time{color:var(--hub-muted)}.hub-activity>li>span{overflow-wrap:anywhere}.hub-detail-column:last-child .hub-activity>li{grid-template-columns:1fr 1fr;gap:5px}.hub-detail-column:last-child .hub-activity>li>span{grid-column:1/-1}.hub-communication h3{margin-top:12px}.hub-communication .hub-copy{max-height:none}.hub-sources{list-style:none;padding:0;margin:0}.hub-sources>li{display:flex;gap:12px;align-items:flex-start;border-top:1px solid var(--hub-border);padding:10px 0;font-size:12px}.hub-sources li>span{font-size:20px;color:var(--hub-accent)}.hub-sources p{margin:3px 0!important}.hub-sources .hub-copy{display:block}
html[data-theme=dark] .service-hub-r01 .hub-neutral{color:#d0dce6;background:#304552}html[data-theme=dark] .service-hub-r01 .hub-success{color:#8be5ce;background:#183f3a}html[data-theme=dark] .service-hub-r01 .hub-info{color:#b0d3ff;background:#223e5c}html[data-theme=dark] .service-hub-r01 .hub-warning{color:#f6d89e;background:#493c27}html[data-theme=dark] .service-hub-r01 .hub-danger{color:#ffbac0;background:#4c2b33}
@media(min-width:1600px){.service-hub-r01{font-size:14px}.hub-table{font-size:13px}.hub-table th{font-size:12px}.hub-table td{padding-block:11px}.hub-record-title{font-size:13px}.hub-dashboard-top .hub-table{font-size:12px}.hub-dashboard-top .hub-table td,.hub-dashboard-top .hub-table th{font-size:12px}}
@media(max-width:1150px){.hub-dashboard-top{grid-template-columns:1fr}.hub-metric{gap:10px;padding:14px}.hub-metric-icon{width:35px;height:35px;font-size:25px}.hub-detail-grid{grid-template-columns:minmax(0,1.4fr) minmax(260px,1fr)}.hub-facts{grid-template-columns:1fr}.hub-block>header{align-items:flex-start}.hub-inline-filters{max-width:260px}.hub-appointments>li{padding:14px 0}.hub-record-heading{flex-direction:column}.hub-record-heading .hub-heading-actions{justify-content:flex-start}.hub-nav>a{padding-inline:13px}}
@media(max-width:760px){.service-hub-r01{padding:16px 14px 24px!important}.service-hub-r01 h1,.hub-record-heading h1{font-size:25px}.hub-heading{align-items:flex-start;flex-wrap:wrap;gap:12px;margin-bottom:15px}.hub-heading-actions{justify-content:flex-start;gap:7px;width:100%}.hub-heading-actions button,.hub-heading-actions>.hub-button{font-size:12px}.hub-nav{margin-bottom:15px}.hub-nav>a{padding:10px 12px;font-size:12px}.hub-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.hub-metric{padding:13px 11px;gap:10px}.hub-metric b{font-size:27px}.hub-metric strong{font-size:11px}.hub-metric small{font-size:10px}.hub-metric-icon{width:31px;height:31px;font-size:24px}.hub-dashboard-bottom,.hub-detail-grid{grid-template-columns:1fr}.hub-block{padding:14px}.hub-block>header{gap:9px;flex-wrap:wrap}.hub-block h2{font-size:17px}.hub-inline-filters{max-width:none;justify-content:flex-start}.hub-priorities li{grid-template-columns:16px minmax(0,1fr);gap:6px 10px}.hub-priorities li>span:nth-last-child(2){grid-column:2}.hub-priorities li>span:last-child{grid-column:2}.hub-owner-bars li{grid-template-columns:110px minmax(0,1fr) 24px;gap:8px}.hub-work-nav{margin-bottom:15px;width:100%}.hub-work-nav>a{padding:8px 14px;flex:1;text-align:center;font-size:11px}.hub-scopes{gap:8px}.hub-scopes button{min-width:95px;padding:7px 10px;font-size:11px;gap:10px}.hub-tools{padding:10px;gap:8px}.hub-search{flex-basis:100%;min-width:0}.hub-filter{flex:1;min-width:115px}.hub-tools>.hub-check{flex:1}.hub-tools>button{font-size:12px}.hub-table td,.hub-table th{padding:9px 10px;font-size:12px}.hub-table td:has(>.hub-title-link){min-width:200px}.hub-pager{padding:10px;gap:10px}.hub-pager>span{flex-basis:100%}.hub-pager>div{margin-left:auto}.hub-summary{grid-template-columns:1fr 1fr;row-gap:15px;padding:13px 0}.hub-summary>div{padding-inline:12px}.hub-summary>div:nth-child(3){border-left:0}.hub-summary>div>strong,.hub-summary>div>.hub-link{font-size:13px}.hub-tabs{margin-bottom:15px}.hub-tabs>button{padding:9px 13px;font-size:12px}.hub-identity{gap:8px}.hub-activity>li{grid-template-columns:1fr 1fr;gap:5px}.hub-activity>li>span{grid-column:1/-1}.hub-facts>div{grid-template-columns:100px minmax(0,1fr)}.hub-appointments time{min-width:63px;font-size:13px}.hub-appointments>li{gap:9px}.hub-appointments .hub-badge{font-size:10px}.hub-column-picker{gap:10px}.hub-column-picker label{font-size:11px}.hub-parent-picker{padding:12px}.hub-parent-picker li button{flex-wrap:wrap;gap:8px}.hub-parent-picker li span:nth-child(2){flex-basis:70%}}
@media(max-width:370px){.service-hub-r01{padding:12px 10px 20px!important}.hub-metric-icon{display:none}.hub-metric{padding:12px}.hub-tools>button{flex:1}.hub-summary>div{padding-inline:9px}.hub-appointments>li{flex-wrap:wrap}.hub-appointments li>div{min-width:160px}.hub-appointments .hub-badge{margin-left:72px}}

.hub-row-actions{display:flex;gap:12px;align-items:center}.hub-row-actions button{font-size:11px!important}
.foundation-workspace:has(.service-hub-r01){height:var(--erp-viewport-height,100dvh);min-height:0;overflow:hidden}
.foundation-workspace>.workspace-content:has(>.service-hub-r01){min-height:0;max-height:100%;overflow:hidden}
.foundation-workspace>.workspace-content>.main.service-hub-r01{display:block!important;flex:1 1 0;width:100%;max-width:none;height:100%;max-height:100%;min-height:0;overflow-x:hidden!important;overflow-y:auto!important;touch-action:pan-y pinch-zoom;overscroll-behavior-y:auto;-webkit-overflow-scrolling:touch}
.service-hub-r01 .hub-content{width:100%;max-width:none;margin:0}
.service-hub-r01 .view-table.hub-table{table-layout:auto!important;width:100%!important}
.service-hub-r01 .view-table.hub-table thead tr:first-child th{background:var(--hub-subtle)!important;color:var(--hub-text)!important;white-space:nowrap!important;overflow-wrap:normal!important;word-break:normal!important;cursor:default;height:auto!important;min-height:0;padding:10px 12px}
.service-hub-r01 .view-table.hub-table td{overflow-wrap:normal!important;word-break:normal!important}
.service-hub-r01 button.hub-primary,.service-hub-r01 .hub-scopes button[aria-pressed=true],.service-hub-r01 .hub-inline-filters button[aria-pressed=true]{color:#fff!important}
.service-hub-r01 .hub-pager label{white-space:nowrap;flex:none}.service-hub-r01 .hub-pager select{width:auto;min-width:64px;flex:none}
.service-hub-r01 .hub-facts dd{text-transform:none!important}

/* R02: Quote-style navigation, native phone pickers, and persistent record sections. */
.hub-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.hub-section-navigation{margin:0 0 23px;min-width:0}.hub-raised-tabs{display:flex;gap:14px;flex-wrap:wrap;align-items:center;padding-bottom:5px}.hub-raised-tabs>a{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:55px;padding:12px 21px;border:1px solid var(--hub-border);border-radius:10px;background:var(--hub-surface);box-shadow:0 5px 0 color-mix(in srgb,var(--hub-border) 80%,transparent);color:var(--hub-text);font-size:15px;font-weight:600;text-decoration:none}.hub-raised-tabs>a:hover{background:var(--hub-selected);border-color:var(--hub-accent)}.hub-raised-tabs>a.active{background:var(--hub-selected);border-color:var(--hub-accent);box-shadow:0 5px 0 var(--hub-accent);color:var(--hub-accent)}.hub-nav-icon{display:block;width:23px;height:23px;flex:none}.hub-responsive-section{display:none}.hub-work-navigation .hub-raised-tabs>a{font-size:13px;min-height:44px;padding:9px 17px}.hub-work-navigation{margin-top:-3px}
.hub-record-sections{display:flex;align-items:flex-start;gap:12px;flex-wrap:wrap;min-width:0;padding:0 0 20px;border-bottom:1px solid var(--hub-border);margin:0 0 20px}.hub-section-picker{flex:0 1 230px;min-width:170px}.service-hub-r01 .hub-section-picker select{width:100%;min-height:43px;font-size:13px;font-weight:600;border-radius:7px;padding:8px 34px 8px 13px;background:var(--hub-surface);cursor:pointer}.hub-open-tabs{display:flex;gap:9px;flex-wrap:wrap;min-width:0;flex:1}.hub-open-tab{display:inline-flex;align-items:center;background:var(--hub-surface);border:1px solid var(--hub-border);border-radius:7px;box-shadow:0 3px 0 color-mix(in srgb,var(--hub-border) 75%,transparent);overflow:hidden}.service-hub-r01 .hub-open-tab>button{border:0!important;border-radius:0;box-shadow:none!important;min-height:41px;padding:8px 13px;background:transparent!important;white-space:nowrap}.service-hub-r01 .hub-open-tab>.hub-close-section{min-width:33px;padding:7px;border-left:1px solid var(--hub-border)!important;color:var(--hub-muted)!important}.hub-close-section .hub-nav-icon,.hub-close-current .hub-nav-icon{width:17px;height:17px}.hub-open-tab.active{border-color:var(--hub-accent);box-shadow:0 3px 0 var(--hub-accent);background:var(--hub-selected)}.service-hub-r01 .hub-open-tab.active>button{color:var(--hub-accent)!important}.service-hub-r01 .hub-open-tab>button:focus-visible{outline-offset:-3px}.hub-close-current{display:none!important}
.service-hub-r01 .hub-metric .hub-metric-picture{display:block;width:68px;height:68px;flex:none;background-size:200% 200%;background-repeat:no-repeat;border-radius:10px;background-color:transparent}.service-hub-r01 .hub-metric .hub-icon-ticket{background-position:0 0}.service-hub-r01 .hub-metric .hub-icon-warning{background-position:100% 0}.service-hub-r01 .hub-metric .hub-icon-calendar{background-position:0 100%}.service-hub-r01 .hub-metric .hub-icon-clock{background-position:100% 100%}.hub-mobile-scope{display:none}.service-hub-r01 .hub-row-actions{flex-wrap:wrap;min-width:110px}.service-hub-r01 .hub-row-actions .hub-confirm-proposal{color:var(--hub-accent)!important;font-weight:700}
@media(max-width:900px){
 .hub-section-navigation{margin-bottom:18px}.hub-raised-tabs{display:none}.hub-responsive-section{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:600;color:var(--hub-muted)}.service-hub-r01 .hub-responsive-section select{width:100%;max-width:none;min-height:56px;font-size:16px;font-weight:650;border:1px solid var(--hub-accent);border-radius:8px;background:var(--hub-selected);color:var(--hub-accent);padding:11px 36px 11px 14px}.hub-work-navigation{margin-top:0}.hub-work-navigation .hub-responsive-section select{background:var(--hub-surface);color:var(--hub-text);border-color:var(--hub-border)}
 .hub-record-sections{flex-wrap:nowrap;align-items:center;gap:8px;padding-bottom:16px;margin-bottom:16px}.hub-section-picker{flex:1;min-width:0}.service-hub-r01 .hub-section-picker select{width:100%;min-height:56px;font-size:16px;border-color:var(--hub-accent);background:var(--hub-selected);color:var(--hub-accent);padding-inline:13px 33px}.hub-open-tabs{display:none}.service-hub-r01 .hub-close-current{display:inline-flex!important;min-width:50px;min-height:56px;padding:12px}.hub-close-current .hub-nav-icon{width:21px;height:21px}.hub-scopes{display:none}.service-hub-r01 .hub-inline-filters>button{display:none}.hub-mobile-scope{display:block!important;min-width:0;width:100%}.hub-inline-filters{width:100%;max-width:none}.service-hub-r01 .hub-inline-filters select{min-height:50px;width:100%;font-size:15px}
 .service-hub-r01{font-size:15px}.service-hub-r01 input:not([type=checkbox]),.service-hub-r01 select{font-size:16px;min-height:50px}.service-hub-r01 .hub-tools>button,.service-hub-r01 .hub-search>button,.service-hub-r01 .hub-heading-actions>button,.service-hub-r01 .hub-heading-actions>.hub-button{min-height:50px;font-size:15px;padding-inline:13px}.hub-heading-actions{gap:9px}.hub-search input{width:100%}.hub-filter{min-width:145px}.hub-tools .hub-check{min-height:40px;font-size:14px}.hub-summary>div>span,.hub-facts dt{font-size:12px}.hub-facts dd{font-size:14px}.hub-pager{font-size:13px}.hub-pager>div>button{min-width:43px;min-height:43px}.hub-table-scroll{touch-action:pan-x pan-y pinch-zoom;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}.service-hub-r01 .hub-metric .hub-metric-picture{width:49px;height:49px}.hub-metric{align-items:flex-start;gap:8px}.hub-metric strong{font-size:13px}.hub-metric small{font-size:11px}.hub-owner-bars li{font-size:13px}.hub-copy{font-size:14px}.hub-muted{font-size:12px!important}
}
@media(max-width:370px){.service-hub-r01 .hub-metric .hub-metric-picture{display:block;width:39px;height:39px}.hub-metric{padding:12px 9px;gap:6px}.hub-metric b{font-size:26px}.hub-metric strong{font-size:12px}.hub-metric small{font-size:10px}.hub-heading-actions>button{flex:1 1 auto}}
.sp12-thermal .sp11-load input[type=range]{min-height:44px;cursor:ew-resize;touch-action:pan-y;accent-color:var(--sr06-teal,#008e88)}
.hub-briefing-report{font:14px/1.6 Arial,sans-serif;color:#243b49;background:#fff;max-width:1100px;margin:auto}.hub-briefing-report>header{border-bottom:3px solid #008e88;padding:0 0 18px;margin:0 0 20px}.hub-briefing-report>header>p:first-child{font-size:11px;letter-spacing:.1em;color:#008e88;font-weight:700}.hub-briefing-report h1{font-size:29px;color:#16384a;margin:8px 0}.hub-briefing-report h2{font-size:18px;color:#16384a;margin:0 0 10px}.hub-briefing-report h3{font-size:15px;margin:0 0 7px}.hub-briefing-report p{white-space:pre-wrap;overflow-wrap:anywhere;margin:7px 0 12px}.hub-briefing-report a{color:#007d78;text-decoration:underline}.hub-briefing-report section{margin:24px 0}.hub-brief-basis{padding:12px 15px;border-left:3px solid #008e88;background:#eff8f6;color:#345a60}.hub-brief-facts{display:grid;grid-template-columns:1fr 1fr;gap:0 25px}.hub-brief-facts>div{display:grid;grid-template-columns:130px minmax(0,1fr);padding:9px 0;border-bottom:1px solid #dce5e9}.hub-brief-facts dt{color:#526a75;font-size:12px}.hub-brief-facts dd{margin:0;overflow-wrap:anywhere;font-weight:600}.hub-brief-table{width:100%;overflow:auto}.hub-brief-table table{width:100%;border-collapse:collapse;text-align:left;font-size:12px}.hub-brief-table th{background:#edf4f8}.hub-brief-table th,.hub-brief-table td{padding:9px;border-bottom:1px solid #d6e2e9;vertical-align:top}.hub-brief-booking{border:1px solid #d6e2e9;border-radius:6px;padding:13px;margin:10px 0}.hub-brief-timeline{list-style:none;margin:0;padding:0}.hub-brief-timeline>li{display:grid;grid-template-columns:130px minmax(0,1fr);gap:18px;padding:12px 0;border-bottom:1px solid #e1e9ed}.hub-brief-timeline time,.hub-brief-timeline small{font-size:11px;color:#536d79}.hub-brief-timeline p{margin:4px 0}.hub-brief-plan{font-size:10px;color:#74570d;background:#fff4d6;padding:2px 6px;margin-left:8px;border-radius:4px}.hub-brief-cite{font-size:11px;font-weight:700}.hub-brief-sources{font-size:12px;padding-left:22px}.hub-brief-sources li{margin:9px 0;overflow-wrap:anywhere}.hub-brief-sources p{margin:3px 0}.hub-briefing-report>footer{border-top:1px solid #cad9e1;padding-top:14px;color:#647c88;font-size:10px}
@media(max-width:760px){.hub-brief-facts{grid-template-columns:1fr}.hub-briefing-report{font-size:14px}.hub-brief-facts>div{grid-template-columns:110px minmax(0,1fr)}.hub-brief-timeline>li{grid-template-columns:1fr;gap:5px}.hub-briefing-report h1{font-size:25px}.hub-briefing-report h2{font-size:17px}.hub-brief-table table{min-width:620px}}
@media print{body:has(.hub-briefing-report) *{visibility:hidden}body:has(.hub-briefing-report) .hub-briefing-report,body:has(.hub-briefing-report) .hub-briefing-report *{visibility:visible}body:has(.hub-briefing-report) [role=dialog]{position:absolute!important;inset:0!important;max-width:none!important;max-height:none!important;width:100%!important;margin:0!important;overflow:visible!important;box-shadow:none!important;border:0!important}body:has(.hub-briefing-report) .MuiDialog-container{display:block!important;position:static!important;height:auto!important}body:has(.hub-briefing-report) .MuiDialogContent-root{overflow:visible!important;padding:0!important}body:has(.hub-briefing-report) .hub-briefing-report{font-size:10pt;position:absolute;top:0;left:0;width:100%;margin:0;padding:12mm;background:#fff}.hub-brief-table{overflow:visible}.hub-brief-table table{min-width:0;width:100%}.hub-briefing-report h2,.hub-briefing-report h3{break-after:avoid}.hub-briefing-report tr,.hub-brief-timeline>li,.hub-brief-booking{break-inside:avoid}.hub-briefing-report a{color:#155d58}.hub-briefing-report>header{break-after:avoid}}
.hub-service-form{font:14px/1.5 Arial,sans-serif;color:var(--erp-text,#243b49)}.hub-service-form fieldset{padding:0;border:0;margin:0;min-width:0}.hub-service-fields{display:grid;grid-template-columns:1fr 1fr;gap:17px}.hub-service-fields>label{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:600;min-width:0}.hub-service-wide{grid-column:1/-1}.hub-service-fields input:not([type=checkbox]),.hub-service-fields select,.hub-service-fields textarea{min-width:0;width:100%;border:1px solid var(--erp-border,#cfdee9);background:var(--erp-surface,#fff);color:var(--erp-text,#243b49);padding:10px 12px;min-height:43px;border-radius:6px;font:inherit;font-size:14px}.hub-service-fields textarea{resize:vertical}.hub-service-fields small,.hub-service-help{font-size:11px;color:var(--erp-muted,#607287);font-weight:400}.hub-service-form button{min-height:36px;border:1px solid var(--erp-border,#cfdee9);border-radius:5px;padding:7px 12px;background:var(--erp-surface,#fff);color:var(--erp-text,#243b49);cursor:pointer}.hub-service-form .hub-primary{background:var(--erp-accent,#008e88);color:#fff}.hub-service-form button:disabled{opacity:.5;cursor:default}.hub-service-form button:focus-visible,.hub-service-form input:focus-visible,.hub-service-form select:focus-visible,.hub-service-form textarea:focus-visible{outline:2px solid var(--erp-accent,#008e88);outline-offset:2px}.hub-service-readiness{display:grid;grid-template-columns:1fr 1fr;gap:10px}.hub-service-readiness>h3{grid-column:1/-1}.hub-service-readiness>label{display:flex;align-items:center;gap:9px;font-size:13px}.hub-service-readiness input{width:17px;height:17px;accent-color:var(--erp-accent,#008e88);flex:none}.hub-service-error{background:var(--erp-subtle,#f4f8fa);border-left:3px solid #b33944;padding:11px 14px}.hub-service-version{padding:12px;border:1px solid var(--erp-border,#cfdee9);margin:10px 0}.hub-service-help{margin-top:16px;line-height:1.6}
.hub-calendar-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 18px}.hub-calendar-metrics>div{display:flex;flex-direction:column;gap:6px;padding:15px 18px;border:1px solid var(--hub-border);border-radius:7px;background:var(--hub-surface)}.hub-calendar-metrics span{font-size:12px;color:var(--hub-muted)}.hub-calendar-metrics strong{font-size:27px;font-weight:600;color:var(--hub-text)}.hub-calendar-command{display:flex;flex-wrap:wrap;gap:11px;align-items:end;padding:14px;border:1px solid var(--hub-border);border-radius:7px;background:var(--hub-surface);margin-bottom:18px}.hub-calendar-command>label{display:flex;flex-direction:column;gap:5px;font-size:11px;color:var(--hub-muted);min-width:125px;flex:1}.hub-calendar-command select{width:100%;font-size:12px}.hub-calendar-date{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.service-hub-r01 .hub-calendar-date>label>input{max-width:160px;font-size:13px}.hub-calendar-layout{display:grid;grid-template-columns:minmax(0,1fr) 350px;gap:16px;align-items:start}.hub-calendar-layout.has-inspector{grid-template-columns:minmax(0,1fr) minmax(400px,.8fr)}.hub-calendar-board,.hub-calendar-inspector{border:1px solid var(--hub-border);border-radius:7px;background:var(--hub-surface);min-width:0}.hub-calendar-board>header,.hub-calendar-inspector>header{padding:17px;border-bottom:1px solid var(--hub-border)}.hub-calendar-board>header p{font-size:11px;color:var(--hub-muted);margin:6px 0 0}.hub-calendar-inspector{padding:17px}.hub-calendar-inspector>header{padding:0 0 14px;margin-bottom:14px}.hub-calendar-inspector>p{font-size:12px;color:var(--hub-muted);line-height:1.7}.hub-calendar-inspector .hub-heading h1{font-size:22px;line-height:1.3}.hub-calendar-inspector .hub-heading{gap:12px}.hub-calendar-inspector .hub-facts{grid-template-columns:1fr}.hub-calendar-inspector .hub-block{padding:14px}.hub-calendar-inspector .hub-record-sections{gap:8px}.hub-calendar-inspector .hub-section-picker{flex-basis:100%;max-width:none}.hub-calendar-inspector .hub-open-tabs{gap:6px}.hub-calendar-inspector .hub-open-tab>button{font-size:12px;padding:6px 9px}.hub-calendar-close{margin-bottom:14px}.hub-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.hub-calendar-cell{min-width:0;border-right:1px solid var(--hub-border);border-bottom:1px solid var(--hub-border);background:var(--hub-surface);padding:8px;min-height:160px}.hub-calendar-cell:nth-child(7n){border-right:0}.service-hub-r01 .hub-calendar-day{display:flex;justify-content:space-between;gap:5px;width:100%;font-size:11px;border:0;padding:4px;min-height:33px;background:transparent}.hub-calendar-day span{font-size:10px;color:var(--hub-accent)}.hub-calendar-cell.is-today{background:var(--hub-selected)}.hub-calendar-cell.is-today .hub-calendar-day{color:var(--hub-accent)!important}.hub-calendar-cell-bookings{display:flex;flex-direction:column;gap:8px;margin-top:7px}.service-hub-r01 .hub-calendar-entry{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:5px;font-size:11px;line-height:1.4;padding:8px;border-left:3px solid var(--hub-accent);background:var(--hub-subtle);width:100%;min-width:0;overflow-wrap:anywhere}.hub-calendar-entry.selected{outline:2px solid var(--hub-accent);outline-offset:1px}.hub-calendar-entry small{font-size:10px;color:var(--hub-muted)}.hub-calendar-entry .hub-badge{font-size:9px;padding:2px 4px}.service-hub-r01 .hub-calendar-slot{border:0;background:transparent;color:var(--hub-accent)!important;font-size:10px;padding:5px 0;min-height:30px}.hub-calendar-agenda{padding:0 17px 18px}.hub-agenda-day{padding-top:18px}.hub-agenda-day>h2{font-size:15px;padding:9px 0;border-bottom:1px solid var(--hub-border)}.hub-calendar-mobile-agenda{display:none}.hub-booking-card{display:flex;align-items:flex-start;gap:16px;padding:16px 0;border-bottom:1px solid var(--hub-border);min-width:0}.hub-booking-time{min-width:105px;display:flex;flex-direction:column;font-size:13px;font-weight:600}.hub-booking-time small{font-size:11px;font-weight:400;color:var(--hub-muted)}.hub-booking-context{flex:1;min-width:0}.hub-booking-context p{margin:4px 0;font-size:12px;overflow-wrap:anywhere}.service-hub-r01 .hub-booking-open{border:0!important;background:transparent!important;min-height:0;padding:0!important;font-size:14px;text-align:left;justify-content:flex-start;color:var(--hub-accent)!important}.hub-appointment-detail .hub-service-form>.hub-primary{margin-top:15px}.hub-appointment-detail .hub-service-fields{grid-template-columns:1fr}.hub-appointment-detail .hub-service-readiness{grid-template-columns:1fr}
@media(max-width:1200px){.hub-calendar-layout,.hub-calendar-layout.has-inspector{grid-template-columns:1fr}.hub-calendar-inspector .hub-section-picker{flex-basis:230px}.hub-calendar-inspector .hub-heading h1{font-size:25px}}
@media(max-width:900px){.hub-calendar-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.hub-calendar-metrics>div{padding:13px}.hub-calendar-metrics span{font-size:13px}.hub-calendar-command{padding:12px}.hub-calendar-command>label{min-width:140px;font-size:13px}.hub-calendar-date{flex-basis:100%;justify-content:space-between}.service-hub-r01 .hub-calendar-date>label{flex:1;min-width:0}.service-hub-r01 .hub-calendar-date>label>input{max-width:none;width:100%;font-size:16px}.hub-calendar-date button{min-height:50px;min-width:40px}.hub-calendar-date>button:first-child{min-width:66px}.hub-calendar-grid.week{display:none}.hub-calendar-mobile-agenda{display:block;padding:0 13px 16px}.hub-calendar-layout.has-inspector>.hub-calendar-board{display:none}.hub-calendar-layout:not(.has-inspector)>.hub-calendar-inspector{display:none}.hub-calendar-inspector{padding:13px}.hub-calendar-inspector .hub-record-sections .hub-section-picker{flex:1}.hub-calendar-board>header{padding:14px}.hub-calendar-board>header p{font-size:12px}.hub-booking-card{gap:10px;flex-wrap:wrap}.hub-booking-time{min-width:94px;font-size:14px}.hub-booking-context{min-width:150px}.hub-booking-context p{font-size:13px}.hub-booking-card>.hub-badge{margin-left:104px}.hub-calendar-grid.month .hub-calendar-cell{min-height:72px;padding:2px}.hub-calendar-grid.month .hub-calendar-cell-bookings,.hub-calendar-grid.month .hub-calendar-slot{display:none}.service-hub-r01 .hub-calendar-day{min-height:56px;font-size:11px;flex-direction:column;justify-content:center;gap:3px}.hub-calendar-day span{font-size:12px;font-weight:700}.hub-calendar-agenda{padding-inline:13px}.hub-calendar-inspector .hub-heading-actions>button{flex:1}.hub-service-fields{grid-template-columns:1fr}.hub-service-form input:not([type=checkbox]),.hub-service-form select,.hub-service-form textarea{font-size:16px;min-height:46px}.hub-service-readiness{grid-template-columns:1fr}.hub-service-readiness>label{min-height:38px;font-size:14px}.hub-service-help{font-size:12px}.hub-service-form button{min-height:44px;font-size:14px}}
.hub-calendar-timeboard{display:flex;width:100%;overflow-x:auto;overscroll-behavior-x:contain;min-width:0}.hub-time-axis{width:54px;flex:none;padding-top:45px;color:var(--hub-muted);font-size:10px;background:var(--hub-subtle)}.hub-time-axis>div{display:none}.hub-time-axis>time{display:block;height:60px;padding:4px 5px;text-align:right;border-top:1px solid var(--hub-border)}.hub-time-day{flex:1;min-width:115px;border-right:1px solid var(--hub-border)}.hub-time-day:last-child{border-right:0}.service-hub-r01 .hub-time-day-heading{min-height:45px;width:100%;border:0;border-bottom:1px solid var(--hub-border);border-radius:0;padding:6px;font-size:11px;background:var(--hub-subtle)}.hub-time-day-body{height:1440px;position:relative}.service-hub-r01 .hub-time-slot{display:block;width:100%;height:60px;min-height:60px;border:0;border-top:1px solid var(--hub-border);border-radius:0;background:transparent;padding:0}.service-hub-r01 .hub-time-slot:hover{background:var(--hub-selected)}.service-hub-r01 .hub-time-event{position:absolute;display:flex;overflow:hidden;min-height:26px;margin-top:1px;border-radius:4px;border:1px solid var(--hub-border);border-left:3px solid var(--hub-accent);gap:3px;z-index:1;padding:6px;font-size:10px;line-height:1.3}.hub-time-event .hub-badge{font-size:8px;padding:1px 3px}.hub-time-event time{font-size:9px}.hub-time-event small{font-size:9px}@media(max-width:900px){.hub-calendar-timeboard{display:none}}
.hub-proposal-panel{margin-bottom:20px}.hub-proposal-panel>header h2{font-size:17px}.hub-proposal-panel .hub-row-actions>button{min-width:58px}.hub-proposal-panel .hub-table th{white-space:nowrap}@media(max-width:900px){.service-hub-r01 .hub-proposal-panel .hub-row-actions>button,.service-hub-r01 .hub-table .hub-row-actions>button{min-height:44px;padding:7px!important;min-width:65px}.hub-proposal-panel .hub-table{min-width:650px}}

/* Compact tabs share the Quotes proportions and a crisp, shallow raised edge. */
.service-hub-r01 .hub-raised-tabs{gap:9px;padding-bottom:3px}
.service-hub-r01 .hub-raised-tabs>a{min-height:38px;padding:7px 14px;gap:8px;font-size:13px;border-radius:7px;box-shadow:0 3px 0 #b5c8cd}
.service-hub-r01 .hub-raised-tabs>a.active{box-shadow:0 3px 0 var(--hub-accent)}
.hub-raised-tabs .hub-nav-icon{width:18px;height:18px}
.service-hub-r01 .hub-work-navigation .hub-raised-tabs>a{min-height:36px;padding:6px 12px;font-size:12px}
.service-hub-r01 .hub-open-tab{box-shadow:0 3px 0 #b5c8cd}
.service-hub-r01 .hub-open-tab.active{box-shadow:0 3px 0 var(--hub-accent)}
.service-hub-r01 .hub-open-tab>button{min-height:36px;padding:7px 13px;font-size:13px}
.hub-open-tab .hub-nav-icon{width:18px;height:18px}
.service-hub-r01 .hub-section-picker select{min-height:38px}
.service-hub-r01 .hub-section-actions{display:none}
.hub-section-menu{position:fixed;z-index:1600;width:228px;max-width:calc(100vw - 16px);padding:5px;background:var(--hub-surface);border:1px solid var(--hub-border);border-radius:7px;box-shadow:0 4px 16px #102f3b26}
.service-hub-r01 .hub-section-menu>button{display:flex;width:100%;justify-content:flex-start;border:0;min-height:38px;font-size:12px;padding:8px 10px;background:transparent}
.service-hub-r01 .hub-section-menu>button:focus-visible{outline-offset:-2px}
@media(max-width:900px){.service-hub-r01 .hub-section-picker select{min-height:48px}.service-hub-r01 .hub-responsive-section select{min-height:48px}.service-hub-r01 .hub-section-actions{display:inline-flex;min-width:44px;min-height:48px;padding:8px;font-size:16px;letter-spacing:1px}.service-hub-r01 .hub-section-menu>button{min-height:44px;font-size:14px}}

.hub-issue-review .hub-copy,.hub-issue-review .hub-facts dd,.hub-issue-review h1,.hub-issue-review li{overflow-wrap:anywhere}.hub-issue-review .hub-issue-review{white-space:pre-wrap;font:inherit}.hub-issue-review details{margin-top:18px}.hub-issue-review summary{cursor:pointer;font-weight:650}.hub-issue-review li small{display:block}.hub-match-coverage{padding-left:18px;color:var(--hub-muted,#64748b);font-size:13px}

.hub-page-actions{display:flex;justify-content:flex-end;align-items:center;flex-wrap:wrap;gap:12px;margin:0 0 14px;min-height:36px}.hub-raise-dialog{box-sizing:border-box;width:min(760px,calc(100vw - 24px));max-height:calc(100dvh - 32px);padding:0;border:1px solid var(--hub-border,#dbe3e8);border-radius:8px;color:var(--hub-text,#273744);background:var(--hub-surface,#fff);box-shadow:0 20px 70px #0004}.hub-raise-dialog::backdrop{background:#172b3c66}.hub-raise-dialog form{display:flex;flex-direction:column;max-height:calc(100dvh - 34px)}.hub-raise-dialog header{display:flex;align-items:flex-start;justify-content:space-between;padding:22px 24px 14px;gap:15px}.hub-raise-dialog h2{margin:0;font-size:23px}.hub-raise-dialog p{font-size:13px;line-height:1.5}.hub-raise-dialog header p{margin:6px 0 0;color:var(--hub-muted,#637585)}.hub-raise-dialog header>button{min-width:32px;padding:0;border:0;background:transparent;font-size:24px}.hub-raise-body{overflow-y:auto;padding:4px 24px 18px}.hub-raise-dialog fieldset{border:0;padding:0;margin:0;min-width:0}.hub-raise-dialog label{display:block;font-size:13px;font-weight:600;margin:0 0 16px}.hub-raise-dialog input,.hub-raise-dialog textarea,.hub-raise-dialog select{box-sizing:border-box;display:block;width:100%;margin-top:6px;font:inherit;font-weight:400;border:1px solid var(--hub-border,#d4dde5);border-radius:5px;background:var(--hub-surface,#fff);color:inherit;padding:9px 11px;min-height:38px}.hub-raise-dialog textarea{resize:vertical}.hub-raise-dialog label>span{color:#b72d38}.hub-issue-related{border-top:1px solid var(--hub-border,#dbe3e8);padding-top:17px;margin-top:20px}.hub-issue-related h3{margin:0;font-size:17px}.hub-issue-related>p{margin:6px 0 16px;color:var(--hub-muted,#637585)}.hub-issue-pickers{display:grid;grid-template-columns:1fr 1fr;gap:14px 20px}.hub-issue-wide{grid-column:1/-1}.hub-issue-picker{min-width:0}.hub-issue-picker label{margin-bottom:0}.hub-issue-options{border:1px solid var(--hub-border,#dbe3e8);border-radius:5px;max-height:230px;overflow:auto;margin-top:5px}.hub-issue-options ul{list-style:none;padding:0;margin:0}.hub-issue-options li>button{width:100%;display:flex;align-items:flex-start;flex-direction:column;text-align:left;gap:3px;border:0;border-radius:0;border-bottom:1px solid var(--hub-border,#dbe3e8);background:var(--hub-surface,#fff);white-space:normal;overflow-wrap:anywhere}.hub-issue-options p{padding:8px;margin:0}.hub-issue-options li>button:hover{background:var(--hub-selected,#e1f2ef)}.hub-issue-options span,.hub-issue-selection{font-size:12px;font-weight:400;overflow-wrap:anywhere}.hub-issue-option-pages,.hub-issue-selection{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px}.hub-raise-dialog footer{display:flex;flex-shrink:0;justify-content:flex-end;gap:12px;padding:16px 24px;border-top:1px solid var(--hub-border,#dbe3e8)}.hub-raise-dialog :focus-visible{outline:2px solid var(--hub-accent,#00877f);outline-offset:2px}@media(max-width:600px){.hub-issue-pickers{grid-template-columns:1fr}.hub-raise-dialog header{padding:18px 16px 12px}.hub-raise-body{padding:4px 16px 16px}.hub-raise-dialog footer{padding:14px 16px}.hub-raise-dialog input,.hub-raise-dialog textarea,.hub-raise-dialog select{font-size:16px}.hub-page-actions>button{min-height:44px}}

/* Issue detail: explicit links and the original immutable activity events. */
.hub-issue-detail-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(300px,1fr);gap:18px;align-items:start}.hub-issue-detail-facts{display:flex;flex-direction:column;gap:18px;min-width:0}.hub-issue-detail-facts .hub-copy{margin:0;font-size:14px}.hub-issue-links{margin:0}.hub-issue-links>div{display:grid;grid-template-columns:minmax(120px,.5fr) minmax(0,1fr);gap:14px;padding:15px 4px;border-bottom:1px solid var(--hub-border)}.hub-issue-links>div:last-child{border-bottom:0}.hub-issue-links dt{font-weight:650;font-size:13px}.hub-issue-links dd{margin:0;overflow-wrap:anywhere;min-width:0}.hub-issue-activity{padding:20px}.hub-issue-timeline{list-style:none;padding:8px 0 0;margin:0}.hub-issue-timeline>li{position:relative;padding:0 0 27px 28px;min-height:40px;font-size:13px;overflow-wrap:anywhere}.hub-issue-timeline>li::before{content:'';position:absolute;left:0;top:3px;width:12px;height:12px;border-radius:50%;background:var(--hub-timeline-dot,#159a72);z-index:1}.hub-issue-timeline>li:not(:last-child)::after{content:'';position:absolute;left:5px;top:16px;bottom:-3px;width:2px;background:var(--hub-timeline-line,#b6d9cc)}.hub-issue-timeline>li:last-child{padding-bottom:0}.hub-timeline-meta{font-size:11px;color:var(--hub-muted);line-height:1.7;margin:4px 0}.hub-issue-timeline p{font-size:12px;margin:0;line-height:1.6}.service-hub-r01 .hub-related-issues td{white-space:normal;overflow-wrap:anywhere}.service-hub-r01 .hub-related-issues td>.hub-link{white-space:normal}.hub-related-issues th:first-child{width:40%}
/* Shared table controls retain one mobile search row and an explicit filter panel. */
.hub-table-controls{display:flex;flex-wrap:wrap;align-items:end;gap:10px;padding:12px;border:1px solid var(--hub-border);border-radius:7px;background:var(--hub-surface);margin-bottom:14px;min-width:0}.hub-controls-main,.hub-table-filter-fields{display:contents}.hub-table-controls .hub-search{min-width:220px;order:0}.hub-table-controls .hub-search button{display:flex;align-items:center;gap:6px}.hub-table-filter-fields>label,.hub-filter-panel-actions{order:1}.hub-table-filter-fields>label{min-width:100px}.hub-table-utilities{display:flex;align-items:center;gap:8px;order:2}.hub-filter-toggle,.hub-filter-done{display:none!important}.hub-filter-panel-actions{display:flex;align-items:center;gap:10px}.hub-filter-chips{display:flex;flex-wrap:wrap;gap:7px;flex-basis:100%;order:3}.hub-filter-chips>button,.hub-filter-chips>span{display:inline-flex;align-items:center;gap:10px;min-height:27px;padding:3px 9px;font-size:11px;border:1px solid var(--hub-border);border-radius:5px;background:var(--hub-selected);color:var(--hub-text)}.hub-filter-chips>button>span{font-size:16px;line-height:1}.hub-table-controls .hub-filter select{width:100%;max-width:none}.hub-table-controls .hub-filter{min-width:110px;max-width:200px}.hub-table-controls .hub-table-refresh{min-width:34px;padding:6px;font-size:19px}.hub-table-controls button:focus-visible{outline:2px solid var(--hub-accent);outline-offset:2px}
@media(max-width:900px){.hub-issue-detail-layout{grid-template-columns:1fr}.hub-table-controls{display:block;padding:12px;min-width:0}.hub-controls-main{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center}.hub-table-controls .hub-search{grid-column:1/-1;min-width:0;width:100%;gap:8px;margin:0}.hub-table-controls .hub-search input{min-width:0;flex:1;font-size:16px;min-height:46px;width:100%}.hub-table-controls .hub-search button{min-width:46px;min-height:46px;padding:10px;justify-content:center}.hub-table-controls .hub-search-word{display:none}.hub-table-controls .hub-filter-toggle{display:inline-flex!important;gap:8px;align-items:center;justify-content:flex-start;min-height:44px;padding:9px 12px;width:max-content;font-size:14px}.hub-filter-toggle b{min-width:20px;display:inline-grid;place-items:center;background:var(--hub-selected);border-radius:4px;font-size:12px}.hub-table-utilities{justify-content:flex-end;min-width:0;gap:8px}.hub-table-utilities>button{min-height:44px;font-size:13px;padding:9px 11px}.hub-table-controls .hub-table-refresh{min-width:44px;min-height:44px;font-size:21px}.hub-table-controls[data-expanded=false] .hub-table-filter-fields{display:none}.hub-table-controls[data-expanded=true] .hub-table-filter-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding-top:15px;margin-top:12px;border-top:1px solid var(--hub-border)}.hub-table-filter-fields .hub-filter{display:flex;flex-direction:column;gap:6px;min-width:0;max-width:none;width:100%;font-size:12px}.hub-table-filter-fields .hub-filter select{box-sizing:border-box;min-width:0;width:100%;font-size:16px;min-height:46px;padding:8px}.hub-table-filter-fields .hub-check{box-sizing:border-box;display:flex;align-items:center;gap:9px;min-width:0;min-height:46px;padding:8px 10px;border:1px solid var(--hub-border);border-radius:5px;font-size:14px}.hub-table-filter-fields .hub-check:has(input:checked){background:var(--hub-selected);border-color:var(--hub-accent)}.hub-filter-panel-actions{display:flex;justify-content:space-between;grid-column:1/-1;padding-top:5px}.hub-filter-panel-actions button{min-height:44px;font-size:14px}.hub-filter-panel-actions .hub-filter-done{display:inline-flex!important;min-width:90px;justify-content:center}.hub-filter-chips{margin-top:11px;gap:7px}.hub-filter-chips>button,.hub-filter-chips>span{min-height:32px;font-size:12px}.service-hub-r01 .hub-scopes{display:none}.hub-issue-links>div{grid-template-columns:minmax(95px,.5fr) minmax(0,1fr);gap:12px}.hub-issue-timeline>li{padding-left:26px}.hub-issue-activity{padding:16px}}@media(max-width:370px){.hub-table-controls{padding:10px}.hub-table-controls[data-expanded=true] .hub-table-filter-fields{grid-template-columns:1fr}.hub-filter-panel-actions{gap:12px}.hub-table-controls .hub-table-utilities>button{padding-inline:9px}.hub-table-controls .hub-filter-toggle{padding-inline:10px;gap:6px}}

html[data-theme=dark] .hub-issue-activity{--hub-timeline-dot:#53cca3;--hub-timeline-line:#355c52}
@media(max-width:900px){.hub-table-controls .hub-search input,.hub-table-filter-fields .hub-filter select{font-size:20px;min-height:56px}.hub-table-controls .hub-search button{min-width:56px;min-height:56px}.hub-table-controls .hub-filter-toggle,.hub-table-utilities>button,.hub-table-controls .hub-table-refresh,.hub-table-filter-fields .hub-check,.hub-filter-panel-actions button{min-height:56px}.hub-table-controls .hub-table-refresh{min-width:56px}}
@media(max-width:600px){.hub-table-filter-fields .hub-filter{grid-column:1/-1}}

/* Native list/detail mode tabs stay visible above each Service Hub record. */
.service-hub-r01 .hub-record-modes{display:flex;gap:0;align-items:stretch;flex-wrap:nowrap;margin:0 0 16px;border-bottom:1px solid var(--border,#cfdee5)}
.service-hub-r01 .hub-record-modes>a,.service-hub-r01 .hub-record-modes>button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 18px;text-decoration:none;border:0;border-bottom:3px solid transparent;border-radius:4px 4px 0 0;background:transparent;color:inherit;font:inherit;font-weight:600;white-space:nowrap}
.service-hub-r01 .hub-record-modes>.active{color:var(--hub-accent,#007f7b);border-bottom-color:currentColor;background:var(--hub-soft,#e3f3ef)}
.service-hub-r01 .hub-record-modes>a:focus-visible{outline:3px solid #279d97;outline-offset:2px}
.service-hub-r01 .hub-record-modes>button:disabled{opacity:.5}
@media(max-width:600px){.service-hub-r01 .hub-record-modes>a,.service-hub-r01 .hub-record-modes>button{flex:1;min-height:56px;padding:10px 8px;font-size:17px}}

.service-hub-r01 .hub-issue-ticket-actions{margin-bottom:16px}.service-hub-r01 .hub-issue-ticket-actions:empty{display:none}
@media(max-width:600px){.service-hub-r01 .hub-issue-ticket-actions>.hub-heading-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.service-hub-r01 .hub-issue-ticket-actions>.hub-heading-actions>button{min-height:56px;font-size:17px}}

/* Shared Service Hub conversation and employee proposal review. */
.hub-conversation>header h2,.hub-work-proposals>header h2{display:flex;align-items:center;gap:8px}.hub-thread-icon{width:20px;height:20px;flex:none;color:var(--hub-accent,#008e88)}.hub-conversation,.hub-work-proposals{min-width:0}.hub-thread{max-height:520px;min-height:100px;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:16px 6px 8px 0;border-top:1px solid var(--hub-border,#cfdee9);border-bottom:1px solid var(--hub-border,#cfdee9)}.hub-thread:focus-visible{outline:2px solid var(--hub-accent,#008e88);outline-offset:2px}.hub-thread ol{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:20px}.hub-message{display:flex;gap:9px;align-items:flex-start;max-width:90%;min-width:0}.hub-message-internal,.hub-message-outbound{align-self:flex-end;flex-direction:row-reverse}.hub-message-avatar{width:30px;height:30px;display:grid;place-items:center;flex:none;font-size:10px;font-weight:700;border-radius:50%;color:var(--hub-accent,#008e88);background:var(--hub-selected,#e7f6f3);border:1px solid var(--hub-border,#cfdee9)}.hub-message article{min-width:0;max-width:100%;flex:1}.hub-message-meta{display:flex;gap:6px;flex-wrap:wrap;align-items:baseline;font-size:10px;color:var(--hub-muted,#607287);margin-bottom:5px}.hub-message-meta strong{color:var(--hub-text,#12263e);font-size:11px;overflow-wrap:anywhere}.hub-message-meta time{margin-left:auto;white-space:nowrap}.hub-message-body{background:var(--hub-subtle,#edf4f9);border:1px solid var(--hub-border,#cfdee9);border-radius:0 10px 10px 10px;padding:10px 12px;min-width:0}.hub-message-internal .hub-message-body,.hub-message-outbound .hub-message-body{background:var(--hub-selected,#e7f6f3);border-radius:10px 0 10px 10px}.hub-message-body h3{margin:0 0 5px!important;font-size:12px!important}.hub-message-body p{margin:0!important;white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.6}.hub-message footer{display:flex;flex-wrap:wrap;gap:8px;margin-top:5px;font-size:10px;color:var(--hub-muted,#607287)}.hub-message footer a{color:var(--hub-accent,#008e88);font-weight:600;text-decoration:none;overflow-wrap:anywhere}.hub-message footer a:hover{text-decoration:underline}.hub-message-limit{color:var(--hub-muted,#607287)}.hub-note-composer{padding-top:14px;display:grid;gap:7px}.hub-note-composer>label{font-size:11px;font-weight:700}.hub-note-composer textarea{width:100%;min-height:78px;resize:vertical;border:1px solid var(--hub-border,#cfdee9);border-radius:6px;background:var(--hub-surface,#fff);color:var(--hub-text,#12263e);font:inherit;padding:9px 10px}.hub-note-composer textarea:focus{outline:2px solid var(--hub-accent,#008e88);outline-offset:1px}.hub-note-composer>div{display:flex;align-items:center;justify-content:space-between;gap:12px}.hub-note-composer>div>span{font-size:10px;color:var(--hub-muted,#607287)}.hub-thread-pager{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 0;font-size:11px}.hub-thread-pager>span{color:var(--hub-muted,#607287);text-align:center}.hub-proposal-controls{display:flex;gap:8px;align-items:center;min-width:0}.hub-proposal-controls select{max-width:210px;min-height:34px;border:1px solid var(--hub-border,#cfdee9);border-radius:5px;padding:5px 8px;background:var(--hub-surface,#fff);color:var(--hub-text,#12263e);font:inherit;font-size:11px}.hub-proposal-cards{list-style:none;padding:0;margin:0}.hub-proposal-cards>li{display:flex;gap:12px;padding:16px 0;border-top:1px solid var(--hub-border,#cfdee9);align-items:flex-start;min-width:0}.hub-proposal-mark{width:34px;height:34px;flex:none;display:grid;place-items:center;background:var(--hub-selected,#e7f6f3);border:1px solid var(--hub-border,#cfdee9);border-radius:7px}.hub-proposal-content{min-width:0;flex:1}.hub-proposal-meta{display:flex;flex-wrap:wrap;gap:8px;align-items:center;font-size:10px;color:var(--hub-muted,#607287)}.hub-work-type{font-size:10px;font-weight:700;letter-spacing:.02em;color:var(--hub-muted,#607287)}.hub-proposal-meta a,.hub-proposal-links a{color:var(--hub-accent,#008e88);font-weight:600;text-decoration:none}.hub-proposal-meta a:hover,.hub-proposal-links a:hover{text-decoration:underline}.hub-proposal-state{display:inline-block;border-radius:4px;padding:2px 6px;font-weight:650;background:var(--hub-subtle,#edf4f9);color:var(--hub-text,#12263e)}.hub-proposal-confirmed{background:var(--hub-selected,#e7f6f3);color:var(--hub-accent,#008e88)}.hub-proposal-content h3{margin:7px 0 4px!important;font-size:13px!important;overflow-wrap:anywhere}.hub-proposal-preview{font-size:11px;line-height:1.5;margin:0!important;white-space:pre-wrap;overflow-wrap:anywhere;max-height:84px;overflow:auto}.hub-proposal-content small{display:block;color:var(--hub-muted,#607287);font-size:10px;margin-top:6px}.hub-proposal-buttons{display:flex;flex-wrap:wrap;gap:6px;justify-content:flex-end;max-width:165px}.hub-proposal-buttons small{color:var(--hub-muted,#607287);font-size:10px;width:100%;text-align:right}.hub-proposal-buttons button{min-width:64px}.hub-proposal-links{display:flex;gap:16px;margin-top:8px;font-size:11px;flex-wrap:wrap}.hub-proposal-source{max-height:180px;overflow:auto;padding:10px 12px;background:var(--hub-subtle,#edf4f9);border-left:3px solid var(--hub-accent,#008e88);font-size:12px}.service-hub-r01.hub-embedded-work{height:auto;overflow:visible!important;padding:0!important;margin-top:14px;background:transparent;scrollbar-gutter:auto}.hub-embedded-work .hub-work-proposals{margin:0}.hub-proposal-dialog .hub-raise-body{min-width:0}.hub-proposal-dialog .hub-raise-body h3{overflow-wrap:anywhere}.hub-work-proposals{margin-bottom:16px}.hub-issue-detail-facts>.hub-work-proposals{margin-bottom:0}
@media(max-width:900px){.hub-work-proposals>header{align-items:flex-start;flex-direction:column;gap:12px}.hub-proposal-controls{width:100%;flex-wrap:wrap}.hub-proposal-controls select{flex:1;min-width:0;max-width:none;min-height:44px}.hub-message{max-width:98%;gap:6px}.hub-message-avatar{width:26px;height:26px;font-size:9px}.hub-message-meta time{width:100%;margin:0}.hub-thread{max-height:440px;padding-right:2px}.hub-proposal-cards>li{flex-wrap:wrap;gap:9px}.hub-proposal-mark{width:28px;height:28px}.hub-proposal-content{flex-basis:calc(100% - 40px)}.hub-proposal-buttons{width:100%;max-width:none;padding-left:37px;justify-content:flex-start}.hub-proposal-buttons button,.hub-note-composer button,.hub-thread-pager button{min-height:44px!important}.hub-proposal-buttons small{text-align:left}.hub-note-composer>div{align-items:flex-start}.hub-note-composer>div>span{max-width:50%}.hub-thread-pager{font-size:10px;flex-wrap:wrap}.hub-thread-pager>span{order:3;width:100%}.hub-proposal-dialog{max-height:calc(100dvh - 24px)}.hub-proposal-dialog input,.hub-proposal-dialog select,.hub-proposal-dialog button{min-height:44px}}
@media(prefers-reduced-motion:reduce){.hub-thread{scroll-behavior:auto}}

.hub-conversation-preview .hub-thread{max-height:300px}

.hub-issue-detail-layout.hub-activity-only{display:block}.hub-activity-only .hub-issue-activity{max-width:1000px}
/* Record attachments, durable intake progress, and the service appointment editor. */
.hub-documents>header p,.hub-intake-retries>header p{font-size:11px;color:var(--hub-muted);margin:5px 0 0}.hub-document-count{display:inline-grid;place-items:center;min-width:22px;padding:2px 5px;border-radius:4px;background:var(--hub-subtle);font-size:11px;margin-left:6px}.hub-document-actions{display:flex;gap:8px;flex-wrap:wrap}.hub-document-list{padding:0;margin:0;list-style:none}.hub-document-list>li{display:flex;align-items:center;gap:12px;padding:15px 0;border-top:1px solid var(--hub-border)}.hub-document-list>li>div{flex:1;min-width:0}.hub-document-list h3{font-size:13px;margin:0 0 4px!important;overflow-wrap:anywhere}.hub-document-list p{margin:4px 0;font-size:11px;overflow-wrap:anywhere}.hub-document-list small{font-size:10px;color:var(--hub-muted)}.hub-document-list button{flex:none}.hub-document-icon{display:grid;place-items:center;width:42px;height:46px;flex:none;border:1px solid var(--hub-border);border-radius:5px;color:var(--hub-accent);background:var(--hub-selected);font-size:9px;font-weight:700}.hub-upload-form{padding:14px 0;margin:8px 0 16px;border-top:1px solid var(--hub-border);border-bottom:1px solid var(--hub-border)}.hub-upload-form fieldset{border:0;padding:0;margin:0;min-width:0}.hub-upload-form legend{font-size:12px;font-weight:700;margin-bottom:12px}.hub-upload-picker{display:grid;gap:10px;padding:18px;background:var(--hub-subtle);border:1px dashed var(--hub-border);border-radius:6px;font-size:12px;font-weight:700;min-width:0}.hub-upload-picker input{max-width:100%;min-width:0;font-size:12px}.hub-upload-picker span{font-size:10px;font-weight:400;color:var(--hub-muted)}.hub-upload-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}.hub-upload-fields label:first-child{grid-column:1/-1}.hub-upload-fields label,.hub-intake-retry-controls label{display:grid;gap:6px;font-size:11px;font-weight:600}.hub-upload-fields input,.hub-upload-fields textarea,.hub-intake-retry-controls input{width:100%;box-sizing:border-box;background:var(--hub-surface);color:var(--hub-text);border:1px solid var(--hub-border);border-radius:5px;padding:9px;font:inherit;font-weight:400}.hub-upload-form footer{display:flex;justify-content:flex-end;gap:8px;margin-top:14px}.hub-upload-recovery{margin:12px 0;padding:12px 14px;background:var(--hub-selected);border-left:3px solid var(--hub-accent);font-size:12px}.hub-upload-recovery p{margin:6px 0 10px;overflow-wrap:anywhere}.hub-legacy-documents{margin-top:18px}.hub-intake-job-list{list-style:none;padding:0;margin:0}.hub-intake-job-list>li{border-top:1px solid var(--hub-border);padding:16px 0;display:flex;gap:16px;justify-content:space-between}.hub-intake-job-list>li>div:first-child{flex:1;min-width:0}.hub-intake-job-list strong{margin-left:10px;font-size:12px}.hub-intake-job-list p{font-size:11px;overflow-wrap:anywhere}.hub-intake-job-list small{font-size:10px;color:var(--hub-muted)}.hub-intake-retry-controls{max-width:240px;display:grid;gap:8px}.hub-intake-retry-controls form{display:grid;gap:8px}.atc-intake-status{margin:12px 0;padding:12px;background:var(--erp-subtle,#edf4f9);border-left:3px solid var(--erp-accent,#008e88)}.atc-intake-status button{margin-left:12px}.hub-appointment-editor{width:min(1000px,calc(100vw - 48px))!important;max-width:1000px!important;padding:0!important;max-height:calc(100dvh - 40px);color:var(--erp-text,#12263e);background:var(--erp-surface,#fff);--hub-text:var(--erp-text,#12263e);--hub-muted:var(--erp-muted,#607287);--hub-border:var(--erp-border,#cfdee9);--hub-surface:var(--erp-surface,#fff);--hub-subtle:var(--erp-subtle,#edf4f9);--hub-selected:var(--erp-selected,#e7f6f3);--hub-accent:var(--erp-accent,#008e88)}.hub-appointment-editor form{display:flex;flex-direction:column;max-height:calc(100dvh - 42px);margin:0}.hub-appointment-editor form>header{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;padding:20px 24px;border-bottom:1px solid var(--hub-border);flex:none}.hub-appointment-editor h2{font-size:22px!important;margin:4px 0 6px!important;line-height:1.2}.hub-appointment-editor header p{margin:0;font-size:11px;color:var(--hub-muted)}.hub-appointment-eyebrow{font-size:9px;font-weight:700;letter-spacing:.08em;color:var(--hub-accent)}.hub-appointment-editor header>button{width:32px;height:32px;flex:none;font-size:24px;padding:0}.hub-appointment-body{overflow:auto;padding:20px 24px;min-height:0;overscroll-behavior:contain}.hub-appointment-fields{border:0;padding:0;margin:0;min-width:0}.hub-appointment-layout{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(0,1fr);gap:24px}.hub-appointment-main,.hub-appointment-aside{min-width:0;display:grid;align-content:start;gap:22px}.hub-appointment-aside{border-left:1px solid var(--hub-border);padding-left:24px}.hub-appointment-section{min-width:0}.hub-appointment-section h3{margin:0 0 14px!important;display:flex;align-items:center;gap:8px;font-size:13px!important}.hub-appointment-section h3>span{width:22px;height:22px;display:grid;place-items:center;background:var(--hub-selected);color:var(--hub-accent);border:1px solid var(--hub-border);border-radius:5px;font-size:11px}.hub-appointment-section h3>b{margin-left:auto;font-size:11px;color:var(--hub-muted)}.hub-appointment-editor .hub-service-fields{display:grid;grid-template-columns:1fr 1fr;gap:13px}.hub-appointment-editor label{display:grid;gap:6px;font-size:11px;font-weight:600;min-width:0;margin:0}.hub-appointment-editor input:not([type=checkbox]),.hub-appointment-editor select,.hub-appointment-editor textarea{box-sizing:border-box;width:100%;min-width:0;max-width:100%;border:1px solid var(--hub-border);border-radius:5px;background:var(--hub-surface);color:var(--hub-text);font:inherit;font-weight:400;font-size:12px;padding:9px 10px;min-height:37px}.hub-appointment-editor textarea{resize:vertical}.hub-appointment-editor input:focus-visible,.hub-appointment-editor select:focus-visible,.hub-appointment-editor textarea:focus-visible{outline:2px solid var(--hub-accent);outline-offset:1px}.hub-appointment-readiness{display:grid;gap:2px;margin-bottom:18px}.hub-appointment-readiness label{display:flex;flex-direction:row;align-items:center;gap:9px;padding:9px 0;font-weight:400}.hub-appointment-readiness input{width:16px;height:16px;accent-color:var(--hub-accent);flex:none}.hub-appointment-ticket{padding:11px 13px;background:var(--hub-subtle);border-left:3px solid var(--hub-accent)}.hub-appointment-ticket span{display:block;font-size:10px;color:var(--hub-muted)}.hub-appointment-ticket strong{font-size:12px;overflow-wrap:anywhere}.hub-appointment-ticket p{font-size:11px;margin:4px 0 0}.hub-appointment-editor .hub-service-wide{grid-column:1/-1}.hub-appointment-aside .hub-service-wide{margin-top:14px}.hub-appointment-editor .hub-service-help{font-size:10px;color:var(--hub-muted);line-height:1.6}.hub-appointment-wide{margin-bottom:16px}.hub-appointment-editor form>footer{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:14px 24px;border-top:1px solid var(--hub-border);background:var(--hub-subtle);flex:none}.hub-appointment-editor footer>span{font-size:10px;color:var(--hub-muted)}.hub-appointment-editor footer>div{display:flex;gap:8px}.hub-appointment-editor button{border:1px solid var(--hub-border);border-radius:5px;background:var(--hub-surface);color:var(--hub-text);padding:8px 12px;font:inherit;font-size:12px;cursor:pointer}.hub-appointment-editor button.hub-primary{background:var(--hub-accent);border-color:var(--hub-accent);color:#fff}.hub-appointment-editor button:disabled{opacity:.55;cursor:default}.hub-appointment-editor::backdrop{background:rgba(12,29,44,.45)}.service-hub-r01 .hub-work-proposals>header .hub-proposal-controls select{max-width:none;min-width:150px}.hub-proposal-buttons{width:145px;flex:none}
@media(max-width:900px){.hub-documents>header,.hub-intake-retries>header{align-items:flex-start;flex-direction:column;gap:12px}.hub-document-actions{width:100%}.hub-document-actions button{min-height:44px}.hub-upload-fields{grid-template-columns:1fr}.hub-document-list>li{flex-wrap:wrap;gap:10px}.hub-document-list>li>button{min-height:44px;margin-left:52px}.hub-upload-form footer button,.hub-upload-recovery button,.hub-intake-retry-controls button{min-height:44px}.hub-intake-job-list>li{flex-direction:column;gap:12px}.hub-intake-retry-controls{max-width:none}.hub-appointment-editor{width:calc(100vw - 24px)!important;max-height:calc(100dvh - 24px)!important}.hub-appointment-editor form{max-height:calc(100dvh - 26px)}.hub-appointment-editor form>header{padding:16px}.hub-appointment-editor h2{font-size:20px!important}.hub-appointment-editor header>button{width:44px;height:44px}.hub-appointment-body{padding:16px}.hub-appointment-layout{grid-template-columns:1fr;gap:22px}.hub-appointment-aside{border:0;padding:0;border-top:1px solid var(--hub-border);padding-top:20px}.hub-appointment-editor input:not([type=checkbox]),.hub-appointment-editor select{min-height:44px}.hub-appointment-editor button{min-height:44px}.hub-appointment-readiness label{min-height:44px;padding:0}.hub-appointment-editor form>footer{padding:12px 16px;flex-wrap:wrap;gap:8px}.hub-appointment-editor footer>div{width:100%;justify-content:flex-end}.hub-appointment-editor .hub-service-fields{grid-template-columns:1fr}.service-hub-r01 .hub-work-proposals>header .hub-proposal-controls{display:grid;grid-template-columns:1fr}.service-hub-r01 .hub-work-proposals>header .hub-proposal-controls select{min-width:0;width:100%}.hub-proposal-buttons{width:100%;max-width:none}}
.hub-appointment-editor .hub-appointment-readiness label>span{color:var(--hub-text)}.hub-appointment-editor .hub-appointment-readiness input[type=checkbox]{min-height:16px;margin:0;padding:0}
/* R08 — Service Hub calendar controls, staff lanes and the canonical appointment inspector. */
.hub-nav-count{display:inline-grid;place-items:center;min-width:21px;padding:1px 5px;border-radius:10px;background:var(--hub-accent);color:var(--hub-surface);font-size:10px}
.hub-calendar-r08{min-width:0}.hub-calendar-page-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:6px 0 14px}.hub-calendar-page-heading h1{font-size:21px;margin:0}.hub-calendar-page-heading p{margin:4px 0 0;font-size:11px;color:var(--hub-muted)}.hub-calendar-page-heading>div:last-child{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.hub-calendar-totalbar{display:grid;grid-template-columns:repeat(6,minmax(68px,1fr)) minmax(210px,1.8fr);gap:0;border:1px solid var(--hub-border);background:var(--hub-surface);border-radius:7px;padding:12px 14px;margin-bottom:14px}.hub-calendar-totalbar>div{padding:0 12px;border-right:1px solid var(--hub-border);min-width:0}.hub-calendar-totalbar>div:first-child{padding-left:0}.hub-calendar-totalbar span{display:block;font-size:10px;color:var(--hub-muted);line-height:1.45}.hub-calendar-totalbar strong{display:block;margin-top:4px;font-size:20px;line-height:1.25;font-weight:700;font-variant-numeric:tabular-nums}.hub-calendar-totalbar>p{padding-left:14px;margin:0;font-size:10px;line-height:1.5;color:var(--hub-muted)}.hub-calendar-totalbar small{display:block;margin-top:4px;font-size:10px}
.hub-calendar-insights{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin:0 0 16px}.hub-calendar-insights>button{display:flex;justify-content:flex-start;align-items:flex-start;text-align:left;gap:12px;padding:15px 13px;min-width:0;white-space:normal;font-weight:400}.hub-calendar-insights>button:disabled{opacity:1;cursor:default}.hub-calendar-insights>button[aria-pressed=true]{background:var(--hub-selected);border-color:var(--hub-accent);box-shadow:inset 0 -2px var(--hub-accent)}.hub-calendar-insights>button>span:last-child{min-width:0}.hub-calendar-insights>button>span>span{display:block;font-size:11px;line-height:1.4;font-weight:600}.hub-calendar-insights strong{display:block;font-size:25px;line-height:1.2;margin:7px 0 4px;font-variant-numeric:tabular-nums;letter-spacing:-.025em}.hub-calendar-insights small{display:block;font-size:10px;line-height:1.5;color:var(--hub-muted);font-weight:400}.hub-calendar-insight-icon{display:grid;place-items:center;width:38px;height:38px;border:1px solid var(--hub-border);border-radius:8px;background:var(--hub-selected);color:var(--hub-accent);flex:none}.hub-calendar-insight-icon svg{width:22px;height:22px}
.hub-calendar-r08 .hub-calendar-command{display:block;padding:14px 16px;margin-bottom:16px}.hub-calendar-command-top{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.hub-calendar-segment{display:flex;align-items:center;border:1px solid var(--hub-border);border-radius:6px;background:var(--hub-subtle);overflow:hidden;flex:none}.service-hub-r01 .hub-calendar-segment button{border:0;border-radius:0;background:transparent;padding-inline:14px;min-height:34px;font-size:12px;white-space:nowrap}.service-hub-r01 .hub-calendar-segment button[aria-pressed=true]{background:var(--hub-selected);color:var(--hub-accent);box-shadow:inset 0 -2px var(--hub-accent)}.hub-calendar-r08 .hub-calendar-date{margin-left:auto;display:flex;align-items:center;gap:5px}.hub-calendar-r08 .hub-calendar-date input{min-width:135px;max-width:160px}.hub-calendar-r08 .hub-calendar-date>button{min-width:32px;padding-inline:8px}.hub-calendar-r08 .hub-calendar-focus{margin-left:0}.hub-calendar-command-filters{display:flex;align-items:end;gap:10px;flex-wrap:wrap;padding-top:12px;margin-top:12px;border-top:1px solid var(--hub-border)}.hub-calendar-command-filters>label{display:grid;gap:5px;min-width:125px;flex:1;font-size:10px;color:var(--hub-muted)}.hub-calendar-command-filters>label>select{width:100%;font-size:12px;min-height:35px}.hub-calendar-command-filters>button{flex:none;font-size:11px}.hub-calendar-mobile-view{display:none!important}.hub-calendar-day-strip{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;margin-top:12px;max-width:620px}.service-hub-r01 .hub-calendar-day-strip>button{position:relative;display:flex;align-items:center;justify-content:center;gap:9px;border:1px solid transparent;background:var(--hub-subtle);min-height:38px;padding:5px 8px}.hub-calendar-day-strip small{font-size:10px;font-weight:400;color:var(--hub-muted)}.hub-calendar-day-strip strong{font-size:14px}.service-hub-r01 .hub-calendar-day-strip>button[aria-pressed=true]{background:var(--hub-accent);color:var(--hub-surface)}.hub-calendar-day-strip>button[aria-pressed=true] small{color:inherit}.hub-calendar-day-strip>button>span{position:absolute;bottom:-3px;font-size:13px}
.hub-calendar-r08 .hub-calendar-layout{grid-template-columns:minmax(0,1fr) minmax(310px,370px);gap:15px;align-items:start}.hub-calendar-r08.is-focused .hub-calendar-layout{grid-template-columns:1fr}.hub-calendar-r08.is-focused .hub-calendar-inspector{display:none}.hub-calendar-r08 .hub-calendar-board{min-width:0;overflow:hidden;border:1px solid var(--hub-border);border-radius:7px;background:var(--hub-surface)}.hub-calendar-r08 .hub-calendar-board>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 17px;border-bottom:1px solid var(--hub-border)}.hub-calendar-r08 .hub-calendar-board>header h2{font-size:16px}.hub-calendar-r08 .hub-calendar-board>header p{margin:5px 0 0;color:var(--hub-muted);font-size:10px}.hub-calendar-r08 .hub-calendar-inspector{position:sticky;top:8px;min-width:0;max-height:calc(100dvh - 185px);overflow:auto;padding:16px;border:1px solid var(--hub-border);border-radius:7px;background:var(--hub-surface)}.hub-calendar-r08 .hub-calendar-inspector>header h2{margin:7px 0}.hub-calendar-r08 .hub-calendar-inspector>header p{font-size:11px;color:var(--hub-muted)}.hub-calendar-team{padding:15px 0;border-block:1px solid var(--hub-border);margin-top:15px}.hub-calendar-team strong{font-size:12px}.hub-calendar-team p{font-size:11px;color:var(--hub-muted);line-height:1.6}.hub-calendar-empty-inspector{text-align:center;padding:30px 10px;color:var(--hub-muted)}.hub-calendar-empty-inspector>svg{width:42px;height:42px;color:var(--hub-accent);margin-bottom:9px}.hub-calendar-empty-inspector h3{font-size:14px}.hub-calendar-empty-inspector p{font-size:11px;line-height:1.6}.hub-calendar-r08 .hub-appointment-detail .hub-heading{display:block}.hub-calendar-r08 .hub-appointment-detail h1{font-size:19px;line-height:1.3}.hub-calendar-r08 .hub-heading-actions{justify-content:flex-start;margin-top:12px;gap:7px}.hub-calendar-r08 .hub-heading-actions button{font-size:11px;padding:6px 8px}.hub-calendar-r08 .hub-appointment-detail .hub-block{padding:14px 0;border:0;border-radius:0;box-shadow:none;margin:0}.hub-calendar-r08 .hub-appointment-detail .hub-facts>div{padding:9px 0}.hub-calendar-r08 .hub-appointment-detail .hub-facts dt{font-size:10px}.hub-calendar-r08 .hub-appointment-detail .hub-facts dd{font-size:12px}.hub-calendar-r08 .hub-calendar-inspector .hub-record-sections{margin:14px 0}.hub-calendar-r08 .hub-service-form fieldset{border:0;margin:0;padding:0;min-width:0}.hub-calendar-save-actions{display:flex;gap:8px;flex-wrap:wrap;margin:13px 0}.hub-calendar-r08 .hub-service-readiness{display:grid;grid-template-columns:1fr;gap:9px}.hub-calendar-r08 .hub-service-readiness label{display:flex;align-items:center;gap:9px;min-height:32px;padding:0}.hub-calendar-r08 .hub-service-readiness input{min-height:16px;height:16px;margin:0;padding:0;width:16px}.hub-calendar-r08 .hub-service-form textarea,.hub-calendar-r08 .hub-service-form input,.hub-calendar-r08 .hub-service-form select{font-size:12px}.hub-booking-lineage{padding:10px 12px;border-left:3px solid var(--hub-accent);background:var(--hub-selected);font-size:11px;line-height:1.6;overflow-wrap:anywhere}.hub-booking-chain{margin-bottom:20px}.hub-booking-chain ol{list-style:none;padding:0;margin:0;border-left:2px solid var(--hub-border)}.hub-booking-chain li{padding:9px 0 12px 14px}.hub-booking-chain li>div{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.hub-booking-chain p{font-size:11px;margin:5px 0}.hub-booking-chain small{font-size:10px;color:var(--hub-muted);overflow-wrap:anywhere}
.hub-calendar-r08 .hub-calendar-timeboard{display:grid;max-width:100%;max-height:650px;min-height:420px;overflow:auto;isolation:isolate;align-items:start;border:0;gap:0}.hub-calendar-r08 .hub-time-axis{position:sticky;left:0;background:var(--hub-subtle);z-index:4}.hub-calendar-r08 .hub-time-axis>div:first-child{height:53px;position:sticky;top:0;border-bottom:1px solid var(--hub-border);background:var(--hub-subtle)}.hub-calendar-r08 .hub-time-axis-body>time{height:32px;display:block;padding:4px 6px;line-height:1;font-size:9px;border-top:1px solid var(--hub-border);text-align:right;color:var(--hub-muted)}.hub-calendar-r08 .hub-time-axis-body>time:nth-child(even){font-size:8px;border-top-style:dashed;opacity:.8}.hub-calendar-r08 .hub-time-day{min-width:0;border-left:1px solid var(--hub-border)}.hub-calendar-r08 .hub-time-day-heading{position:sticky;top:0;z-index:3;height:53px;min-height:53px;width:100%;display:flex;flex-direction:column;gap:4px;border:0;border-radius:0;border-bottom:1px solid var(--hub-border);background:var(--hub-subtle);font-size:11px;overflow-wrap:anywhere;white-space:normal}.hub-calendar-r08 .hub-time-day-heading small{font-size:9px;font-weight:400;color:var(--hub-muted)}.hub-calendar-r08 .hub-time-day-body{position:relative;min-height:0}.hub-calendar-r08 .hub-time-slot{display:block;width:100%;min-height:0;border:0;border-radius:0;border-top:1px solid var(--hub-border);padding:0;background:var(--hub-surface)}.hub-calendar-r08 .hub-time-slot:nth-child(even){border-top-style:dashed}.hub-calendar-r08 .hub-time-slot:hover{background:var(--hub-selected);box-shadow:inset 0 0 0 1px var(--hub-accent)}.hub-calendar-r08 .hub-time-event{position:absolute;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:3px;min-height:24px;overflow:hidden;border:1px solid var(--hub-border);border-left:3px solid var(--hub-accent);border-radius:4px;padding:6px 7px;background:var(--hub-selected);color:var(--hub-text);box-sizing:border-box;text-align:left;z-index:2}.hub-calendar-r08 .hub-time-event.selected{outline:2px solid var(--hub-accent);outline-offset:-2px}.hub-calendar-r08 .hub-time-event time{font-size:9px;font-weight:500;line-height:1.3}.hub-calendar-r08 .hub-time-event strong{font-size:11px;line-height:1.3;font-weight:650;overflow-wrap:anywhere}.hub-calendar-r08 .hub-time-event small{font-size:9px;line-height:1.3;font-weight:400}.hub-calendar-r08 .hub-time-event .hub-badge{font-size:9px;padding:2px 5px}.hub-calendar-now{position:absolute;left:0;right:0;border-top:2px solid var(--hub-accent);z-index:3;pointer-events:none}.hub-calendar-now:before{content:'';position:absolute;top:-4px;left:-4px;width:6px;height:6px;border-radius:50%;background:var(--hub-accent)}.hub-calendar-outside{font-size:11px;margin:0!important;padding:10px 14px;border-bottom:1px solid var(--hub-border);color:var(--hub-muted)}.service-hub-r01 .hub-calendar-outside button{padding:0;border:0;background:none;color:var(--hub-accent);font-size:11px;min-height:24px;text-decoration:underline}.hub-calendar-r08 .hub-calendar-weekday{padding:10px 7px;background:var(--hub-subtle);font-size:11px;font-weight:600;text-align:center;border-bottom:1px solid var(--hub-border)}.hub-calendar-r08 .hub-calendar-grid.month{gap:0}.hub-calendar-r08 .hub-calendar-cell.is-outside{opacity:.6}.hub-calendar-r08 .hub-calendar-cell{padding:6px;min-height:125px}.hub-calendar-r08 .hub-calendar-day{padding:4px 6px;min-height:30px;justify-content:space-between}.hub-calendar-r08 .hub-calendar-cell-bookings .hub-calendar-entry{border-left:3px solid var(--hub-accent);background:var(--hub-selected);margin:5px 0;padding:5px;font-size:10px;border-radius:4px}.hub-calendar-r08 .hub-calendar-cell-bookings .hub-calendar-entry time,.hub-calendar-r08 .hub-calendar-cell-bookings .hub-calendar-entry small{font-size:9px}.hub-calendar-r08 .hub-calendar-cell-bookings .hub-calendar-entry strong{font-size:10px}.service-hub-r01 .hub-calendar-more{font-size:10px;border:0;min-height:24px;padding:3px 0;background:transparent;color:var(--hub-accent)}.hub-calendar-r08 .hub-agenda-day>header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px}.hub-calendar-r08 .hub-agenda-day>header h2{font-size:14px}.hub-calendar-r08 .hub-agenda-day>header button{font-size:11px;white-space:nowrap}
.hub-appointment-context{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:12px 0 0}.hub-appointment-context>div{min-width:0}.hub-appointment-context dt{font-size:10px;color:var(--hub-muted)}.hub-appointment-context dd{font-size:12px;margin:3px 0 0;overflow-wrap:anywhere}.hub-appointment-editor .hub-appointment-section>label+label{margin-top:12px}.hub-appointment-editor .hub-appointment-readiness label>span{color:var(--hub-text)}
@media(max-width:1250px){.hub-calendar-insights{grid-template-columns:repeat(3,minmax(0,1fr))}.hub-calendar-totalbar{grid-template-columns:repeat(6,minmax(0,1fr))}.hub-calendar-totalbar>p{grid-column:1/-1;padding:10px 0 0;border-top:1px solid var(--hub-border);margin-top:10px}.hub-calendar-r08 .hub-calendar-layout{grid-template-columns:minmax(0,1fr) minmax(290px,340px)}.hub-calendar-command-filters>label{min-width:145px}.hub-calendar-r08 .hub-calendar-date{margin-left:0}.hub-calendar-r08 .hub-calendar-focus{margin-left:auto}}
@media(max-width:900px){.hub-calendar-page-heading{align-items:flex-start;margin-top:12px}.hub-calendar-page-heading>div:last-child{justify-content:flex-end}.hub-calendar-page-heading>div:last-child button{min-height:44px}.hub-calendar-page-heading>div:last-child button:first-child{font-size:0;width:44px}.hub-calendar-page-heading>div:last-child button:first-child:before{content:'↻';font-size:20px}.hub-calendar-totalbar{grid-template-columns:repeat(3,minmax(0,1fr));padding:12px;row-gap:12px}.hub-calendar-totalbar>div:nth-child(3){border-right:0}.hub-calendar-totalbar>div:nth-child(4){padding-left:0}.hub-calendar-totalbar strong{font-size:22px}.hub-calendar-totalbar>p{margin:0;padding:10px 0 0}.hub-calendar-insights{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.hub-calendar-insights>button{padding:12px 10px;gap:10px;min-height:104px}.hub-calendar-insights strong{font-size:23px}.hub-calendar-insights small{font-size:11px}.hub-calendar-insight-icon{width:32px;height:32px}.hub-calendar-insight-icon svg{width:20px;height:20px}.hub-calendar-r08 .hub-calendar-command{padding:12px}.hub-calendar-command-top{gap:8px;align-items:stretch}.hub-calendar-segment{flex:1}.service-hub-r01 .hub-calendar-segment button{flex:1;min-height:44px;padding-inline:12px}.hub-calendar-r08 .hub-calendar-date{order:2;width:100%;margin-left:0;justify-content:space-between}.hub-calendar-r08 .hub-calendar-date>label{flex:1}.hub-calendar-r08 .hub-calendar-date input{width:100%;max-width:none;font-size:16px;min-height:44px}.hub-calendar-r08 .hub-calendar-date>button{min-width:44px;min-height:44px}.hub-calendar-r08 .hub-calendar-date>button:first-child{min-width:64px}.hub-calendar-r08 .hub-calendar-focus{display:none}.hub-calendar-command-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.hub-calendar-command-filters>label{min-width:0;font-size:11px}.hub-calendar-command-filters>label>select{min-height:44px;font-size:14px}.hub-calendar-command-filters>button{min-height:44px}.hub-calendar-mobile-view{display:grid!important}.hub-calendar-day-strip{gap:3px;width:100%;margin-top:12px}.service-hub-r01 .hub-calendar-day-strip>button{flex-direction:column;gap:4px;padding:8px 2px;min-height:55px}.hub-calendar-day-strip small{font-size:11px}.hub-calendar-day-strip strong{font-size:16px}.hub-calendar-r08 .hub-calendar-layout{display:block}.hub-calendar-r08 .hub-calendar-timeboard{display:none}.hub-calendar-r08 .hub-calendar-mobile-agenda{display:block;padding:12px}.hub-calendar-r08 .hub-calendar-inspector{position:static;max-height:none;padding:14px}.hub-calendar-r08 .hub-calendar-layout.has-inspector>.hub-calendar-board{display:none}.hub-calendar-r08 .hub-calendar-layout:not(.has-inspector)>.hub-calendar-inspector{display:none}.hub-calendar-r08 .hub-calendar-layout.has-inspector>.hub-calendar-inspector{display:block}.hub-calendar-r08 .hub-appointment-detail h1{font-size:22px}.hub-calendar-r08 .hub-heading-actions button{min-height:44px;font-size:13px}.hub-calendar-r08 .hub-service-form textarea,.hub-calendar-r08 .hub-service-form input,.hub-calendar-r08 .hub-service-form select{font-size:16px;min-height:44px}.hub-calendar-r08 .hub-service-readiness input{min-height:16px;height:16px;width:16px}.hub-calendar-r08 .hub-service-readiness label{min-height:44px;font-size:13px}.hub-calendar-r08 .hub-calendar-grid.month{grid-template-columns:repeat(7,minmax(0,1fr))}.hub-calendar-r08 .hub-calendar-cell{padding:2px;min-height:65px}.hub-calendar-r08 .hub-calendar-day{padding:3px;width:100%;flex-direction:column;gap:4px;font-size:13px;min-height:52px}.hub-calendar-r08 .hub-calendar-day>span{font-size:11px;min-height:14px}.hub-calendar-r08 .hub-calendar-weekday{padding:9px 2px;font-size:10px}.hub-calendar-r08 .hub-calendar-cell-bookings,.hub-calendar-r08 .hub-calendar-slot{display:none}.hub-calendar-r08 .hub-calendar-board>header{padding:13px}.hub-calendar-r08 .hub-calendar-board>header h2{font-size:15px}.hub-calendar-r08 .hub-calendar-board>header p{font-size:11px}.hub-calendar-r08 .hub-calendar-outside{display:none}.hub-calendar-r08 .hub-agenda-day>header>button{min-height:44px;font-size:12px}.hub-calendar-r08 .hub-booking-card{margin-top:8px}.hub-calendar-r08 .hub-calendar-close{min-height:44px;font-size:13px}.hub-appointment-context{grid-template-columns:1fr;gap:8px}}
@media(prefers-reduced-motion:reduce){.hub-calendar-r08 *{scroll-behavior:auto!important}}

/* R08 isolates the hour axis from the retained R07 flex calendar. */
.hub-calendar-r08 .hub-time-axis{width:auto;min-width:0;padding-top:0}.hub-calendar-r08 .hub-time-axis>div{display:block}.hub-calendar-r08 .hub-time-axis-body>time{box-sizing:border-box;font-size:11px}.hub-calendar-r08 .hub-time-axis-body>time:nth-child(even){font-size:9px}.hub-calendar-r08 .hub-time-event.is-compact{padding:2px 5px;gap:1px}.hub-calendar-r08 .hub-time-event.is-compact time{font-size:9px;line-height:11px}.hub-calendar-r08 .hub-time-event.is-compact strong{font-size:10px;line-height:12px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hub-calendar-r08 .hub-time-event.is-compact small,.hub-calendar-r08 .hub-time-event.is-compact .hub-badge{display:none}
/* R09: the R199 report workflow uses the ERP's existing typography and theme. */
.hub-report-workspace,.hub-file-preview{--hub-surface:var(--panel,#fff);--hub-text:var(--text,#173441);--hub-muted:var(--muted,#657a86);--hub-border:var(--border,#d3dfe4);--hub-subtle:var(--surface-soft,#f4f7f8);--hub-accent:#087e79;color:var(--hub-text);background:var(--hub-surface);border:1px solid var(--hub-border);border-radius:10px;box-shadow:0 20px 90px #102d4c55;padding:0;overscroll-behavior:contain}.hub-report-workspace::backdrop,.hub-file-preview::backdrop{background:#10283e99}.hub-report-workspace{width:min(1480px,calc(100vw - 32px));max-width:none;max-height:94dvh;overflow:hidden}.hub-report-workspace.is-expanded{width:calc(100vw - 12px);height:calc(100dvh - 12px);max-height:none}.hub-report-workspace button,.hub-file-preview button,.hub-file-preview .hub-button{font:inherit;font-size:12px;padding:8px 12px;min-height:36px;border:1px solid var(--hub-border);border-radius:5px;background:var(--hub-surface);color:var(--hub-text);cursor:pointer}.hub-report-workspace button:disabled,.hub-file-preview button:disabled{opacity:.5;cursor:default}.hub-report-workspace :focus-visible,.hub-file-preview :focus-visible{outline:2px solid #2d8cc6;outline-offset:2px}.hub-report-workspace .hub-primary{background:#087e79;color:#fff;border-color:#087e79}.hub-report-header{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:17px 20px;border-bottom:1px solid var(--hub-border)}.hub-report-header h2{font-size:18px;margin:0}.hub-report-header p{font-size:12px;color:var(--hub-muted);margin:6px 0 0}.hub-report-header>div:last-child{display:flex;gap:8px;flex:none}.hub-report-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:7px;padding:10px 16px;border-bottom:1px solid var(--hub-border);background:var(--hub-subtle)}.hub-report-toolbar>[role=status]{font-size:11px;color:var(--hub-muted);margin-right:auto}.hub-report-stamp{display:inline-flex;align-items:center;justify-content:center;font-size:10px;font-weight:700;letter-spacing:.04em;white-space:nowrap;color:#885000;border:1px solid #d5b56e;background:#fff8e9;padding:6px 9px;border-radius:4px}.hub-report-stamp.approved{color:#13643d;background:#eaf8ef;border-color:#91c4a5}.hub-report-messages{max-height:130px;overflow:auto;padding:0 16px}.hub-report-messages:empty{display:none}.hub-report-workbench{display:grid;grid-template-columns:minmax(0,1fr);height:min(68dvh,850px);min-height:300px}.hub-report-workbench.with-preview{grid-template-columns:minmax(340px,380px) minmax(0,1fr)}.is-expanded .hub-report-workbench{height:calc(100dvh - 185px)}.hub-report-editor{min-width:0;overflow:auto;padding:0 16px 20px;border-right:1px solid var(--hub-border)}.hub-report-stages{position:sticky;top:0;z-index:2;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px;padding:12px 0;background:var(--hub-surface);border-bottom:1px solid var(--hub-border)}.hub-report-stages button{min-width:0;padding:8px 5px;font-size:12px}.hub-report-stages button[aria-current=step]{background:#e7f4f2;color:#09655e;border-color:#63a99e;box-shadow:inset 0 -2px #087e79}.hub-report-stage{padding-top:15px;font-size:12px;line-height:1.55}.hub-report-stage h3{font-size:14px;margin:0 0 10px}.hub-report-stage p{margin:0 0 12px}.hub-report-stage fieldset{min-width:0;border:0;padding:0;margin:0}.hub-report-stage label,.hub-report-field{display:grid;gap:6px;margin:12px 0;min-width:0;font-size:12px}.hub-report-stage input:not([type=checkbox]),.hub-report-stage select,.hub-report-stage textarea{font:inherit;font-size:13px;line-height:1.5;width:100%;box-sizing:border-box;min-width:0;min-height:38px;padding:8px 10px;border:1px solid var(--hub-border);border-radius:5px;color:var(--hub-text);background:var(--hub-surface)}.hub-report-stage textarea{resize:vertical;min-height:75px}.hub-report-stage small{font-size:11px;color:var(--hub-muted);line-height:1.45}.hub-report-inputs{display:grid;grid-template-columns:1fr 1fr;gap:12px}.hub-report-stage .hub-report-check{display:flex;gap:8px;align-items:flex-start;font-size:12px;line-height:1.5;margin-block:12px}.hub-report-check input[type=checkbox]{flex:none;width:16px;height:16px;min-height:16px;margin:2px 0 0;padding:0;accent-color:#087e79}.hub-report-visibility{border:1px solid var(--hub-border);background:var(--hub-subtle);padding:8px 12px;border-radius:6px}.hub-report-visibility .hub-report-check{margin:7px 0}.hub-report-point-list,.hub-report-action,.hub-report-private{padding:12px 0;border-top:1px solid var(--hub-border);margin-top:14px}.hub-report-history ul{list-style:none;padding:0}.hub-report-history li{padding:10px 0;display:flex;align-items:center;flex-wrap:wrap;gap:6px;border-bottom:1px solid var(--hub-border)}.hub-report-history strong,.hub-report-history small{flex-basis:100%}.hub-report-photo-row{margin:12px 0;padding:10px;border:1px solid var(--hub-border);border-radius:6px}.hub-report-photo-row figure{margin:0}.hub-report-photo-row img{width:100%;max-height:140px;object-fit:contain}.hub-report-photo-row figcaption{font-size:11px;overflow-wrap:anywhere}.hub-report-photo-row>div{display:flex;gap:8px;margin-top:9px}.hub-report-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 16px;border-top:1px solid var(--hub-border);font-size:11px;color:var(--hub-muted)}.hub-report-approved{padding:14px;border:1px solid #91c4a5;border-radius:6px;background:#eaf8ef;color:#174b33;margin-bottom:15px}.hub-report-approved button{margin:6px 5px 0 0}.hub-report-preview-area{min-width:0;overflow:auto;background:#e7edef;padding:20px}.hub-report-document{box-sizing:border-box;display:grid;grid-template-columns:1fr 1fr;gap:10px;max-width:816px;margin:0 auto;background:#fff!important;color:#173451!important;padding:24px;font-family:Arial,sans-serif;font-size:12px;line-height:1.5;box-shadow:0 2px 14px #1233;overflow-wrap:anywhere}.hub-report-document *{box-sizing:border-box}.hub-report-document>header,.hub-report-document>dl,.hub-report-document>section,.hub-report-document>footer,.hub-report-document>.hub-report-empty{grid-column:1/-1}.hub-report-document>header{display:grid;grid-template-columns:160px 1fr;gap:16px;align-items:center;margin-bottom:10px}.hub-report-document>header .atc-brand-image{width:160px;height:65px;max-width:100%}.hub-report-document>header p{font-size:9px;letter-spacing:.08em;color:#5f7588;margin:0 0 4px}.hub-report-document h1{font-size:25px;line-height:1.1;color:#102e54;margin:0 0 8px}.hub-report-document>header h2{font-size:11px;margin:6px 0;color:#506880}.hub-report-document .hub-brief-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:0 0 8px}.hub-report-document .hub-brief-facts>div{min-width:0;border:1px solid #c8dcef;border-radius:5px;padding:9px 8px;background:#f7fbff}.hub-report-document dt{font-size:8px;letter-spacing:.03em;font-weight:700;text-transform:uppercase;color:#506880}.hub-report-document dd{font-size:11px;color:#102e54;font-weight:700;margin:4px 0 0}.hub-report-document>section{min-width:0;border:1px solid #c5dcef;border-radius:5px;padding:12px}.hub-report-document>section.hub-report-technician,.hub-report-document>section.hub-report-history-section{grid-column:auto}.hub-report-document>section h2{font-size:14px;line-height:1.4;color:#102e54;margin:0 0 10px}.hub-report-document>section h2>span{display:inline-block;padding:2px 7px;background:#006bbc;color:#fff;border-radius:4px}.hub-report-document h3{font-size:12px;color:#234d72;margin:14px 0 7px}.hub-report-document p{margin:7px 0}.hub-report-document a{color:#006bbc}.hub-report-cites{font-size:10px;white-space:normal}.hub-report-cites a{padding:0 2px}.hub-report-document .hub-copy{white-space:pre-wrap}.hub-report-document .hub-muted{color:#506880;font-size:10px}.hub-report-document .hub-brief-timeline{padding:0 0 0 12px;list-style:none;border-left:2px solid #8dbbcf}.hub-report-document .hub-brief-timeline li{padding:0 0 10px 12px;font-size:10px}.hub-report-document .hub-brief-timeline time{color:#506880;font-size:9px}.hub-report-document .hub-brief-plan{display:inline-block;margin-left:5px;border:1px solid #d5b56e;border-radius:3px;padding:1px 4px;color:#885000;background:#fff8e9}.hub-report-document .hub-brief-sources{font-size:10px;padding-left:18px;line-height:1.6}.hub-report-evidence-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-bottom:14px}.hub-report-evidence-cards>div{display:grid;gap:5px;border:1px solid #c5dcef;border-radius:4px;padding:10px 8px;font-size:10px;color:#234d72}.hub-report-evidence-cards strong{font-size:9px;letter-spacing:.03em}.hub-report-chips{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.hub-report-chips span{border:1px solid #95ceca;border-radius:4px;background:#e9f6f4;color:#146977;padding:4px 8px;font-size:10px}.hub-report-photos{display:grid;grid-template-columns:1fr 1fr;gap:9px}.hub-report-photos figure{margin:0;border:1px solid #c8dcef;border-radius:4px;overflow:hidden}.hub-report-photos img{width:100%;height:170px;object-fit:contain;display:block;background:#f2f6fa}.hub-report-photos figcaption{font-size:10px;padding:6px 8px;background:#eaf4fc}.hub-report-document table{width:100%;border-collapse:collapse;font-size:10px}.hub-report-document th{background:#e1f0fc;padding:7px;text-align:left;color:#073562}.hub-report-document td{padding:7px;border:1px solid #d5e3ef;vertical-align:top}.hub-report-document td:last-child{color:#785008}.hub-report-document>footer{background:#15543f;color:#fff;font-size:9px;padding:10px 12px;margin-top:5px}.hub-reports-panel>header{gap:12px;flex-wrap:wrap}.hub-reports-panel .hub-table td{vertical-align:top}.hub-report-workspace .hub-alert,.hub-file-preview .hub-alert{font-size:12px;padding:10px;border:1px solid #dc9a94;border-radius:5px;background:#fff4f3;color:#853b33}
.hub-file-preview{width:min(1160px,calc(100vw - 24px));max-width:none;max-height:94dvh;overflow:auto}.hub-file-preview>header{display:flex;justify-content:space-between;align-items:start;gap:15px;padding:16px 20px;border-bottom:1px solid var(--hub-border);position:sticky;top:0;z-index:3;background:var(--hub-surface)}.hub-file-preview h2{font-size:17px;margin:0;overflow-wrap:anywhere}.hub-file-preview header p{font-size:11px;color:var(--hub-muted);margin:5px 0 0}.hub-file-preview nav{display:flex;gap:8px;padding:10px 16px;border-bottom:1px solid var(--hub-border)}.hub-file-preview .hub-button{display:inline-flex;align-items:center;text-decoration:none}.hub-pdf-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:10px 16px;background:var(--hub-subtle);border-bottom:1px solid var(--hub-border);font-size:12px}.hub-pdf-tools label{display:flex;align-items:center;gap:7px;font-size:12px}.hub-pdf-tools input,.hub-pdf-tools select{border:1px solid var(--hub-border);border-radius:4px;color:var(--hub-text);background:var(--hub-surface);font:inherit;min-height:34px;padding:4px 7px}.hub-pdf-tools input{width:62px}.hub-pdf-tools select{width:100px}.hub-pdf-canvas{position:relative;max-height:68dvh;overflow:auto;background:#dce3e8;padding:16px;text-align:center;min-height:200px}.hub-pdf-canvas canvas{display:block;margin:0 auto;max-width:none;box-shadow:0 2px 12px #1233}.hub-pdf-canvas>[role=status]{position:sticky;top:0;background:#fff4cce6;color:#674600;padding:7px;margin:0 auto 10px;width:max-content;max-width:100%;font-size:12px}.hub-pdf-text{padding:12px 18px;font-size:12px;line-height:1.6}.hub-pdf-text p{white-space:pre-wrap}.hub-file-image{background:#e7edef;padding:20px;text-align:center;overflow:auto}.hub-file-image img{max-width:100%;max-height:72dvh;object-fit:contain}.hub-file-text{margin:0;padding:20px;max-height:70dvh;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.6}.hub-file-unsupported{padding:40px 20px;line-height:1.6}.hub-file-unsupported h3{font-size:17px}.hub-file-unsupported p,.hub-file-unsupported strong{font-size:13px}.hub-file-preview>.hub-alert,.hub-file-preview>[role=status]{margin:16px}
html[data-theme=dark] .hub-report-workspace,html[data-theme=dark] .hub-file-preview{--hub-surface:#142530;--hub-text:#e2ecf2;--hub-muted:#9db1be;--hub-border:#344c5c;--hub-subtle:#1b303e}.hub-report-document .atc-brand-image{background-size:contain!important}
@media(max-width:1000px){.hub-report-workbench.with-preview{grid-template-columns:minmax(300px,360px) minmax(0,1fr)}.hub-report-document{display:block;padding:15px}.hub-report-document>section{margin-top:10px}.hub-report-document .hub-brief-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.hub-report-document>header{grid-template-columns:100px 1fr;gap:10px}.hub-report-document>header .atc-brand-image{width:100px;height:50px}.hub-report-document h1{font-size:20px}.hub-report-evidence-cards{grid-template-columns:1fr}.hub-report-preview-area{padding:12px}}
@media(max-width:760px){.hub-report-workspace{width:calc(100vw - 12px);max-height:96dvh}.hub-report-header{padding:12px;gap:8px;align-items:flex-start}.hub-report-header h2{font-size:15px}.hub-report-header p{font-size:11px}.hub-report-header>div:last-child>button:first-child{display:none}.hub-report-workspace button,.hub-file-preview button,.hub-file-preview .hub-button{min-height:44px;font-size:12px}.hub-report-toolbar{padding:8px;gap:5px}.hub-report-toolbar>[role=status]{flex-basis:55%;margin-right:0}.hub-report-toolbar>button{flex:1;padding:7px 8px}.hub-report-workbench,.hub-report-workbench.with-preview{display:block;overflow:auto;height:calc(96dvh - 265px);min-height:200px}.is-expanded .hub-report-workbench{height:calc(100dvh - 265px)}.hub-report-editor{overflow:visible;padding:0 12px 18px;border:0}.hub-report-stages{top:0}.hub-report-stage input:not([type=checkbox]),.hub-report-stage select,.hub-report-stage textarea{font-size:16px;min-height:44px}.hub-report-stage{font-size:13px}.hub-report-inputs{grid-template-columns:1fr;gap:0}.hub-report-stage .hub-report-check{min-height:36px;font-size:13px}.hub-report-preview-area{max-height:60dvh;overflow:auto;padding:10px}.hub-report-document{font-size:12px}.hub-report-document h1{font-size:20px}.hub-report-document .hub-brief-facts{gap:5px}.hub-report-document .hub-brief-facts>div{padding:8px 6px}.hub-report-photos{grid-template-columns:1fr}.hub-report-bottom{padding:8px 12px;font-size:10px;align-items:flex-start}.hub-report-bottom>span{line-height:1.5}.hub-report-bottom>button{flex:none}.hub-file-preview{width:calc(100vw - 12px);max-height:96dvh}.hub-file-preview>header{padding:12px;gap:10px}.hub-file-preview h2{font-size:15px}.hub-file-preview nav{padding:8px 12px}.hub-pdf-tools{gap:5px;padding:8px 12px}.hub-pdf-tools label{font-size:12px}.hub-pdf-tools input,.hub-pdf-tools select{font-size:16px;min-height:44px}.hub-pdf-canvas{padding:10px;max-height:60dvh}.hub-document-list .hub-document-actions{display:flex;gap:6px;flex-wrap:wrap}.hub-reports-panel>header>button{min-height:44px}}

.hub-report-visual{margin:14px 0;padding:12px;border:1px solid #c5dcef;border-radius:5px;break-inside:avoid}.hub-report-visual figcaption{font-size:12px;font-weight:700;color:#234d72;margin-bottom:10px}.hub-report-visual svg{display:block;width:100%;height:auto}.hub-report-visual caption{text-align:left;padding:7px 0;font-size:10px}.hub-report-visual>small{display:block;font-size:9px;color:#506880;margin-top:8px}.hub-report-process{display:flex;gap:8px;flex-wrap:wrap;counter-reset:report-step;list-style:none;padding:0;margin:0}.hub-report-process li{flex:1 1 150px;counter-increment:report-step;padding:10px;border:1px solid #c5dcef;background:#f3f8fc;color:#173451;border-radius:4px;font-size:11px}.hub-report-process li:before{content:counter(report-step) ' · ';font-weight:700;color:#087da4}.hub-report-visual-editor{padding:12px;border:1px solid var(--hub-border);border-radius:6px;margin:12px 0}

/* Reports keep their controls visible and stack values within each identity card. */
.hub-report-workspace[open]{display:flex;flex-direction:column;height:min(94dvh,1000px)}
.hub-report-workspace[open].is-expanded{height:calc(100dvh - 12px);max-height:none}
.hub-report-header,.hub-report-toolbar,.hub-report-bottom,.hub-report-messages{flex-shrink:0}
.hub-report-workspace .hub-report-workbench{flex:1 1 auto;height:auto;min-height:0;overflow:hidden;grid-template-rows:minmax(0,1fr)}
.hub-report-editor,.hub-report-preview-area{min-height:0}
.hub-report-document .hub-brief-facts>div{display:block;min-width:0}
.hub-report-document .hub-brief-facts dt,.hub-report-document .hub-brief-facts dd{display:block;width:auto;max-width:none;min-width:0;flex:none;text-align:left;white-space:normal;overflow-wrap:anywhere}
@media(max-width:760px){
 .hub-report-workspace[open]{height:96dvh}
 .hub-report-workspace .hub-report-workbench{overflow:auto}
 .hub-report-toolbar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}
 .hub-report-toolbar>[role=status]{margin-right:0;align-self:center}
 .hub-report-toolbar>button{min-width:0}
}

.inventory-categories-workspace{--cat-border:#c3d3df;--cat-muted:#617d91;--cat-tint:#edf4f7;--cat-selected:#def4f1;--cat-ink:#193447;--cat-primary:#00857f;color:var(--cat-ink);min-width:0;width:100%}
.category-workspace-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;margin:0 0 16px}.category-workspace-heading h1{font-size:23px;margin:0 0 5px;font-weight:750}.category-workspace-heading p{font-size:13px;color:var(--cat-muted);margin:0}.category-workspace-tools,.category-view-switch,.category-tree-controls,.category-tree-by,.category-expand-actions{display:flex;align-items:center;gap:7px}.category-view-switch{gap:0;border:1px solid var(--cat-border);border-radius:6px;overflow:hidden;background:var(--surface,#fff)}
.inventory-categories-workspace button,.inventory-categories-workspace a.primary{font:inherit;color:inherit;border:1px solid var(--cat-border);background:var(--surface,#fff);border-radius:5px;min-height:35px;padding:7px 12px;cursor:pointer;text-decoration:none}.inventory-categories-workspace button:disabled{opacity:.5;cursor:default}.inventory-categories-workspace button:focus-visible,.inventory-categories-workspace a:focus-visible{outline:3px solid var(--cat-primary);outline-offset:2px}.inventory-categories-workspace .primary{background:var(--cat-primary);color:#fff;border-color:var(--cat-primary)}.category-view-switch button{border:0;border-radius:0;border-right:1px solid var(--cat-border);min-height:39px;padding:8px 16px}.category-view-switch button:last-child{border-right:0}.category-view-switch button.selected{background:var(--cat-selected);color:var(--cat-primary);font-weight:750;box-shadow:inset 0 -3px var(--cat-primary)}.inventory-categories-workspace .category-add-button{font-size:27px;min-width:41px;height:41px;padding:0}
.category-tree-grid{display:grid;grid-template-columns:minmax(310px,31%) minmax(0,1fr);gap:16px;align-items:stretch;height:calc(100dvh - 205px);min-height:550px}.category-tree-panel,.category-inspector{border:1px solid var(--cat-border);border-radius:7px;background:var(--surface,#fff);min-width:0;overflow:auto}.category-tree-panel{padding:12px}.category-tree-controls{justify-content:space-between;flex-wrap:wrap;border-bottom:1px solid var(--cat-border);padding-bottom:11px}.category-tree-by button{display:flex;align-items:center;gap:6px;padding:7px;font-size:12px}.category-tree-by button[aria-pressed=true]{background:var(--cat-selected);color:var(--cat-primary);border-color:var(--cat-primary);font-weight:700}.category-expand-actions{gap:4px}.category-expand-actions button{font-size:11px;padding:6px}.category-tree-search{display:flex;gap:5px;margin:10px 0}.category-tree-search input,.category-editor input,.category-editor select,.category-editor textarea{width:100%;border:1px solid var(--cat-border);border-radius:5px;background:var(--surface,#fff);color:inherit;font:inherit;min-height:35px;padding:7px 9px;box-sizing:border-box}.category-tree-search input{min-width:0;font-size:12px}.category-tree-search button{font-size:12px;padding:6px}.category-tree-caption{font-size:11px;color:var(--cat-muted);margin:5px 2px 10px}.category-tree-branch{min-width:0}.inventory-categories-workspace .category-tree-row{display:flex;align-items:center;gap:8px;text-align:left;width:100%;margin-bottom:4px;background:var(--cat-tint);padding:7px 8px;border:0;min-height:42px}.category-tree-label{flex:1;min-width:0;overflow-wrap:anywhere}.category-tree-label strong{display:block;font-size:13px;line-height:1.35}.category-tree-label small{display:block;font-size:11px;color:var(--cat-muted);margin-top:2px}.category-chevron{width:12px;flex:0 0 12px;text-align:center;font-size:18px;line-height:1}.category-count{font-size:11px;color:var(--cat-muted);margin-left:auto}.category-node-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 32px;width:32px;height:34px;border:1px solid var(--cat-border);border-radius:5px;background:var(--surface,#fff);color:var(--cat-muted)}.category-node-icon svg{width:25px;height:25px}.category-icon-family{background:#f2edff;color:#7960a9}.category-tree-row.selected{background:var(--cat-selected);color:var(--cat-primary);box-shadow:inset 4px 0 var(--cat-primary)}.category-tree-children{margin-left:12px;padding-left:13px;border-left:1px dashed #92aebd}.inventory-categories-workspace .category-model-row{background:transparent;padding-left:8px}.category-model-row .category-tree-label strong{font-size:12px}.category-model-row.selected{background:var(--cat-selected)}.category-tree-more{display:block;color:var(--cat-muted);padding:5px 8px;font-size:11px}.category-manufacturers{border-bottom:1px solid var(--cat-border);padding-bottom:8px;margin-bottom:8px}.category-manufacturers button{display:flex;gap:9px;align-items:center;text-align:left;width:100%;background:var(--cat-tint);border:0;margin-bottom:4px;font-size:12px}.category-manufacturers button span:last-child{margin-left:auto}.category-manufacturers button[aria-pressed=true]{background:var(--cat-selected);color:var(--cat-primary)}
.category-inspector{display:flex;flex-direction:column;overflow:hidden}.category-detail-heading{display:flex;gap:14px;align-items:center;padding:18px;border-bottom:1px solid var(--cat-border);flex-shrink:0}.category-detail-heading .category-node-icon{width:42px;height:43px;flex-basis:42px;color:var(--cat-primary);background:var(--cat-selected);border-color:var(--cat-primary)}.category-detail-heading>div{min-width:0}.category-detail-heading p{font-size:10px;text-transform:uppercase;letter-spacing:.07em;color:var(--cat-muted);margin:0 0 5px;overflow-wrap:anywhere}.category-detail-heading h2{font-size:22px;margin:0;overflow-wrap:anywhere}.category-status{margin-left:auto;flex-shrink:0;border:1px solid var(--cat-muted);border-radius:4px;font-size:10px;letter-spacing:.04em;font-weight:750;padding:5px 7px;background:var(--cat-tint);color:var(--cat-muted)}.category-detail-body{overflow:auto;min-height:0;padding:15px 18px;flex:1}.category-breadcrumb{font-size:12px;color:var(--cat-muted);margin-bottom:17px}.category-breadcrumb button{border:0;padding:0;min-height:22px;background:transparent;color:var(--cat-muted)}.category-detail-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:18px}.category-detail-stats>div{background:var(--cat-tint);border:1px solid var(--cat-border);border-radius:5px;padding:12px;min-width:0}.category-detail-stats small{display:block;font-size:10px;color:var(--cat-muted);margin-bottom:7px}.category-detail-stats strong{font-size:18px;display:block;overflow-wrap:anywhere}.category-detail-section{border-top:1px solid var(--cat-border);padding-top:15px;margin-top:15px}.category-detail-section h3{font-size:12px;letter-spacing:.04em;text-transform:uppercase;margin:0 0 12px;color:var(--cat-muted)}.category-detail-section dl{margin:0}.category-detail-section dl>div{display:grid;grid-template-columns:minmax(120px,31%) minmax(0,1fr);gap:14px;padding:10px 7px;border-bottom:1px solid var(--cat-border);font-size:13px}.category-detail-section dt{color:var(--cat-muted)}.category-detail-section dd{margin:0;font-weight:600;overflow-wrap:anywhere}.category-child-buttons{display:flex;gap:8px;flex-wrap:wrap}.category-child-buttons button{display:flex;align-items:center;gap:8px;text-align:left;min-width:130px}.category-child-buttons small{display:block;color:var(--cat-muted);font-size:10px;margin-top:2px}.category-items-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.category-items-heading>span{font-size:12px;color:var(--cat-muted)}.category-model-list{display:grid;gap:7px}.inventory-categories-workspace .category-model-card{display:flex;align-items:center;gap:12px;text-align:left;width:100%;padding:9px}.category-model-card>span:nth-child(2){min-width:0;flex:1}.category-model-card strong{display:block;font-size:13px;overflow-wrap:anywhere}.category-model-card small{display:block;font-size:11px;color:var(--cat-muted);margin-top:4px;line-height:1.5;overflow-wrap:anywhere}.category-model-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.inventory-categories-workspace .category-model-gallery .category-model-card{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;min-height:155px}.category-model-gallery .category-node-icon{width:58px;height:55px;flex-basis:55px}.category-model-gallery .category-node-icon svg{width:44px;height:44px}.category-model-gallery .category-model-card>span:last-child{display:none}.category-pagination{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex-wrap:wrap;font-size:11px;color:var(--cat-muted);padding-top:12px}.category-pagination button{font-size:11px;min-height:30px;padding:5px 10px}.category-detail-actions{display:flex;gap:8px;align-items:center;justify-content:flex-end;flex-wrap:wrap;border-top:1px solid var(--cat-border);padding:14px 18px;flex-shrink:0}.category-detail-actions button,.category-detail-actions a{font-size:12px}.inventory-categories-workspace .category-retire{color:#b92337;border-color:#df8790}.category-editor{color:var(--cat-ink,#193447)}
[data-theme=dark] .inventory-categories-workspace,[data-mui-color-scheme=dark] .inventory-categories-workspace{--cat-border:#405865;--cat-muted:#abc0cd;--cat-tint:#233a43;--cat-selected:#174d4d;--cat-ink:#e5f1f5;--cat-primary:#66d6cb;--surface:#192b34}.inventory-categories-workspace .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:1100px){.category-tree-grid{grid-template-columns:minmax(280px,35%) minmax(0,1fr)}.category-detail-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.category-model-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.category-workspace-heading{align-items:flex-start;flex-wrap:wrap}.category-tree-controls{gap:9px}.category-tree-by button{font-size:11px}.category-tree-by .category-node-icon{display:none}}
@media(max-width:760px){.category-tree-grid{grid-template-columns:minmax(0,1fr);height:auto;min-height:0}.category-tree-panel{max-height:420px}.category-inspector{overflow:visible}.category-detail-body{overflow:visible}.category-detail-heading{padding:13px}.category-detail-heading h2{font-size:19px}.category-detail-heading p{font-size:9px}.category-detail-body{padding:12px}.category-status{font-size:9px}.category-workspace-heading h1{font-size:21px}.category-workspace-tools{width:100%}.category-view-switch{flex:1}.category-view-switch button{padding:8px 10px;font-size:12px;flex:1}.category-detail-stats strong{font-size:16px}.category-detail-section dl>div{grid-template-columns:minmax(0,1fr);gap:4px}.category-detail-actions{padding:12px;justify-content:flex-start}.category-model-gallery{grid-template-columns:minmax(0,1fr)}.category-tree-by .category-node-icon{display:inline-flex}.category-workspace-heading p{font-size:12px}}

/* Size the two panes from the available ERP workspace after the scaled header. */
.foundation-workspace > .workspace-content > main:has(> .inventory-categories-workspace) {
 display: flex;
 flex-direction: column;
}
.inventory-categories-workspace {
 display: flex;
 flex: 1 1 auto;
 flex-direction: column;
 min-height: 0;
}
.inventory-categories-workspace > :not(.category-tree-grid) {
 flex: 0 0 auto;
}
.category-tree-grid {
 flex: 1 1 auto;
 height: auto;
 min-height: 350px;
}
.category-tree-panel,.category-inspector {
 min-width: 0;
}
.category-tree-grid[data-view="table"] .category-detail-body,
.category-tree-grid[data-view="categories"] .category-detail-body {
 display: flex;
 flex-direction: column;
}
.category-tree-grid[data-view="table"] .category-items-section {
 display: flex;
 flex: 1;
 flex-direction: column;
 min-height: 0;
}
.category-tree-grid:is([data-view="table"],[data-view="categories"]) .item-bom-table {
 display: flex;
 flex: 1 1 160px;
 flex-direction: column;
 min-height: 130px;
}
.category-tree-grid:is([data-view="table"],[data-view="categories"]) .item-bom-table > .view-table-scroll {
 flex: 1 1 auto;
 max-height: none;
}
@media (max-width: 760px) {
 .category-tree-grid {
  flex: 1 0 auto;
  min-height: 0;
 }
 .category-inspector {
  min-height: 350px;
 }
 .category-tree-grid:is([data-view="table"],[data-view="categories"]) .item-bom-table > .view-table-scroll {
  max-height: 56dvh;
 }
}

.category-node-icon {
 display:inline-grid;
 place-items:center;
 flex:0 0 auto;
 width:34px;
 height:34px;
 border:1px solid var(--cat-border,var(--mfg-border,#c3d3df));
 border-radius:8px;
 background:color-mix(in srgb,var(--cat-tint,var(--mfg-tint,#edf4f7)) 70%,var(--surface,#fff));
}
.category-node-icon .category-artwork {
 display:block;
 width:92%;
 height:92%;
}
.inventory-categories-workspace .category-tree-row {
 padding-block:5px;
 min-height:46px;
 transition:background-color .15s ease;
}
.inventory-categories-workspace .category-tree-row:hover {
 background:color-mix(in srgb,var(--cat-tint) 40%,var(--cat-selected));
}
.inventory-categories-workspace .category-tree-row.selected,
.inventory-categories-workspace .category-tree-row.selected:hover {
 background:var(--cat-selected);
}
.category-detail-heading {
 background:linear-gradient(110deg,var(--cat-tint),var(--surface,#fff) 70%);
}
.category-detail-heading .category-node-icon {
 width:48px;
 height:48px;
 flex-basis:48px;
 border-radius:10px;
}
.category-detail-stats > div {
 border-radius:8px;
 background:linear-gradient(145deg,var(--cat-tint),var(--surface,#fff));
}
.category-child-buttons button:hover {
 border-color:var(--cat-primary);
}
.mfg-node .category-node-icon {
 width:24px;
 height:24px;
 border-radius:6px;
}
@media (prefers-reduced-motion: reduce) {
 .inventory-categories-workspace .category-tree-row {transition:none}
}

.category-section-tabs{display:flex;flex-wrap:wrap;gap:6px;padding:10px 16px;border-bottom:1px solid var(--cat-border);flex:none}
.category-section-tabs [role=tab]{border-color:transparent;padding:7px 12px}
.category-section-tabs [role=tab][aria-selected=true]{background:var(--cat-selected);border-color:var(--cat-primary);color:var(--cat-primary);font-weight:700}
.category-model-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px 12px;margin:0 0 12px;padding:12px;background:var(--cat-tint);border:1px solid var(--cat-border);border-radius:7px}
.category-model-filters label{display:grid;gap:5px;font-size:12px;font-weight:650;min-width:0}
.category-model-filters :is(input,select){box-sizing:border-box;width:100%;min-height:35px;background:var(--surface,#fff);color:var(--cat-ink);border:1px solid var(--cat-border);border-radius:5px;padding:6px 8px;font:inherit;font-weight:400}
.category-filter-actions{display:flex;align-items:end;flex-wrap:wrap;gap:6px}
.category-content{min-width:0;padding:12px 0 18px}
.category-content-heading{display:flex;gap:12px;flex-wrap:wrap;justify-content:space-between;align-items:center;margin-bottom:14px}
.category-content-heading h3{font-size:18px;margin:0 0 4px}
.category-content-heading p,.category-file-picker small,.category-brochure footer,.category-documents-list small{color:var(--cat-muted);font-size:13px;margin:0}
.category-brochure{background:var(--cat-tint);border:1px solid var(--cat-border);border-radius:8px;padding:18px;line-height:1.6;overflow-wrap:anywhere}
.category-brochure h4{font-size:19px;margin:0 0 10px}.category-brochure h5{font-size:15px;margin:15px 0 6px}.category-brochure p{margin:0 0 10px}
.category-brochure footer{margin-top:14px;border-top:1px solid var(--cat-border);padding-top:10px}
.category-file-picker{display:grid;gap:7px;justify-items:start;margin:14px 0;font-weight:650}
.category-file-picker input{font:inherit;font-weight:400;color:inherit;max-width:100%}
.category-documents-list{margin:12px 0 0;padding:0;list-style:none;border:1px solid var(--cat-border);border-radius:8px;overflow:hidden}
.category-documents-list li{display:flex;gap:10px;flex-wrap:wrap;align-items:center;justify-content:space-between;padding:12px;border-bottom:1px solid var(--cat-border);overflow-wrap:anywhere}
.category-documents-list li:last-child{border-bottom:0}.category-documents-list small{display:block;margin-top:4px}
.category-document-actions{display:flex;gap:7px;flex-wrap:wrap}
.category-node-icon .studio-part-picture{width:100%;height:100%;max-width:32px;max-height:32px;display:block}
.inventory-artwork-label{display:inline-flex!important;align-items:center;gap:8px;text-align:left;min-width:0}
.inventory-artwork-label .category-node-icon,.bom-component-identity .category-node-icon{width:29px;height:29px;flex:0 0 29px}
@media(max-width:1150px){.category-model-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:450px){.category-model-filters{grid-template-columns:1fr}.category-section-tabs{padding-inline:10px}}

.category-guide{background:transparent}
.category-guide-hero{background:#084b51;color:#fff;border-radius:8px;padding:clamp(14px,3vw,24px);border-bottom:4px solid #33c4a8}
.category-guide-hero small{font-size:11px;letter-spacing:.07em;text-transform:uppercase}
.category-guide-hero h4{margin:5px 0;font-size:clamp(19px,3vw,26px)}
.category-guide-hero p{margin:0;color:#e8f6f3}
.category-guide h6{margin:8px 0 4px;font-size:inherit}
.category-guide-specs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0}
.category-guide-specs>div{border:1px solid var(--cat-border);background:var(--cat-tint);border-radius:7px;padding:10px}
.category-guide-specs dt{font-weight:700}.category-guide-specs dd{margin:3px 0 0}
.category-guide footer p{margin:5px 0 0}
.category-guide-documents{border:1px solid var(--cat-border);border-radius:8px;padding:12px;margin-bottom:14px}
.category-guide-documents h4{margin:0 0 4px}.category-guide-documents>p{margin:0 0 8px;color:var(--cat-muted)}
.category-guide-documents button{min-height:40px}
@media(max-width:640px){
 .category-guide{padding:10px}
 .category-guide-specs{grid-template-columns:minmax(0,1fr)}
 .category-guide-documents .category-document-actions{flex-wrap:wrap}
}

.category-guide-hero{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);align-items:center;gap:clamp(12px,2vw,24px);background:linear-gradient(135deg,#063138,#0b5960)}
.category-guide-hero figure{margin:0;min-width:0}
.category-guide-hero img{display:block;width:100%;aspect-ratio:3/2;object-fit:cover;border-radius:6px;border:1px solid #7ab9b76b}
.category-guide-hero figcaption{font-size:11px;color:#d8f1ed;margin-top:4px}
.category-guide-art{display:grid;place-items:center;min-width:0}
.category-guide-art .category-node-icon{width:clamp(70px,13vw,136px);height:clamp(70px,13vw,136px);border-radius:14px;background:#e8f5f2;border:0}
.category-guide-art :is(.category-artwork,.studio-part-picture){width:100%;height:100%}
.category-guide-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(115px,1fr));gap:7px;margin:10px 0 0}
.category-guide-facts>div{border-left:3px solid #28a890;background:var(--cat-tint);padding:7px 9px;border-radius:4px}
.category-guide-facts dt{color:var(--cat-muted);font-size:11px;letter-spacing:.06em;text-transform:uppercase}
.category-guide-facts dd{margin:2px 0 0;font-weight:700}
.category-guide-specs dt,.category-guide-doc-label{display:flex;align-items:center;gap:7px}
.category-guide :is(dt,.category-guide-doc-label) svg,.category-guide-doc-label svg{flex:none;color:#23897d}
@media(max-width:540px){
 .category-guide-hero{grid-template-columns:1fr}
 .category-guide-art{justify-items:start}
 .category-guide-art .category-node-icon{width:72px;height:72px}
}

.category-pricing-fields,.category-pricing-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-width:760px;margin:12px 0}
.category-pricing :is(label,.category-pricing-reason){display:grid;gap:5px;font-size:12px;font-weight:650;min-width:0}
.category-pricing :is(input,select){min-height:36px;width:100%;box-sizing:border-box;border:1px solid var(--cat-border);border-radius:5px;background:var(--surface,#fff);color:var(--cat-ink);padding:6px 9px;font:inherit}
.category-pricing .category-pricing-reason{max-width:760px;margin:14px 0}
.category-pricing .category-document-actions{margin:12px 0}
@media(max-width:540px){.category-pricing-fields,.category-pricing-grid{grid-template-columns:minmax(0,1fr)}}

.bom-simple .bom-link{border:0!important;background:transparent!important;text-decoration:underline;color:var(--brand,#00857f)!important;padding:0!important;min-width:0}.bom-simple small.inventory-muted{display:block}.bom-current-strip{padding:12px 14px;background:#def3f0;border:1px solid #b8dfd9;border-radius:5px;color:#175450;line-height:1.6}.bom-current-strip>span{font-size:17px;margin-right:7px}.bom-list-search{display:block;max-width:350px;margin:14px 0}.bom-simple input,.bom-create input,.bom-create textarea,.bom-create select{box-sizing:border-box}.bom-create fieldset,.bom-simple .bom-additional fieldset{border:0;padding:0;margin:0;min-width:0}.bom-create textarea{min-height:90px}.bom-additional{border-top:1px solid var(--line,#d1dfe7);padding-top:14px;margin:18px 0}.bom-additional>summary{cursor:pointer;font-weight:650;padding:6px 0}.bom-additional[open]>summary{margin-bottom:12px}.bom-create .bom-additional label,.bom-simple .bom-additional label{display:block;margin:12px 0}.bom-revision-meta{display:grid;grid-template-columns:minmax(105px,.7fr) minmax(150px,.9fr) minmax(240px,1.8fr) minmax(180px,1fr);gap:15px;align-items:start;border-bottom:1px solid var(--line,#d1dfe7);padding:12px 0 22px;margin-bottom:18px}.bom-revision-meta>label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:650}.bom-revision-meta input{width:100%;min-width:0;padding:8px;border:1px solid var(--line,#c4d6df);border-radius:5px;background:var(--surface,#fff);color:inherit;font:inherit;min-height:36px}.bom-revision-meta .bom-current-control{padding-top:4px;font-weight:700}.bom-current-control>span{display:flex;gap:9px;align-items:center}.bom-revision-meta .bom-current-control input{width:17px;height:17px;min-height:0;accent-color:#00857f}.bom-current-control>small{display:block;font-size:11px;font-weight:400;line-height:1.5;color:var(--muted,#657e91)}.bom-simple .item-bom-line-tools{margin-bottom:14px;gap:12px;flex-wrap:wrap}.bom-simple .item-bom-line-tools h3{margin:0 0 4px}.bom-quantity{display:flex;gap:7px;align-items:center}.bom-quantity input{width:83px!important;min-width:55px;min-height:30px!important;padding:5px 7px!important}.bom-quantity small{font-size:11px;color:var(--muted,#637e91)}.bom-quantity [aria-invalid=true]{border-color:#b92337}.bom-line-details{font-size:11px;margin-top:5px}.bom-line-details>summary{cursor:pointer;color:var(--muted,#637e91)}.bom-line-details label{display:block;min-width:150px;margin:8px 0}.bom-line-details input,.bom-line-details select{max-width:220px}.bom-table-total{display:flex;justify-content:space-between;align-items:center;gap:15px;flex-wrap:wrap;padding:12px 7px;border-bottom:1px solid var(--line,#d1dfe7)}.bom-table-total small{font-size:11px;color:var(--muted,#637e91)}.bom-table-total strong{color:var(--brand,#00857f);font-size:15px}.bom-cost-summary{max-width:375px;margin:18px 0 18px auto}.bom-cost-summary h3{margin:0 0 9px;font-size:16px}.bom-cost-summary dl{margin:0}.bom-cost-summary dl>div{display:flex;justify-content:space-between;gap:24px;padding:8px 0;border-bottom:1px solid var(--line,#d1dfe7);font-size:13px}.bom-cost-summary dd{margin:0;font-variant-numeric:tabular-nums;font-weight:600}.bom-cost-summary dl>div:last-child{font-weight:750;color:var(--brand,#00857f);font-size:15px}.bom-cost-summary>small{display:block;color:var(--muted,#637e91);margin-top:7px}.bom-save-actions{display:flex;justify-content:flex-end;border-top:1px solid var(--line,#d1dfe7);padding-top:15px}.bom-picker-tools{display:flex;gap:12px;align-items:flex-end;flex-wrap:wrap;margin-bottom:16px}.bom-picker-tools>label:first-child{flex:1;min-width:200px}.bom-picker-tools .item-bom-check{display:flex;gap:8px;align-items:center;align-self:center;font-size:12px}.bom-picker-tools .item-bom-check input{width:16px}.bom-picker-total{border-top:1px solid var(--line,#d1dfe7);display:flex;gap:22px;align-items:center;flex-wrap:wrap;padding:15px 0 3px}.bom-picker-total small{font-size:11px;color:var(--muted,#637e91)}.bom-unit-source{display:flex;gap:18px;flex-wrap:wrap;padding:13px;border:1px solid var(--line,#d1dfe7);border-radius:5px;background:var(--surface-alt,#f2f7f9);font-size:13px;margin-bottom:12px}
[data-theme=dark] .bom-current-strip,[data-mui-color-scheme=dark] .bom-current-strip{background:#164743;color:#c1f2eb;border-color:#326e68}
@media(max-width:1000px){.bom-revision-meta{grid-template-columns:repeat(2,minmax(0,1fr))}.bom-revision-meta>label:nth-child(3){grid-column:1/-1}.bom-current-control{grid-column:1/-1}.bom-simple .item-bom-toolbar{flex-wrap:wrap}.bom-simple .item-bom-actions{flex-wrap:wrap}}
@media(max-width:550px){.bom-revision-meta{grid-template-columns:minmax(0,1fr)}.bom-cost-summary{max-width:none}.bom-picker-tools>label:first-child{min-width:0;width:100%;flex-basis:100%}.bom-picker-tools{gap:8px}.bom-picker-total{gap:10px}.bom-create .inventory-form-grid{grid-template-columns:minmax(0,1fr)}.bom-simple .item-bom-toolbar h2{font-size:20px}.bom-unit-source{flex-direction:column;gap:6px}}

.bom-revision-additional .bom-additional-body{padding:14px;border:1px solid var(--line,#d1dfe7);border-radius:8px;background:var(--surface,#fff)}
.bom-revision-additional .bom-additional-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 16px}
.bom-revision-additional .bom-additional-fields>label{display:grid;gap:6px;min-width:0;margin:0;font-weight:650}
.bom-revision-additional .bom-additional-fields>label.item-bom-check{display:flex;align-items:center;gap:8px;grid-column:1/-1}
.bom-revision-additional textarea,.item-bom-modal-content .bom-additional textarea{display:block;box-sizing:border-box;width:100%;min-height:94px;resize:vertical;padding:9px 11px;background:var(--surface,#fff);border:1px solid var(--line,#cbd9e2);border-radius:6px;font:inherit;font-weight:400;color:inherit;line-height:1.5;overflow-wrap:anywhere}
.bom-history{margin-top:16px;padding-top:15px;border-top:1px solid var(--line,#d1dfe7)}
.bom-history-heading{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;margin-bottom:10px}
.bom-history-heading h3,.bom-history-heading p{margin:0}.bom-history-heading p{margin-top:4px}
.bom-history button[aria-current=true]{border-color:var(--brand,#00857f);color:var(--brand,#00857f);font-weight:700}
.item-po-history .item-bom-list-filter{display:flex;flex-wrap:wrap;align-items:end;gap:8px;margin:12px 0}
.item-po-history .item-bom-list-filter label{display:grid;gap:5px;flex:1 1 260px;max-width:470px;min-width:0}
.item-po-history .item-bom-list-filter input{width:100%;box-sizing:border-box}
@media(max-width:680px){.bom-revision-additional .bom-additional-fields{grid-template-columns:1fr}}
.matrix-stack-options{margin:10px 0 0}.matrix-stack-options>summary{cursor:pointer;font-weight:650}
.matrix-stack-form{display:flex;align-items:end;gap:8px;flex-wrap:wrap;margin-top:9px}
.matrix-stack-form label{display:grid;gap:4px;min-width:0}
.matrix-stack-form input{box-sizing:border-box;width:min(200px,100%);min-height:36px;padding:6px 8px;border:1px solid var(--line,#cbd9e2);border-radius:5px;background:var(--surface,#fff);color:inherit;font:inherit}

/* Inventory owns its table scroll region. The list and pager use the rest of the workspace. */
@media (max-width: 999px) {
 .foundation-workspace:has(.inventory-workspace) {
  height: var(--erp-viewport-height, 100dvh);
 }
 .foundation-workspace .main.commercial-main:has(> .inventory-workspace) {
  display: flex;
  flex-direction: column;
  overflow: auto;
 }
 .commercial-main > .inventory-workspace {
  flex: 1 0 auto;
  height: auto;
  min-height: 0;
 }
 .inventory-workspace > :not(.inventory-table-native) {
  flex: 0 0 auto;
 }
 .inventory-workspace > .inventory-table-native {
  flex: 1 0 185px;
  min-height: 185px;
 }
 .inventory-table-native > .view-table-scroll {
  flex: 1 1 0;
  height: 0;
  max-height: none;
 }
}

@media (max-width: 650px) {
 .inventory-workspace .inventory-pagination {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto minmax(0,1fr);
  align-items: center;
  gap: 6px 10px;
  min-height: 0;
 }
 .inventory-pagination > span:first-child {
  grid-column: 1 / -1;
  width: auto;
  margin-right: 0;
 }
 .inventory-workspace .inventory-pagination button {
  min-height: 55px;
 }
}

/* Keep the last event and the Activity controls inside the mobile workspace. */
@media (max-width: 760px) {
 .crm-activity-page,
 .service-hub-r01 .hub-activity-panel,
 .service-hub-r01 .hub-issue-activity {
  min-width: 0;
  max-width: 100%;
  padding-bottom: max(20px, env(safe-area-inset-bottom));
 }
 .crm-activity-page .crm-timeline > article {
  grid-template-columns: 24px minmax(0,1fr);
  align-items: start;
  gap: 4px 10px;
 }
 .crm-activity-page .crm-timeline > article > time {
  grid-column: 2;
  grid-row: 1;
 }
 .crm-activity-page .crm-timeline > article > svg {
  grid-column: 1;
  grid-row: 1 / span 2;
 }
 .crm-activity-page .crm-timeline > article > div {
  grid-column: 2;
  grid-row: 2;
  min-width: 0;
 }
 .crm-activity-page .crm-timeline > article,
 .hub-activity-panel .hub-activity > li,
 .hub-issue-activity .hub-timeline-meta {
  overflow-wrap: anywhere;
 }
 .hub-activity-panel .hub-activity > li {
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
 }
 .service-hub-r01 .hub-activity-panel .hub-pager > div {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto minmax(0,1fr);
  width: 100%;
  gap: 6px;
 }
 .service-hub-r01 .hub-activity-panel .hub-pager button {
  min-height: 55px;
 }
}

.matrix-bom-panel {
 min-width: 0;
 overflow-wrap: anywhere;
}
.matrix-bom-panel h3 {
 margin: 0 0 4px;
}
.matrix-bom-panel .item-bom-actions {
 margin-top: 12px;
}

/* A selected item tab keeps its active tint. Keyboard focus stays inside the button. */
.inventory-item-layout .record-tab:focus-within {
 outline: none;
}
.inventory-item-layout .commercial-related-tabs .record-tab > button,
.inventory-item-layout .record-tabs-toolbar .commercial-section-select select {
 box-shadow: none !important;
}
.inventory-item-layout .record-tab > [role="tab"]:focus:not(:focus-visible) {
 outline: none;
}
.inventory-item-layout .record-tab > [role="tab"]:focus-visible {
 outline: 2px solid var(--erp-accent,#007c78);
 outline-offset: -3px;
}
.inventory-item-layout .record-tab,
.inventory-item-layout .record-tab.active {
 box-shadow: none;
}

.bom-component-identity {
 display: flex;
 align-items: center;
 gap: 8px;
 min-width: 0;
 overflow-wrap: anywhere;
}
.bom-component-identity .studio-part-picture {
 width: 37px;
 height: 39px;
 flex: 0 0 37px;
}
.matrix-design-basis {
 margin: 10px 0 14px;
 max-width: 670px;
}
.matrix-design-basis select {
 width: 100%;
 min-height: 38px;
 padding: 7px 9px;
 border: 1px solid var(--erp-border,#c9d9df);
 border-radius: 5px;
 background: var(--erp-surface,#fff);
 color: var(--erp-text,#243b49);
}

.inventory-filter-bar .inventory-filter-checks {
 grid-column: 1 / -1;
 display: flex;
 flex-wrap: wrap;
 gap: 7px;
 min-width: 0;
 margin: 1px 0 0;
 padding: 8px 0 0;
 border: 0;
 border-top: 1px solid var(--erp-border,#cfdee3);
}
.inventory-filter-checks legend {
 padding: 0 8px 0 0;
 font-size: 11px;
 font-weight: 700;
}
.inventory-filter-bar .inventory-filter-chip {
 display: inline-flex;
 flex-direction: row;
 align-items: center;
 gap: 7px;
 min-height: 33px;
 padding: 4px 8px;
 border: 1px solid var(--erp-border,#cfdee3);
 border-radius: 6px;
 background: var(--erp-surface,#fff);
 cursor: pointer;
}
.inventory-filter-chip[data-filter-state="1"] {
 border-color: var(--erp-accent,#007c78);
}
.inventory-filter-chip input[type="checkbox"] {
 appearance: auto;
 width: 15px;
 height: 15px;
 min-height: 0;
 margin: 0;
 padding: 0;
 accent-color: var(--erp-accent,#007c78);
}
.inventory-filter-chip small {
 font-size: 10px;
 color: var(--erp-text-muted,#52677a);
}
@media (max-width: 650px) {
 .inventory-filter-bar .inventory-filter-chip {
  min-height: 40px;
 }
}

.matrix-design-basis p {
 margin:4px 0;
}
.matrix-design-basis label {
 display:block;
 max-width:240px;
 margin-top:8px;
}
.matrix-winding-schedule {
 margin:8px 0 12px;
}
.matrix-winding-schedule summary {
 cursor:pointer;
 font-weight:700;
}
.matrix-winding-schedule ul {
 display:grid;
 gap:6px;
 padding:0;
 list-style:none;
}
.matrix-winding-schedule li {
 display:flex;
 flex-wrap:wrap;
 justify-content:space-between;
 gap:4px 12px;
 padding:5px 8px;
 border-bottom:1px solid var(--erp-border,#cfdee3);
}

/* Inventory item identity and mobile disclosures. */
.inventory-item-toolbar .inventory-item-identity {
 display: flex;
 align-items: center;
 flex: 1 1 245px;
 gap: 10px;
 min-width: 0;
}
.inventory-item-identity > div { min-width: 0; }
.inventory-item-toolbar .inventory-item-identity h1 { margin: 0; overflow-wrap: anywhere; }
.inventory-item-identity .inventory-item-name {
 display: block;
 color: var(--text-secondary, #536775);
 font-size: 13px;
 overflow-wrap: anywhere;
}
.inventory-item-identity .inventory-item-version { flex: none; }
.inventory-item-identity .category-node-icon {
 width: 48px;
 height: 48px;
 flex: 0 0 48px;
}
.inventory-item-identity .category-node-icon > * { width: 100%; height: 100%; }
.inventory-item-overview-shell { min-width: 0; min-height: 0; }
.inventory-item-overview-shell > div { height: 100%; }
.inventory-item-layout:has(.item-bom-panel) > .inventory-item-overview-shell { display: none; }
.inventory-description-caption { font-weight: 700; }
.inventory-description-list {
 margin: 6px 0 0;
 padding-inline-start: 1.15em;
 list-style: disc;
 overflow-wrap: anywhere;
 white-space: normal;
 line-height: 1.45;
}
.inventory-description-list li + li { margin-top: 4px; }
.inventory-list-description .inventory-description-list { margin-top: 0; }
.inventory-filter-toggle, .inventory-detail-toggle { display: none; }

@media (max-width: 760px) {
 .inventory-workspace .inventory-heading { margin-bottom: 10px; }
 .inventory-workspace .inventory-heading p { display: none; }
 .inventory-workspace .inventory-filter-toggle,
 .inventory-item-overview-shell .inventory-detail-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--erp-border, #cbd8df);
  border-radius: 8px;
  background: var(--erp-surface, #fff);
  color: var(--erp-text, #263b48);
  font: inherit;
  font-weight: 600;
  text-align: start;
 }
 .inventory-filter-toggle .inventory-disclosure-mark,
 .inventory-detail-toggle > span { margin-inline-start: auto; }
 .inventory-active-filters { color: var(--erp-accent, #007c78); font-size: 12px; }
 .inventory-workspace .inventory-filter-bar[data-mobile-open="false"] { display: none; }
 .inventory-workspace .inventory-filter-bar[data-mobile-open="true"] { margin-top: 7px; }
 .inventory-list-description { max-height: 2.9em; overflow: hidden; }
 .inventory-workspace > .inventory-table-native { flex-basis: 230px; }
 .inventory-item-toolbar { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
 .inventory-item-toolbar .commercial-mode-tabs { order: -2; }
 .inventory-item-toolbar .inventory-item-identity { order: -1; }
 .inventory-item-toolbar .commercial-top-actions { justify-content: flex-start; flex-wrap: wrap; min-width: 0; }
 .inventory-item-toolbar .commercial-top-actions button,
 .inventory-item-toolbar .commercial-top-actions a { min-height: 44px; max-width: 100%; overflow-wrap: anywhere; }
 .commercial-record-layout.inventory-item-layout,
 .is-hosted .commercial-record-layout.inventory-item-layout {
  grid-template-columns: minmax(0, 1fr);
  height: auto;
  min-height: 0;
 }
 .inventory-item-overview-shell > div { height: auto; }
 .inventory-item-overview-shell .item-overview { max-height: none; height: auto; overflow: visible; }
 .inventory-item-overview-shell[data-expanded="false"] .commercial-form-grid > :not(.inventory-description-field) { display: none; }
 .inventory-item-overview-shell .inventory-detail-toggle { margin-bottom: 6px; }
 .inventory-item-layout .record-tabs-toolbar { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; }
 .inventory-item-layout .commercial-section-select { width: 100%; min-width: 0; }
 .inventory-item-layout .commercial-section-select select { width: 100%; min-height: 44px; }
 .inventory-item-layout .commercial-related-tabs { min-width: 0; max-width: 100%; overflow-x: auto; }
 .inventory-item-layout .item-related { min-width: 0; }
}

.mfg-workspace,.mfg-copy {
 --mfg-ink:#14243a;
 --mfg-muted:#52677a;
 --mfg-border:#c6d3df;
 --mfg-surface:#fff;
 --mfg-tint:#edf4f7;
 --mfg-stripe:#f5f7f8;
 --mfg-header:#374550;
 --mfg-primary:#007b7b;
 --mfg-link:#006e72;
 --mfg-selected:#e0f3ef;
 --mfg-ok:#d7efde;
 --mfg-ok-ink:#15532d;
 --mfg-warn:#fff1d6;
 --mfg-warn-border:#e8b75d;
 --mfg-warn-ink:#663800;
 color:var(--mfg-ink);
 min-width:0;
}
[data-theme=dark] :is(.mfg-workspace,.mfg-copy),[data-mui-color-scheme=dark] :is(.mfg-workspace,.mfg-copy) {
 --mfg-ink:#e5eef5;
 --mfg-muted:#b6c6d2;
 --mfg-border:#465c6d;
 --mfg-surface:#17262f;
 --mfg-tint:#213943;
 --mfg-stripe:#20303a;
 --mfg-header:#334a56;
 --mfg-primary:#007b7b;
 --mfg-link:#80d9ce;
 --mfg-selected:#204b4b;
 --mfg-ok:#294b3d;
 --mfg-ok-ink:#b8edce;
 --mfg-warn:#4c351a;
 --mfg-warn-border:#9d753f;
 --mfg-warn-ink:#ffe2ad;
}
.mfg-workspace *, .mfg-copy * {box-sizing:border-box}
.mfg-workspace :is(button,input,select),.mfg-copy :is(button,input,textarea){font:inherit}
.mfg-workspace :is(button,a,select):focus-visible,.mfg-copy :is(button,a,input,textarea):focus-visible {
 outline:2px solid var(--mfg-link);outline-offset:2px
}
.mfg-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin:0 0 16px}
.mfg-heading h1{font-size:26px;line-height:1.2;font-weight:750;letter-spacing:-.025em;margin:0 0 4px}
.mfg-heading p,.mfg-muted{color:var(--mfg-muted);margin:0;font-size:14px}
.mfg-heading a,.mfg-success a,.mfg-return{color:var(--mfg-link,#006e72);text-underline-offset:3px}
.mfg-heading a{white-space:nowrap;padding:5px 0}
.mfg-return{display:inline-block;margin-bottom:12px}
.mfg-filters{display:grid;grid-template-columns:minmax(210px,425px) minmax(146px,183px) minmax(155px,213px);gap:12px;margin:0 0 18px}
.mfg-filters label,.mfg-revision label,.mfg-copy label{min-width:0}
.mfg-workspace :is(input,select),.mfg-copy :is(input,textarea){
 border:1px solid var(--mfg-border);border-radius:6px;background:var(--mfg-surface);color:var(--mfg-ink);
 width:100%;min-height:37px;padding:7px 10px;line-height:1.45
}
.mfg-search{position:relative}
.mfg-search input{padding-left:36px}
.mfg-search svg{position:absolute;left:11px;top:10px;width:17px;height:17px;color:var(--mfg-muted);pointer-events:none}
.mfg-sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
/* Fill the ERP content area after the header, filters and any feedback. */
.foundation-workspace > .workspace-content > main:has(> .mfg-workspace) {
 display: flex;
 flex-direction: column;
}
.mfg-workspace {display:flex;flex:1 1 auto;flex-direction:column;min-height:0}
.mfg-workspace > :not(.mfg-layout) {flex-shrink:0}
.mfg-layout {
 display:grid;
 grid-template-columns:minmax(198px,.83fr) minmax(0,2fr) minmax(265px,1.3fr);
 grid-template-rows:minmax(0,1fr);
 gap:10px;
 flex:1 1 auto;
 min-height:350px;
}
.mfg-pane{min-width:0;background:var(--mfg-surface);border:1px solid var(--mfg-border);border-radius:8px;overflow:hidden}
.mfg-pane-title{font-size:17px;letter-spacing:-.015em;margin:0;padding:12px 13px;line-height:1.35}
.mfg-tree{display:flex;flex-direction:column}
.mfg-tree .mfg-pane-title{border-bottom:1px solid var(--mfg-border)}
.mfg-category-toggle{display:none}
.mfg-tree-body{overflow:auto;padding:6px;min-height:0;flex:1}
.mfg-tree ul{list-style:none;padding:0;margin:0}
.mfg-tree ul.mfg-tree-branch{margin-left:10px;padding-left:3px;border-left:1px dashed var(--mfg-border)}
.mfg-tree-row{display:flex;align-items:stretch;min-height:33px;border-radius:4px;margin:1px 0}
.mfg-tree-row:hover,.mfg-tree-row.is-selected{background:var(--mfg-selected)}
.mfg-tree-row.is-selected .mfg-node{color:var(--mfg-link);font-weight:700}
.mfg-tree-row :is(button,span).mfg-disclosure{flex:0 0 17px;text-align:center;padding:0}
.mfg-tree-row button{cursor:pointer;color:inherit;background:transparent;border:0;border-radius:4px}
.mfg-node{min-width:0;display:flex;align-items:center;gap:6px;flex:1;text-align:left;padding:4px 5px;font-size:13px}
.mfg-node svg{width:17px;height:17px;flex:0 0 17px;color:var(--mfg-muted)}
.mfg-node span{overflow-wrap:anywhere}
.mfg-node small{margin-left:auto;flex-shrink:0;color:var(--mfg-muted);font-size:10px}
.mfg-models{display:flex;flex-direction:column}
.mfg-model-table{margin:0 6px;min-height:0;flex:1;display:flex;flex-direction:column}
.mfg-model-table .view-table-scroll{min-height:0;flex:1;max-height:none;overflow:auto;border:1px solid var(--mfg-border);border-radius:6px}
.mfg-model-table .view-table{font-size:13px}
.mfg-model-table .view-table thead th{background:var(--mfg-header);color:#fff}
.mfg-model-table .view-table td{padding-block:8px}
.mfg-model-link{appearance:none;padding:0;text-align:left;border:0;background:transparent;color:var(--mfg-link);font-weight:700;text-decoration:underline;text-underline-offset:2px;overflow-wrap:anywhere;cursor:pointer}
.mfg-model-table .view-table tr:has(.mfg-model-link[aria-pressed=true]) td{background:var(--mfg-selected)}
.mfg-pagination{display:flex;justify-content:space-between;align-items:center;gap:10px;border-top:1px solid var(--mfg-border);padding:10px 12px;text-align:center;font-size:13px}
.mfg-pagination small{display:block;color:var(--mfg-muted);font-size:11px}
.mfg-pagination button,.mfg-problem button,.mfg-warning button,.mfg-copy button {
 color:inherit;background:var(--mfg-surface);border:1px solid var(--mfg-border);border-radius:5px;min-height:34px;padding:5px 10px;cursor:pointer
}
.mfg-pagination button:disabled,.mfg-action:disabled{cursor:default;opacity:.55}
.mfg-legend{display:flex;flex-wrap:wrap;gap:8px 18px;padding:10px 12px;border-top:1px solid var(--mfg-border);font-size:12px;color:var(--mfg-muted)}
.mfg-legend strong{color:var(--mfg-ink)}
.mfg-selected{overflow:auto;padding:15px;scroll-margin-top:100px}
.mfg-inspector header{padding-bottom:12px;border-bottom:1px solid var(--mfg-border);margin-bottom:14px}
.mfg-eyebrow{display:block;color:var(--mfg-muted);font-size:11px;font-weight:750;text-transform:uppercase;letter-spacing:.06em}
.mfg-inspector h2{font-size:23px;letter-spacing:-.02em;line-height:1.2;margin:4px 0 6px;overflow-wrap:anywhere}
.mfg-inspector header p{font-size:13px;color:var(--mfg-muted);margin:0}
.mfg-revision{display:flex;gap:8px;align-items:center;margin:0 0 12px}
.mfg-revision label{display:flex;gap:10px;align-items:center;flex:1;font-size:13px}
.mfg-revision select{font-size:13px}
.mfg-tag{display:inline-block;max-width:100%;border-radius:6px;padding:3px 8px;background:var(--mfg-tint);color:var(--mfg-ink);font-size:11px;font-weight:700;overflow-wrap:anywhere}
.mfg-tag.is-current,.mfg-success{background:var(--mfg-ok);color:var(--mfg-ok-ink)}
.mfg-tag.needs-review{background:var(--mfg-warn);color:var(--mfg-warn-ink)}
.mfg-mini-table{border:1px solid var(--mfg-border);border-radius:6px;overflow:auto;margin:12px 0}
.mfg-mini-table table{border-collapse:collapse;table-layout:fixed;width:100%;text-align:left;font-size:13px}
.mfg-mini-table :is(th,td){padding:8px 10px;overflow-wrap:anywhere}
.mfg-mini-table thead th{position:sticky;top:0;color:#fff;background:var(--mfg-header);text-align:left}
.mfg-mini-table thead th+th{border-left:1px solid #66747e}
.mfg-mini-table tbody tr+tr{border-top:1px solid var(--mfg-border)}
.mfg-mini-table tbody tr:nth-child(odd){background:var(--mfg-stripe)}
.mfg-component-preview{max-height:295px}
.mfg-inspector-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:16px 0 12px}
.mfg-action{display:flex;align-items:center;justify-content:center;text-align:center;min-height:37px;padding:5px 9px;border:1px solid var(--mfg-primary);border-radius:5px;text-decoration:none;font-size:13px;font-weight:700;cursor:pointer}
.mfg-outline{color:var(--mfg-link);background:var(--mfg-surface)}
.mfg-primary{color:white;background:var(--mfg-primary)}
.mfg-inspector-foot{font-size:12px;color:var(--mfg-muted);border-top:1px solid var(--mfg-border);padding-top:10px;margin:0}
.mfg-success,.mfg-warning,.mfg-problem{font-size:13px;margin:8px 0 12px;padding:9px 11px;border-radius:6px}
.mfg-warning,.mfg-problem{border:1px solid var(--mfg-warn-border);background:var(--mfg-warn);color:var(--mfg-warn-ink)}
.mfg-warning ul{margin:6px 0 0;padding-left:19px}
.MuiDialog-paper:has(.mfg-copy){max-width:760px}
.mfg-copy fieldset{border:0;padding:0;margin:0;min-width:0}
.mfg-copy-models{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:14px 0}
.mfg-copy-models section{min-width:0;padding:12px 14px;background:var(--mfg-tint);border-radius:7px}
.mfg-copy-models h3,.mfg-copy-models label{font-size:14px;font-weight:700;margin:0 0 4px;display:block}
.mfg-copy-models section>strong{font-size:17px;overflow-wrap:anywhere}
.mfg-copy-models p{margin:3px 0;color:var(--mfg-muted);font-size:13px}
.mfg-copy-models input{display:block;margin-top:4px;font-weight:400}
.mfg-copy-models section>button{font-size:11px;min-height:28px;padding:3px 6px}
.mfg-target-results{max-height:180px;overflow:auto;margin-top:5px}
.mfg-target-results button{display:block;width:100%;margin:4px 0;text-align:left;overflow-wrap:anywhere}
.mfg-target-results small{display:block;font-size:11px;color:var(--mfg-muted)}
.mfg-spec-changed{font-weight:750;background:var(--mfg-warn);box-shadow:inset 0 0 0 1px var(--mfg-warn-border);color:var(--mfg-warn-ink)}
.mfg-copy-fields{display:grid;gap:8px;margin:16px 0 10px}
.mfg-copy-fields label{display:grid;grid-template-columns:116px minmax(0,1fr);align-items:center;gap:8px;font-size:13px;font-weight:700}
.mfg-copy-fields textarea{resize:vertical;font-weight:400}
@media(max-width:1130px){
 .mfg-layout{min-height:0;grid-template-columns:minmax(190px,27%) minmax(0,1fr);grid-template-rows:auto}
 .mfg-tree,.mfg-models{height:max(340px,calc(100dvh - 210px))}
 .mfg-selected{grid-column:1/-1}
}
@media(max-width:680px){
 .mfg-heading h1{font-size:22px}
 .mfg-heading p{font-size:13px}
 .mfg-heading a{font-size:12px}
 .mfg-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .mfg-search{grid-column:1/-1}
 .mfg-layout{grid-template-columns:minmax(0,1fr)}
 .mfg-tree{height:auto;min-height:0;max-height:300px}
 .mfg-tree .mfg-pane-title{display:none}
 .mfg-category-toggle{display:flex;justify-content:space-between;align-items:center;width:100%;min-height:42px;padding:8px 12px;border:0;background:var(--mfg-surface);color:var(--mfg-ink);font-weight:700!important;cursor:pointer}
 .mfg-tree:not([data-expanded=true]) .mfg-tree-body{display:none}
 .mfg-models{height:max(340px,calc(100dvh - 300px))}
 .mfg-selected{grid-column:auto;padding:12px}
 .mfg-copy-models{grid-template-columns:minmax(0,1fr)}
 .mfg-copy-fields label{grid-template-columns:minmax(0,1fr);gap:4px}
 .mfg-copy .mfg-mini-table :is(th,td){padding:6px 7px;font-size:12px}
}

.mfg-batch-bar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 12px;min-width:0}
.mfg-batch-dialog{padding:0 8px;line-height:1.5}.mfg-batch-dialog ul{max-height:225px;overflow:auto;overflow-wrap:anywhere}
.mfg-batch-results{font-size:13px;min-width:0}.mfg-batch-results summary{cursor:pointer}
.mfg-batch-results ul{max-height:175px;overflow:auto;overflow-wrap:anywhere;padding-left:20px}

.mfg-view-switch{display:flex;gap:4px;align-self:flex-start;padding:4px;margin:0 0 12px;background:var(--mfg-tint);border:1px solid var(--mfg-border);border-radius:7px}
.mfg-view-switch button,.mfg-sheet-tools button,.mfg-sheet-preview button,.mfg-sheet-actions :is(button,a){
 border:1px solid var(--mfg-border);border-radius:5px;background:var(--mfg-surface);color:var(--mfg-ink);padding:6px 9px;min-height:34px;cursor:pointer
}
.mfg-view-switch button{border-color:transparent;background:transparent;font-weight:650}
.mfg-view-switch button[aria-pressed=true],.mfg-sheet-tools button.mfg-primary{color:#fff;background:var(--mfg-primary);border-color:var(--mfg-primary)}
.mfg-layout-worksheet{grid-template-columns:minmax(190px,22%) minmax(0,1fr);grid-template-rows:auto;align-items:start;align-content:start}
.mfg-layout-worksheet .mfg-tree{max-height:680px}
.mfg-worksheet-area{min-width:0}
.mfg-sheet{font-size:13px}
.mfg-sheet-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px 14px}
.mfg-sheet-heading :is(h2,h3,p){margin:0;overflow-wrap:anywhere}
.mfg-sheet-heading h2{font-size:18px}
.mfg-sheet-heading p,.mfg-sheet-note{color:var(--mfg-muted);font-size:12px}
.mfg-sheet-tools{display:flex;align-items:center;flex-wrap:wrap;gap:5px;padding:8px;background:var(--mfg-tint);border-block:1px solid var(--mfg-border)}
.mfg-sheet-tools button[aria-pressed=true]{background:var(--mfg-selected);color:var(--mfg-link);border-color:var(--mfg-primary)}
.mfg-sheet-tools button:disabled{cursor:default;opacity:.55}
.mfg-sheet-tools label{display:flex;align-items:center;gap:4px}
.mfg-sheet-tools select{font-size:12px;min-height:34px;padding:4px}
.mfg-sheet-selected{color:var(--mfg-muted);margin-inline-start:auto}
.mfg-sheet-formula{display:grid;grid-template-columns:60px 28px minmax(0,1fr);align-items:center;background:var(--mfg-surface);gap:6px;padding:6px 8px;border-bottom:1px solid var(--mfg-border)}
.mfg-sheet-formula :is(output,span){text-align:center;color:var(--mfg-link);font-weight:700}
.mfg-sheet-formula input{font-family:ui-monospace,monospace;min-width:0}
.mfg-sheet-scroll{max-height:clamp(260px,53vh,580px);overflow:auto;overscroll-behavior:contain;scroll-padding-top:63px}
.mfg-sheet-grid{width:max-content;min-width:100%;table-layout:fixed;border-spacing:0;color:var(--mfg-ink)}
.mfg-sheet-grid :is(th,td){position:relative;border-right:1px solid var(--mfg-border);border-bottom:1px solid var(--mfg-border);background:var(--mfg-surface);padding:0}
.mfg-sheet-grid .mfg-sheet-col{width:124px;min-width:124px}
.mfg-sheet-grid .mfg-sheet-number{width:154px;min-width:154px}
.mfg-sheet-grid .mfg-sheet-name{width:192px;min-width:192px}
.mfg-sheet-grid .mfg-sheet-description{width:236px;min-width:236px}
.mfg-sheet-grid [data-kind=part]{width:170px;min-width:170px}
.mfg-sheet-grid :is(.mfg-sheet-row-number,.mfg-sheet-checkbox){min-width:34px;width:34px;text-align:center}
.mfg-sheet-grid input[type=checkbox]{min-height:0;width:16px;height:16px;margin:0;vertical-align:middle;accent-color:var(--mfg-primary)}
.mfg-sheet-grid thead{position:sticky;top:0;z-index:5;text-align:center}
.mfg-sheet-grid thead th{height:39px;background:var(--mfg-header);color:white}
.mfg-sheet-grid .mfg-sheet-letters th{height:24px;background:var(--mfg-tint);color:var(--mfg-muted);font-size:11px;letter-spacing:.045em}
.mfg-sheet-grid thead th[data-kind=part]{background:#00696a}
.mfg-sheet-grid thead th button{display:block;width:100%;max-width:236px;text-align:left;color:inherit;background:transparent;border:0;font-weight:650;padding:5px 8px;cursor:pointer;line-height:1.25}
.mfg-sheet-grid tbody tr:nth-child(even)>*{background:var(--mfg-stripe)}
.mfg-sheet-grid tbody tr[data-selected=true]>*{background:var(--mfg-selected)}
.mfg-sheet-grid tbody [data-active=true]{box-shadow:inset 0 0 0 2px var(--mfg-primary);z-index:2}
.mfg-sheet-grid [data-error=true] button{color:var(--mfg-warn-ink);background:var(--mfg-warn)}
.mfg-sheet-cell{display:block;width:100%;max-width:100%;padding:6px 8px;min-height:37px;border:0;background:transparent;color:inherit;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:cell}
.mfg-sheet-cell:focus-visible{outline-offset:-3px!important}
.mfg-sheet-grid [data-kind=identity] .mfg-sheet-cell{font-weight:650}
.mfg-sheet-grid .mfg-sheet-description .mfg-sheet-cell{font-weight:400}
.mfg-sheet-grid td:has(.mfg-sheet-part-link) .mfg-sheet-cell{padding-right:32px}
.mfg-sheet-part-link{position:absolute;right:4px;top:4px;width:24px;min-height:28px;display:grid;place-items:center}
.mfg-sheet-grid a,.mfg-sheet-preview a{color:var(--mfg-link);text-underline-offset:3px}
.mfg-sheet-quantity{display:none;position:absolute;z-index:6;inset:auto 3px 34px;padding:6px 8px;border-radius:5px;background:var(--mfg-header);color:#fff;pointer-events:none}
.mfg-sheet-quantity small,.mfg-sheet-preview td small{display:block}
.mfg-sheet-grid td:is(:hover,:focus-within,[data-active=true]):has(.mfg-sheet-quantity){z-index:4}
.mfg-sheet-grid td:is(:hover,:focus-within,[data-active=true]) .mfg-sheet-quantity{display:block}
.mfg-sheet-grid .mfg-sheet-actions{min-width:96px;white-space:nowrap;text-align:center;padding:3px}
.mfg-sheet-actions :is(a,button){display:inline-flex;align-items:center;justify-content:center;min-width:36px;vertical-align:middle;margin:0 2px}
.mfg-sheet-scroll[data-frozen=true] :is(.mfg-sheet-corner,.mfg-sheet-row-number,.mfg-sheet-checkbox,.mfg-sheet-number){position:sticky;z-index:3}
.mfg-sheet-scroll[data-frozen=true] :is(.mfg-sheet-row-number,.mfg-sheet-corner){left:0}
.mfg-sheet-scroll[data-frozen=true] .mfg-sheet-checkbox{left:34px}
.mfg-sheet-scroll[data-frozen=true] .mfg-sheet-number{left:68px}
.mfg-sheet-scroll[data-frozen=true] .mfg-sheet-actions{position:sticky;right:0;z-index:3}
.mfg-sheet-scroll[data-frozen=true] .mfg-sheet-number{border-right:2px solid var(--mfg-border)}
.mfg-sheet-note,.mfg-sheet-empty,.mfg-sheet > :is(.mfg-muted,.mfg-warning,.mfg-success,.mfg-problem){margin:8px 12px}
.mfg-sheet-preview{margin:12px;border:1px solid var(--mfg-border);border-radius:7px;background:var(--mfg-tint);scroll-margin-top:16px}
.mfg-sheet-preview:focus{outline:2px solid var(--mfg-primary);outline-offset:2px}
.mfg-sheet-preview table{width:100%;border-collapse:collapse;background:var(--mfg-surface)}
.mfg-sheet-preview :is(td,th){text-align:left;border-top:1px solid var(--mfg-border);padding:6px 12px;overflow-wrap:anywhere}
.mfg-sheet-preview-links{display:flex;gap:16px;flex-wrap:wrap;padding:10px 12px}
.mfg-sheet-preview > p{padding:0 12px}
@media (min-width:1440px){
 .mfg-sheet-scroll[data-frozen=true] :is(.mfg-sheet-name,.mfg-sheet-description){position:sticky;z-index:3}
 .mfg-sheet-scroll[data-frozen=true] .mfg-sheet-name{left:222px}
 .mfg-sheet-scroll[data-frozen=true] .mfg-sheet-description{left:414px;border-right:2px solid var(--mfg-border)}
}
@media (max-width:770px){
 .mfg-layout-worksheet{grid-template-columns:minmax(0,1fr)}
 .mfg-sheet-scroll[data-frozen=true] :is(.mfg-sheet-corner,.mfg-sheet-row-number,.mfg-sheet-checkbox,.mfg-sheet-number){position:relative;left:auto;z-index:auto}
 .mfg-sheet-tools button,.mfg-sheet-actions :is(a,button){min-height:42px}
}
.mfg-sheet-grid tbody tr:first-child .mfg-sheet-quantity{inset:35px 3px auto}

.mfg-sheet-mobile-controls,.mfg-sheet-editor-toggle,.mfg-mobile-filters{display:none}
@media (max-width:770px){
 .mfg-filters[data-sheet=true]{grid-template-columns:minmax(0,1fr) auto;gap:6px;margin-bottom:10px}
 .mfg-filters[data-sheet=true] .mfg-search{grid-column:auto}
 .mfg-filters[data-sheet=true][data-filters-open=false] .mfg-extra-filter{display:none}
 .mfg-mobile-filters,.mfg-sheet-mobile-controls button,.mfg-sheet-editor-toggle{
  display:block;border:1px solid var(--mfg-border);border-radius:5px;background:var(--mfg-surface);
  color:var(--mfg-ink);padding:6px 9px;min-height:42px;cursor:pointer
 }
 .mfg-sheet-mobile-controls{display:flex;align-items:end;gap:5px;padding:6px;background:var(--mfg-tint);border-block:1px solid var(--mfg-border)}
 .mfg-sheet-mobile-controls label{flex:1;min-width:0;font-size:11px;color:var(--mfg-muted)}
 .mfg-sheet-mobile-controls select{display:block;font-size:13px;min-height:42px;text-overflow:ellipsis}
 .mfg-sheet-mobile-controls button{flex:none;font-size:12px}
 .mfg-sheet-tools[data-open=false],.mfg-sheet-formula[data-open=false]{display:none}
 .mfg-sheet-editor-toggle{margin:6px 8px;min-width:0;max-width:calc(100% - 16px);text-align:start;overflow-wrap:anywhere}
 .mfg-sheet-editor-toggle:disabled{opacity:.55}
 .mfg-sheet-heading{padding:8px}
 .mfg-sheet-heading .mfg-tag{display:none}
 .mfg-sheet-scroll[data-mobile-grid=false]{max-height:none;overflow:visible}
 .mfg-sheet-scroll[data-mobile-grid=false] .mfg-sheet-grid{width:100%;min-width:0}
 .mfg-sheet-scroll[data-mobile-grid=false] :is(.mfg-sheet-letters,.mfg-sheet-row-number,.mfg-sheet-col:not(.mfg-sheet-number,[data-mobile-column=true])){display:none}
 .mfg-sheet-scroll[data-mobile-grid=false] :is(.mfg-sheet-number,[data-mobile-column=true]){
  width:auto;min-width:0;position:relative;left:auto
 }
 .mfg-sheet-scroll[data-mobile-grid=false] .mfg-sheet-cell{
  white-space:normal;overflow-wrap:anywhere;min-height:44px;line-height:1.2
 }
 .mfg-sheet-scroll[data-mobile-grid=false] .mfg-sheet-checkbox{min-width:34px;width:34px}
 .mfg-sheet-grid input[type=checkbox]{width:22px;height:22px}
 .mfg-sheet-scroll[data-mobile-grid=false] .mfg-sheet-actions{position:static;min-width:90px;width:90px;padding:0}
 .mfg-sheet-scroll[data-mobile-grid=false] .mfg-sheet-actions :is(a,button){margin:0;min-width:42px;min-height:44px;padding:5px}
 .mfg-sheet-scroll[data-mobile-grid=false] thead{position:static}
}

.item-costing{border:1px solid var(--border,#d6dfe4);border-radius:8px;padding:16px;margin:12px 0 24px;max-width:100%;box-sizing:border-box}
.item-costing h3{margin:0 0 8px}.item-costing p{font-size:13px;line-height:1.5}.item-costing-heading p{margin:0 0 16px}
.item-costing-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.item-costing label,.item-costing-value{display:flex;flex-direction:column;gap:6px;min-width:0;font-size:13px;font-weight:600}
.item-costing input:not([type=checkbox]){width:100%;box-sizing:border-box;min-height:38px;padding:8px;border:1px solid var(--border,#b8c4cc);border-radius:5px;background:var(--surface,#fff);color:inherit;font:inherit}
.item-costing output{font-size:21px;font-weight:700;overflow-wrap:anywhere}.item-costing small{display:block;font-size:12px;font-weight:400;line-height:1.5;opacity:.8}
.item-costing-override{margin:18px 0;padding:14px;border:1px dashed var(--border,#b8c4cc);border-radius:6px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px 16px}
.item-costing .item-costing-check{flex-direction:row;align-items:center;gap:9px}.item-costing-check input{width:18px;height:18px}.item-costing-override p{grid-column:1/-1;margin:0}
.item-costing-system{padding:14px;margin:14px 0;background:var(--surface-raised,#edf5f1);border:1px solid var(--border,#c8d5cc);border-radius:6px}.item-costing-system>div{display:flex;align-items:center;gap:20px;justify-content:space-between}.item-costing-system p{margin-bottom:0}
.item-costing-actions{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0}.item-costing-table{overflow:auto;max-width:100%}.item-costing table{width:100%;border-collapse:collapse;font-size:13px}.item-costing th,.item-costing td{text-align:left;padding:9px 10px;border-bottom:1px solid var(--border,#d6dfe4)}.item-costing-history{margin:18px 0}.item-costing summary{cursor:pointer;font-weight:600}
@media(max-width:650px){.item-costing{padding:12px}.item-costing-grid,.item-costing-override{grid-template-columns:minmax(0,1fr)}.item-costing-system>div{flex-wrap:wrap}.item-costing-table{max-width:calc(100vw - 80px)}}
