/* Public masterplan embed only: all original canvas/search behavior is retained. */
html[data-r29-plan-embed] body{padding:0!important;min-height:0!important;background:#f5f9f6!important;}
html[data-r29-plan-embed] :is(.az-shell,.az-plan-directory-back,.pr-title,body>footer,.skip,.pr-plan-foot){display:none!important;}
html[data-r29-plan-embed] #main{width:100%!important;max-width:none!important;margin:0!important;padding:12px!important;}
html[data-r29-plan-embed] #plan-viewer{width:100%!important;max-width:none!important;margin:0!important;border:0!important;box-shadow:none!important;border-radius:0!important;padding:0!important;}
html[data-r29-plan-embed] .pr-plan-toolbar{display:flex!important;flex-wrap:wrap!important;gap:10px!important;align-items:end!important;justify-content:space-between!important;padding:0!important;}
html[data-r29-plan-embed] #plan-search{flex:1 1 260px;max-width:520px;}
html[data-r29-plan-embed] #unit-search{min-width:0!important;font-size:16px!important;}
html[data-r29-plan-embed] .pr-plan-buttons{display:flex;gap:5px;}
html[data-r29-plan-embed] .pr-plan-buttons button{min-height:40px;min-width:40px;}
html[data-r29-plan-embed] [data-plan-action="full"]{display:none!important;}
html[data-r29-plan-embed] .pr-canvas-wrap{height:calc(100dvh - 165px)!important;min-height:280px!important;width:100%!important;border-radius:12px!important;}
html[data-r29-plan-embed] .pr-plan-status{font-size:12px;margin:8px 0!important;}
html[data-r29-plan-embed] .pr-plan-results{max-height:90px;overflow:auto;}
html[data-r29-plan-embed] #main>p.pr-note{font-size:11px;margin:8px 0;}
