#aba-terreno { width: 100%; max-width: none; }
#aba-terreno .t3-layout { width: 100%; }
#t3-frame { position: relative; display: flex; flex-direction: column; width: 100%; height: max(420px, calc(100dvh - var(--t3-frame-top, 240px) - 24px)); min-width: 0; box-sizing: border-box; }
#t3-frame .t3-toolbar, #t3-frame .t3-footer { flex: 0 0 auto; }
#t3-frame #t3-stage { flex: 1 1 0; height: auto; min-height: 240px; }
.t3-resize-handle { position: absolute; z-index: 6; padding: 0; border: 0; background: transparent; touch-action: none; }
.t3-resize-handle:focus-visible { outline: 2px solid #1b7a5a; outline-offset: -2px; background: #1b7a5a26; }
.t3-resize-handle[data-direction=n], .t3-resize-handle[data-direction=s] { left: 14px; right: 14px; height: 10px; cursor: ns-resize; }
.t3-resize-handle[data-direction=n] { top: -4px; }
.t3-resize-handle[data-direction=s] { bottom: -4px; }
.t3-resize-handle[data-direction=e], .t3-resize-handle[data-direction=w] { top: 14px; bottom: 14px; width: 10px; cursor: ew-resize; }
.t3-resize-handle[data-direction=e] { right: -4px; }
.t3-resize-handle[data-direction=w] { left: -4px; }
.t3-resize-handle[data-direction=ne], .t3-resize-handle[data-direction=nw], .t3-resize-handle[data-direction=se], .t3-resize-handle[data-direction=sw] { width: 16px; height: 16px; }
.t3-resize-handle[data-direction=ne], .t3-resize-handle[data-direction=nw] { top: -4px; }
.t3-resize-handle[data-direction=se], .t3-resize-handle[data-direction=sw] { bottom: -4px; }
.t3-resize-handle[data-direction=ne], .t3-resize-handle[data-direction=se] { right: -4px; cursor: nesw-resize; }
.t3-resize-handle[data-direction=nw], .t3-resize-handle[data-direction=sw] { left: -4px; cursor: nesw-resize; }
.t3-resize-handle[data-direction=nw], .t3-resize-handle[data-direction=se] { cursor: nwse-resize; }
.t3-resize-handle[data-direction=se] { border-right: 3px solid #8ca291; border-bottom: 3px solid #8ca291; border-radius: 0 0 7px 0; }
#t3-frame[data-resizing] { user-select: none; }
#t3-frame[data-resizing] #t3-stage { pointer-events: none; }
#t3-frame .t3-toolbar strong, #t3-frame .t3-footer span { overflow-wrap: anywhere; }
#t3-frame .t3-toolbar > div { min-width: 0; }
#t3-frame #t3-north { bottom: 60px; z-index: 4; width: 40px; height: 40px; padding: 6px; border: 1px solid transparent; border-radius: 50%; background: transparent; font: inherit; font-size: 14px; cursor: pointer; touch-action: manipulation; }
#t3-north span { display: block; pointer-events: none; }
#t3-north:enabled:hover { background: #fffffff2; border-color: #c7d6ca; }
#t3-north:focus-visible { outline: 2px solid #1b7a5a; outline-offset: 2px; }
#t3-north:disabled { opacity: .45; cursor: default; }
.t3-profile-list { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; }
.t3-profile-item { display: flex; align-items: center; gap: 5px; padding: 5px 7px; border: 1px solid #dbe5dc; border-radius: 7px; background: #f7faf7; font-size: 11px; }
.t3-profile-item button { font-size: 10px; padding: 4px 6px; }
.t3-resize-controls { position: absolute; right: 14px; bottom: 14px; z-index: 4; display: flex; gap: 4px; }
.t3-resize-controls button { width: 32px; height: 32px; border: 1px solid #c7d6ca; border-radius: 7px; background: #fffffff2; color: #24553d; font-size: 21px; line-height: 1; cursor: pointer; box-shadow: 0 2px 8px #234c3426; }
.t3-resize-controls button:hover { background: #eaf5eb; }
#t3-stage[data-profile-prompt]::after { content: attr(data-profile-prompt); position: absolute; left: 50%; top: 14px; transform: translateX(-50%); z-index: 3; padding: 8px 12px; border-radius: 8px; background: #fffefaee; border: 1px solid #cbdacb; color: #29533b; font-size: 12px; pointer-events: none; box-shadow: 0 2px 8px #234c3426; }
