.xm-shell{min-height:100%;background:#f5f2ed;color:#292724;padding:22px}.xm-top{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:18px}.xm-top span,.xm-facts header span,.xm-directions header span,.xm-outline header span,.xm-entered>span{font-size:12px;letter-spacing:.14em;color:#9c3d38}.xm-top h1,.xm-facts h2,.xm-directions h2,.xm-outline h2,.xm-entered h2{margin:5px 0}.xm-layout{display:grid;grid-template-columns:minmax(210px,260px) minmax(420px,1fr) minmax(220px,280px);gap:16px;align-items:start}.xm-layout>aside,.xm-layout>main>section{background:#fff;border:1px solid #e2ddd5;border-radius:16px;padding:18px}.xm-left,.xm-right{position:sticky;top:10px}.xm-left section,.xm-right section{border-top:1px solid #ece7e0;padding-top:13px;margin-top:13px}.xm-left ul,.xm-right ul,.xm-direction ul{padding-left:18px}.xm-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:20px}.xm-form-grid label{display:grid;gap:6px;font-size:13px}.xm-form-grid input,.xm-form-grid textarea,.xm-form-grid select{box-sizing:border-box;width:100%;border:1px solid #d7d0c7;border-radius:9px;padding:10px;background:#fff}.xm-form-grid textarea{min-height:84px}.xm-form-grid .wide,.xm-form-grid fieldset{grid-column:1/-1}.xm-form-grid .check,.xm-form-grid fieldset label{display:flex;align-items:center}.xm-form-grid .check input,.xm-form-grid fieldset input{width:auto}.xm-fact{display:flex!important;padding:9px;border:1px solid #e7e1da;border-radius:10px;grid-template-columns:auto 1fr!important}.xm-fact input{width:auto!important}.xm-fact span{display:grid}.xm-fact small{color:#837b72}.xm-direction-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.xm-direction{border:1px solid #ddd5cc;border-radius:13px;padding:14px;min-width:0}.xm-direction.blocked{background:#fff7f5}.xm-direction.needs_facts{background:#fffaf0}.xm-direction dl{font-size:13px}.xm-direction dt{font-weight:700;margin-top:11px}.xm-direction dd{margin:3px 0;color:#5d574f;overflow-wrap:anywhere}.xm-direction button,.xm-primary button,.xm-entered button{width:100%;min-height:44px;padding:12px;border:0;border-radius:10px;background:#9c3d38;color:#fff;font-weight:700}.xm-direction button:disabled,.xm-primary button:disabled,.xm-entered button:disabled{background:#bcb6af}.xm-actions{display:grid;gap:7px}.xm-primary{position:sticky;bottom:calc(10px + env(safe-area-inset-bottom));margin-top:15px}.xm-notice,.xm-error,.xm-sanitized{padding:11px 14px;border-radius:10px}.xm-notice,.xm-sanitized{background:#eaf5ed;color:#27613b}.xm-error,.warning{background:#fff0ed;color:#9d3027}.ready{color:#247441}.needs_facts{color:#9b6a12}.blocked{color:#a3322a}.muted{color:#8a837b}.xm-mobile-tabs{display:none}.xm-entered{text-align:center;padding:60px 30px!important}.xm-entered button{max-width:360px;margin:6px auto;display:block}
@media(max-width:900px){.xm-shell{--global-bottom-nav:72px;--migration-action:64px;padding:12px 12px calc(var(--global-bottom-nav) + var(--migration-action) + 32px + env(safe-area-inset-bottom))}.xm-top{align-items:flex-start}.xm-top p{display:none}.xm-layout{display:block}.xm-left,.xm-right{position:static;margin-bottom:12px}.xm-left details:not([open])>*:not(summary){display:none}.xm-layout>main>section{margin-bottom:12px}.xm-form-grid{grid-template-columns:1fr}.xm-form-grid>*{grid-column:1!important}.xm-form-grid input,.xm-form-grid textarea,.xm-form-grid select{font-size:16px}.xm-mobile-tabs{display:flex;gap:8px;margin:12px 0;overflow-x:auto}.xm-mobile-tabs button{flex:1;min-height:44px;padding:9px}.xm-direction-grid{display:block}.xm-direction{display:none}.xm-direction:nth-child(1){display:var(--d1,block)}.xm-direction-grid[style*="--mobile:0"] .xm-direction:nth-child(1),.xm-direction-grid[style*="--mobile:1"] .xm-direction:nth-child(2),.xm-direction-grid[style*="--mobile:2"] .xm-direction:nth-child(3){display:block}.xm-direction-grid[style*="--mobile:1"] .xm-direction:nth-child(1),.xm-direction-grid[style*="--mobile:2"] .xm-direction:nth-child(1){display:none}.xm-right{display:grid;grid-template-columns:1fr 1fr;gap:8px}.xm-right section{margin:0}.xm-right .xm-primary{position:fixed;left:12px;right:12px;bottom:calc(var(--global-bottom-nav) + 8px + env(safe-area-inset-bottom));z-index:20}.xm-right .xm-primary button{min-height:48px}}
