/*
 * Andison Back Office — the website's look in the back office.
 * Brand (from the live theme): Poppins headings, Lato text, blue #2B11DB, teal #00D7B3,
 * white rounded cards with soft shadows, teal accent lines.
 * body.ast-ui = simple mode (every screen) or any back-office screen. The front end is untouched.
 */

body.ast-ui, body.ast-login {
	--ast-blue: #2b11db;
	--ast-blue-deep: #2410b8;
	--ast-blue-soft: #eef0ff;
	--ast-blue-ring: rgba(43, 17, 219, .18);
	--ast-teal: #00d7b3;
	--ast-teal-deep: #008f77;
	--ast-teal-soft: #e3fbf6;
	--ast-ink: #18213a;
	--ast-text: #3d4659;
	--ast-mute: #667085;
	--ast-line: #e5e9f2;
	--ast-soft: #f7f8fc;
	--ast-bg: #f3f5fa;
	--ast-red: #d92d20;
	--ast-red-soft: #fef0ef;
	--ast-amber: #b54708;
	--ast-amber-soft: #fff6e0;
	--ast-r: 10px;
	--ast-r-lg: 16px;
	--ast-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 7px 20px rgba(25, 32, 66, .05);
	--ast-shadow-lift: 0 12px 28px rgba(25, 32, 66, .10);
	--ast-head: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--ast-body: "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--ast-side: 212px;
}

/* ------------------------------------------------------------------ Shell */

body.ast-ui { background: var(--ast-bg); color: var(--ast-text); font-family: var(--ast-body); font-size: 14px; }
body.ast-ui #wpwrap, body.ast-ui #wpcontent, body.ast-ui #wpbody-content { background: var(--ast-bg); }
body.ast-ui h1, body.ast-ui h2, body.ast-ui h3, body.ast-ui .wrap h1.wp-heading-inline { font-family: var(--ast-head); color: var(--ast-ink); }
body.ast-ui .wrap { margin: 24px 28px 0 8px; }
body.ast-ui .wrap > h1:first-child, body.ast-ui .wrap h1.wp-heading-inline { font-size: 26px; font-weight: 600; letter-spacing: -.01em; padding: 0 0 6px; }
body.ast-ui a { color: var(--ast-blue); }
body.ast-ui a:hover { color: var(--ast-blue-deep); }
body.ast-ui :focus-visible { outline: 2px solid var(--ast-blue); outline-offset: 2px; box-shadow: none; }
body.ast-ui #screen-meta-links { display: none; }
body.ast-ui #wpfooter { color: var(--ast-mute); font-size: 12px; }

/* Top bar: the website's blue header */
body.ast-ui #wpadminbar { background: var(--ast-blue); }
body.ast-ui #wpadminbar .ab-item, body.ast-ui #wpadminbar a.ab-item, body.ast-ui #wpadminbar > #wp-toolbar span.ab-label { color: rgba(255, 255, 255, .92); font-family: var(--ast-body); }
body.ast-ui #wpadminbar .ab-top-menu > li:hover > .ab-item, body.ast-ui #wpadminbar .ab-top-menu > li.hover > .ab-item { background: rgba(255, 255, 255, .12); color: #fff; }
body.ast-ui #wpadminbar #wp-admin-bar-ast-brand > .ab-item { display: flex; align-items: center; padding: 0 16px 0 14px; }
body.ast-ui #wpadminbar #wp-admin-bar-ast-brand img { height: 20px; width: auto; display: block; }
body.ast-ui #wpadminbar #wp-admin-bar-ast-brand:hover > .ab-item { background: transparent; }
body.ast-ui #wpadminbar #wp-admin-bar-ast-menu-mode > .ab-item { background: rgba(255, 255, 255, .14); border-radius: 999px; height: 22px; line-height: 22px; margin: 5px 6px; padding: 0 12px; }
body.ast-ui #wpadminbar .ab-sub-wrapper, body.ast-ui #wpadminbar .quicklinks .ab-sub-wrapper { background: #fff; border-radius: 0 0 var(--ast-r) var(--ast-r); box-shadow: var(--ast-shadow-lift); }
body.ast-ui #wpadminbar .ab-submenu .ab-item, body.ast-ui #wpadminbar .quicklinks .menupop ul li a { color: var(--ast-ink); }
body.ast-ui #wpadminbar .quicklinks .menupop ul li a:hover { color: var(--ast-blue); background: var(--ast-blue-soft); }
body.ast-ui #wpadminbar #wp-admin-bar-user-info .display-name, body.ast-ui #wpadminbar #wp-admin-bar-user-info .username { color: var(--ast-ink); }

/* Side menu: white, Andison blue for where you are */
body.ast-ui #adminmenuback, body.ast-ui #adminmenuwrap, body.ast-ui #adminmenu { background: #fff; }
body.ast-ui #adminmenuback { border-right: 1px solid var(--ast-line); }
body.ast-ui #adminmenu { margin: 14px 0; }
body.ast-ui #adminmenu a { color: var(--ast-ink); }
body.ast-ui #adminmenu li.menu-top { margin: 2px 10px; border: 0; }
body.ast-ui #adminmenu li.menu-top > a { border-radius: var(--ast-r); font-family: var(--ast-head); font-weight: 500; font-size: 13.5px; }
body.ast-ui #adminmenu div.wp-menu-image:before { color: #8a93a6; transition: color .15s; }
body.ast-ui #adminmenu li.menu-top:hover > a, body.ast-ui #adminmenu li.opensub > a.menu-top, body.ast-ui #adminmenu li > a.menu-top:focus { background: var(--ast-soft); color: var(--ast-blue); }
body.ast-ui #adminmenu li.menu-top:hover div.wp-menu-image:before, body.ast-ui #adminmenu li.opensub div.wp-menu-image:before { color: var(--ast-blue); }
body.ast-ui #adminmenu .wp-has-current-submenu > a.menu-top, body.ast-ui #adminmenu li.current > a.menu-top, body.ast-ui #adminmenu .wp-menu-arrow, body.ast-ui #adminmenu .wp-menu-arrow div { background: var(--ast-blue); color: #fff; }
body.ast-ui #adminmenu .wp-has-current-submenu div.wp-menu-image:before, body.ast-ui #adminmenu li.current div.wp-menu-image:before { color: #fff; }
body.ast-ui #adminmenu li.wp-has-current-submenu a.wp-has-current-submenu:after, body.ast-ui #adminmenu li.current a.menu-top:after { display: none; }
body.ast-ui #adminmenu .wp-submenu, body.ast-ui #adminmenu .wp-has-current-submenu .wp-submenu, body.ast-ui #adminmenu .wp-has-current-submenu.opensub .wp-submenu { background: #fff; }
body.ast-ui #adminmenu .wp-has-current-submenu .wp-submenu { padding: 6px 0 8px; }
body.ast-ui #adminmenu .wp-has-current-submenu .wp-submenu a { padding: 7px 10px 7px 38px; border-radius: 8px; color: var(--ast-mute); font-size: 13px; }
body.ast-ui #adminmenu .wp-submenu a:hover, body.ast-ui #adminmenu .wp-submenu a:focus { color: var(--ast-blue); background: var(--ast-soft); box-shadow: none; }
body.ast-ui #adminmenu .wp-submenu li.current a, body.ast-ui #adminmenu .wp-submenu li.current a:hover { color: var(--ast-blue); font-weight: 700; }
body.ast-ui #adminmenu .wp-not-current-submenu .wp-submenu { border-radius: var(--ast-r); box-shadow: var(--ast-shadow-lift); border: 1px solid var(--ast-line); padding: 6px; }
body.ast-ui #adminmenu .wp-submenu-head { font-family: var(--ast-head); color: var(--ast-ink); }
body.ast-ui #adminmenu .awaiting-mod, body.ast-ui #adminmenu .update-plugins { background: var(--ast-teal); color: var(--ast-ink); font-weight: 700; }
body.ast-ui #collapse-button { color: var(--ast-mute); }
body.ast-ui #collapse-button:hover { color: var(--ast-blue); }
/* Andison Admin Menu's group labels only make sense in the full menu */
body.ast-ui #adminmenu li.aam-menu-group::after { color: var(--ast-mute); border-top-color: var(--ast-line); }

@media (min-width: 961px) {
	body.ast-ui:not(.folded) #adminmenuback, body.ast-ui:not(.folded) #adminmenuwrap, body.ast-ui:not(.folded) #adminmenu, body.ast-ui:not(.folded) #adminmenu .wp-submenu-head { width: var(--ast-side); }
	body.ast-ui:not(.folded) #wpcontent, body.ast-ui:not(.folded) #wpfooter { margin-left: var(--ast-side); }
	body.ast-ui:not(.folded) #adminmenu li.menu-top { width: calc(var(--ast-side) - 20px); }
	body.ast-ui:not(.folded) #adminmenu .wp-submenu { left: calc(var(--ast-side) - 10px); }
	body.ast-ui:not(.folded) #adminmenu .wp-has-current-submenu .wp-submenu { left: auto; }
}

/* WordPress buttons, fields, tables and boxes in the same style (Inquiries, Pages, Media, Backup…) */
body.ast-ui .button, body.ast-ui .button-secondary, body.ast-ui .page-title-action, body.ast-ui .wrap .add-new-h2 {
	min-height: 36px; line-height: 34px; padding: 0 14px; border-radius: var(--ast-r); border: 1px solid var(--ast-line); background: #fff; color: var(--ast-ink);
	font-family: var(--ast-head); font-weight: 500; font-size: 13px; box-shadow: none; transition: border-color .15s, color .15s, background .15s;
}
body.ast-ui .button:hover, body.ast-ui .page-title-action:hover { border-color: var(--ast-blue); color: var(--ast-blue); background: #fff; }
body.ast-ui .button-primary, body.ast-ui .wrap .button-primary { background: var(--ast-blue); border-color: var(--ast-blue); color: #fff; }
body.ast-ui .button-primary:hover, body.ast-ui .button-primary:focus { background: var(--ast-blue-deep); border-color: var(--ast-blue-deep); color: #fff; }
body.ast-ui .button.button-hero { min-height: 46px; line-height: 44px; padding: 0 22px; font-size: 15px; }
body.ast-ui .button-link { color: var(--ast-blue); }
body.ast-ui .wrap .page-title-action { top: -3px; margin-left: 10px; }

body.ast-ui input[type=text], body.ast-ui input[type=search], body.ast-ui input[type=email], body.ast-ui input[type=url], body.ast-ui input[type=number],
body.ast-ui input[type=password], body.ast-ui input[type=tel], body.ast-ui input[type=date], body.ast-ui input[type=datetime-local], body.ast-ui textarea, body.ast-ui select {
	border: 1px solid #d7dce8; border-radius: var(--ast-r); box-shadow: none; color: var(--ast-ink); font-family: var(--ast-body); background-color: #fff;
}
body.ast-ui input[type=text], body.ast-ui input[type=search], body.ast-ui input[type=email], body.ast-ui input[type=url], body.ast-ui input[type=number], body.ast-ui input[type=password], body.ast-ui input[type=tel], body.ast-ui select { min-height: 38px; }
body.ast-ui input:focus, body.ast-ui textarea:focus, body.ast-ui select:focus { border-color: var(--ast-blue); box-shadow: 0 0 0 3px var(--ast-blue-ring); outline: 0; }
body.ast-ui input[type=checkbox], body.ast-ui input[type=radio] { border-color: #b9c0d0; }
body.ast-ui input[type=checkbox]:checked { background: var(--ast-blue); border-color: var(--ast-blue); }
body.ast-ui input[type=checkbox]:checked::before { content: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%23ffffff%27%2F%3E%3C%2Fsvg%3E"); }
body.ast-ui input[type=radio]:checked::before { background: var(--ast-blue); }

body.ast-ui .wp-list-table { border: 1px solid var(--ast-line); border-radius: var(--ast-r-lg); overflow: hidden; box-shadow: var(--ast-shadow); background: #fff; border-collapse: separate; }
body.ast-ui .wp-list-table thead th, body.ast-ui .wp-list-table thead td, body.ast-ui .wp-list-table tfoot th, body.ast-ui .wp-list-table tfoot td { background: var(--ast-soft); border-color: var(--ast-line); color: var(--ast-mute); font-family: var(--ast-head); font-weight: 500; font-size: 12.5px; }
body.ast-ui .wp-list-table td, body.ast-ui .wp-list-table th { padding-top: 12px; padding-bottom: 12px; }
body.ast-ui .striped > tbody > :nth-child(odd), body.ast-ui .alternate { background: #fff; }
body.ast-ui .wp-list-table tbody tr { box-shadow: inset 0 -1px 0 #f0f2f7; }
body.ast-ui .wp-list-table tbody tr:hover { background: #fafbff; }
body.ast-ui .wp-list-table .row-title { font-family: var(--ast-head); font-weight: 600; color: var(--ast-ink); }
body.ast-ui .wp-list-table .row-title:hover { color: var(--ast-blue); }
body.ast-ui .subsubsub { font-size: 13px; color: var(--ast-mute); }
body.ast-ui .subsubsub .current { color: var(--ast-blue); font-weight: 700; }
body.ast-ui .tablenav { margin: 10px 0; }

body.ast-ui .postbox, body.ast-ui .stuffbox, body.ast-ui .card, body.ast-ui #poststuff .postbox { border: 1px solid var(--ast-line); border-radius: var(--ast-r-lg); box-shadow: var(--ast-shadow); background: #fff; }
body.ast-ui .postbox .postbox-header { border-bottom-color: var(--ast-line); }
body.ast-ui .postbox .hndle, body.ast-ui .postbox-header h2 { font-family: var(--ast-head); font-size: 14px; font-weight: 600; color: var(--ast-ink); }
body.ast-ui #titlediv #title { border-radius: var(--ast-r); font-family: var(--ast-head); font-size: 20px; padding: 8px 14px; }

body.ast-ui .notice, body.ast-ui div.updated, body.ast-ui div.error { border: 1px solid var(--ast-line); border-left-width: 4px; border-radius: var(--ast-r); box-shadow: var(--ast-shadow); }
body.ast-ui .notice-success, body.ast-ui div.updated { border-left-color: var(--ast-teal); }
body.ast-ui .notice-error, body.ast-ui div.error { border-left-color: var(--ast-red); }
body.ast-ui .notice-warning { border-left-color: #f79009; }
body.ast-ui .notice-info { border-left-color: var(--ast-blue); }

body.ast-ui .form-table th { color: var(--ast-ink); font-weight: 700; }
body.ast-ui .wp-filter, body.ast-ui .media-toolbar { border: 1px solid var(--ast-line); border-radius: var(--ast-r-lg); box-shadow: var(--ast-shadow); }
body.ast-ui .attachments-browser .attachment-preview, body.ast-ui .wp-core-ui .attachment .thumbnail { border-radius: var(--ast-r); }
body.ast-ui .wp-editor-container { border-color: var(--ast-line); border-radius: var(--ast-r); overflow: hidden; }
body.ast-ui div.mce-toolbar-grp { background: var(--ast-soft); border-bottom-color: var(--ast-line); }

/* ------------------------------------------------------- Back office components */

.ast { max-width: 1320px; color: var(--ast-text); }
.ast h2 { font-size: 15px; font-weight: 600; margin: 0 0 12px; display: flex; align-items: center; gap: 8px; }
.ast h2 .dashicons { width: 30px; height: 30px; font-size: 17px; line-height: 30px; border-radius: 8px; background: var(--ast-blue-soft); color: var(--ast-blue); text-align: center; flex: none; }
.ast-help { color: var(--ast-mute); margin: -4px 0 14px; max-width: 72ch; font-size: 13px; line-height: 1.55; }
.ast-help kbd { font-size: 11px; padding: 1px 5px; border-radius: 4px; background: var(--ast-soft); border: 1px solid var(--ast-line); }
.ast-empty { color: var(--ast-mute); padding: 28px 20px; text-align: center; background: #fff; border: 1px dashed #d7dce8; border-radius: var(--ast-r-lg); margin: 0; }
.ast-warn { color: var(--ast-red) !important; }
.ast-ok { color: var(--ast-teal-deep) !important; font-weight: 700; }

/* Page header */
.ast-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 0 0 22px; }
.ast-head h1 { font-size: 28px !important; font-weight: 600; margin: 0; padding: 0; line-height: 1.2; letter-spacing: -.015em; }
.ast-eyebrow { margin: 0 0 4px; font-family: var(--ast-head); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ast-teal-deep); }
.ast-eyebrow::after { content: ""; display: inline-block; width: 22px; height: 3px; border-radius: 3px; background: var(--ast-teal); margin-left: 8px; vertical-align: middle; }
.ast-sub { margin: 6px 0 0; color: var(--ast-mute); max-width: 70ch; font-size: 14px; }
.ast-head-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

/* Buttons */
.ast-btn, .ast .button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; padding: 0 16px; border: 1px solid var(--ast-line); border-radius: var(--ast-r); background: #fff; color: var(--ast-ink) !important; font-family: var(--ast-head); font-weight: 500; font-size: 13.5px; line-height: 1; text-decoration: none; cursor: pointer; box-shadow: 0 1px 2px rgba(16, 24, 40, .04); transition: border-color .15s, color .15s, background .15s, box-shadow .15s, transform .15s; white-space: nowrap; }
.ast-btn:hover, .ast .button:hover { border-color: var(--ast-blue); color: var(--ast-blue) !important; background: #fff; }
.ast-btn.is-primary, .ast .button-primary { background: var(--ast-blue); border-color: var(--ast-blue); color: #fff !important; box-shadow: 0 8px 22px rgba(50, 24, 223, .22); }
.ast-btn.is-primary:hover, .ast .button-primary:hover { background: var(--ast-blue-deep); border-color: var(--ast-blue-deep); color: #fff !important; transform: translateY(-1px); }
.ast-btn.is-ghost { background: transparent; border-color: transparent; box-shadow: none; }
.ast-btn.is-ghost:hover { background: var(--ast-blue-soft); border-color: transparent; }
.ast-btn.is-small { min-height: 32px; padding: 0 12px; font-size: 12.5px; }
.ast-btn.is-big { min-height: 50px; padding: 0 28px; font-size: 15px; }
.ast-btn:disabled, .ast-btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.ast-btn .dashicons { font-size: 17px; width: 17px; height: 17px; }
.ast .ast-danger { color: var(--ast-red) !important; border-color: #f4c7c3; }
.ast .ast-danger:hover { background: var(--ast-red-soft); }
.ast-delete { color: var(--ast-red) !important; text-decoration: none; font-weight: 700; font-size: 13px; }
.ast-delete:hover { text-decoration: underline; }

/* Status pills, dots */
.ast-pill { display: inline-flex; align-items: center; gap: 6px; font-style: normal; font-size: 12px; font-weight: 700; line-height: 1; padding: 6px 10px; border-radius: 999px; background: #eef0f5; color: var(--ast-mute); white-space: nowrap; }
.ast-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .8; }
.ast-pill.is-live, .ast-pill.is-completed, .ast-pill.is-replied, .ast-pill.is-closed { background: var(--ast-teal-soft); color: var(--ast-teal-deep); }
.ast-pill.is-pending, .ast-pill.is-new { background: var(--ast-amber-soft); color: var(--ast-amber); }
.ast-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #b9c0d0; }
.ast-dot.is-live { background: var(--ast-teal); box-shadow: 0 0 0 3px var(--ast-teal-soft); }
.ast-noimg { display: inline-block; width: 48px; height: 48px; flex: none; border-radius: var(--ast-r); background: var(--ast-soft) url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b9c0d0' stroke-width='1.6'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Ccircle cx='9' cy='10' r='1.6'/%3E%3Cpath d='m21 16-5-5-9 8'/%3E%3C/svg%3E") center / 22px no-repeat; }

/* Notices */
.ast-saved { display: flex; align-items: center; gap: 10px; background: var(--ast-teal-soft); color: var(--ast-ink); border: 1px solid #b4f0e4; padding: 12px 16px; margin: 0 0 18px; border-radius: var(--ast-r); font-weight: 700; }
.ast-saved::before { content: "✓"; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--ast-teal); color: #fff; font-size: 13px; flex: none; }
.ast-saved a { margin-left: auto; font-weight: 700; }

/* Overview */
.ast-hero { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 30px 32px; margin-bottom: 20px; border-radius: 20px; color: #fff; background: linear-gradient(120deg, #2b11db 0%, #2410b8 55%, #1b0d8f 100%); box-shadow: 0 18px 40px rgba(43, 17, 219, .22); }
.ast-hero::after { content: ""; position: absolute; right: -80px; top: -120px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(0, 215, 179, .35), rgba(0, 215, 179, 0) 70%); pointer-events: none; }
.ast-hero h1 { color: #fff !important; font-size: 30px !important; font-weight: 600; margin: 0 0 6px; padding: 0; }
.ast-hero p { margin: 0; color: rgba(255, 255, 255, .85); font-size: 15px; }
.ast-hero p b { color: var(--ast-teal); }
.ast-hero .ast-hero-date { font-family: var(--ast-head); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .7); margin-bottom: 6px; }
.ast-tiles { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(auto-fit, 120px); gap: 10px; }
.ast-tile { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 18px; height: 104px; padding: 14px; border-radius: 14px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); color: #fff !important; text-decoration: none; font-family: var(--ast-head); font-weight: 500; font-size: 13px; line-height: 1.25; transition: background .15s, transform .15s, color .15s; }
.ast-tile .dashicons { width: 34px; height: 34px; font-size: 18px; line-height: 34px; text-align: center; border-radius: 10px; background: var(--ast-teal); color: var(--ast-ink); }
.ast-tile:hover { background: #fff; color: var(--ast-blue) !important; transform: translateY(-2px); }

.ast-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin-bottom: 20px; }
.ast-card { position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; background: #fff; border: 1px solid var(--ast-line); border-radius: var(--ast-r-lg); padding: 18px 20px; text-decoration: none; color: inherit !important; box-shadow: var(--ast-shadow); transition: box-shadow .15s, transform .15s, border-color .15s; }
a.ast-card:hover { box-shadow: var(--ast-shadow-lift); transform: translateY(-2px); border-color: #d3d8ff; }
.ast-card-icon { grid-row: 1 / 3; width: 44px !important; height: 44px !important; line-height: 44px !important; font-size: 21px !important; text-align: center; border-radius: 12px; background: var(--ast-blue-soft); color: var(--ast-blue); }
.ast-card > span:not(.ast-card-icon) { color: var(--ast-mute); font-size: 13px; }
.ast-card b { font-family: var(--ast-head); font-size: 28px; font-weight: 600; color: var(--ast-ink); line-height: 1.15; }
.ast-card.is-alert { border-top: 3px solid var(--ast-teal); }
.ast-card.is-alert .ast-card-icon { background: var(--ast-teal-soft); color: var(--ast-teal-deep); }

.ast-panels { display: grid; grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); gap: 16px; align-items: start; }
.ast-panel, .ast-box { background: #fff; border: 1px solid var(--ast-line); border-radius: var(--ast-r-lg); padding: 22px 24px; box-shadow: var(--ast-shadow); }
.ast-panel > header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.ast-panel > header h2 { margin: 0; }
.ast-panel > header a { font-weight: 700; text-decoration: none; font-size: 13px; }
.ast-recent { margin: 0; }
.ast-recent li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid #f0f2f7; margin: 0; }
.ast-recent li:first-child { border-top: 0; }
.ast-recent a { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit !important; }
.ast-recent a:hover b { color: var(--ast-blue); }
.ast-recent-text { min-width: 0; display: flex; flex-direction: column; }
.ast-recent-text b { font-family: var(--ast-head); font-weight: 500; color: var(--ast-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ast-recent-text span { color: var(--ast-mute); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ast-recent img, .ast-recent .ast-noimg { width: 44px; height: 44px; object-fit: contain; border-radius: var(--ast-r); background: var(--ast-soft); flex: none; }
.ast-recent time { color: var(--ast-mute); font-size: 12px; white-space: nowrap; }
.ast-avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ast-blue-soft); color: var(--ast-blue); font-family: var(--ast-head); font-weight: 600; font-style: normal; flex: none; }

/* Lists: tabs, filters, table */
.ast-tabs { display: inline-flex; gap: 4px; padding: 4px; margin-bottom: 14px; background: #fff; border: 1px solid var(--ast-line); border-radius: 12px; box-shadow: var(--ast-shadow); }
.ast-tabs a { padding: 8px 14px; border-radius: 9px; text-decoration: none; color: var(--ast-mute) !important; font-family: var(--ast-head); font-weight: 500; font-size: 13px; }
.ast-tabs a:hover { color: var(--ast-blue) !important; }
.ast-tabs a.is-on { background: var(--ast-blue); color: #fff !important; }
.ast-tabs span { font-size: 11.5px; background: rgba(102, 112, 133, .12); border-radius: 999px; padding: 2px 7px; margin-left: 4px; }
.ast-tabs a.is-on span { background: rgba(255, 255, 255, .22); }
.ast-filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 14px; }
.ast-filters input[type=search] { flex: 1 1 300px; min-height: 44px !important; padding: 0 14px 0 40px; background: #fff url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23667085' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") 14px center / 17px no-repeat; font-size: 14px; }
.ast-filters select { min-height: 44px !important; max-width: 260px; padding: 0 32px 0 12px; }
.ast-filter-count { color: var(--ast-mute); margin-left: auto; font-size: 13px; }
.ast-table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--ast-line); border-radius: var(--ast-r-lg); overflow: hidden; box-shadow: var(--ast-shadow); }
.ast-table th { text-align: left; font-family: var(--ast-head); font-weight: 500; font-size: 12px; color: var(--ast-mute); padding: 12px; background: var(--ast-soft); border-bottom: 1px solid var(--ast-line); }
.ast-table td { padding: 10px 12px; border-top: 1px solid #f0f2f7; vertical-align: middle; }
.ast-table tbody tr:first-child td { border-top: 0; }
.ast-table tbody tr { transition: background .12s; }
.ast-table tbody tr:hover { background: #fafbff; }
.ast-table tr[data-href] { cursor: pointer; }
.ast-table .ast-cb { width: 32px; padding-right: 0; }
.ast-thumb-cell { width: 56px; }
.ast-thumb-cell img { width: 52px; height: 52px; object-fit: contain; display: block; border-radius: var(--ast-r); background: var(--ast-soft); }
.ast-row-title { font-family: var(--ast-head); font-weight: 500; font-size: 14px; color: var(--ast-ink) !important; text-decoration: none; }
tr:hover .ast-row-title { color: var(--ast-blue) !important; }
.ast-table small { display: block; color: var(--ast-mute); font-size: 12px; margin-top: 2px; }
.ast-row-actions { white-space: nowrap; text-align: right; }
.ast-row-actions a { margin-left: 14px; text-decoration: none; font-weight: 700; font-size: 13px; }
.ast-bulkbar { position: sticky; bottom: 16px; z-index: 5; display: flex; gap: 12px; align-items: center; justify-content: flex-end; background: var(--ast-ink); color: #fff; border-radius: 14px; padding: 10px 12px 10px 18px; margin-top: 14px; box-shadow: var(--ast-shadow-lift); }
.ast-bulkbar[hidden] { display: none; }
.ast-bulkbar span { margin-right: auto; font-weight: 700; }
.ast-bulkbar .ast-danger { background: var(--ast-red); border-color: var(--ast-red); color: #fff !important; box-shadow: none; }

/* Editors (product, article) */
.ast-editbar { position: sticky; top: 44px; z-index: 20; display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 10px; margin: 0 0 20px; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border: 1px solid var(--ast-line); border-radius: var(--ast-r-lg); box-shadow: var(--ast-shadow-lift); }
.ast-editbar-back { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--ast-r); color: var(--ast-ink) !important; text-decoration: none; flex: none; }
.ast-editbar-back:hover { background: var(--ast-blue-soft); color: var(--ast-blue) !important; }
.ast-editbar-title { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.ast-editbar-title span { font-size: 11.5px; color: var(--ast-mute); text-transform: uppercase; letter-spacing: .06em; font-family: var(--ast-head); }
.ast-editbar-title b { font-family: var(--ast-head); font-weight: 600; font-size: 16px; color: var(--ast-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ast-dirty { color: var(--ast-amber); font-weight: 700; font-size: 13px; display: inline-flex; align-items: center; gap: 6px; }
.ast-dirty::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #f79009; }
.ast-dirty[hidden] { display: none; }

.ast-edit { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
.ast-edit-main, .ast-edit-side { display: grid; gap: 20px; min-width: 0; }
.ast-edit-side { position: sticky; top: 124px; }
.ast-field { display: block; }
.ast-field > span { display: block; margin-bottom: 6px; font-family: var(--ast-head); font-size: 12.5px; font-weight: 500; color: var(--ast-ink); }
.ast-field input, .ast-box input[type=url] { display: block; width: 100%; min-height: 44px !important; padding: 0 12px; font-size: 14px; }
.ast-big input { min-height: 52px !important; font-family: var(--ast-head); font-size: 19px !important; font-weight: 500; }
.ast-row3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 16px; }
.ast-meta { color: var(--ast-mute); margin: 14px 0 0; font-size: 13px; }
.ast-meta code { background: var(--ast-soft); border-radius: 6px; padding: 3px 7px; font-size: 12px; }

/* Segmented choice (On the website / Hidden; Publish / Schedule / Draft) */
.ast-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; background: var(--ast-soft); border: 1px solid var(--ast-line); border-radius: 12px; margin-bottom: 14px; }
.ast-seg.is-stack { grid-template-columns: 1fr; }
.ast-seg label { position: relative; display: block; cursor: pointer; }
.ast-seg input { position: absolute; opacity: 0; pointer-events: none; }
.ast-seg span { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 10px; border-radius: 9px; font-family: var(--ast-head); font-weight: 500; font-size: 13px; color: var(--ast-mute); transition: background .15s, color .15s, box-shadow .15s; }
.ast-seg.is-stack span { justify-content: flex-start; padding: 0 14px; }
.ast-seg input:checked + span { background: #fff; color: var(--ast-ink); box-shadow: 0 1px 3px rgba(16, 24, 40, .1); }
.ast-seg input:focus-visible + span { outline: 2px solid var(--ast-blue); }

/* Switch */
.ast-switch { display: flex !important; align-items: center; gap: 10px; cursor: pointer; font-size: 13.5px; color: var(--ast-ink); }
.ast-switch input { position: absolute; opacity: 0; }
.ast-switch i { position: relative; width: 38px; height: 22px; border-radius: 999px; background: #d0d5e0; flex: none; transition: background .15s; }
.ast-switch i::after { content: ""; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); transition: transform .15s; }
.ast-switch input:checked + i { background: var(--ast-teal); }
.ast-switch input:checked + i::after { transform: translateX(16px); }
.ast-switch input:focus-visible + i { outline: 2px solid var(--ast-blue); outline-offset: 2px; }

/* Categories */
.ast-cat-find { width: 100%; margin-bottom: 8px; }
.ast-cats { max-height: 300px; overflow: auto; padding: 6px 4px; border: 1px solid var(--ast-line); border-radius: var(--ast-r); }
.ast-cats ul { margin: 0; }
.ast-cats ul.children { margin-left: 18px; border-left: 1px dashed var(--ast-line); padding-left: 4px; }
.ast-cats li { margin: 0; }
.ast-cats li[hidden] { display: none; }
.ast-cats label { display: flex; align-items: center; gap: 8px; padding: 5px 8px; border-radius: 7px; font-size: 13px; cursor: pointer; }
.ast-cats label:hover { background: var(--ast-soft); }
.ast-cats label:has(input:checked) { color: var(--ast-blue); font-weight: 700; }
.ast-cats input { margin: 0 !important; }

/* Photos */
.ast-images { display: grid; grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); gap: 12px; margin: 0; }
.ast-images li { position: relative; aspect-ratio: 1; margin: 0; border: 1px solid var(--ast-line); border-radius: 12px; background: var(--ast-soft); cursor: grab; transition: box-shadow .15s, transform .15s; }
.ast-images li[data-id]:hover { box-shadow: var(--ast-shadow-lift); }
.ast-images li:first-child[data-id] { border: 2px solid var(--ast-teal); }
.ast-images li:first-child[data-id]::after { content: "Main photo"; position: absolute; left: 8px; bottom: 8px; font: 600 11px var(--ast-head); background: var(--ast-teal); color: var(--ast-ink); padding: 3px 8px; border-radius: 999px; }
.ast-images img { width: 100%; height: 100%; object-fit: contain; border-radius: 11px; }
.ast-images .ui-sortable-placeholder { visibility: visible !important; background: var(--ast-blue-soft); border: 2px dashed var(--ast-blue); }
.ast-images-add { border: 2px dashed #c9cfdd !important; background: #fff !important; cursor: default !important; }
.ast-images-add:hover { border-color: var(--ast-blue) !important; }
.ast-images-add button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; width: 100%; height: 100%; background: none; border: 0; color: var(--ast-blue); font: 500 13px var(--ast-head); cursor: pointer; }
.ast-images-add .dashicons { font-size: 26px; width: 26px; height: 26px; }
.ast-x { position: absolute; right: 6px; top: 6px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(24, 33, 58, .78); color: #fff; cursor: pointer; line-height: 1; font-size: 16px; opacity: 0; transition: opacity .15s; }
.ast-images li:hover .ast-x, .ast-x:focus { opacity: 1; }
@media (hover: none) { .ast-x { opacity: 1; } }

/* Spec table */
.ast-specs-title { display: block; margin-bottom: 12px; max-width: 420px; }
.ast-specs-title { font-family: var(--ast-head); font-size: 12.5px; font-weight: 500; color: var(--ast-ink); }
.ast-specs-title input { display: block; width: 100%; margin-top: 6px; min-height: 40px; padding: 0 12px; font-family: var(--ast-body); font-size: 14px; font-weight: 400; }
.ast-specs-scroll { overflow-x: auto; border: 1px solid var(--ast-line); border-radius: 12px; }
.ast-specs table { border-collapse: collapse; width: 100%; }
.ast-specs th, .ast-specs td { border-bottom: 1px solid var(--ast-line); border-right: 1px solid var(--ast-line); padding: 0; position: relative; }
.ast-specs tr > :last-child { border-right: 0; }
.ast-specs tbody tr:last-child td { border-bottom: 0; }
.ast-specs th { background: var(--ast-soft); }
.ast-specs th input { font-family: var(--ast-head); font-weight: 500; background: transparent !important; }
.ast-specs td input, .ast-specs th input { border: 0 !important; border-radius: 0 !important; width: 100%; min-width: 130px; min-height: 40px !important; padding: 0 12px; box-shadow: none !important; background: transparent; }
.ast-specs td:focus-within { background: #fafbff; box-shadow: inset 0 0 0 2px var(--ast-blue); }
.ast-specs th .ast-x { opacity: 1; position: absolute; right: 6px; top: 9px; width: 22px; height: 22px; font-size: 13px; background: #fff; color: var(--ast-mute); border: 1px solid var(--ast-line); }
.ast-specs-tools { white-space: nowrap; width: 1%; padding: 0 6px !important; background: var(--ast-soft); }
.ast-specs-tools button { background: none; border: 0; cursor: pointer; color: var(--ast-mute); font-size: 15px; padding: 6px; border-radius: 6px; }
.ast-specs-tools button:hover { background: #fff; color: var(--ast-blue); }
.ast-specs-tools .ast-x { position: static; opacity: 1; width: auto; height: auto; color: var(--ast-red); background: none; }
.ast-specs > p { margin: 12px 0 0; display: flex; gap: 12px; align-items: center; }
.ast-specs .button-link { font-weight: 700; text-decoration: none; }

/* Datasheet + cover */
.ast-file { display: flex; align-items: center; gap: 8px; padding: 10px 12px; margin-bottom: 10px; border-radius: var(--ast-r); background: var(--ast-blue-soft); color: var(--ast-blue) !important; font-weight: 700; text-decoration: none; word-break: break-all; }
.ast-file[hidden] { display: none; }
.ast-cover { display: block; width: 100%; aspect-ratio: 16 / 10; border: 2px dashed #c9cfdd; border-radius: 12px; background: var(--ast-soft); cursor: pointer; position: relative; padding: 0; overflow: hidden; }
.ast-cover:hover { border-color: var(--ast-blue); }
.ast-cover img { width: 100%; height: 100%; object-fit: cover; }
.ast-cover img[src=""] { display: none; }
.ast-cover em { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); background: #fff; padding: 6px 12px; border-radius: 999px; font: 500 12.5px var(--ast-head); color: var(--ast-blue); box-shadow: var(--ast-shadow-lift); }
.ast-date { margin-top: 4px; }
.ast-date[hidden] { display: none; }
.ast-writer { margin-top: 16px; }
.ast-writer .wp-media-buttons .button { min-height: 32px; line-height: 30px; }
.ast-danger-zone { text-align: center; margin: 0; padding: 4px; }

/* News */
.ast-news { display: grid; gap: 12px; margin: 0; }
.ast-news li { display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--ast-line); border-radius: var(--ast-r-lg); padding: 12px 18px 12px 12px; margin: 0; box-shadow: var(--ast-shadow); transition: box-shadow .15s, transform .15s; }
.ast-news li:hover { box-shadow: var(--ast-shadow-lift); transform: translateY(-1px); }
.ast-news-card { display: flex; gap: 18px; align-items: center; flex: 1; min-width: 0; text-decoration: none; color: inherit !important; }
.ast-news-card img, .ast-news-card .ast-noimg { width: 168px; height: 104px; object-fit: cover; border-radius: 12px; flex: none; }
.ast-news-card b { display: block; font-family: var(--ast-head); font-weight: 600; font-size: 16px; color: var(--ast-ink); line-height: 1.35; }
.ast-news-card:hover b { color: var(--ast-blue); }
.ast-news-card small { color: var(--ast-mute); display: inline-flex; gap: 6px; align-items: center; margin-top: 4px; }
.ast-news-card span > em { display: block; font-style: normal; color: var(--ast-mute); margin-top: 6px; font-size: 13px; line-height: 1.5; }

/* Import */
.ast-drop { display: block; position: relative; text-align: center; border: 2px dashed #b9c0f5; border-radius: var(--ast-r-lg); padding: 40px 16px; cursor: pointer; background: linear-gradient(180deg, #fafbff, var(--ast-blue-soft)); transition: border-color .15s, background .15s; }
.ast-drop::before { content: "\f317"; font-family: dashicons; display: block; font-size: 34px; line-height: 1; color: var(--ast-blue); margin-bottom: 10px; }
.ast-drop.is-over, .ast-drop:hover { border-color: var(--ast-blue); }
.ast-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.ast-drop b { display: block; font-family: var(--ast-head); font-weight: 600; font-size: 16px; color: var(--ast-ink); }
.ast-drop span { display: block; color: var(--ast-mute); margin-top: 6px; font-size: 13px; }
.ast-files { margin: 12px 0; }
.ast-files li { display: flex; gap: 8px; align-items: center; margin: 6px 0; padding: 8px 12px; background: var(--ast-soft); border-radius: var(--ast-r); }
.ast-files small { color: var(--ast-mute); margin-left: auto; }
.ast-check { display: flex !important; gap: 8px; align-items: center; margin: 12px 0; font-size: 13px; }
.ast-progress { margin: 14px 0; }
.ast-bar { height: 10px; background: #eef0f5; border-radius: 999px; overflow: hidden; }
.ast-bar i { display: block; height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--ast-teal), #38e6c9); transition: width .3s; }
.ast-import details { margin: 10px 0; padding: 10px 14px; border: 1px solid var(--ast-line); border-radius: var(--ast-r); }
.ast-import summary { cursor: pointer; font-family: var(--ast-head); font-weight: 500; color: var(--ast-ink); }
.ast-import .ast-cards { margin: 16px 0 6px; }
.ast-import .ast-card { padding: 12px 14px; display: block; }
.ast-import .ast-card b { font-size: 22px; }
.ast-cols { margin: 0; display: grid; gap: 2px; }
.ast-cols dt { font-family: var(--ast-head); font-weight: 500; color: var(--ast-ink); margin-top: 10px; font-size: 13px; }
.ast-cols dd { margin: 0; color: var(--ast-mute); font-size: 13px; }
.ast-panel h3 { font-size: 14px; margin: 20px 0 4px; padding-top: 16px; border-top: 1px solid var(--ast-line); }

/* Bulk edit */
.ast-bulk { max-width: none; }
.ast-bulk-status { margin: -10px 0 12px; min-height: 1em; font-weight: 700; }
.ast-bulk-status:empty { display: none; }
.ast-setbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; background: var(--ast-ink); color: #fff; border-radius: 14px; padding: 10px 14px; margin-bottom: 12px; }
.ast-setbar label { display: inline-flex !important; gap: 8px; align-items: center; color: rgba(255, 255, 255, .8); }
.ast-setbar [data-sel-count] { font-family: var(--ast-head); font-weight: 600; min-width: 92px; }
.ast-setbar select, .ast-setbar input { min-height: 34px !important; border-color: transparent !important; }
.ast-setbar [data-set-value] { display: inline-flex; gap: 8px; align-items: center; color: rgba(255, 255, 255, .8); }
.ast-grid-wrap { overflow: auto; max-height: calc(100vh - 300px); border: 1px solid var(--ast-line); border-radius: var(--ast-r-lg); box-shadow: var(--ast-shadow); background: #fff; }
.ast-grid { border: 0; border-radius: 0; box-shadow: none; }
.ast-grid thead th { position: sticky; top: 0; z-index: 2; }
.ast-grid td { padding: 4px 6px; }
.ast-grid td input:not([type=checkbox]), .ast-grid td select { width: 100%; min-width: 120px; min-height: 36px !important; border-color: transparent !important; background-color: transparent; border-radius: 8px; }
.ast-grid td input[data-f=name] { min-width: 280px; font-family: var(--ast-head); font-weight: 500; color: var(--ast-ink); }
.ast-grid td select { max-width: 240px; }
.ast-grid td input:hover, .ast-grid td select:hover { border-color: var(--ast-line) !important; background-color: #fff; }
.ast-grid td input:focus, .ast-grid td select:focus { border-color: var(--ast-blue) !important; background-color: #fff; }
.ast-grid td.is-changed { background: #fff6cc; }
.ast-grid td.is-changed input, .ast-grid td.is-changed select { font-weight: 700; }
.ast-grid .ast-c { text-align: center; }
.ast-grid .ast-thumb-cell img, .ast-grid .ast-noimg { width: 38px; height: 38px; }

/* ------------------------------------------------------------- Login page */

body.ast-login { background: radial-gradient(circle at 85% 10%, rgba(0, 215, 179, .35), transparent 40%), linear-gradient(135deg, #2b11db, #1b0d8f); font-family: var(--ast-body); }
body.ast-login #login { width: 360px; padding-top: 8vh; }
/* The Andison "A" instead of the WordPress logo (.login.ast-login beats WordPress's own .login h1 a). */
.login.ast-login h1 a { width: 96px; height: 96px; margin: 0 auto 28px; background-image: url('img/mark-a.png'); background-size: contain; background-position: center; background-repeat: no-repeat; }
body.ast-login form { border: 0; border-radius: 20px; padding: 28px 28px 30px; box-shadow: 0 24px 60px rgba(10, 6, 60, .35); }
body.ast-login label { font-family: var(--ast-head); font-weight: 500; color: var(--ast-ink); font-size: 13px; }
body.ast-login input[type=text], body.ast-login input[type=password] { border: 1px solid #d7dce8; border-radius: 10px; min-height: 46px; font-size: 16px; box-shadow: none; }
body.ast-login input[type=text]:focus, body.ast-login input[type=password]:focus { border-color: var(--ast-blue); box-shadow: 0 0 0 3px var(--ast-blue-ring); }
body.ast-login .button-primary { width: 100%; min-height: 46px; margin-top: 14px; border-radius: 10px; background: var(--ast-blue); border-color: var(--ast-blue); font-family: var(--ast-head); font-weight: 600; font-size: 15px; box-shadow: 0 8px 22px rgba(50, 24, 223, .3); }
body.ast-login .button-primary:hover { background: var(--ast-blue-deep); }
body.ast-login .forgetmenot { margin-top: 6px; }
body.ast-login #nav, body.ast-login #backtoblog { text-align: center; }
body.ast-login #nav a, body.ast-login #backtoblog a, body.ast-login .privacy-policy-page-link a { color: rgba(255, 255, 255, .85) !important; }
body.ast-login .message, body.ast-login .notice, body.ast-login #login_error { border-radius: 12px; border-left-color: var(--ast-teal); }
body.ast-login .language-switcher { display: none; }

/* ------------------------------------------------------------- Small screens */

@media (max-width: 1200px) {
	.ast-hero { grid-template-columns: 1fr; }
	.ast-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
	.ast-edit { grid-template-columns: 1fr; }
	.ast-edit-side { position: static; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
}
@media (max-width: 960px) {
	.ast-row3 { grid-template-columns: 1fr; }
	.ast-table:not(.ast-grid) th:nth-child(4), .ast-table:not(.ast-grid) td:nth-child(4), .ast-table:not(.ast-grid) th:nth-child(5), .ast-table:not(.ast-grid) td:nth-child(5) { display: none; }
	.ast-news-card img, .ast-news-card .ast-noimg { width: 104px; height: 72px; }
}
@media (max-width: 782px) {
	body.ast-ui .wrap { margin: 16px 12px 0 0; }
	.ast-head h1 { font-size: 24px !important; }
	.ast-editbar { top: 54px; flex-wrap: wrap; }
	.ast-editbar-title { flex-basis: calc(100% - 60px); }
	.ast-editbar .ast-btn.is-primary { flex: 1; }
	.ast-hero { padding: 22px; }
	.ast-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ast-tile { height: 88px; }
	.ast-panels { grid-template-columns: 1fr; }
	.ast-panel, .ast-box { padding: 18px; }
	.ast-filters select { max-width: none; flex: 1 1 140px; }
	.ast-filter-count { width: 100%; margin: 0; }
	.ast-table:not(.ast-grid) th:nth-child(6), .ast-table:not(.ast-grid) td:nth-child(6), .ast-table .ast-row-actions a + a { display: none; }
	body.ast-ui #wpadminbar li#wp-admin-bar-ast-brand { display: block; }
	body.ast-ui #wpadminbar #wp-admin-bar-ast-brand > .ab-item { height: 46px; padding: 0 10px; }
	body.ast-ui #wpadminbar #wp-admin-bar-ast-brand img { height: 22px; }
	.ast-news li { flex-direction: column; align-items: stretch; }
	.ast-news li .ast-row-actions { text-align: left; }
}

/* ------------------------------------------------------------- Fixes + paste panel */
body.ast-ui input:not([type]) { border: 1px solid #d7dce8; border-radius: var(--ast-r); box-shadow: none; color: var(--ast-ink); background-color: #fff; min-height: 38px; font-family: var(--ast-body); }
.ast-edit-side { position: static; }
.ast-cats + .ast-help { margin: 10px 0 0; }
.ast-grid td:last-child { white-space: nowrap; }
.ast-grid td:last-child a { text-decoration: none; font-weight: 700; }
.ast-paste-open { margin-left: auto; }
.ast-paste { margin-top: 14px; padding: 18px; border: 2px dashed #b9c0f5; border-radius: var(--ast-r-lg); background: linear-gradient(180deg, #fafbff, var(--ast-blue-soft)); }
.ast-paste[hidden] { display: none; }
.ast-paste-head { margin: 0 0 12px; display: flex; flex-direction: column; gap: 4px; }
.ast-paste-head b { font-family: var(--ast-head); font-weight: 600; color: var(--ast-ink); font-size: 15px; }
.ast-paste-head span { color: var(--ast-mute); font-size: 13px; }
.ast-paste-head kbd { font-size: 11px; padding: 1px 5px; border-radius: 4px; background: #fff; border: 1px solid var(--ast-line); }
.ast-paste-area { min-height: 110px; max-height: 320px; overflow: auto; padding: 12px; background: #fff; border: 1px solid var(--ast-line); border-radius: var(--ast-r); outline: 0; cursor: text; font-size: 13px; }
.ast-paste-area:focus { border-color: var(--ast-blue); box-shadow: 0 0 0 3px var(--ast-blue-ring); }
.ast-paste-area:empty::before { content: "Click here, then paste (Ctrl/⌘ + V)"; color: #98a2b3; }
.ast-paste-area table { border-collapse: collapse; width: 100%; }
.ast-paste-area td { border: 1px solid var(--ast-line); padding: 6px 8px; }
.ast-paste-area tr:first-child td { background: var(--ast-soft); }
.ast-paste-found { margin: 10px 0 0; font-weight: 700; color: var(--ast-teal-deep); }
.ast-paste-found:empty { display: none; }
.ast-paste-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 0; }
@media (max-width: 782px) {
	.ast-panels { grid-template-columns: minmax(0, 1fr); }
	.ast-filters select { min-width: 0; width: 100%; flex: 1 1 100%; }
	.ast-recent time, .ast-recent .ast-pill { display: none; }
	body.ast-ui .form-table { table-layout: fixed; width: 100%; }
	body.ast-ui #wpadminbar #wp-admin-bar-my-account .display-name { display: none; }
}

/* ------------------------------------------------------------- Category picker */
.ast-catpicker { display: grid; gap: 8px; }
.ast-catchip { display: flex; align-items: stretch; border: 1px solid var(--ast-line); border-radius: var(--ast-r); background: var(--ast-soft); overflow: hidden; }
.ast-catchip-main { flex: 1; min-width: 0; text-align: left; padding: 10px 12px; background: none; border: 0; cursor: pointer; display: flex; flex-direction: column; gap: 2px; }
.ast-catchip-main:hover { background: var(--ast-blue-soft); }
.ast-catchip-path { font-size: 12px; color: var(--ast-mute); line-height: 1.35; }
.ast-catchip-path:empty { display: none; }
.ast-catchip-main b { font-family: var(--ast-head); font-weight: 600; font-size: 14px; color: var(--ast-ink); line-height: 1.3; }
.ast-x-btn { width: 40px; border: 0; background: none; color: var(--ast-mute); font-size: 20px; line-height: 1; cursor: pointer; border-left: 1px solid var(--ast-line); }
.ast-x-btn:hover { background: var(--ast-red-soft); color: var(--ast-red); }
.ast-catempty { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 20px 12px; border: 2px dashed #c9cfdd; border-radius: var(--ast-r); background: #fff; cursor: pointer; color: var(--ast-blue); }
.ast-catempty:hover { border-color: var(--ast-blue); background: var(--ast-blue-soft); }
.ast-catempty .dashicons { font-size: 26px; width: 26px; height: 26px; }
.ast-catempty b { font-family: var(--ast-head); font-weight: 600; }
.ast-catempty small { color: var(--ast-mute); }
.ast-link-btn { justify-self: start; background: none; border: 0; padding: 4px 0; color: var(--ast-blue); font-weight: 700; cursor: pointer; }
.ast-link-btn:hover { text-decoration: underline; }

body.ast-modal-open { overflow: hidden; }
.ast-modal { position: fixed; inset: 0; z-index: 100200; display: grid; place-items: center; padding: 24px; background: rgba(16, 22, 48, .55); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); animation: ast-fade .15s ease-out; }
@keyframes ast-fade { from { opacity: 0; } }
.ast-modal-card { width: min(760px, 100%); max-height: min(680px, calc(100vh - 48px)); display: flex; flex-direction: column; background: #fff; border-radius: 20px; box-shadow: 0 30px 80px rgba(10, 6, 60, .35); font-family: var(--ast-body); color: var(--ast-text); overflow: hidden; animation: ast-rise .18s ease-out; }
@keyframes ast-rise { from { transform: translateY(10px); opacity: 0; } }
.ast-modal-card > header { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px 6px; }
.ast-modal-card > header h2 { margin: 0; font-size: 18px; font-family: var(--ast-head); font-weight: 600; color: var(--ast-ink); }
.ast-modal-card > header .ast-x-btn { border: 0; border-radius: 10px; width: 36px; height: 36px; }
.ast-modal-search { padding: 8px 22px 0; }
.ast-modal-search input { width: 100%; min-height: 48px; padding: 0 14px 0 42px; border: 1px solid #d7dce8; border-radius: 12px; font-size: 15px; background: #fff url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23667085' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") 14px center / 18px no-repeat; }
.ast-modal-search input:focus { border-color: var(--ast-blue); box-shadow: 0 0 0 3px var(--ast-blue-ring); outline: 0; }
.ast-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; padding: 12px 22px 0; min-height: 20px; }
.ast-crumbs:empty { display: none; }
.ast-crumbs button { background: none; border: 0; padding: 4px 8px; border-radius: 8px; color: var(--ast-blue); font-family: var(--ast-head); font-weight: 500; font-size: 13px; cursor: pointer; }
.ast-crumbs button:hover { background: var(--ast-blue-soft); }
.ast-crumbs button[aria-current] { color: var(--ast-ink); font-weight: 600; cursor: default; }
.ast-crumbs span { color: #b9c0d0; }
.ast-modal-body { padding: 14px 22px 18px; overflow: auto; flex: 1; }
.ast-modal-card > footer { padding: 10px 22px; border-top: 1px solid var(--ast-line); font-size: 12px; color: var(--ast-mute); background: var(--ast-soft); }
.ast-tiles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.ast-cat-tile { position: relative; display: flex; flex-direction: column; gap: 4px; text-align: left; padding: 14px 40px 14px 16px; background: #fff; border: 1px solid var(--ast-line); border-radius: 14px; cursor: pointer; transition: border-color .15s, box-shadow .15s, transform .15s; min-height: 72px; }
.ast-cat-tile:hover, .ast-cat-tile:focus-visible { border-color: var(--ast-blue); box-shadow: var(--ast-shadow-lift); transform: translateY(-1px); }
.ast-cat-tile b { font-family: var(--ast-head); font-weight: 500; font-size: 14px; color: var(--ast-ink); line-height: 1.35; }
.ast-cat-tile small { color: var(--ast-mute); font-size: 12.5px; }
.ast-cat-tile i { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-style: normal; font-size: 22px; color: var(--ast-blue); }
.ast-cat-tile i.is-pick { font: 600 11px var(--ast-head); background: var(--ast-blue-soft); padding: 5px 9px; border-radius: 999px; right: 10px; }
.ast-cat-tile.is-chosen, .ast-tile-use.is-chosen, .ast-cat-results .is-chosen { border-color: var(--ast-teal); background: var(--ast-teal-soft); }
.ast-cat-tile.is-chosen::before { content: "\2713"; position: absolute; left: -6px; top: -6px; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--ast-teal); color: #fff; font-size: 12px; }
.ast-tile-use { display: flex; flex-direction: column; gap: 2px; width: 100%; text-align: left; margin-bottom: 12px; padding: 14px 16px; border: 2px solid var(--ast-blue); border-radius: 14px; background: var(--ast-blue-soft); cursor: pointer; }
.ast-tile-use:hover { background: #e2e5ff; }
.ast-tile-use span { font-family: var(--ast-head); font-weight: 600; color: var(--ast-blue); }
.ast-tile-use small { color: var(--ast-mute); }
.ast-cat-results { margin: 0; display: grid; gap: 6px; }
.ast-cat-results li { margin: 0; }
.ast-cat-results button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; text-align: left; padding: 12px 14px; background: #fff; border: 1px solid var(--ast-line); border-radius: 12px; cursor: pointer; }
.ast-cat-results button:hover, .ast-cat-results button:focus-visible { border-color: var(--ast-blue); background: #fafbff; }
.ast-cat-path { color: var(--ast-mute); font-size: 13px; line-height: 1.4; }
.ast-cat-path b { color: var(--ast-ink); font-family: var(--ast-head); font-weight: 600; font-size: 14px; }
.ast-cat-results small { color: var(--ast-mute); white-space: nowrap; }

/* Bulk grid: the Category cell is a button that opens the same picker */
.ast-catcell { width: 100%; min-width: 190px; max-width: 280px; display: flex; flex-direction: column; text-align: left; gap: 1px; padding: 5px 9px; border: 1px solid transparent; border-radius: 8px; background: none; cursor: pointer; font-family: var(--ast-body); }
.ast-catcell:hover { border-color: var(--ast-blue); background: #fff; }
.ast-catcell span { font-size: 11.5px; color: var(--ast-mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ast-catcell b { font-family: var(--ast-head); font-weight: 500; font-size: 13px; color: var(--ast-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ast-catcell em { font-style: normal; color: var(--ast-mute); }
.ast-setbar [data-pick-cat] { background: #fff; }

@media (max-width: 600px) {
	.ast-modal { padding: 0; align-items: end; }
	.ast-modal-card { border-radius: 20px 20px 0 0; max-height: 92vh; }
	.ast-tiles-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .ast-modal, .ast-modal-card { animation: none; } }
.ast-catpicker + .ast-help { margin-top: 14px; }

/* ------------------------------------------------------------- Bulk edit: more columns + guardrails */
.ast-advanced { margin-left: auto; font-size: 12.5px; color: var(--ast-mute); font-weight: 400 !important; }
.ast-filters .ast-advanced + .ast-filter-count { margin-left: 12px; }
.ast-setbar-sep { width: 1px; align-self: stretch; background: rgba(255, 255, 255, .22); margin: 0 6px; }
.ast-setbar input[type=text], .ast-setbar input[type=url], .ast-setbar input[type=number], .ast-setbar input:not([type]) { min-width: 140px; background: #fff; }
.ast-readonly { display: inline-block; padding: 5px 9px; font-size: 12px; color: var(--ast-mute); background: var(--ast-soft); border: 1px dashed var(--ast-line); border-radius: 8px; cursor: help; white-space: nowrap; }
.ast-grid td input[data-f=summary] { min-width: 220px; }
.ast-grid td input[data-f=datasheet] { min-width: 210px; }
.ast-grid td input[data-f=order] { min-width: 70px; width: 78px; text-align: center; }
.ast-grid td input[data-f=sku] { min-width: 170px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12.5px; }
.ast-grid th[hidden], .ast-grid td[hidden] { display: none; }
/* keep tick box, photo and name in view while scrolling sideways */
.ast-grid th:nth-child(1), .ast-grid td:nth-child(1) { position: sticky; left: 0; z-index: 3; background: #fff; }
.ast-grid th:nth-child(2), .ast-grid td:nth-child(2) { position: sticky; left: 34px; z-index: 3; background: #fff; }
.ast-grid th:nth-child(3), .ast-grid td:nth-child(3) { position: sticky; left: 92px; z-index: 3; background: #fff; box-shadow: 1px 0 0 var(--ast-line); }
.ast-grid thead th:nth-child(-n+3) { z-index: 4; background: var(--ast-soft); }
.ast-grid tbody tr:hover td:nth-child(-n+3) { background: #fafbff; }
.ast-grid tbody td.is-changed { background: #fff6cc !important; }

/* review / history dialogs (reuse .ast-modal) */
.ast-review { width: min(860px, 100%); }
.ast-rv-body { padding: 14px 22px; overflow: auto; flex: 1; }
.ast-modal-card > footer { display: flex; align-items: center; gap: 10px; }
.ast-modal-card > footer > span { margin-right: auto; }
.ast-rv-box { margin: 0 0 12px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--ast-line); font-size: 13.5px; }
.ast-rv-box.is-error { background: var(--ast-red-soft); border-color: #f4c7c3; color: #7a1d17; }
.ast-rv-box.is-warn { background: var(--ast-amber-soft); border-color: #f5d9a0; color: #6b3a05; }
.ast-rv-box.is-ok { background: var(--ast-teal-soft); border-color: #b4f0e4; color: #04574a; }
.ast-rv-box ul { margin: 6px 0 10px 18px; list-style: disc; }
.ast-rv-box label { display: flex; align-items: center; gap: 10px; font-weight: 700; flex-wrap: wrap; }
.ast-rv-box code { background: #fff; border: 1px solid #f5d9a0; border-radius: 6px; padding: 1px 6px; }
.ast-rv-box input { min-width: 140px; max-width: 200px; min-height: 36px !important; text-transform: uppercase; letter-spacing: .06em; }
.ast-rv-note { margin: 0 0 12px; color: var(--ast-mute); font-size: 13px; }
.ast-rv-list section { border: 1px solid var(--ast-line); border-radius: 12px; margin-bottom: 10px; overflow: hidden; }
.ast-rv-list h3 { margin: 0; padding: 9px 14px; font-size: 14px; background: var(--ast-soft); border-bottom: 1px solid var(--ast-line); }
.ast-rv-list h3 a { text-decoration: none; color: var(--ast-ink); }
.ast-rv-list ul { margin: 0; }
.ast-rv-list li { display: grid; grid-template-columns: 150px 1fr; gap: 4px 12px; padding: 8px 14px; margin: 0; border-top: 1px solid #f0f2f7; font-size: 13.5px; }
.ast-rv-list li:first-child { border-top: 0; }
.ast-rv-list li.is-error { background: var(--ast-red-soft); }
.ast-rv-list li.is-warn { background: var(--ast-amber-soft); }
.ast-rv-label { color: var(--ast-mute); font-family: var(--ast-head); font-weight: 500; font-size: 12.5px; }
.ast-rv-val del { color: #9a2a22; text-decoration-thickness: 1px; }
.ast-rv-val ins { color: #04574a; text-decoration: none; font-weight: 700; background: var(--ast-teal-soft); padding: 0 4px; border-radius: 4px; }
.ast-rv-val i { font-style: normal; color: var(--ast-mute); margin: 0 4px; }
.ast-rv-msg { grid-column: 2; font-style: normal; font-size: 12.5px; }
.ast-rv-fail { margin: 0 0 0 18px; list-style: disc; }
.ast-hist { margin: 0; }
.ast-hist li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 0; border-top: 1px solid var(--ast-line); margin: 0; }
.ast-hist li:first-child { border-top: 0; }
.ast-hist small { display: block; color: var(--ast-mute); margin-top: 2px; }
.ast-hist .ast-rv-box { flex-basis: 100%; margin: 4px 0 0; }
@media (max-width: 600px) { .ast-rv-list li { grid-template-columns: 1fr; } .ast-rv-msg { grid-column: 1; } }
.ast-help-inline { font-weight: 400; color: var(--ast-mute); margin-left: 6px; font-size: 12px; }
.ast-order { margin-top: 14px; }
.ast-order input { max-width: 110px; }

/* ------------------------------------------------------------- Overview: slim band, buttons in one row */
.ast-hero { display: block; padding: 20px 26px 22px; margin-bottom: 16px; border-radius: 16px; }
.ast-hero h1 { font-size: 24px !important; margin: 0 0 2px; }
.ast-hero .ast-hero-date { margin-bottom: 4px; }
.ast-hero p:not(.ast-hero-date) { font-size: 14px; }
.ast-hero::after { right: -60px; top: -140px; width: 260px; height: 260px; }
.ast-tiles { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.ast-tile { flex-direction: row; align-items: center; justify-content: flex-start; gap: 10px; height: auto; min-height: 0; padding: 8px 16px 8px 8px; border-radius: 12px; font-size: 13.5px; white-space: nowrap; }
.ast-tile .dashicons { width: 32px; height: 32px; font-size: 17px; line-height: 32px; flex: none; }
@media (max-width: 782px) {
	.ast-hero { padding: 18px; }
	.ast-tiles { gap: 8px; }
	.ast-tile { flex: 1 1 calc(50% - 8px); height: auto; }
}
@media (max-width: 782px) {
	.ast-tile { white-space: normal; font-size: 13px; line-height: 1.25; padding: 8px 8px 8px 8px; gap: 8px; min-width: 0; }
	.ast-tile .dashicons { width: 30px; height: 30px; font-size: 16px; line-height: 30px; }
}
.ast-tile { box-sizing: border-box; }

/* ------------------------------------------------------------- Inquiries */
.ast-pill.is-closed { background: #eef0f5; color: var(--ast-mute); }
.ast-inq .ast-inq-av { width: 48px; }
.ast-inq tr.is-new .ast-row-title { font-weight: 700; }
.ast-inq tr.is-new .ast-inq-av .ast-avatar { background: var(--ast-blue); color: #fff; }
.ast-inq .ast-inq-msg { color: var(--ast-mute); max-width: 360px; }
.ast-inq-replies { display: block; color: var(--ast-mute); font-size: 11.5px; margin-top: 4px; }
.ast-facts { display: grid; grid-template-columns: 110px 1fr; gap: 8px 14px; margin: 0; }
.ast-facts dt { color: var(--ast-mute); font-family: var(--ast-head); font-size: 12.5px; }
.ast-facts dd { margin: 0; color: var(--ast-ink); font-weight: 700; }
.ast-inq-products { margin: 0; display: grid; gap: 8px; }
.ast-inq-products li { display: flex; align-items: center; gap: 12px; margin: 0; padding: 8px; border: 1px solid var(--ast-line); border-radius: 12px; }
.ast-inq-products img, .ast-inq-products .ast-noimg { width: 48px; height: 48px; object-fit: contain; border-radius: 8px; background: var(--ast-soft); flex: none; }
.ast-inq-products span { display: flex; flex-direction: column; }
.ast-inq-products a { text-decoration: none; }
.ast-inq-products small { color: var(--ast-mute); }
.ast-thread { margin: 0; display: grid; gap: 12px; }
.ast-thread li { margin: 0; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--ast-line); max-width: 92%; }
.ast-thread li.is-in { background: var(--ast-soft); }
.ast-thread li.is-out { background: var(--ast-blue-soft); border-color: #d6dafe; margin-left: auto; }
.ast-thread header { display: flex; gap: 8px; align-items: baseline; margin-bottom: 6px; }
.ast-thread header span { color: var(--ast-mute); font-size: 12px; }
.ast-thread header time { margin-left: auto; color: var(--ast-mute); font-size: 12px; }
.ast-thread-sub { margin: 0 0 6px; font-weight: 700; color: var(--ast-ink); font-size: 13px; }
.ast-thread div p { margin: 0 0 8px; }
.ast-reply-route { margin: 0 0 4px; font-size: 13.5px; color: var(--ast-ink); }
.ast-reply-route span { color: var(--ast-mute); }
.ast-inquiry textarea { width: 100%; border-radius: var(--ast-r); padding: 10px 12px; font-size: 14px; line-height: 1.55; font-family: var(--ast-body); }
.ast-reply-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 10px 0; }
.ast-reply-tools label { display: inline-flex !important; align-items: center; gap: 8px; font-weight: 500; }
.ast-sig-note { margin-left: auto; color: var(--ast-mute); font-size: 12.5px; }
.ast-sig { white-space: pre-wrap; background: var(--ast-soft); border: 1px dashed var(--ast-line); border-radius: 10px; padding: 10px 12px; font-size: 12.5px; color: var(--ast-mute); margin: 0 0 10px; }
.ast-sig[hidden] { display: none; }
.ast-reply-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 14px 0 0; }
.ast-fallback { margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--ast-line); }
.ast-fallback summary { cursor: pointer; color: var(--ast-mute); font-weight: 700; font-size: 13px; }
.ast-fallback form { margin-top: 6px; }
@media (max-width: 782px) { .ast-inq th:nth-child(3), .ast-inq td:nth-child(3), .ast-inq th:nth-child(4), .ast-inq td:nth-child(4) { display: none; } .ast-facts { grid-template-columns: 1fr; } }
.ast-thread { list-style: none; padding: 0; }
.ast-pill.is-responded { background: var(--ast-teal-soft); color: var(--ast-teal-deep); }
body.ast-ui #toplevel_page_ast-inquiries .wp-submenu { display: none !important; }

/* Team */
.ast-roles { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ast-roles li { display: grid; grid-template-columns: 160px 1fr; gap: 14px; }
.ast-role-pick { display: flex; gap: 10px; align-items: flex-start; margin: 8px 0; }
.ast-role-pick span { max-width: 70ch; }
@media (max-width: 600px) { .ast-roles li { grid-template-columns: 1fr; gap: 2px; } }
