/* /api only (operator API doc): keep wide tables and code inside the phone width. */
.api-doc { overflow-wrap: anywhere; }
.api-doc pre { overflow-x: auto; max-width: 100%; padding: 12px 14px; border: 1px solid var(--rule); border-radius: 10px; background: var(--surface); font-size: 0.85rem; line-height: 1.55; white-space: pre; }
.api-doc pre code { overflow-wrap: normal; }
.api-doc code { font-size: 0.9em; overflow-wrap: anywhere; }
.api-doc table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; font-size: 0.9rem; }
.api-doc th, .api-doc td { padding: 6px 8px; border-bottom: 1px solid var(--rule); vertical-align: top; text-align: left; min-width: 7em; }
/* Owner 11/3: the 「AI에게 주기」 box at the top of the page, with the page address. */
.api-ai { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 8px 0 20px; padding: 14px 16px; border: 1px solid var(--lantern); border-radius: 14px; background: var(--surface); }
.api-ai p { flex: 1 1 22em; margin: 0; font-weight: 600; line-height: 1.6; }
.api-ai-url { flex: none; font-weight: 700; }
/* Owner tg 10508: 「공간 관리로 이동」 above everything, only for an operator signed in on this browser (api-owner.js). */
.api-manage { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 0; }
.api-manage[hidden] { display: none; }
