.tc-input-panel .tc-field{margin:0!important}.page-heading:has(+ #timber-app){margin:12px 0 22px}.page-heading:has(+ #timber-app) .eyebrow{margin-bottom:8px}.page-heading:has(+ #timber-app) h1{font-size:clamp(30px,3vw,42px);margin-bottom:8px}.page-heading:has(+ #timber-app)>p:last-child{font-size:15px;margin:0}
.tc-nav{display:flex;gap:6px;align-items:center;border-bottom:1px solid #deded8;margin-bottom:18px}.tc-nav a{padding:10px 14px;font-size:13px;border-bottom:3px solid transparent}.tc-nav a[aria-current]{border-color:#a58b66;color:#765b38;background:#f4f0e9}.tc-nav>span{margin-left:auto;font-size:12px;color:#747b74}
.tc-workbench{display:grid;grid-template-columns:minmax(430px,.92fr) minmax(500px,1.28fr);gap:18px;align-items:stretch}.tc-panel{border:1px solid #deded8;background:#fff;padding:18px;border-radius:5px;min-width:0}.tc-panel-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.tc-panel h2,.tc-report h2{font-size:21px;letter-spacing:-.4px}.tc-panel-title button,.tc-export button{border:0;background:#f3f1ec;padding:7px 10px;font-size:12px;color:#66583f;border-radius:3px}
.tc-input-panel{display:flex;flex-direction:column}.tc-input-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.tc-input-panel fieldset{padding:10px 0 12px;margin:0;border:0;border-top:1px solid #e5e6e0;min-width:0}.tc-input-panel fieldset:first-child{grid-row:span 2}.tc-input-panel fieldset:last-child{border-bottom:1px solid #e5e6e0}.tc-input-panel legend{font-size:13px;font-weight:650;padding:0 8px 0 0}.tc-input-panel legend b{color:#a58b66;margin-right:6px;font-size:11px}
.tc-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.tc-field{display:block;min-width:0;font-size:12px}.tc-field>span{display:block;margin-bottom:3px;color:#525b54}.tc-field>div{display:flex;align-items:center;border:1px solid #d4d8cf;background:#fafbf8;border-radius:3px}.tc-field input,.tc-field select{width:100%;min-width:0;border:1px solid #d4d8cf;background:#fafbf8;border-radius:3px;padding:7px 8px;font-size:13px;color:#24362d;height:36px}.tc-field>div input{border:0;background:transparent}.tc-field small{color:#7b8078;font-size:10px}.tc-field>div small{white-space:nowrap;padding-right:7px}.tc-wide{grid-column:1/-1}.tc-check{display:flex!important;align-items:center;gap:7px;font-size:12px!important;font-weight:400!important;margin:8px 0 0!important}.tc-check input{width:auto;accent-color:#8a7353}.tc-hint{font-size:11px;color:#70756e;line-height:1.45;margin:7px 0 0}
.tc-section{display:flex;align-items:center;height:64px;margin:8px 0 0;background:#f8f7f3;border:1px solid #ebe7dc;overflow:hidden}.tc-section svg{width:70px;height:64px;flex-shrink:0}.tc-section div{display:grid;gap:1px;font-size:11px;padding-right:8px}.tc-section small{font-size:9px;color:#7b8078}.tc-actions{display:flex;align-items:center;gap:12px;margin-top:auto;padding-top:12px}.tc-actions .button{width:210px;padding:12px 18px}.tc-actions p{color:#a54435;font-size:12px;margin:0}
.tc-scheme{background:#fcfcf9;display:flex;flex-direction:column}.tc-scheme #tc-diagram{display:grid;place-items:center;min-height:275px;flex:1}.tc-scheme svg{width:100%;max-height:330px;display:block}.tc-live{font-size:11px;color:#7c877e;white-space:nowrap}.tc-legend{display:flex;gap:18px;border-top:1px solid #e6e7df;padding-top:10px;margin-top:auto;font-size:11px;color:#757e74}
.tc-results{margin-top:18px}.tc-status{font-size:13px;border-left:3px solid #668975;padding:12px 14px;margin:12px 0;background:#edf3ed;color:#43634e}.tc-status.fail{background:#faeee8;border-color:#b85a43;color:#91462f}.tc-status.demo{background:#f9f1de;border-color:#be9843;color:#816824}.tc-checks-main{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.tc-check-card{display:grid;grid-template-columns:1fr auto;gap:8px 12px;padding:16px;background:#f8f9f5;border:1px solid #e3e6dd}.tc-check-card>span{font-size:14px}.tc-check-card>b{font-size:22px;font-weight:550;font-variant-numeric:tabular-nums}.tc-check-card progress{grid-column:1/-1;width:100%;height:7px;accent-color:#739177;border:0;border-radius:6px;overflow:hidden}.tc-check-card progress::-webkit-progress-bar{background:#e2e7df}.tc-check-card progress::-webkit-progress-value{background:#739177}.tc-check-card small{grid-column:1/-1;font-size:11px;color:#737b72}.tc-red{color:#ab513c}.tc-reactions{border-top:1px solid #e8e8e1;padding-top:12px;margin:18px 0}.tc-reactions summary{font-size:13px;cursor:pointer;color:#675b46}.tc-result-footer{display:flex;align-items:center;justify-content:space-between;gap:20px}.tc-result-footer p{font-size:12px;color:#6d756c}.tc-result-footer .button{padding:10px 16px;font-size:12px}
.tc-table-wrap{overflow:auto}.tc-panel table,.tc-report table{border-collapse:collapse;width:100%;font-size:12px;margin:12px 0}.tc-panel th,.tc-panel td,.tc-report th,.tc-report td{text-align:left;border-bottom:1px solid #e8e8e0;padding:8px 7px}.tc-panel th,.tc-report th{background:#f6f6f0;font-weight:500;color:#75806d}.tc-panel td:not(:first-child),.tc-report td:not(:first-child){font-variant-numeric:tabular-nums}
.tc-report{margin-top:38px;padding-top:28px;border-top:2px solid #2e3832}.tc-report-head{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:22px}.tc-report-head .eyebrow{font-size:11px;margin-bottom:7px}.tc-report-head h2{font-size:30px;margin-bottom:6px}.tc-report-head p:last-child{font-size:12px;color:#788170;margin:0}.tc-export{display:flex;gap:6px;flex-wrap:wrap}.tc-plot{margin:24px 0}.tc-plot h3{font-size:17px}.tc-plot h3 small{font-size:11px;color:#7c8675}.tc-plot-row{border:1px solid #e3e6dc;border-radius:4px;margin:10px 0;break-inside:avoid}.tc-plot-row p{font-size:11px;padding:10px 14px;margin:0;display:flex;justify-content:space-between;gap:10px;background:#f8f9f4}.tc-plot-row svg{display:block;width:100%}#tc-report-content>svg{width:100%}#tc-report-content p,#tc-report-content li{font-size:13px;color:#566050}#tc-report-content h3{font-size:18px;margin-top:30px}#tc-report-content a{text-decoration:underline}.tc-empty{padding:50px 20px;color:#777}.tc-panel [hidden],.tc-report[hidden]{display:none!important}
#timber-app{display:grid;grid-template-columns:350px minmax(480px,1fr) 310px;gap:14px;align-items:start}.tc-nav{grid-column:1/-1;margin-bottom:0}.tc-workbench{display:contents}.tc-input-panel{grid-column:1;grid-row:2}.tc-scheme{grid-column:2;grid-row:2;align-self:stretch}.tc-results{grid-column:3;grid-row:2;margin-top:0;align-self:stretch}.tc-report{grid-column:1/-1;grid-row:3}.tc-input-grid{display:block}.tc-input-panel fieldset:first-child{grid-row:auto}.tc-input-panel fieldset:last-child{border-bottom:0}.tc-panel h2,.tc-report h2,.tc-input-panel legend{font-family:Georgia,'Times New Roman',serif;font-weight:500}.tc-input-panel legend{font-size:17px}.tc-panel-title{margin-bottom:9px}.tc-unit-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 0 10px;border-top:1px solid #e5e6e0;font-size:12px;color:#5f675f}.tc-unit-switch{display:inline-flex;padding:2px;background:#eeeee9;border-radius:4px}.tc-unit-switch label{margin:0!important;font-size:12px!important;font-weight:500!important;cursor:pointer}.tc-unit-switch input{position:absolute;opacity:0;pointer-events:none}.tc-unit-switch span{display:block;padding:5px 11px;border-radius:3px}.tc-unit-switch input:checked+span{background:#fff;color:#283a30;box-shadow:0 1px 4px #0002}.tc-checks-main{grid-template-columns:1fr}.tc-check-card{padding:14px}.tc-check-card>span{font-family:Georgia,'Times New Roman',serif;font-size:17px}.tc-check-card>b{font-size:19px}.tc-result-footer{align-items:stretch;flex-direction:column;gap:6px}.tc-result-footer .button{width:100%}.tc-scheme #tc-diagram{min-height:310px}.tc-field>span{font-size:12px}.tc-field input,.tc-field select{background:#fff}.tc-section{height:58px}.tc-section svg{height:58px}.tc-actions .button{width:100%;background:#b9553d;border-color:#b9553d}.tc-actions .button:hover{background:#a34732}.tc-status{border-left:0;border-radius:5px}.tc-results .tc-panel-title h2{font-size:26px}.tc-results .eyebrow{margin-bottom:3px}.tc-reactions{margin-top:14px}
@media(max-width:1250px){#timber-app{grid-template-columns:360px minmax(0,1fr)}.tc-input-panel{grid-column:1}.tc-scheme{grid-column:2}.tc-results{grid-column:1/-1;grid-row:3}.tc-report{grid-row:4}.tc-checks-main{grid-template-columns:repeat(3,1fr)}.tc-result-footer{flex-direction:row;align-items:center}.tc-result-footer .button{width:auto}}
@media(max-width:760px){#timber-app{grid-template-columns:1fr}.page-heading:has(+ #timber-app){margin-bottom:16px}.tc-nav,.tc-input-panel,.tc-scheme,.tc-results,.tc-report{grid-column:1}.tc-nav a{font-size:12px;padding:10px 8px}.tc-nav>span{display:none}.tc-input-panel{grid-row:2}.tc-scheme{grid-row:3}.tc-results{grid-row:4}.tc-report{grid-row:5}.tc-panel{padding:16px}.tc-fields{gap:9px}.tc-field input,.tc-field select{font-size:16px;height:42px}.tc-section{height:64px}.tc-actions{display:block}.tc-actions .button{width:100%}.tc-actions p{margin-top:7px}.tc-scheme #tc-diagram{min-height:190px}.tc-legend{flex-wrap:wrap;gap:8px}.tc-checks-main{grid-template-columns:1fr}.tc-result-footer,.tc-report-head{align-items:stretch;flex-direction:column}.tc-result-footer .button{width:100%}.tc-plot-row p{flex-wrap:wrap}}
@media print{@page{size:A4;margin:15mm}body{background:white}.header,footer,.skip,.page-heading,.breadcrumbs,.tc-nav,.tc-workbench,#tc-results,.tc-export,.tc-report-head{display:none!important}.wrap,.inner-main{margin:0!important;padding:0!important;max-width:none!important}.tc-report{display:block!important;margin:0;padding:0;border:0}#tc-report-content>svg{max-height:240px}.tc-plot-row svg{max-height:145px}.tc-plot-row,table,tr{break-inside:avoid}h3{break-after:avoid}#tc-report-content p,#tc-report-content li{font-size:10px}a{color:inherit}.tc-report table{font-size:10px}}

/* Compact scheme with results directly below it. */
#timber-app{grid-template-columns:340px minmax(0,1fr);grid-template-rows:auto auto 1fr auto}
.tc-input-panel{grid-column:1;grid-row:2 / 4}.tc-scheme{grid-column:2;grid-row:2;align-self:start}.tc-results{grid-column:2;grid-row:3;align-self:start}.tc-report{grid-row:4}
.tc-scheme #tc-diagram{min-height:0;flex:none}.tc-scheme svg{max-height:220px}.tc-scheme .tc-legend{margin-top:10px}.tc-checks-main{grid-template-columns:repeat(3,minmax(0,1fr))}.tc-check-card{grid-template-columns:1fr;padding:12px}.tc-check-card>span{font-size:16px}.tc-check-card>b{font-size:24px}.tc-plot{margin:12px 0}.tc-plot-row{margin:5px 0}.tc-plot-row svg{max-height:150px}.tc-report #tc-report-content .tc-plot h3{margin:12px 0 5px;font-size:15px}#tc-report-content>svg{max-height:220px}
@media(max-width:760px){#timber-app{grid-template-columns:minmax(0,1fr)}.tc-input-panel{grid-row:2}.tc-scheme{grid-column:1;grid-row:3}.tc-results{grid-column:1;grid-row:4}.tc-report{grid-row:5}.tc-checks-main{grid-template-columns:1fr}}
@media print{#timber-app{display:block}.tc-input-panel,.tc-scheme{display:none!important}.tc-plot-row svg{max-height:110px}}
.tc-unit-switch{position:relative}.tc-unit-switch input{width:1px!important;height:1px!important;left:0;top:0;margin:0;padding:0}

/* Row-aligned compact inputs and illustrated calculation report. */
.tc-input-panel .tc-fields{display:grid;grid-template-columns:minmax(0,1fr);gap:5px}.tc-input-panel .tc-field{display:grid;grid-template-columns:minmax(95px,.85fr) minmax(0,1.15fr);align-items:center;gap:8px}.tc-input-panel .tc-field>span{font-size:11px;margin:0;line-height:1.2}.tc-input-panel .tc-field input,.tc-input-panel .tc-field select{font-size:12px;height:29px;padding:4px 6px}.tc-input-panel .tc-field small{font-size:10px}.tc-input-panel fieldset{padding:7px 0}.tc-input-panel legend{font-size:15px}.tc-input-panel .tc-section{height:43px;margin-top:5px}.tc-input-panel .tc-section svg{height:43px;width:52px}.tc-input-panel .tc-hint{font-size:10px;margin-top:4px}.tc-input-panel .tc-actions{padding-top:7px}.tc-input-panel .tc-actions .button{padding:9px 12px}.tc-input-panel .tc-unit-row{font-size:11px;padding:5px 0}.tc-input-panel .tc-check{font-size:11px!important;margin-top:5px!important}.tc-input-panel .tc-panel-title h2{font-size:19px}
.tc-reaction-picture svg{width:100%;max-height:260px;display:block}.tc-report-columns{display:block;width:100%;min-width:0}.tc-report-columns>section{display:block;width:100%;min-width:0;margin:0 0 20px;box-sizing:border-box;overflow-wrap:break-word}.tc-report-columns table{width:100%;max-width:100%;table-layout:auto}.tc-report-columns section{min-width:0}.tc-report-columns table{margin-top:8px}.tc-verification td:not(:first-child){white-space:nowrap}.tc-roof-plot .tc-plot-row svg{max-height:290px}.tc-reaction-picture .tc-hint{margin-top:0}
@media(max-width:600px){.tc-report-columns{display:block;width:100%;min-width:0}.tc-report-columns>section{display:block;width:100%;min-width:0;margin:0 0 20px;box-sizing:border-box;overflow-wrap:break-word}.tc-report-columns table{width:100%;max-width:100%;table-layout:auto}.tc-input-panel .tc-field input,.tc-input-panel .tc-field select{font-size:14px;height:32px}}
@media print{.tc-report-columns{display:block;width:100%;min-width:0}.tc-report-columns>section{display:block;width:100%;min-width:0;margin:0 0 20px;box-sizing:border-box;overflow-wrap:break-word}.tc-report-columns table{width:100%;max-width:100%;table-layout:auto}.tc-roof-plot .tc-plot-row svg{max-height:210px}.tc-reaction-picture svg{max-height:190px}}

.tc-scheme-meta{display:flex;justify-content:space-between;align-items:center;gap:12px;height:66px}.tc-scheme-meta .tc-section{margin:0;background:transparent;border:0;height:60px;max-width:48%}.tc-scheme-meta .tc-section svg{height:58px;width:60px}.tc-scheme-meta .tc-section div{font-size:11px}.tc-scheme-meta #tc-brief{font-size:10px;line-height:1.5;text-align:right;display:grid;color:#657064}.tc-scheme #tc-diagram>svg{max-height:150px}@media(max-width:600px){.tc-scheme-meta{gap:6px}.tc-scheme-meta #tc-brief{font-size:9px}.tc-scheme-meta .tc-section small{display:none}}

.tc-verification .tc-failed td{color:#b3261e!important;background:#fff2f0;font-weight:600}.tc-group-title{display:block;font-size:12px;margin:7px 0 3px;color:#52664f}.tc-purlin-controls{border-top:1px solid #e2e6dd;padding-top:4px}.tc-purlin-controls .tc-check{margin-bottom:4px!important}.tc-deformation{margin-top:8px}.tc-deformation .tc-plot-row svg{max-height:200px}.tc-deformation .tc-plot-row p{flex-wrap:wrap}.tc-deformation .tc-hint b{color:#324b3e}
.compact-checks{display:grid;gap:9px;margin:16px 0}.compact-check{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:12px;border:1px solid #dfe5dd;border-radius:5px;font:13px/1.45 Arial,sans-serif}.compact-check strong{font-size:19px}.compact-check b{grid-column:1/-1;text-align:right;font-size:12px;color:#35643f}.compact-check.fail b,.compact-check.fail strong{color:#ac3426}.compact-check.fail{background:#fff6f2;border-color:#e4bfb5}

/* Reaction diagrams share the full plotting area with moments and displacements. */
.frame-effort .tc-reaction-picture svg{max-height:none;height:auto}

