/* Server-authorized content tools live outside source DOM so layout and selectors stay stable. */
.hab-owner-content-toolbar{position:fixed;z-index:15000;inset-inline-end:16px;top:110px;display:flex;align-items:center;flex-wrap:wrap;gap:7px;max-width:min(600px,calc(100vw - 32px));padding:9px 11px;border:1px solid #c9ae7d;border-radius:12px;background:#fffaf0;box-shadow:0 8px 30px #241a1026;color:#594124;font-family:inherit;font-size:12px;line-height:1.5}.hab-owner-content-toolbar>b{font-size:13px;letter-spacing:.04em;margin-inline-end:4px}.hab-owner-content-toolbar button{font:inherit;border:1px solid #d5c19d;border-radius:7px;background:#fff;color:#594124;padding:6px 10px;cursor:pointer}.hab-owner-content-toolbar button[aria-pressed=true]{background:#604623;border-color:#604623;color:#fff}.hab-owner-content-layer{position:fixed;inset:0;z-index:14990;pointer-events:none}.hab-owner-content-inline{position:fixed;pointer-events:auto;font-family:inherit!important;font-size:11px!important;line-height:1.4!important;font-weight:700!important;border:1px solid #b48b46!important;border-radius:6px!important;background:#fff8e8!important;color:#634516!important;min-height:0!important;padding:3px 8px!important;box-shadow:0 2px 7px #261c1026!important;cursor:pointer;white-space:nowrap!important;width:auto!important;height:auto!important}.hab-owner-content-inline[hidden]{display:none!important}.hab-owner-content-target{outline:1px dashed #b18a4e77;outline-offset:3px}.hab-owner-content-hover{outline:2px solid #ac7a2c;outline-offset:4px}.hab-owner-content-dialog{box-sizing:border-box;width:min(720px,calc(100vw - 24px));max-height:calc(100dvh - 30px);overflow:auto;padding:0;border:1px solid #d6c5a6;border-radius:18px;background:#fffefa;color:#24211c;box-shadow:0 20px 90px #0005;font-family:inherit}.hab-owner-content-dialog::backdrop{background:#15131188;backdrop-filter:blur(3px)}.hab-owner-content-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 20px;border-bottom:1px solid #eadfcf;position:sticky;top:0;background:#fffefa;z-index:3}.hab-owner-content-dialog h2{font-size:19px;line-height:1.5;margin:0}.hab-owner-content-dialog>header button{font:inherit;display:grid;place-items:center;border:0;background:#eee7db;border-radius:50%;width:34px;height:34px;font-size:24px;color:#493a26;cursor:pointer}.hab-owner-content-dialog [data-owner-content-body]{padding:18px 20px}.hab-owner-content-field{display:grid;gap:7px;margin:0 0 17px;font-size:14px;font-weight:650}.hab-owner-content-field :is(input,textarea,select){font-family:inherit;font-size:14px;font-weight:400;line-height:1.7;color:#24211c;background:#fff;border:1px solid #d8ccb9;border-radius:9px;padding:10px 12px;min-width:0;box-sizing:border-box;width:100%}.hab-owner-content-field textarea{resize:vertical;min-height:70px}.hab-owner-content-field small,.hab-owner-content-size small{font-size:12px;font-weight:400;color:#74664d;line-height:1.8}.hab-owner-content-note,.hab-owner-content-size{font-size:13px;line-height:1.8;color:#725c38;background:#f8f1e4;border-radius:9px;padding:10px 12px;margin:0 0 18px}.hab-owner-content-size small{display:block}.hab-owner-content-status{font-size:14px;line-height:1.7;color:#884126;min-height:1.7em;white-space:pre-line}.hab-owner-content-dialog form>footer{display:flex;gap:10px;position:sticky;bottom:-18px;background:#fffefa;padding:14px 0 0;border-top:1px solid #eadfcf;z-index:2}.hab-owner-content-dialog form>footer button{font-family:inherit;font-size:14px;line-height:1.5;font-weight:650;border:1px solid #d5c6ac;background:#fff;color:#3c3428;border-radius:9px;padding:10px 20px;cursor:pointer}.hab-owner-content-dialog form>footer .hab-owner-content-save{background:#604623;border-color:#604623;color:#fff}.hab-owner-content-dialog :disabled{opacity:.6;cursor:wait}.hab-owner-content-dialog :focus-visible,.hab-owner-content-toolbar :focus-visible,.hab-owner-content-inline:focus-visible{outline:3px solid #b6873e;outline-offset:3px}.hab-owner-content-image{border:1px solid #e4d8c3;border-radius:12px;padding:12px;margin:0 0 16px}.hab-owner-content-image h3{font-size:14px;margin:0 0 10px}.hab-owner-content-image>img{display:block;max-width:100%;height:180px;object-fit:contain;background:repeating-conic-gradient(#f1ede5 0% 25%,#fff 0% 50%) 50%/16px 16px;border:1px solid #e8dfd0;border-radius:9px;width:100%;margin-bottom:8px}.hab-owner-content-main{display:block;font-size:11px;color:#715220;margin-bottom:12px}.hab-owner-content-check{display:flex;align-items:center;gap:8px;margin:14px 0;font-size:14px}.hab-owner-content-check input{width:18px;height:18px}@media(max-width:600px){.hab-owner-content-toolbar{top:auto;bottom:calc(88px + env(safe-area-inset-bottom));inset-inline:10px;max-width:calc(100vw - 20px);padding:8px;font-size:11px;justify-content:center}.hab-owner-content-toolbar button{padding:6px 8px}.hab-owner-content-dialog>header{padding:14px 16px}.hab-owner-content-dialog [data-owner-content-body]{padding:16px}.hab-owner-content-dialog form>footer button{flex:1;padding:11px 12px}}
