.am-page{padding-top:var(--ui-header-height,72px);min-height:100dvh;background:#fff}
.am-page .am-layout{display:grid;grid-template-columns:210px minmax(0,1fr);gap:28px;width:92%;max-width:1320px;margin:auto;padding:26px 0 48px;align-items:start}
.am-sidebar{padding:20px 14px;background:#f5faff;border:1px solid #cedfec;border-radius:16px;position:sticky;top:calc(var(--ui-header-height,72px) + 20px)}
.am-sidebar h2{font-size:22px;margin:0 8px 20px}.am-sidebar nav{display:grid;gap:8px;margin-bottom:16px}.am-sidebar>.button,.am-sidebar>button{margin-top:8px}.am-sidebar .button,.am-sidebar button{width:100%;justify-content:flex-start}
.am-content{min-width:0}.am-heading{display:flex;gap:16px;align-items:center;justify-content:space-between;margin-bottom:20px}.am-heading h1{margin:0;font-size:30px;line-height:1.4}.am-heading>.button{flex:none;white-space:nowrap}
.am-filters{display:flex;align-items:center;gap:18px;margin-bottom:20px}.am-filters select{max-width:280px}.am-row-actions{display:flex;flex-wrap:wrap;gap:8px}.am-page th,.am-page td{padding:14px 12px}.am-page td:nth-child(2){overflow-wrap:anywhere}
.am-edit-page #add1-editor{margin:0}.am-edit-page .field{margin:0 0 16px}.am-edit-page .field>span{display:block;margin-bottom:6px}.am-edit-page .field input,.am-edit-page .field select{width:100%;min-height:42px}
.am-edit-page .add1-rich-group{overflow:visible}.am-edit-page .add1-rich-toolbar{display:flex;flex-wrap:wrap;align-items:center;position:sticky;top:var(--ui-header-height,72px);z-index:20;background:#f6faff;padding:10px;gap:8px;border:1px solid #cedfec;box-shadow:0 3px 8px #153c6810}
.am-edit-page .add1-rich-toolbar button{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;padding:7px;flex:none;min-height:34px;border:1px solid #d6e3ed;background:#fff;color:#153c68}
.am-edit-page .add1-rich-toolbar select{height:34px;width:auto;min-height:34px;padding:4px 8px;font-size:13px}.am-edit-page .add1-rich-toolbar>label{margin:0;gap:5px}.am-edit-page .am-color input{width:28px;height:28px;padding:1px;cursor:pointer;border:1px solid #cedfec}
.am-edit-page .add1-rich-body{height:auto;min-height:480px;max-height:none;overflow:visible;font-size:16px;line-height:1.75;padding:18px;border:1px solid #cedfec;white-space:pre-wrap;background:#fff;scroll-margin-top:150px}
.am-edit-page .actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}.am-edit-page .actions>*{flex:none}.am-edit-page input[readonly]{background:#f4f7f9;color:#6d8aa4}
@media(max-width:750px){.am-page .am-layout{grid-template-columns:1fr;gap:20px;width:94%;padding-top:16px}.am-sidebar{position:static;padding:12px}.am-sidebar h2{font-size:18px;margin:0 0 10px}.am-sidebar nav{display:flex;flex-wrap:wrap;margin-bottom:4px}.am-sidebar .button,.am-sidebar button{width:auto;display:inline-flex}.am-sidebar>.button,.am-sidebar>button{margin-right:6px}.am-heading h1{font-size:25px}.am-edit-page .add1-rich-body{min-height:360px}.am-edit-page .add1-rich-toolbar{gap:6px;padding:8px}.am-page th,.am-page td{padding:10px 8px}}
