.presentation{display:none!important}body{display:block;padding:16px;background:#e9ede7}.phone{width:min(1240px,100%);max-width:none;height:calc(100dvh - 32px);margin:auto;border-radius:20px}.phone main{padding:20px 24px 32px}.mode-switch{max-width:420px;width:calc(100% - 40px);margin:4px auto 12px}header{height:64px}.line-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.line-fields .field:only-child{max-width:240px}.calc-line{border:0;padding:12px;margin:0}.work-item{border:1px solid #d7ddd3;border-radius:12px;background:#fff;margin:12px 0;overflow:clip}.work-item>summary{display:flex;align-items:center;gap:10px;cursor:pointer;padding:13px 15px;background:#eff2eb;list-style:none}.work-item>summary:before{content:'▸';color:#4b6251}.work-item[open]>summary:before{content:'▾'}.work-title{flex:1;min-width:0}.work-title b{display:block;font-size:15px}.work-title small{display:block;font-size:11px;color:#7b866f;margin-top:3px}.work-quantity{font-size:12px;font-variant-numeric:tabular-nums}.fold-label{font-size:10px;color:#69755f}.item-actions{justify-content:flex-end;margin:0!important}.condition-picker{padding:10px;margin:12px 0;border-radius:10px}.condition-section h4{font-size:13px;margin:12px 0 6px;padding:8px;background:#eaf0e5}.condition-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;align-items:start}.condition-grid details{border:1px solid #dce1d6;border-radius:6px;padding:8px!important;min-width:0}.condition-grid summary{font-size:12px}.choice-table{width:100%;border-collapse:collapse;table-layout:fixed}.choice-table td{padding:8px 2px!important;font-size:11px!important;border-bottom:1px solid #e6e9df;vertical-align:top}.choice-table td:last-child{width:48px;text-align:right}.choice-table label{display:flex;align-items:flex-start;gap:6px;line-height:1.5}.choice-table input{margin:3px 0 0;flex-shrink:0}.choice-table small{display:block;font-size:10px;color:#7c866e;margin-top:3px}.choice-table .source{font-size:10px;display:block;margin-top:5px}.choice-table .source svg{display:none}.material-picker{padding:10px;border:1px solid #dce1d6;border-radius:10px;margin:12px 0}.material-picker table{width:100%;font-size:11px}.material-picker td,.material-picker th{padding:8px!important}.material-check{display:flex;align-items:flex-start;gap:6px}.material-picker select{width:100%;font-size:11px;padding:7px;border:1px solid #d8dfd3;border-radius:5px}.included-badge{font-size:10px;color:#687c58}.item-input-table{width:100%;table-layout:fixed}.item-input-table th,.item-input-table td{padding:8px!important;font-size:11px!important;vertical-align:top}.item-input-table th:first-child{width:26%}.item-input-table th:nth-child(2){width:20%}.item-input-table td>label{display:flex;gap:5px;line-height:1.5}.inline-inputs{font-size:10px}.inline-inputs label{display:inline-flex;flex-direction:column;max-width:140px;margin:3px 8px 3px 0!important;font-size:10px!important}.inline-inputs input{padding:6px;width:100%;min-width:0;font-size:12px;border:1px solid #d8dfd3;border-radius:5px}.coefficient-matrix{width:100%;table-layout:fixed}.coefficient-matrix td,.coefficient-matrix th{padding:10px 8px;font-size:12px;overflow-wrap:anywhere}.coefficient-matrix th:first-child{width:26%}.coefficient-matrix th:nth-child(2){width:9%}.calculation-note{padding:8px 0!important}.calc-line>.checkline{margin:8px 0}.calc-line h3{font-size:14px;margin:6px 0}.calc-line .hint{font-size:11px;line-height:1.5;margin:7px 0}.calc-line>.calc-conditions{margin:8px 0}.calculation-total{margin-top:14px}.applied-conditions{padding:10px}.applied-condition{display:grid;grid-template-columns:2fr 1fr auto;gap:8px;align-items:start;font-size:12px}.applied-condition .source{margin:0;font-size:11px}.calc-result table td,.calc-result table th{font-size:12px}.resource-inputs{padding:10px 0}.compact-conditions>h3{margin-top:0}.compact-calculator>.primary{margin:12px 0}.condition-picker input[type=checkbox],.material-picker input[type=checkbox]{width:16px;height:16px;accent-color:#345647}
@media(max-width:850px){body{padding:0}.phone{height:100dvh;border:0;border-radius:0;width:100%}.phone main{padding:14px 12px 24px}.condition-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.applied-condition{grid-template-columns:2fr 1fr}.applied-condition .source{grid-column:1/-1}.coefficient-matrix td,.coefficient-matrix th{font-size:11px;padding:8px 5px}.mode-switch{margin-bottom:6px}.choice-table td:last-child{width:42px}.work-title b{font-size:14px}.calc-line{padding:10px}.fold-label{font-size:9px}}
@media(max-width:360px){.condition-grid{gap:4px}.condition-grid details{padding:5px!important}.choice-table label{gap:3px}.choice-table td{font-size:10px!important}.item-input-table th:first-child{width:30%}.item-input-table th:nth-child(2){width:18%}}
