.tb-work{flex:1 1;min-height:0;display:flex;flex-direction:column;color:#263c37}.tb-heading{display:flex;justify-content:space-between;align-items:center;padding:8px 0 16px}.tb-heading h1{font-size:23px;margin:0}.tb-heading p{font-size:12px;color:#71837d;margin:6px 0 0}.tb-work button,.tb-work input,.tb-work select{font:inherit;font-size:12px;border:1px solid #d6e2dc;border-radius:6px;background:white;padding:8px 10px;color:inherit}.tb-work button{cursor:pointer}.tb-work button:disabled{opacity:.45;cursor:default}.tb-work button.selected{background:#e7f3ed;color:#176448;border-color:#8bb9a0}.tb-image:focus-visible,.tb-work button:focus-visible{outline:2px solid #226849;outline-offset:2px}.tb-grid{display:grid;grid-template-columns:260px minmax(0,1fr);gap:14px;min-height:0;flex:1 1}.tb-grid.tb-hidden{grid-template-columns:1fr}.tb-tree{border:1px solid #dbe4df;background:#fff;padding:14px;display:flex;flex-direction:column;min-height:0}.tb-tree label{font-size:12px;font-weight:700}.tb-tree select{width:100%;margin:7px 0}.tb-count{font-size:12px;color:#637e72;margin:8px 0}.tb-tree nav{overflow:auto;flex:1 1;padding-top:10px}.tb-tree details details{padding-left:8px}.tb-tree summary{font-size:12px;padding:10px 0;cursor:pointer;font-weight:600}.tb-tree nav button{display:flex;text-align:left;justify-content:space-between;gap:6px;width:100%;border:0;margin:2px 0;line-height:1.5}.tb-tree small{font-size:10px;color:#71837d;white-space:nowrap}.tb-body{display:flex;flex-direction:column;min-width:0;min-height:0}.tb-title{display:flex;justify-content:space-between;align-items:center;padding:12px;background:#fff;border:1px solid #dbe4df;margin-bottom:10px}.tb-title span{font-size:12px;color:#226849}.tb-compare{display:grid;grid-template-columns:1fr 1fr;gap:14px;flex:1 1;min-height:0}.tb-editor,.tb-source{background:#fff;border:1px solid #dbe4df;display:flex;flex-direction:column;min-width:0;min-height:0}.tb-bar{display:flex;align-items:center;gap:8px;padding:12px;border-bottom:1px solid #e5ece8;font-size:12px;flex-wrap:wrap}.tb-bar small,.tb-bar strong{margin-right:auto}.tb-bar small{color:#71837d}.tb-thumbs{gap:6px;padding:8px 12px;flex-shrink:0}.tb-image,.tb-thumbs{display:flex;overflow:auto}.tb-image{background:#edf2ef;flex:1 1;min-height:100px;align-items:flex-start;justify-content:center;padding:16px}.tb-image img{max-width:100%;height:auto;object-fit:contain}.tb-image.full{display:block}.tb-image.full img{max-width:none}.tb-empty{padding:50px 20px;text-align:center;margin:auto;font-size:14px;color:#71837d}.tb-fields{display:flex;gap:10px;padding:10px 14px}.tb-fields label{font-size:11px;flex:1 1}.tb-fields input{display:block;width:100%;margin-top:4px}.tb-editor>textarea{font:13px/1.7 ui-monospace,monospace;resize:vertical;min-height:140px;height:28%;border:1px solid #dbe4df;border-radius:6px;margin:0 14px;padding:12px;width:calc(100% - 28px);flex-shrink:0}.tb-preview{padding:10px 14px;flex:1 1;min-height:130px;display:flex;flex-direction:column;font-size:11px}.tb-preview iframe{border:1px solid #e5ece8;width:100%;flex:1 1;margin-top:8px;min-height:100px;background:white}.tb-editor footer{padding:12px;display:flex;align-items:center;gap:8px;border-top:1px solid #dbe4df;flex-wrap:wrap}.tb-editor footer small{font-size:11px;flex-basis:100%;color:#71837d}.tb-work .tb-primary{background:#226849;color:white;border-color:#226849}.tb-extraction,.tb-notice,.tb-warning{font-size:12px;padding:10px 14px;background:#fff7df;margin-bottom:8px;line-height:1.6}.tb-extraction{background:#edf6f0;max-height:180px;overflow:auto;margin:0 14px}.tb-extraction pre{white-space:pre-wrap;font-size:12px}.tb-notice{background:#e7f3ed}.tb-work h1,.tb-work p{letter-spacing:normal}@media(max-width:1200px){.tb-grid{grid-template-columns:220px minmax(0,1fr)}.tb-compare{gap:8px}.tb-bar{padding:8px}.tb-work{height:calc(100vh - 125px)}}@media(max-width:850px){.tb-body{min-width:650px}.tb-grid{overflow:auto}.tb-tree{min-width:210px}}.tb-editor{overflow-y:auto}.tb-editor>*{flex-shrink:0}.tb-editor .tb-preview{flex:1 0 170px}.tb-editor footer{position:sticky;bottom:0;background:white;z-index:1}.tb-tree nav button span{min-width:0;white-space:normal}.tb-extraction{flex-shrink:0;max-height:160px}.tb-source>.tb-bar{flex-shrink:0}