/* Measured reference layout: 1400 px canvas, 50 px solution, 30 px layer.
   The viewport and the user's zoom scale the canvas, never its quantities. */
.shell-calculation:has(.workspace){height:100dvh;min-height:0;background:#fff}
.shell-calculation:has(.workspace)>.main{height:100%;min-height:0;padding:0;display:flex;flex-direction:column;overflow:hidden}
.shell-calculation:has(.workspace) .main>.topbar{height:38px;min-height:38px;margin:0;padding:0 20px;border:0}
.shell-calculation:has(.workspace) #content{flex:1;min-height:0}
.shell-calculation:has(.workspace) .workspace{height:100%;display:flex;flex-direction:column;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:16px}
.ws-project-heading{height:54px;min-height:54px;padding:0 20px;flex-shrink:0}
.ws-project-name{font-size:18px;line-height:24px;padding:0}
.ws-toolbar{height:40px;min-height:40px;flex-shrink:0;margin:0 20px;position:relative;top:auto;flex-wrap:nowrap;padding:0 8px;gap:4px;font-size:14px;z-index:15}
.ws-toolbar button,.ws-toolbar summary{font-size:14px;padding:5px 9px}
.ws-toolbar-right{margin-left:auto}
.ws-workarea{flex:1;min-height:0;overflow:auto;scrollbar-gutter:stable;padding:40px 10px 272px;background:#fff}
.ws-groups{width:calc(1174.5px + var(--ws-size-col));margin:0 auto}
.ws-group{margin:20px 0 0;border:0;border-radius:0;box-shadow:0 4px 6px 2px #0002}
.ws-group-header{height:26px;min-height:26px;padding:0 5px 0 45px;border:0;background:#fff;gap:0;font-size:16px;border-radius:0;position:relative}
.ws-group-active>.ws-group-header{border:0;background:#fff}
.ws-group-header>button{position:absolute;left:0;top:0;width:40px;height:40px;padding:8px;font-size:24px;color:#333;z-index:1}
.ws-group-header input{font-size:16px;font-weight:500;height:26px;padding:0;line-height:24px}
.ws-group-price{font-size:14px;margin-right:10px}
.ws-group-header>.ws-menu{position:absolute;right:0;top:0}
.ws-group-header>.ws-menu>summary{opacity:0}
.ws-group-header:hover>.ws-menu>summary,.ws-group-header>.ws-menu:focus-within>summary{opacity:1}
.workspace{--ws-size-col:225.5px;--ws-cols:var(--ws-size-col) 223.5px 183.5px repeat(5,143.5px)}
.workspace:has(.ws-dimensions[data-fields="3"]){--ws-size-col:315.5px}
.workspace:has(.ws-dimensions[data-fields="4"]){--ws-size-col:385.5px}
.ws-column-head{height:24px;min-height:24px;padding:0 5px 0 45px;border:0;font-size:16px;line-height:24px;gap:0;color:#333;min-width:0}
.ws-column-head>span{padding:0 10px;text-align:left!important}
.ws-column-head>span:first-child{padding-left:72px}
.ws-column-head>span:last-child{display:none}
.ws-line{margin-left:45px}
.ws-line-grid{height:50px;min-height:50px;padding:0 5px 0 0;min-width:0;gap:0;position:relative;cursor:default}
.ws-line-grid>div:not(.ws-size){padding:0 10px}
.ws-line-selected>.ws-line-grid{background:#ddd}
.ws-line:hover>.ws-line-grid{background:#eee}
.ws-size{gap:0;min-width:0;height:50px}
.ws-expand{width:32px;height:32px;flex:none;font-size:16px;padding:8px}
.ws-unit-image{width:30px;height:30px;flex:none}
.ws-dimensions{width:calc(var(--ws-size-col) - 62px);min-width:0;padding:0 10px;flex-wrap:nowrap;font-size:16px;gap:2px}
.ws-dimensions label{min-width:0;max-width:none;flex:1;height:30px;padding-bottom:8px}
.ws-dimensions label>span{font-size:8px;color:#666;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.ws-dimensions input{height:22px;min-width:0;font-size:16px;padding:0;line-height:20px;appearance:textfield;-moz-appearance:textfield}
.ws-dimensions input::-webkit-inner-spin-button,.ws-dimensions input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.ws-product-button{font-size:16px;line-height:24px;padding:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#333;width:100%}
.ws-quantity{height:50px;justify-content:flex-start;gap:2px}
.ws-quantity input{font-size:16px;padding:0;max-width:70px;text-align:left;height:26px}
.ws-quantity span{font-size:16px;color:#333}
.ws-money{font-size:16px;line-height:24px;text-align:left;white-space:nowrap}
.ws-money small{display:none}
.ws-money strong{font-weight:500}
.ws-line-grid>.ws-menu{position:absolute;right:0;top:12px}
.ws-line-grid>.ws-menu>summary{opacity:0}
.ws-line-grid:hover>.ws-menu>summary,.ws-line-grid>.ws-menu:focus-within>summary{opacity:1}
.ws-layer-area{padding:0 5px;background:#fff}
.ws-layer-area>.scroll{overflow:visible}
.ws-layer-table{table-layout:fixed;width:100%;font-size:13px;border-collapse:collapse}
.ws-layer-table th,.ws-layer-table td{min-width:0!important;max-width:none!important;width:auto;height:30px;padding:5px 10px;line-height:19.5px;font-size:13px;vertical-align:middle;border:0;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ws-layer-table th{font-weight:400;color:#333;letter-spacing:0;text-transform:none}
.ws-layer-table td:nth-child(2){max-width:none;min-width:0}
.ws-layer-table .ws-product-button,.ws-layer-table .ws-wage-button,.ws-layer-table td>button{font-size:13px;line-height:19.5px;padding:0;border:0;background:transparent;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#333}
.ws-layer-table td small{display:none}
.ws-layer-table input,.ws-layer-table td:nth-child(n) input{height:20px;min-width:0;width:55px;padding:0;margin:0;border:1px solid transparent;background:transparent;font-size:13px;line-height:18px;border-radius:0}
.ws-layer-table input:hover,.ws-layer-table input:focus{border-color:#aaa;background:#fff}
.ws-layer-table tr{position:relative}
.ws-layer-table th:last-child,.ws-layer-table td:last-child{padding:0;width:0;overflow:visible}
.ws-layer-table td:last-child .ws-menu{position:absolute;right:0;top:0;z-index:2}
.ws-layer-table td:last-child .ws-menu>summary{opacity:0;padding:4px}
.ws-layer-table tr:hover .ws-menu>summary,.ws-layer-table .ws-menu:focus-within>summary{opacity:1}
.ws-layer-buttons{display:none}
.ws-statusbar{position:relative;bottom:auto;flex-shrink:0;min-height:28px;padding:2px 12px;border:0;border-radius:0;box-shadow:none;gap:10px;background:#eee;font-size:14px;flex-wrap:nowrap}
.ws-statusbar strong{font-size:14px;white-space:nowrap;font-weight:400}
.ws-statusbar>span{white-space:nowrap}
.ws-statusbar .ws-footer-extra,.ws-statusbar .ws-save-status{display:none}
.ws-view-controls{gap:6px}
.ws-view-controls button{border:0;background:transparent;padding:2px 5px;font-size:14px}
.ws-view-controls input[type=range]{width:140px}
.ws-calculation-summary{display:none}
@media(max-width:1200px){.ws-toolbar{overflow-x:auto}.ws-statusbar{overflow-x:auto}.ws-view-controls{flex-shrink:0}}
@media print{.shell-calculation:has(.workspace),.shell-calculation:has(.workspace)>.main,.shell-calculation:has(.workspace) #content,.shell-calculation:has(.workspace) .workspace{height:auto;display:block;overflow:visible}.ws-groups{zoom:1!important;max-width:100%}.ws-workarea{overflow:visible;padding:0}.ws-toolbar,.ws-statusbar{display:none!important}.ws-line{margin:0}.ws-line-grid,.ws-column-head{grid-template-columns:1.6fr 1.6fr 1fr .6fr .4fr .8fr .8fr .8fr;height:auto;font-size:9px}.ws-group{box-shadow:none;margin-top:15px}}

.ws-layer-table th,.ws-layer-table td{width:unset}.ws-layer-table input,.ws-layer-table td:nth-child(n) input{display:inline-block;vertical-align:middle}.ws-layer-table td>button{max-width:100%}.original-shell{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif}

.ws-layer-table td{line-height:20px}.ws-layer-table input,.ws-layer-table td:nth-child(n) input{vertical-align:top}

.ws-layer-table col:nth-child(1){width:67px}.ws-layer-table col:nth-child(2){width:101px}.ws-layer-table col:nth-child(3){width:161px}.ws-layer-table col:nth-child(4){width:131px}.ws-layer-table col:nth-child(5){width:131px}.ws-layer-table col:nth-child(6){width:131px}.ws-layer-table col:nth-child(7){width:131px}.ws-layer-table col:nth-child(8){width:131px}.ws-layer-table col:nth-child(9){width:131px}.ws-layer-table col:nth-child(10){width:131px}.ws-layer-table col:nth-child(11){width:100px}.ws-layer-table col:nth-child(12){width:0px}
