/* AppleTechs baseline. Deliberately plain: layout and states only, so the site design can take over. */
.atechs-main { max-width: 860px; margin: 0 auto; padding: 24px 16px; }
/* The Edit Profile family (templates/shell.php's own $atechs_wide_views list) drops
   .atechs-main's normal 860px cap for its own explicit one instead: 76rem (1216px),
   matching appletechs-member-theme's --ds-width-container/.bb-container exactly, so
   the Member Profile page and this whole Edit screens family share one real width
   rather than each just inheriting whatever the surrounding theme/Beaver Builder
   wrapper happens to be. Also where this family gets its own light-gray page
   background -- the same white-card-on-light-gray default as the Member Home Page
   (--ds-color-paper/--ds-color-surface in that theme's design-system.css) -- scoped
   to just this family, not the rest of the site's .atechs-main pages (threads, the
   directory, search, etc.), which keep the plain, unbackgrounded look. */
/* Bleeds the light-gray background the full width of the viewport (not just this
   box's own 76rem content column), so the Edit Profile family reads as a plain
   light-gray PAGE rather than a centered, rounded card sitting on something else --
   the box-shadow spread is the standard full-bleed-background trick (it paints past
   the border box without adding to the element's own layout width), and clip-path
   keeps that spread from ever creating a horizontal scrollbar. No border-radius
   anymore for the same "this is a page, not a card" reason. */
.atechs-main-wide { max-width: 76rem; padding: 24px; background: #f7f8fa; box-sizing: border-box; position: relative; box-shadow: 0 0 0 100vmax #f7f8fa; clip-path: inset( 0 -100vmax 0 -100vmax ); }
.atechs *, .atechs *::before, .atechs *::after { box-sizing: border-box; }
.atechs h1 { margin: 0 0 8px; }
.atechs-meta, .atechs-hint, .atechs-crumb, .atechs-optional { font-size: 0.85em; opacity: 0.75; margin: 4px 0; }
.atechs-empty { padding: 24px 0; opacity: 0.75; }
.atechs-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 16px 0; padding-bottom: 14px; border-bottom: 2px solid rgba(0, 0, 0, 0.1); }
.atechs-bar .atechs-btn-primary { margin-left: auto; }
/* "New thread" / "New Story" (and a bench page's own follow button) read as smaller, secondary
   actions next to the sort tabs they sit beside -- .atechs-btn's own size is left alone since
   it's also used for bigger, standalone buttons elsewhere on the site. */
.atechs-bar .atechs-btn { padding: 5px 12px; font-size: 0.85em; }
.atechs-tabs { display: flex; gap: 4px; }
.atechs-tabs a { padding: 6px 12px; border-radius: 999px; text-decoration: none; }
.atechs-tabs a[aria-current="true"] { background: rgba(0, 0, 0, 0.08); font-weight: 600; }
/* Sort tabs only (Popular/Latest/Most Voted/Everything, atechs_sort_tabs_html() -- aria-label
   is what tells this nav apart from the "My .../Everything" feed-toggle one, atechs_feed_html(),
   which keeps its own current size) -- a bit smaller so four labels have less trouble fitting
   on one line before wrapping. */
.atechs-tabs[aria-label="Sort"] a { font-size: 0.85em; padding: 6px 10px; }
/* The Edit Profile family's own shared tab bar (atechs_profile_tabs_html() -- About
   Me, My Gear, Certifications, Conferences, My Other Profiles, My Social Profiles,
   Connections, and any more added later). Box tabs, not the site's pill-shaped
   .atechs-tabs above -- an outlined box for an inactive tab, a solid dark one
   (matching .atechs-btn-primary's own color) for whichever page is current -- sitting
   on a divider line below the page's <h1> and above whatever that page's own content
   card starts with. */
.atechs-profile-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 20px; padding-bottom: 12px; border-bottom: 1px solid rgba(0, 0, 0, 0.1); }
.atechs-profile-tabs a { display: inline-block; padding: 7px 14px; border: 1px solid rgba(0, 0, 0, 0.18); border-radius: 6px; background: #fff; color: inherit; text-decoration: none; font-size: 0.88em; }
.atechs-profile-tabs a[aria-current="true"] { background: #1d1d1f; border-color: #1d1d1f; color: #fff; font-weight: 600; }
.atechs-btn { display: inline-block; padding: 8px 16px; border: 1px solid currentColor; border-radius: 6px; background: transparent; color: inherit; font: inherit; text-decoration: none; cursor: pointer; }
.atechs-btn-primary { background: #1d1d1f !important; border-color: #1d1d1f !important; color: #fff !important; } /* guards against host-theme/page-builder "a { color: ... }" rules stronger than a single class -- background/border-color need the same !important as color, otherwise a fun theme's own, more specific ".theme-X .atechs-btn" rule (two classes) overrides this rule's un-guarded background while the !important'd white text stays, leaving white-on-the-theme's-own-light-button-color for every light-colored theme's "New thread"/"New Story" CTA */
.atechs-btn.is-on { background: rgba(0, 0, 0, 0.08); }
.atechs-btn[disabled] { opacity: 0.5; cursor: default; }
.atechs-global-search { margin-bottom: 16px; }
.atechs-search-form { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.atechs-search-form input[type="search"] { flex: 1 1 220px; min-width: 0; padding: 8px 10px; border: 1px solid rgba(0, 0, 0, 0.3); border-radius: 6px; font: inherit; }
.atechs-search-form select { padding: 8px 10px; border: 1px solid rgba(0, 0, 0, 0.3); border-radius: 6px; font: inherit; max-width: 100%; }
.atechs-link { padding: 0; border: 0; background: none; color: inherit; font: inherit; font-size: 0.85em; text-decoration: underline; cursor: pointer; }
/* Delete Thread (atechs_thread_item_html(), render.php) -- same plain-link shape as
   .atechs-link, just colored to read as the destructive one among the row's actions. */
.atechs-link-danger { color: #c0392b; }
/* /profile/delete/'s "Delete my account" button (atechs_profile_delete_html(),
   account-deletion.php) -- same .atechs-btn shape, just solid red instead of outlined, so it
   reads as the one truly destructive-looking action on that whole tab strip. !important for
   the same host-theme-override reason as .atechs-btn-primary above. */
.atechs-btn-danger { background: #c0392b !important; border-color: #c0392b !important; color: #fff !important; }
.atechs-danger-zone { border-color: rgba(192, 57, 43, 0.35) !important; }
.atechs-tag, .atechs-verified { display: inline-block; padding: 1px 8px; border-radius: 999px; background: rgba(0, 0, 0, 0.08); font-size: 0.72em; font-weight: 600; vertical-align: middle; }
.atechs-verified, .atechs-tag-solution { background: #d9f2e1; color: #0b5c2b; }
.atechs-claimed { font-size: 0.85em; opacity: 0.75; }
.atechs-item, .atechs-reply, .atechs-post-main { display: flex; gap: 12px; }
.atechs-item { padding: 12px 0; border-bottom: 1px solid rgba(0, 0, 0, 0.1); }
.atechs-item-title { margin: 0; font-size: 1.1em; }
/* !important for the same reason as .atechs-btn-primary above: the host theme's own
   typography reset was already overriding heading font-weight site-wide. */
.atechs-item-title a { font-weight: 700 !important; }
/* flow-root: a new block formatting context, so .feed-item-thumb's float (below) stays
   contained within the item's own body instead of bleeding past it into the next row --
   harmless on .atechs-reply-body/.atechs-post-body too, which have no floats of their own. */
.atechs-item-body, .atechs-reply-body, .atechs-post-body { flex: 1; min-width: 0; display: flow-root; }
/* A Bench/Thread or Story's own first inline image (atechs_first_image_url(), helpers.php),
   shown small and right-aligned in its Feed card with the excerpt text flowing around it. */
.feed-item-thumb { float: right; width: 72px; height: 72px; object-fit: cover; border-radius: 6px; padding: 0 0 10px 10px; }
.atechs-item-link { margin: 2px 0; font-size: 0.85em; overflow-wrap: anywhere; }
/* Stories (and now Substack/MetaFilter/Bluesky/Mastodon/Reddit/Facebook/LinkedIn/Twitter)
   in the main feed: a colored bottom rule to tell these rows apart from a plain Thread row
   in the same list. No fill/side-borders of its own (a Thread row has none either). Bottom
   only, not top: every row already gets a bottom rule from .atechs-item above, so a top
   rule here as well just drew a second line right under it -- invisible between one of
   these and a Thread (the Thread has no top rule to add to it), but a visible double line
   between two back to back, where both sides of the shared edge were drawing one. */
.atechs-story-item, .atechs-social-item { border-left: 0; border-right: 0; border-bottom: 2px solid rgba(0, 0, 0, 0.1); padding: 14px 0; margin: 4px 0; }
/* Belt and suspenders for the same thing, for any item type added to this list later: a
   row immediately after another one never draws its own top rule, no matter what else it
   sets -- the previous row's bottom rule is always the one and only line between them. */
.atechs-list > .atechs-item + .atechs-item { border-top: 0; }
.atechs-vote { display: flex; flex-direction: column; align-items: center; width: 36px; flex: none; }
.atechs-vote button { padding: 2px 6px; border: 0; background: none; color: inherit; font-size: 0.9em; line-height: 1; opacity: 0.45; cursor: pointer; }
.atechs-vote button[aria-pressed="true"] { opacity: 1; }
.atechs-score { font-weight: 600; }
.atechs-text { overflow-wrap: anywhere; }
.atechs-replies { list-style: none; margin: 16px 0 0; padding: 0; }
.atechs-replies-nested { margin-top: 8px; padding-left: 12px; border-left: 2px solid rgba(0, 0, 0, 0.1); }
.atechs-reply { padding: 10px 0; }
.atechs-reply.is-solution > .atechs-reply-body { padding: 8px 12px; border-radius: 6px; background: #f1faf4; }
.atechs-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 6px 0; }
.atechs-form { display: grid; gap: 14px; max-width: 640px; }
/* /profile/edit/'s "Profile basics" / "Federated & open web" / "Walled garden
   platforms" / "Technician details" sections (and the standalone "Profile photo &
   banner" one above the <form>, which isn't part of its grid) -- each its own bordered
   card now, so the sections read as clearly separate at a glance rather than one long
   scrolling form with the occasional divider line. */
.atechs-form-section-card { background: #fff; border: 1px solid rgba(0, 0, 0, 0.12); border-radius: 16px; box-shadow: 0 1px 2px rgba(18, 22, 28, 0.04); padding: 18px 20px; display: grid; gap: 14px; }
/* Cards inside .atechs-form already get spacing from its own grid "gap" above; only
   the standalone Photo & Banner card (a direct child of .atechs, sitting before the
   <form> even opens) needs its own margin to separate it from what follows. */
.atechs > .atechs-form-section-card { margin-bottom: 20px; }
/* A card's own border already separates it from its neighbors, so the divider line
   and top spacing .atechs-form-section normally adds (still used standalone elsewhere,
   e.g. /profile/gear/'s "Check off gear you've owned" flow) would be redundant here. */
.atechs-form-section-card > .atechs-form-section { margin: 0; padding-top: 0; border-top: 0; }
.atechs-form-section { margin: 10px 0 -4px; padding-top: 14px; border-top: 1px solid rgba(0, 0, 0, 0.12); font-size: 1em; }
/* /connections/'s "Grow your network" invite pitch (atechs_connections_html()) -- same
   bordered-card look as .atechs-form-section-card above, with a left accent stripe so
   it reads as a call-to-action rather than just another content section on the page. */
.atechs-invite-pitch { background: #fff; border: 1px solid rgba(0, 0, 0, 0.12); border-left: 4px solid #1d1d1f; border-radius: 16px; box-shadow: 0 1px 2px rgba(18, 22, 28, 0.04); padding: 18px 20px; margin: 16px 0 24px; display: grid; gap: 10px; }
.atechs-invite-pitch h2 { margin: 0; }
.atechs-invite-pitch p { margin: 0; }
.atechs-cert-date { font-weight: 400; opacity: 0.7; }
.atechs-form label { display: grid; gap: 4px; font-weight: 600; }
.atechs-form input[type="text"], .atechs-form input[type="email"], .atechs-form input[type="url"], .atechs-form input[type="number"], .atechs-form input[type="search"], .atechs-form select, .atechs-form textarea { width: 100%; padding: 8px 10px; border: 1px solid rgba(0, 0, 0, 0.3); border-radius: 6px; font: inherit; font-weight: 400; }
.atechs-form .atechs-check, .atechs-choice label { display: block; font-weight: 400; }
.atechs-field-html { display: grid; gap: 4px; }
.atechs-field-html > label { font-weight: 600; }
.atechs-field-html .wp-editor-container { border: 1px solid rgba(0, 0, 0, 0.3); border-radius: 6px; overflow: hidden; }
.atechs-field-html .mce-toolbar-grp { border-bottom: 1px solid rgba(0, 0, 0, 0.15); }
/* "Personal sites" / "Professional sites" repeaters on /profile/edit/ -- same row
   shape as .at-cert-other-row above (label input, then a second input + remove button
   on its own line), just label+url instead of label+date. */
.atechs-field-repeater { display: grid; gap: 4px; margin: 0; }
.atechs-repeater-label { font-weight: 600; }
.atechs-repeater-rows { display: flex; flex-direction: column; gap: 10px; margin: 6px 0; }
.atechs-repeater-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.atechs-repeater-label-input, .atechs-repeater-url-input { padding: 6px 10px; border: 1px solid rgba(0, 0, 0, 0.3); border-radius: 6px; font: inherit; font-weight: 400; width: 100%; box-sizing: border-box; }
.atechs-repeater-label-input { flex: 1 1 160px; }
.atechs-repeater-url-input { flex: 2 1 240px; }
.atechs-repeater-remove { flex: none; width: 28px; height: 28px; border: 1px solid rgba(0, 0, 0, 0.2); border-radius: 6px; background: #fff; font-size: 1.1em; line-height: 1; cursor: pointer; }
.atechs-repeater-remove:hover { background: #f5f5f5; }
.atechs-repeater-add { margin-top: 2px; align-self: flex-start; }
.atechs-choice { display: flex; gap: 16px; margin: 0; padding: 0; border: 0; }
.atechs-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.atechs-addon { display: flex; align-items: center; gap: 6px; font-weight: 400; }
.atechs-hp { position: absolute !important; left: -9999px; }
.atechs-form-msg:empty { display: none; }
.atechs-form-msg.is-error, .atechs-hint.is-error { color: #b3261e; opacity: 1; }
.atechs-form-msg.is-ok, .atechs-hint.is-ok { color: #0b5c2b; opacity: 1; }
/* Flash message after a save-and-redirect on a front-end form (/profile/gear/,
   /profile/certifications/) -- had no styling at all before this, so it rendered
   invisible plain text; both pages share it via at_mf_current_url_no_query(). */
.atechs-notice { max-width: 900px; margin: 0 0 16px; padding: 10px 14px; border-radius: 6px; font-weight: 600; }
.atechs-notice-success { background: #e9f7ef; color: #0b5c2b; border: 1px solid rgba(11, 92, 43, 0.25); }
.atechs-notice-error { background: #fdecea; color: #b3261e; border: 1px solid rgba(179, 38, 30, 0.25); }
/* Informational (as opposed to success/error) notice -- light yellow, with room for an
   icon beside longer, multi-paragraph content (see .atechs-import-intro below) rather
   than just a single bold line like the save-result banners above. */
.atechs-notice-info { background: #fff8e1; color: #6b5500; border: 1px solid rgba(154, 118, 0, 0.25); display: flex; gap: 12px; align-items: flex-start; font-weight: 400; }
.atechs-notice-icon { width: 20px; height: 20px; flex: none; margin-top: 2px; color: #9a7600; }
/* Shared by both .atechs-notice-info boxes with a heading + real paragraphs rather
   than one bold line: /profile/imports/'s "Claiming your content" and /profile/edit/'s
   "Want your posts to actually show up here?" (see atechs_import_instructions_html()). */
.atechs-import-intro, .atechs-import-instructions { padding: 16px; }
/* /profile/imports/'s version sits outside any width-capped grid, so it needs its own
   max-width; /profile/edit/'s version is a direct child of .atechs-form's grid, which
   already caps at the same 640px, so it doesn't need one of its own. */
.atechs-import-intro { max-width: 640px; }
.atechs-import-intro h2, .atechs-import-instructions h2 { margin: 0 0 8px; font-size: 1.1em; color: #4d3f00; }
.atechs-import-intro p, .atechs-import-instructions p { margin: 0 0 10px; }
.atechs-import-intro p:last-child, .atechs-import-instructions p:last-child { margin-bottom: 0; }
.atechs-signup-intro { max-width: 640px; opacity: 0.75; margin: 4px 0 20px; }
.atechs-signup-width { max-width: 760px; }

/* Gear I've Owned checklist (/profile/gear/, [at_gear_checklist]) -- not an
   .atechs-form grid like the profile-edit form above, since this is one long plain
   POST form with 7 fieldset groups of two-checkbox rows rather than a short list of
   labeled fields; its own block instead of reusing .atechs-form's single-column grid. */
.at-gear-group { max-width: 900px; margin: 0 0 24px; padding: 16px 0 0; border: 0; border-top: 1px solid rgba(0, 0, 0, 0.12); }
.at-gear-group:first-of-type { padding-top: 0; border-top: 0; }
.at-gear-group legend { font-weight: 600; padding: 0 0 8px; }
/* Icon to the left of the item list, not above it -- align-items: flex-start so a tall
   list (many more rows than the icon's own height) doesn't stretch/center the icon. */
.at-gear-group-body { display: flex; align-items: flex-start; gap: 16px; }
.at-gear-group-icon { flex: none; width: 64px; height: 64px; }
/* One item per row (not a multi-column grid) -- each row needs room for its own two
   checkbox options ("Currently own" / "Previously owned"), which doesn't fit next to a
   short product name in a narrow grid column. Long lists are the expected trade-off. */
.at-gear-group-items { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.at-gear-row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 5px 0; border-bottom: 1px solid rgba(0, 0, 0, 0.06); font-size: 0.86em; }
.at-gear-group-items .at-gear-row:last-child { border-bottom: 0; }
.at-gear-row-name { flex: 1 1 auto; min-width: 0; font-weight: 400; }
.at-gear-row-options { flex: none; display: flex; gap: 16px; }
.at-gear-option { display: inline-flex; align-items: center; gap: 5px; font-weight: 400; white-space: nowrap; cursor: pointer; }
@media (max-width: 640px) {
	.at-gear-group-body { gap: 10px; }
	.at-gear-group-icon { width: 44px; height: 44px; }
	/* Not enough width for name + two inline options side by side on a phone --
	   stack the two checkboxes under the name instead of truncating anything. */
	.at-gear-row { flex-direction: column; align-items: flex-start; gap: 4px; }
	.at-gear-row-options { gap: 14px; }
}
/* The product name itself vs. the generation/year/variant detail that follows it in
   parens -- the detail is secondary, so it reads lighter and smaller, never bold. */
.at-gear-item-name { font-weight: 500; }
.at-gear-item-detail { font-weight: 400; color: rgba(0, 0, 0, 0.55); font-size: 0.92em; }
.at-gear-submit { margin-top: 6px; }

/* /profile/imports/ -- each import form (Reddit's [at_reddit_import], Facebook's
   [at_facebook_import]) reuses .atechs-form's own grid (plain <label> wrappers); just
   the already-imported list below each one needs its own rules. Shared by every
   platform's form -- these used to be "at-reddit-*", back when Reddit was the only
   one; renamed so a new platform never needs its own copy of this same CSS. */
.at-import-submit { margin-top: 6px; }
.at-import-list-heading { margin-top: 28px; }
.at-import-list { list-style: none; margin: 10px 0 0; padding: 0; max-width: 640px; }
.at-import-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(0, 0, 0, 0.1); }
.at-import-row-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.at-import-row-meta { font-size: 0.85em; opacity: 0.75; }
.at-import-remove-form { flex: none; margin: 0; }
.at-import-remove { width: 28px; height: 28px; border: 1px solid rgba(0, 0, 0, 0.2); border-radius: 6px; background: #fff; color: #222 !important; font-size: 1.1em; line-height: 1; cursor: pointer; }
.at-import-remove:hover { background: #f5f5f5; }

/* /profile/imports/ intro copy -- explains why bothering to hand-copy a post in here
   (rather than just linking out to it) is worth a Tech's time. Sits above the tabs,
   not inside any one of them, since the "why" applies to all three platforms alike.
   Its actual box/icon/color styling lives on .atechs-notice-info above -- this is
   just the layout tweaks specific to this notice's longer, multi-paragraph content. */
.atechs-import-intro { margin-bottom: 28px; }

/* /profile/imports/ tab nav -- plain chip-style buttons, same shape language as
   .feed-filter, switching which platform's form/list shows below without a reload.
   The explicit "color" below isn't decorative -- this theme's generic button styles
   default to white text, which against this button's own white background left the
   inactive tabs' labels unreadable (white on white) until this was added. */
.atechs-import-tab-nav { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.atechs-import-tab { display: inline-flex; align-items: center; gap: 7px; padding: 8px 18px; border: 1px solid rgba(0, 0, 0, 0.2); border-radius: 999px; background: #fff; color: #222; font-size: 0.95em; font-weight: 600; cursor: pointer; }
.atechs-import-tab.is-active { background: #111; border-color: #111; color: #fff; }
.atechs-import-tab-icon { display: inline-flex; width: 16px; height: 16px; flex: none; }
.atechs-import-tab-icon svg { width: 100%; height: 100%; }

/* Before atechs.js upgrades it to TinyMCE (see initLazyEditors()), "The post itself"
   is a plain textarea -- styled close enough to .wp-editor-container that there's no
   visible jump once the real editor takes over a moment later. */
.atechs-lazy-editor { width: 100%; min-height: 110px; padding: 8px 10px; border: 1px solid rgba(0, 0, 0, 0.3); border-radius: 6px; font: inherit; box-sizing: border-box; }

/* Certifications checklist (/profile/certifications/, [at_cert_checklist]) -- simpler
   than Gear above (one checkbox + one optional date per row, no category groups or
   icons), so it's a plain list of rows rather than fieldsets.

   Each row stacks the date directly under its own label rather than beside it --
   side by side, a long certification name forced the date field to wrap onto its
   own line anyway (on anything but a wide screen), which looked messier than just
   stacking it on purpose every time. */
.at-cert-list { max-width: 560px; display: flex; flex-direction: column; margin-top: 4px; }
.at-cert-row { display: flex; flex-direction: column; gap: 6px; padding: 10px 0; border-bottom: 1px solid rgba(0, 0, 0, 0.08); }
.at-cert-list .at-cert-row:last-child { border-bottom: 0; }
.at-cert-option { min-width: 0; display: inline-flex; align-items: center; gap: 8px; font-weight: 500; cursor: pointer; }
.at-cert-date-field { display: inline-flex; align-items: center; gap: 8px; font-weight: 400; margin-left: 26px; /* lines up under the label text, past the checkbox */ }
.at-cert-date-label { font-size: 0.85em; color: rgba(0, 0, 0, 0.55); }
.at-cert-date-field input[type="date"] { padding: 4px 8px; border: 1px solid rgba(0, 0, 0, 0.3); border-radius: 6px; font: inherit; }
.at-cert-submit { margin-top: 12px; }

/* "Other certifications" repeater, below the fixed catalog above -- free-text name +
   optional date per row, "+ Add another" appends more (at_mf_cert_other_repeater_script()
   in beachball-help-member-fields.php). Same stacked treatment as .at-cert-row above: the
   date (and its remove button) sits under the name field rather than beside it. */
.at-cert-other-heading { margin-top: 28px; }
.at-cert-other-list { max-width: 560px; display: flex; flex-direction: column; gap: 14px; margin-top: 10px; }
.at-cert-other-row { display: flex; flex-direction: column; gap: 6px; }
.at-cert-other-label { padding: 6px 10px; border: 1px solid rgba(0, 0, 0, 0.3); border-radius: 6px; font: inherit; width: 100%; box-sizing: border-box; }
.at-cert-other-date-row { display: flex; align-items: center; gap: 12px; }
.at-cert-other-date { padding: 4px 8px; border: 1px solid rgba(0, 0, 0, 0.3); border-radius: 6px; font: inherit; }
.at-cert-other-remove { flex: none; width: 28px; height: 28px; border: 1px solid rgba(0, 0, 0, 0.2); border-radius: 6px; background: #fff; color: #222 !important; font-size: 1.1em; line-height: 1; cursor: pointer; }
.at-cert-other-remove:hover { background: #f5f5f5; }
.at-cert-other-add { margin-top: 10px; }

/* Conferences checklist (/profile/conferences/, at_member_fields_conferences_checklist_shortcode()
   in member-fields.php) -- one row per conference edition logged: a conference+year picker,
   three role checkboxes, and (only once "Speaker/Presenter" is checked) two optional link
   fields. Each row is its own white rounded card (.atechs-form-section-card's own 16px-radius
   convention) on this page's light-gray background (.atechs-main-wide) -- in two columns, by
   the catalog's own 'category' (at_mf_conference_catalog()): Apple/Mac conferences on the
   left, everything else (WordCamp so far) on the right. Columns are assigned with CSS Grid's
   explicit grid-column + dense auto-flow, NOT by reordering the rows in the DOM -- a row
   always lands in column 1 unless it also carries .at-conf-row-other (toggled in PHP at page
   load, and in JS the instant a Tech picks a different conference -- see at_mf_conference_
   row_html() and rebuildYears()) -- so the add/remove-row JS never has to know or care which
   column a row belongs in; the grid places it. The two .at-conf-col-heading labels pin
   themselves to row 1 of their own column so they stay put above whatever ends up under them. */
.at-conf-list { display: grid; grid-template-columns: 1fr 1fr; grid-auto-flow: row dense; gap: 14px 20px; margin-top: 4px; }
.at-conf-col-heading { grid-column: 1; grid-row: 1; font-size: 1.1em; font-weight: 700; opacity: 0.85; }
.at-conf-col-heading.at-conf-row-other { grid-column: 2; }
.at-conf-row { grid-column: 1; display: flex; flex-direction: column; gap: 8px; padding: 16px 18px; background: #fff; border: 1px solid rgba(0, 0, 0, 0.12); border-radius: 16px; box-shadow: 0 1px 2px rgba(18, 22, 28, 0.04); }
.at-conf-row.at-conf-row-other { grid-column: 2; }
/* Each "+ Add..." button is a grid item in its own column (see the PHP-side comment in
   at_member_fields_conferences_checklist_shortcode()), sized to its own content rather than
   stretched to the column's full width the way a grid item normally would be.
   justify-self:start alone only stops it stretching sideways -- a grid item's default
   align-self is still "stretch", so without align-self:start too, this button was
   stretching to the full height of whatever row dense auto-flow happened to drop it in
   (often much taller than the button itself, e.g. a row shared with an expanded
   Presentations block in the other column), rendering it "huge": a normal-size button
   label sitting inside a much taller clickable box. align-self:start fixes both axes. */
.at-conf-add { grid-column: 1; justify-self: start; align-self: start; margin-top: 4px; }
.at-conf-add.at-conf-row-other { grid-column: 2; }
/* Two columns need real width to not feel cramped -- collapse to one below that, in DOM
   order (so Apple/Mac and Other rows end up interleaved rather than strictly grouped on a
   small screen, a reasonable trade for not needing a second, JS-driven layout here too). */
@media (max-width: 720px) {
	.at-conf-list { grid-template-columns: 1fr; }
	.at-conf-col-heading, .at-conf-row, .at-conf-row.at-conf-row-other, .at-conf-col-heading.at-conf-row-other, .at-conf-add, .at-conf-add.at-conf-row-other { grid-column: 1; }
}
.at-conf-row-main { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.at-conf-conference { flex: 1 1 280px; min-width: 0; padding: 6px 10px; border: 1px solid rgba(0, 0, 0, 0.3); border-radius: 6px; font: inherit; background: #fff; }
.at-conf-year { flex: 0 0 90px; padding: 6px 8px; border: 1px solid rgba(0, 0, 0, 0.3); border-radius: 6px; font: inherit; background: #fff; }
.at-conf-label { flex: 1 1 160px; min-width: 0; padding: 6px 10px; border: 1px solid rgba(0, 0, 0, 0.3); border-radius: 6px; font: inherit; color: var(--ds-color-ink, #12161c); }
/* [x] was sitting off-center (a lone "&times;" character, left to the font's own
   baseline/box metrics inside a fixed 28x28px button) -- flex centers it on both axes
   regardless of the glyph's own metrics. Shared by every "remove this row" button on
   this page: conference rows, presentations, and (further down) "Other certifications"
   rows all use one of .at-conf-remove/.at-conf-pres-remove/.at-cert-other-remove, each
   already the same 28x28px square. */
.at-conf-remove, .at-conf-pres-remove, .at-cert-other-remove { display: inline-flex; align-items: center; justify-content: center; }
.at-conf-remove { flex: none; width: 28px; height: 28px; border: 1px solid rgba(0, 0, 0, 0.2); border-radius: 6px; background: #fff; color: #222 !important; font-size: 1.1em; line-height: 1; cursor: pointer; }
.at-conf-remove:hover { background: #f5f5f5; }
.at-conf-row-checks { display: flex; gap: 18px; flex-wrap: wrap; font-weight: 400; }
.at-conf-row-checks label { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; font-size: 0.75em; font-weight: 400; }
/* The talks given at this edition -- one .at-conf-pres-row per presentation, each with
   its own Session Title + two optional links, rather than one shared link pair for the
   whole edition (a Tech can speak more than once at the same conference). Only shown
   while "Speaker/Presenter" is checked (toggled by at_mf_conferences_repeater_script()). */
.at-conf-presentations { display: flex; flex-direction: column; gap: 10px; margin-left: 2px; padding: 10px 12px; border-left: 2px solid rgba(0, 0, 0, 0.12); }
.at-conf-presentations-list { display: flex; flex-direction: column; gap: 10px; }
.at-conf-pres-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.at-conf-pres-row input { padding: 6px 10px; border: 1px solid rgba(0, 0, 0, 0.3); border-radius: 6px; font: inherit; font-size: 0.9em; color: var(--ds-color-ink, #12161c); }
/* The document icon (at_mf_conference_link_icon( 'archive' ) -- same tiny icon the
   Member Home Page's own conferences box shows next to a logged presentation) sits
   before BOTH fields it covers -- Session Title and Archived Presentation link, the
   written-record side of a talk -- as one .at-conf-pres-field-doc group, the same way
   the video icon sits before its own (single-field) .at-conf-pres-field-video group
   right after. Each group wraps on its own when the row runs out of width, rather than
   the two fields inside .at-conf-pres-field-doc wrapping away from their shared icon. */
.at-conf-pres-field { display: flex; align-items: center; gap: 6px; min-width: 0; flex-wrap: wrap; }
.at-conf-pres-field-doc { flex: 2 1 380px; }
.at-conf-pres-field-video { flex: 1 1 220px; }
.at-conf-pres-field input[type="text"], .at-conf-pres-field input[type="url"] { flex: 1 1 160px; min-width: 0; }
.at-conf-pres-icon { flex: none; width: 15px; height: 15px; color: rgba(0, 0, 0, 0.45); display: flex; }
.at-conf-pres-icon svg { width: 100%; height: 100%; display: block; }
/* A saved Session Title, conference location ("Which one?", .at-conf-label), or
   Archived Presentation/Video link otherwise reads as empty placeholder text -- all
   the same light, thin-weight gray by default, so a filled-in field didn't look any
   different from a blank one. ":not(:placeholder-shown)" (true only once there's a
   real value, since every one of these fields always carries a placeholder attribute
   -- see at_mf_conference_row_html(), at_mf_conference_presentation_html(), and their
   JS twins) flips to a solid, heavier-weight ink color plus a light "mat" tint/border
   so a populated field is obvious at a glance, with no JS needed to tell the two
   states apart. */
.at-conf-label:not(:placeholder-shown),
.at-conf-pres-title:not(:placeholder-shown),
.at-conf-pres-row input[type="url"]:not(:placeholder-shown) {
	color: var(--ds-color-ink, #12161c);
	font-weight: var(--ds-weight-medium, 500);
	background: rgba(11, 93, 102, 0.06);
	border-color: rgba(11, 93, 102, 0.45);
}
.at-conf-pres-remove { flex: none; width: 28px; height: 28px; border: 1px solid rgba(0, 0, 0, 0.2); border-radius: 6px; background: #fff; color: #222 !important; font-size: 1.1em; line-height: 1; cursor: pointer; }
.at-conf-pres-remove:hover { background: #f5f5f5; }
.at-conf-pres-add { font-size: 0.85em; align-self: flex-start; }
.at-conf-divider { border: none; border-top: 1px solid rgba(0, 0, 0, 0.15); margin: 20px 0 0; }
.at-conf-submit { margin-top: 12px; }

/* "You've crossed paths" section on /connections/ (atechs_connections_html(), render.php) --
   one heading per shared conference edition, each with its own .atechs-members list, same
   list styling as every other member list on that page. */
.atechs-conf-connections h3 { margin: 18px 0 8px; font-size: 1em; color: rgba(0, 0, 0, 0.7); }

/* One bordered panel holds the choice cards AND the form, so they read as one connected
   control (cards on top choosing which form shows below) instead of three loose boxes. */
.atechs-signup-panel { border: 1px solid rgba(0, 0, 0, 0.12); border-radius: 10px; background: #fff; overflow: hidden; margin-bottom: 20px; }
.atechs-signup-choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.atechs-choice-card { position: relative; display: flex; flex-direction: column; padding: 18px 20px; border-bottom: 1px solid rgba(0, 0, 0, 0.12); background: #fbfbfa; }
.atechs-choice-card + .atechs-choice-card { border-left: 1px solid rgba(0, 0, 0, 0.12); }
/* The active card drops the divider entirely -- no line between it and the form below --
   so it reads as attached to that form rather than as a separate, closed-off box. */
.atechs-choice-card.is-active { background: #fff; border-bottom-color: transparent; }
.atechs-choice-pill { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 8px; padding: 3px 12px; font-size: 0.85em; }
.atechs-choice-pill svg { display: block; flex: none; width: 13px; height: 13px; }
.atechs-choice-tagline { margin: 0 0 12px; opacity: 0.75; }
/* !important because the theme's own typography reset strips list-style on every <ul> in
   the content area with a selector specific enough to beat a plain class (same guard as
   .atechs-btn-primary's background/color above) -- this is what was eating the bullets. */
.atechs-choice-list { list-style: disc outside !important; margin: 0 0 16px !important; padding: 0 0 0 18px !important; font-size: 0.88em; }
.atechs-choice-list li { display: list-item !important; }
.atechs-choice-list li + li { margin-top: 6px; }
.atechs-choice-card .atechs-btn { margin-top: auto; align-self: flex-start; border-color: rgba(0, 0, 0, 0.3); }
.atechs-choice-card .atechs-btn.is-active { background: #1d1d1f; border-color: #1d1d1f; color: #fff; }
/* Same left/right padding as .atechs-choice-card so the two columns of content line up. */
.atechs-signup-form-box { padding: 20px 20px; background: #fff; }
.atechs-signup-form-label { display: inline-block; margin: 0 0 14px; padding: 3px 12px; border-radius: 999px; background: #1d1d1f; color: #fff; font-size: 0.85em; font-weight: 600; letter-spacing: 0.01em; }
.atechs-signup-form-box .atechs-form { max-width: none; }
.atechs-upgrade { margin: 20px 0; padding: 16px 18px; border: 1px solid rgba(0, 0, 0, 0.15); border-radius: 10px; background: rgba(0, 0, 0, 0.03); max-width: 640px; }
.atechs-upgrade h2 { margin: 0 0 6px; font-size: 1.05em; }
.atechs-upgrade p { margin: 0 0 12px; }
.atechs-reply-form { margin: 8px 0; }
.atechs-group { margin: 0 0 28px; }
.atechs-bench-rows, .atechs-members, .atechs-tags { list-style: none; margin: 0; padding: 0; }
/* The "Benches" index: one full-width row per bench (icon, title + description, thread
   count + Follow), not the card/grid this used to be -- flat grayscale/white throughout,
   deliberately NOT the per-bench --atechs-bench-bg/-fg color (see atechs_benches_html()
   in render.php). The bench chip elsewhere on the site (.atechs-bench-link below, the
   sidebar) still uses its own bench color; this is this one page's own look, not a
   change to atechs_bench_color() itself. Just a hairline divider between rows (no
   individual card borders), grouped under the same section headings the card view used. */
.atechs-bench-row { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(0, 0, 0, 0.1); }
.atechs-group:last-child .atechs-bench-row:last-child { border-bottom: 0; }
.atechs-bench-row-main { flex: 1 1 auto; min-width: 0; }
.atechs-bench-row-main h3, .atechs-bench-row-main p { margin: 0 0 4px; }
.atechs-bench-row-main h3 { font-weight: 800; }
.atechs-bench-row-main h3 a { color: #111; }
.atechs-bench-row-side { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; text-align: right; }
/* The bench's own product icon (see atechs_bench_icons() in benches.php), run through
   grayscale() + a little extra contrast so a colorful source icon (e.g. the blue Time
   Capsule light) still reads as part of this page's flat grayscale/white look. Most
   starter benches have no icon at all (they're a topic, not a product) -- those rows get
   .atechs-bench-icon-empty instead, the same 48x48 box with nothing drawn in it, so
   every row's title starts at the same x whether or not its bench has an icon. */
.atechs-bench-icon, .atechs-bench-icon-empty { flex: none; width: 48px; height: 48px; }
.atechs-bench-icon { object-fit: contain; filter: grayscale(100%) contrast(1.05); }
@media (max-width: 560px) {
	.atechs-bench-row { flex-wrap: wrap; }
	.atechs-bench-row-side { flex-direction: row; align-items: center; margin-left: 64px; }
}
.atechs-bench-link { display: inline-block; padding: 1px 9px; border-radius: 999px; background: var(--atechs-bench-bg, rgba(0, 0, 0, 0.06)); color: var(--atechs-bench-fg, inherit); text-decoration: none; font-weight: 600; }
.atechs-bench-link:hover { text-decoration: underline; }
.atechs-member { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(0, 0, 0, 0.1); }
.atechs-member p { margin: 0; }
.atechs-member img, .atechs-profile-head img { border-radius: 50%; flex: none; }
.atechs-member-actions { margin-left: auto; }
.atechs-profile-head { display: flex; gap: 20px; align-items: flex-start; margin-bottom: 20px; }
.atechs-profile-head p { margin: 4px 0; }
.atechs-how { padding: 12px 16px; border: 1px solid rgba(0, 0, 0, 0.12); border-radius: 8px; }
.atechs-how h2 { margin: 0 0 6px; font-size: 1em; }
.atechs-chain { margin: 0; }
.atechs-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.atechs-tags li { padding: 2px 10px; border-radius: 999px; background: rgba(0, 0, 0, 0.08); font-size: 0.85em; }

/* "Top techs" spotlight on /techs/ (atechs_top_members_html() in render.php) -- a small
   grid of bordered cards above the plain search/list, same bordered-panel language as
   .atechs-choice-card/.atechs-signup-panel elsewhere on this stylesheet, rather than a
   new visual idiom. Only shown on the plain, unfiltered first page of the directory. */
.atechs-spotlight { margin-bottom: 28px; }
.atechs-spotlight h2 { margin: 0 0 12px; font-size: 1.1em; }
.atechs-spotlight-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.atechs-spotlight-card { display: flex; flex-direction: column; padding: 16px 18px; border: 1px solid rgba(0, 0, 0, 0.12); border-radius: 10px; background: #fff; }
.atechs-spotlight-head { display: flex; align-items: center; gap: 12px; }
.atechs-spotlight-head p { margin: 0; }
.atechs-spotlight-name { font-weight: 700; }
.atechs-spotlight-headline { margin: 10px 0 0; font-size: 0.92em; opacity: 0.85; }
.atechs-spotlight-certs { margin-top: 10px; }
.atechs-tag-more { padding: 2px 10px; border-radius: 999px; font-size: 0.85em; opacity: 0.6; }
.atechs-spotlight-stats { display: flex; flex-wrap: wrap; gap: 14px; margin: 14px 0 0; padding-top: 12px; border-top: 1px solid rgba(0, 0, 0, 0.08); }
.atechs-spotlight-stat { display: flex; flex-direction: column; }
.atechs-spotlight-stat-value { font-size: 1.15em; font-weight: 700; line-height: 1.2; }
.atechs-spotlight-stat-label { font-size: 0.78em; opacity: 0.7; }
.atechs-spotlight-link { margin-top: 14px; align-self: flex-start; border-color: rgba(0, 0, 0, 0.3); }

.atechs-search { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.atechs-search label:first-child { flex: 1; min-width: 220px; }
.atechs-search input, .atechs-search select { width: 100%; padding: 8px 10px; font: inherit; }
.atechs-pager { display: flex; justify-content: center; gap: 16px; padding: 20px 0; }
.atechs-invite-intro { margin: 0 0 16px; }
.atechs-invite-list { list-style: none; margin: 10px 0 0; padding: 0; }
.atechs-invite-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(0, 0, 0, 0.1); }
.atechs-tag-muted { background: transparent; border: 1px solid rgba(0, 0, 0, 0.15); font-weight: 400; }
.atechs-invite-notice { padding: 8px 12px; border: 1px solid rgba(0, 0, 0, 0.12); border-radius: 8px; opacity: 1; }
.atechs-invite-sent { max-width: 640px; }
.atechs-invite-sent-title { margin: 0 0 10px; }
.atechs-invite-thanks { font-weight: 600; }
/* Fixed height rather than something that tracks the email's own content: it's a full
   standalone HTML document in an iframe, so there's no reliable way to read its rendered
   height back out and resize the frame to fit without it (a cross-document measurement,
   same-origin or not). A little internal scroll on a short email beats either a slice of
   a tall one or several hundred px of blank space under a short one. */
.atechs-email-preview { display: block; width: 100%; max-width: 480px; height: 420px; margin: 10px 0 20px; border: 1px solid rgba(0, 0, 0, 0.15); border-radius: 10px; background: #e8f1f2; }
.atechs-invite-sent-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.atechs .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
@media (max-width: 560px) { .atechs-row { grid-template-columns: 1fr; } .atechs-profile-head { flex-direction: column; } }

/* Single-bench pages (atechs_bench_html()) AND the "Benches" index itself
   (atechs_benches_html(), one view up from a single bench, so its own body class is the
   plural "benches") share this same two-column layout now -- same front/front-grid/
   front-benches class names as the front page's Design Kit layout, but NOT that layout's
   actual CSS --
   Beaver Builder generates .front-grid's grid-template-columns etc. as a page-specific
   stylesheet (e.g. 144-layout.css) tied to the modules on that one page, and a virtual
   route only borrows a different page's chrome for header/footer (see
   atechs_borrow_chrome_context()), so that stylesheet never loads here; grid-template-
   columns computes to "none" and the sidebar + feed just stack as plain blocks. Rather than
   depend on a stylesheet that may or may not be present, bench pages get their own
   self-contained version of that two-column layout here, scoped to .atechs-bench-page so
   it can't collide with the real front page's own styling if that CSS ever is present too. */
/* .atechs-main (top of this file) caps every virtual route at a deliberately narrow 860px
   prose width, which is right for a thread or a form but was quietly capping and
   off-centering this page's own .bb-container nested inside it (860px minus .atechs-main's
   own padding, not the 1216px the real front page's .bb-container uses) -- that was the
   actual width bug, not the grid itself. Widen .atechs-main for this one view only (keyed
   off the body class shell.php already sets per view) to match the front page's container,
   and let .bb-container fill it rather than adding a second, smaller max-width/padding of
   its own on top. */
body.atechs-view-bench .atechs-main, body.atechs-view-benches .atechs-main { max-width: 1216px; padding: 24px 24px 48px; }
.atechs-bench-page .bb-container { max-width: none; margin: 0; padding: 0; }
.atechs-bench-page .front-grid { display: grid; grid-template-columns: 208px minmax(0, 1fr); gap: 28px; align-items: start; }
.atechs-bench-page .front-side-title { font-size: 0.78em; font-weight: 700; letter-spacing: 0.02em; margin: 0 0 6px; }
.atechs-bench-page .front-group { margin-top: 18px; }
.atechs-bench-page .front-group:first-child { margin-top: 0; }
.atechs-bench-page .front-group-name { font-size: 0.68em; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; opacity: 0.65; margin: 0 0 2px; }
.atechs-bench-page .front-group-list { list-style: none; margin: 4px 0 0; padding: 0; }
/* Colored with --atechs-bench-fg (set inline by atechs_bench_sidebar_html(), same
   convention as .atechs-bench-link elsewhere) instead of a hardcoded per-slug class, so a
   bench added or renamed later shows up correctly with no matching CSS rule needed. */
.atechs-bench-page .front-group-list a { display: block; padding: 6px 10px; margin: 0 -10px; border-radius: 6px; font-size: 0.92em; font-weight: 600; text-decoration: none; color: var(--atechs-bench-fg, inherit); }
.atechs-bench-page .front-group-list a:hover { background: rgba(0, 0, 0, 0.05); text-decoration: underline; }
.atechs-bench-page .front-group-list a.is-current-bench { background: rgba(0, 0, 0, 0.06); font-weight: 700; }
.atechs-bench-page .front-link { display: inline-block; margin-top: 16px; font-size: 0.92em; font-weight: 600; }
.atechs-bench-page .front-feed { min-width: 0; }
@media (max-width: 900px) {
	.atechs-bench-page .front-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
	.atechs-bench-page .front-side-title { display: none; }
	.atechs-bench-page .front-groups { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; }
	.atechs-bench-page .front-group { margin-top: 0; flex: none; }
	.atechs-bench-page .front-group-name { display: none; }
	.atechs-bench-page .front-group-list { display: flex; gap: 6px; margin-top: 0; }
	.atechs-bench-page .front-group-list a { margin: 0; padding: 6px 12px; border: 1px solid rgba(0, 0, 0, 0.15); border-radius: 999px; white-space: nowrap; }
	.atechs-bench-page .front-group-list a.is-current-bench { border-color: transparent; }
}

/* [atechs_top_stories] / atechs_top_stories_rail_html() -- a plain numbered list for a
   narrow side column, unlike .atechs-story-item's full card above. Shares .front-side-title
   with the Benches sidebar it's meant to sit alongside, so the two headings match. */
.atechs-top-stories-list { list-style: decimal; margin: 0; padding: 0 0 0 1.1em; }
.atechs-top-stories-item + .atechs-top-stories-item { margin-top: 12px; }
.atechs-top-stories-title { font-weight: 700; text-decoration: none; color: inherit; }
.atechs-top-stories-title:hover { text-decoration: underline; }
.atechs-top-stories-meta { margin: 2px 0 0; font-size: 0.8em; opacity: 0.7; }
.atechs-top-stories-empty { font-size: 0.9em; opacity: 0.7; }

/* atechs_header_profile_html() -- replaces the sitewide header's Sign in/Join (and the
   homepage About card's matching pair) once a visitor is actually logged in; see
   frontend-patches.php for why this is patched in via an output buffer instead of a
   template edit. Sized/spaced to sit where .header-actions did, so swapping one for the
   other doesn't shift the header's height or alignment. */
.header-profile { display: flex; align-items: center; gap: var(--ds-space-md, 1.5rem); }
.header-profile-link { display: flex; align-items: center; gap: 8px; font-size: var(--ds-text-sm, 0.8125rem); font-weight: var(--ds-weight-medium, 500); }
.header-profile-avatar { border-radius: 999px; display: block; }
.header-signout { font-size: var(--ds-text-sm, 0.8125rem); font-weight: var(--ds-weight-medium, 500); padding: 0.5rem 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.header-signout:hover { border-bottom-color: var(--ds-color-ink, inherit); }

/* atechs_story_form_html() (stories.php) -- a two-column variant of .atechs-form: title +
   editor on the left (.atechs-story-main, same vertical .atechs-form rhythm as any other
   form on this site), the Story Categories checkbox tree on the right
   (.atechs-story-side/atechs_story_category_checkboxes_html(), story-categories.php).
   Collapses to one column below 700px rather than squeezing the checkbox list thin. */
.atechs-story-layout { max-width: 980px; grid-template-columns: 1fr 300px; gap: 24px; align-items: start; }
.atechs-story-main { display: grid; gap: 14px; align-content: start; }
.atechs-story-categories { margin: 0; border: 1px solid rgba(0, 0, 0, 0.15); border-radius: 10px; padding: 14px 16px; }
.atechs-story-categories legend { font-weight: 700; padding: 0 0 8px; }
.atechs-story-cat-group + .atechs-story-cat-group { margin-top: 14px; }
.atechs-story-cat-top { font-weight: 600; margin: 0 0 4px; font-size: 0.8em; text-transform: uppercase; letter-spacing: 0.02em; opacity: 0.7; }
.atechs-story-categories ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.atechs-story-categories label { font-weight: 400; display: flex; gap: 6px; align-items: baseline; font-size: 0.75em; }
@media (max-width: 700px) {
	.atechs-story-layout { grid-template-columns: 1fr; }
}

/* atechs_story_category_checkboxes_html() (story-categories.php) -- the WordPress-admin-style
   Primary indicator: "(Primary)" shows only on the one checked category currently marked
   primary, and "Make primary" only appears on hover of any OTHER checked one (same hover-row-
   actions pattern as Edit/Trash under a post title) -- never on an unchecked category, and
   never on the primary one itself. The inline script in that function toggles the two classes
   this keys off of; this file only decides what each combination looks like. */
.atechs-story-cat-item { position: relative; }
.atechs-primary-flag { display: none; font-size: 0.8em; opacity: 0.6; }
.atechs-story-cat-item.atechs-is-primary .atechs-primary-flag { display: inline; }
.atechs-make-primary { display: none; font-size: 0.8em; background: none; border: none; padding: 0; margin: 0; color: #2271b1; cursor: pointer; text-decoration: underline; }
.atechs-story-cat-item.atechs-is-checked:not(.atechs-is-primary):hover .atechs-make-primary { display: inline; }
.atechs-story-cat-add { border-top: 1px solid rgba(0, 0, 0, 0.12); padding-top: 12px; margin-top: 14px; }
.atechs-story-cat-add label { font-weight: 600; display: grid; gap: 4px; }

/* atechs_social_item_html() (render.php) -- MetaFilter/Bluesky/Mastodon/Reddit/Facebook/
   LinkedIn/Twitter items on the main Home page feed. .atechs-vote-static keeps the same
   36px vote column every other feed item reserves (.atechs-vote above) so these rows still
   line up, without drawing arrows or a score for something that was never votable anywhere
   on the site -- it now centers a small RSS glyph (atechs_rss_icon_svg()) in that column
   instead of standing empty, marking the item as pulled in from elsewhere. */
.atechs-vote-static { min-height: 1px; display: flex; align-items: flex-start; justify-content: center; padding-top: 2px; }
.atechs-rss-icon { flex: none; }

/* ====================================================================================
 * Member Profile parity -- Cameron asked for the Home page feed's own line-separated
 * boxes (.atechs-item/.atechs-story-item/.atechs-social-item above) to stay exactly as
 * they are, but for everything INSIDE one of those boxes (Story/Substack/MetaFilter/
 * Bluesky/Mastodon/Reddit/Facebook/LinkedIn/Twitter items -- not a plain Thread, which
 * has its own older, unrelated card design used site-wide) to look exactly like it does
 * on a member's own Member Home Page "Member Feed" (at_member_fields_feed_shortcode(),
 * member-fields.php). So this block is NOT this site's own design -- it's the member
 * theme's .feed-item/.feed-tag/etc. rules (appletechs-member-theme/style.css), copied
 * class-for-class and value-for-value (its --ds-* design-system tokens resolved to their
 * literal values from assets/design-system.css there, since this page can't rely on that
 * theme's custom properties existing here) so the two stay identical on sight. Anything
 * that page doesn't have at all -- the vote column, the byline naming who posted it, since
 * that page is already just one member's own and has neither -- is the only thing added.
 * ==================================================================================== */
.feed-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 0.75rem; font-weight: 600; color: #0b5d66; background: #e8f1f2; border-radius: 4px; padding: 3px 9px; }
.feed-tag-thread { color: #0b5d66; background: #e8f1f2; }
.feed-tag-story { color: #8a5a00; background: #fcefcf; }
.feed-tag-substack { color: #ff6719; background: rgba(255, 103, 25, 0.12); }
.feed-tag-metafilter { color: #065a8f; background: rgba(27, 80, 140, 0.12); }
.feed-tag-bluesky { color: #1185fe; background: rgba(17, 133, 254, 0.12); }
.feed-tag-mastodon { color: #6364ff; background: rgba(99, 100, 255, 0.12); }
.feed-tag-reddit { color: #cc3d00; background: rgba(255, 69, 0, 0.12); }
.feed-tag-facebook { color: #1877f2; background: rgba(24, 119, 242, 0.12); }
.feed-tag-linkedin { color: #0a66c2; background: rgba(10, 102, 194, 0.12); }
.feed-tag-twitter { color: #000; background: rgba(0, 0, 0, 0.08); }
.feed-tag-icon { display: inline-flex; flex: none; }
.feed-tag-icon svg, .feed-tag-icon .brand-icon-img { width: 13px; height: 13px; display: block; }
.feed-tag-icon-img { width: 13px; height: 13px; border-radius: 3px; display: block; object-fit: cover; }
/* The byline naming who posted it -- the one thing in this row the Member Home Page's own
   version never needs (that page is already just one member's own), so it has no matching
   rule to copy. Sized/colored to sit quietly next to the tag pill and time rather than
   competing with them, which .atechs-user has no rule of its own for elsewhere. */
.feed-item-meta .atechs-user { font-size: 0.8125rem; font-weight: 600; color: #4a5361; }
.feed-item-head { display: flex; flex-wrap: nowrap; align-items: flex-start; justify-content: space-between; gap: 0.75rem; margin-bottom: 6px; }
.feed-item-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; min-width: 0; flex: 1 1 auto; }
.feed-item-time { font-size: 0.75rem; color: #4a5361; }
.feed-item-categories { display: inline-flex; flex-wrap: wrap; gap: 4px; }
.feed-item-category { font-size: 0.75rem; font-weight: 600; color: #4a5361; background: rgba(0, 0, 0, 0.06); border-radius: 4px; padding: 2px 8px; }
.feed-item-imported { font-size: 0.75rem; color: #4a5361; font-style: italic; }
.feed-item-longform-badge { display: flex; flex-direction: column; align-items: flex-end; flex: none; gap: 2px; text-align: right; background: #e8f1f2; border-radius: 8px; padding: 5px 10px; }
.feed-longform-label { font-size: 0.75rem; font-weight: 600; color: #0b5d66; text-transform: uppercase; letter-spacing: 0.03em; white-space: nowrap; }
.feed-longform-meta { font-size: 0.75rem; color: #4a5361; white-space: nowrap; }
.feed-item-title { margin: 0 0 4px; }
.feed-item-title a { font-weight: 700; font-size: 1.0625rem; color: #12161c; text-decoration: none; }
.feed-item-title a:hover { text-decoration: underline; }
.feed-item-body { font-size: 1.0625rem; line-height: 1.41; color: #12161c; margin: 0 0 8px 0; }
.feed-item-link { font-size: 0.8125rem; font-weight: 600; color: #0b5d66; }
.feed-item-link:hover { color: #08444b; text-decoration: underline; }

/* ====================================================================================
 * Header wordmark (.bb-wordmark/.bb-wordmark-icon/.header-name) -- same markup and class
 * names on both the main site's own Beaver Builder AI header module and the member theme's
 * header.php (see that file's own comment for why they're identical), so this one rule
 * covers the logo everywhere it appears, loaded network-wide (atechs_assets() above enqueues
 * this file on every site, not just the main one).
 * ==================================================================================== */
/* Logo spins counter-clockwise for as long as the pointer stays over the header link. */
@keyframes atechs-logo-spin-ccw {
	from { transform: rotate(0deg); }
	to { transform: rotate(-360deg); }
}
.bb-wordmark:hover .bb-wordmark-icon { animation: atechs-logo-spin-ccw 1.4s linear infinite; }
/* The site title text sits in that same link -- browsers/the host theme's own base styles
   can add an underline on hover of any <a>, which reads oddly across a wordmark rather than
   a line of text. Removed on the whole link (the icon has no text to underline anyway). */
.bb-wordmark:hover { text-decoration: none; }

/* ====================================================================================
 * Fun theme switcher -- Home page parity (atechs_theme_switcher_html()/
 * atechs_theme_switcher_early_script(), render.php). Cameron asked for the same
 * just-for-fun, per-visitor skin picker the Member Home Page already has
 * (appletechs-member-theme/front-page.php) on the main site's Home page too. That page's own
 * theme-*.css files target markup specific to it (.profile-card, .win-titlebar, #member-feed,
 * etc.) and aren't loaded here, so this is this page's own equivalent: the same body classes
 * (theme-classic, theme-platinum, ...) and the same localStorage key ("bbTheme", so a choice
 * carries over between the two automatically -- every subsite and the main site already share
 * one origin), but restyling .atechs-bar/.atechs-item family/.atechs-btn/.feed-tag instead.
 * Values below are deliberately copied from each theme's own file rather than reinvented, so
 * a Story/social item on the Home page and the same member's own Member Feed read as the same
 * theme. Liquid Glass is the one theme built fresh for this round -- see
 * appletechs-member-theme/assets/theme-liquidglass.css for its own, fuller version.
 * ==================================================================================== */
.atechs-theme-toggle-row { display: flex; justify-content: flex-end; margin: 0 0 10px; }
.bb-theme-toggle-label.is-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bb-theme-toggle { font-size: 0.8125rem; font-weight: 600; color: #0b5d66; background: #fff; border: 1px solid #e1e4e8; border-radius: 999px; box-shadow: 0 1px 2px rgba(18, 22, 28, 0.04); padding: 7px 14px; cursor: pointer; }
.bb-theme-toggle:hover { background: #e8f1f2; }

/* Hero placement (Home page only) -- injected into ".front-intro" itself
   (atechs_patch_signedin_markup(), frontend-patches.php), the block holding "The bench is
   open." and its subtitle. ".front-intro" is turned into a two-column grid here so the
   heading/subtitle (fixed Beaver Builder AI module output, not ours to add a wrapper div
   into) can stay stacked in column 1 while the toggle's own row -- wherever the patch above
   actually inserted it in the markup -- is pinned to column 2, spanning both text rows and
   right-aligned, without needing to touch the module's own two child elements individually.
   The module's own stylesheet (144-layout.css) already sets ".front-intro" to
   "display: flex" via a 3-class selector, which beat this file's plain ".front-intro" on
   specificity alone -- the toggle just ended up first in source order, i.e. on the left, with
   the title/subtitle wrapping below it rather than sitting beside it on the right. The
   !important below is what actually wins that fight, not source order. */
.front-intro { display: grid !important; grid-template-columns: 1fr auto; column-gap: 20px; align-items: center; }
.front-title { grid-column: 1; grid-row: 1; }
.front-sub { grid-column: 1; grid-row: 2; }
.front-intro .atechs-theme-toggle-row { grid-column: 2; grid-row: 1 / 3; justify-self: end; margin: 0; }
@media (max-width: 680px) {
	.front-intro { grid-template-columns: 1fr !important; }
	.front-intro .atechs-theme-toggle-row { grid-column: 1; grid-row: auto; justify-self: start; margin: 10px 0 0; }
}

/* The Home feed's own title bar (atechs_feed_titlebar_html(), render.php) -- literally the
   same markup and classes appletechs-member-theme/front-page.php hand-writes for #member-feed's
   title bar ("Feed"), so every per-theme rule below is copied verbatim from that theme's own
   member-theme CSS file rather than re-derived, and reads identically on both pages. Hidden
   under the default look, same as the Member Home Page's own title bars -- only a theme that
   explicitly turns it on (every rule below does) ever shows it. */
.win-titlebar { display: none; }
.win-close, .win-minimize, .win-zoom { display: none; }
/* Once a theme turns the title bar on, the feed box itself needs the same window chrome
   (background/border/radius/shadow) #member-feed gets on the Member Home Page -- otherwise
   the title bar has no "window" to sit on top of. Scoped to any active fun theme (not just
   "default", which has no theme-* body class at all, so this never touches that look). */
body[class*="theme-"] .atechs-feed { padding: 0 0 18px; }
body[class*="theme-"] .atechs-feed > *:not(.win-titlebar) { margin-left: 16px; margin-right: 16px; }

/* --- Classic (System 6/7) --- */
body.theme-classic { background-color: #c8c8c8; background-image: repeating-linear-gradient(45deg, rgba(0, 0, 0, 0.06) 0, rgba(0, 0, 0, 0.06) 1px, transparent 1px, transparent 3px); }
body.theme-classic .bb-theme-toggle { font-family: 'ChicagoFLF', Geneva, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 12px; font-weight: normal; color: #000; background: #fff; border: 1px solid #000; border-radius: 4px; box-shadow: 2px 2px 0 #000; }
body.theme-classic .bb-theme-toggle:hover { background: #eee; }
body.theme-classic .atechs-feed { background: #fff; border: 1px solid #000; border-radius: 0; box-shadow: none; }
body.theme-classic .atechs-item { background: #fff; border: 1px solid #000; border-radius: 0; box-shadow: none; font-family: 'ChicagoFLF', Geneva, 'Helvetica Neue', Helvetica, Arial, sans-serif; }
body.theme-classic .win-titlebar { display: flex; align-items: center; gap: 8px; height: 20px; margin: 3px 4px 0; padding: 0 4px; border-bottom: 1px solid #000; background: repeating-linear-gradient(#000 0, #000 1px, #fff 1px, #fff 3px); }
body.theme-classic .win-close { display: block; flex: none; width: 11px; height: 11px; background: #fff; border: 1px solid #000; }
body.theme-classic .win-title { display: block; flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: center; font-size: 12px; font-weight: bold; background: #fff; padding: 0 6px; }
body.theme-classic .atechs-btn, body.theme-classic .feed-tag, body.theme-classic .atechs-tag { background: #fff; color: #000; border: 1px solid #000; border-radius: 0; box-shadow: none; }
body.theme-classic .atechs-tabs a[aria-current="true"] { background: #000; color: #fff; }
body.theme-classic .feed-item-title a, body.theme-classic .feed-item-link { color: #000 !important; }
body.theme-classic img, body.theme-classic svg { filter: grayscale(1) contrast(1.15); }

/* --- Platinum (Mac OS 8/9) --- */
body.theme-platinum { background-color: #c6c6ce; }
body.theme-platinum .bb-theme-toggle { font-family: 'Charcoal', Geneva, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 12px; color: #000; background: linear-gradient(#fff, #e3e3e9 55%, #cfcfd8); border: 1px solid #84848c; border-radius: 9px; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset; }
body.theme-platinum .atechs-feed { background: #fff; border: 1px solid #84848c; border-radius: 8px; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 3px 10px rgba(0, 0, 0, 0.25); overflow: hidden; }
body.theme-platinum .win-titlebar { display: flex; align-items: center; gap: 6px; height: 22px; margin: 0; padding: 0 6px; border-bottom: 1px solid #84848c; background: repeating-linear-gradient(to bottom, rgba(0, 0, 0, 0.12) 0, rgba(0, 0, 0, 0.12) 1px, transparent 1px, transparent 3px), linear-gradient(#ececf2, #d4d4dc); }
body.theme-platinum .win-close, body.theme-platinum .win-zoom { display: block; flex: none; width: 13px; height: 13px; background: linear-gradient(#fff, #d8d8df 55%, #b8b8c2); border: 1px solid #6e6e76; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset; }
body.theme-platinum .win-close { border-radius: 50%; }
body.theme-platinum .win-zoom { border-radius: 3px; }
body.theme-platinum .win-title { display: block; flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: center; font-size: 12px; font-weight: bold; background: #ececf2; border-radius: 9px; padding: 2px 10px; margin: 0 2px; }
body.theme-platinum .atechs-item { background: #fff; border: 1px solid #84848c; border-radius: 8px; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 2px 4px rgba(0, 0, 0, 0.1); font-family: 'Charcoal', Geneva, 'Helvetica Neue', Helvetica, Arial, sans-serif; }
body.theme-platinum .atechs-btn, body.theme-platinum .feed-tag, body.theme-platinum .atechs-tag { background: linear-gradient(#fff, #e3e3e9 55%, #cfcfd8); color: #000; border: 1px solid #84848c; border-radius: 9px; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset; }
body.theme-platinum .atechs-tabs a[aria-current="true"] { background: linear-gradient(#3d7fe0, #0b4fc7 55%, #073e9e); color: #fff; }
body.theme-platinum .feed-item-title a, body.theme-platinum .feed-item-link { color: #0b4fc7 !important; }

/* --- Aqua (Mac OS X) --- */
body.theme-aqua { background: linear-gradient(180deg, #e4edf8 0%, #cddef2 45%, #a9c6e8 100%); }
body.theme-aqua .bb-theme-toggle { font-family: 'Lucida Grande', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 12px; color: #1a1a1a; background: linear-gradient(180deg, #ffffff 0%, #eef3f8 48%, #dbe6f0 52%, #eef3f8 100%); border: 1px solid #9fb6cc; border-radius: 999px; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset; }
body.theme-aqua .atechs-feed { position: relative; background: #fff; border: 1px solid #9fb6cc; border-radius: 12px; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 8px 24px rgba(20, 40, 70, 0.28); overflow: hidden; }
body.theme-aqua .win-titlebar { position: relative; display: flex; align-items: center; gap: 7px; height: 24px; margin: 0; padding: 0 10px; border-bottom: 1px solid #9fb6cc; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.5) 0, rgba(255, 255, 255, 0.5) 1px, transparent 1px, transparent 3px), linear-gradient(180deg, #f2f5f9 0%, #dde6ef 45%, #c9d7e6 100%); }
body.theme-aqua .win-close, body.theme-aqua .win-minimize, body.theme-aqua .win-zoom { display: block; flex: none; order: 0; width: 12px; height: 12px; border-radius: 50%; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3), 0 1px 0 rgba(255, 255, 255, 0.4); }
body.theme-aqua .win-close { background: radial-gradient(circle at 35% 30%, #ff8f87, #ec5c51 45%, #c9372c 100%); border: 1px solid #a82b22; order: 1; }
body.theme-aqua .win-minimize { background: radial-gradient(circle at 35% 30%, #ffe08f, #f0b429 45%, #c98a12 100%); border: 1px solid #a8710e; order: 2; }
body.theme-aqua .win-zoom { background: radial-gradient(circle at 35% 30%, #a3e68f, #4fb435 45%, #2e8a1c 100%); border: 1px solid #276e17; order: 3; }
body.theme-aqua .win-title { position: absolute; left: 0; right: 0; top: 0; bottom: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; font-weight: bold; color: #2a2a2a; pointer-events: none; order: 4; }
body.theme-aqua .atechs-item { background: #fff; border: 1px solid #9fb6cc; border-radius: 10px; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset, 0 3px 8px rgba(20, 40, 70, 0.15); font-family: 'Lucida Grande', 'Helvetica Neue', Helvetica, Arial, sans-serif; }
body.theme-aqua .atechs-btn, body.theme-aqua .feed-tag, body.theme-aqua .atechs-tag { background: linear-gradient(180deg, #ffffff 0%, #eef3f8 48%, #dbe6f0 52%, #eef3f8 100%); color: #1a1a1a; border: 1px solid #9fb6cc; border-radius: 999px; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset; }
body.theme-aqua .atechs-tabs a[aria-current="true"] { background: linear-gradient(180deg, #fafdff 0%, #cfe6fb 48%, #4f9fec 52%, #2f7fd6 100%); color: #fff; }
body.theme-aqua .feed-item-title a, body.theme-aqua .feed-item-link { color: #1a5fbf !important; }

/* --- Brushed Metal --- */
body.theme-metal { background-color: #9a9a9e; }
body.theme-metal .bb-theme-toggle { font-family: 'Lucida Grande', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 12px; color: #1a1a1a; background: linear-gradient(180deg, #ffffff 0%, #eceef0 48%, #d7d9dc 52%, #eceef0 100%); border: 1px solid #9a9a9e; border-radius: 999px; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset; }
body.theme-metal .atechs-feed { background: repeating-linear-gradient(to bottom, rgba(255, 255, 255, 0.07) 0, rgba(255, 255, 255, 0.07) 1px, rgba(0, 0, 0, 0.05) 1px, rgba(0, 0, 0, 0.05) 2px), linear-gradient(180deg, #d6d6d9 0%, #bcbcc0 50%, #c8c8cb 100%); border: 1px solid #6e6e72; border-radius: 9px; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.3) inset, 0 6px 18px rgba(0, 0, 0, 0.35); overflow: hidden; }
body.theme-metal .win-titlebar { position: relative; display: flex; align-items: center; gap: 7px; height: 26px; margin: 0; padding: 0 10px; border-bottom: 1px solid #6e6e72; background: repeating-linear-gradient(to bottom, rgba(255, 255, 255, 0.1) 0, rgba(255, 255, 255, 0.1) 1px, rgba(0, 0, 0, 0.08) 1px, rgba(0, 0, 0, 0.08) 2px), linear-gradient(180deg, #86868a 0%, #68686c 50%, #747478 100%); }
body.theme-metal .win-close, body.theme-metal .win-minimize, body.theme-metal .win-zoom { display: block; flex: none; width: 12px; height: 12px; border-radius: 50%; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.4), 0 1px 0 rgba(255, 255, 255, 0.25); }
body.theme-metal .win-close { background: radial-gradient(circle at 35% 30%, #ff8f87, #ec5c51 45%, #c9372c 100%); border: 1px solid #8a241c; order: 1; }
body.theme-metal .win-minimize { background: radial-gradient(circle at 35% 30%, #ffe08f, #f0b429 45%, #c98a12 100%); border: 1px solid #8a5f0a; order: 2; }
body.theme-metal .win-zoom { background: radial-gradient(circle at 35% 30%, #a3e68f, #4fb435 45%, #2e8a1c 100%); border: 1px solid #1f5e12; order: 3; }
body.theme-metal .win-title { position: absolute; left: 0; right: 0; top: 0; bottom: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; font-weight: bold; color: #f6f6f7; text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.65), 0 1px 0 rgba(255, 255, 255, 0.2); pointer-events: none; order: 4; }
body.theme-metal .atechs-item { background: #fff; border: 1px solid #9a9a9e; border-radius: 8px; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 2px 6px rgba(0, 0, 0, 0.12); font-family: 'Lucida Grande', 'Helvetica Neue', Helvetica, Arial, sans-serif; }
body.theme-metal .atechs-btn, body.theme-metal .feed-tag, body.theme-metal .atechs-tag { background: linear-gradient(180deg, #ffffff 0%, #eceef0 48%, #d7d9dc 52%, #eceef0 100%); color: #1a1a1a; border: 1px solid #9a9a9e; border-radius: 999px; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset; }
body.theme-metal .atechs-tabs a[aria-current="true"] { background: linear-gradient(180deg, #fafdff 0%, #cfe6fb 48%, #4f9fec 52%, #2f7fd6 100%); color: #fff; }
body.theme-metal .feed-item-title a, body.theme-metal .feed-item-link { color: #1a5fbf !important; }

/* --- Yosemite (Flat) --- */
body.theme-yosemite { background: linear-gradient(180deg, #4a90d9 0%, #a7c7e7 55%, #e8c88a 100%); }
body.theme-yosemite .bb-theme-toggle { font-family: -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 12px; color: #1d1d1f; background: #f5f5f7; border: 1px solid #e2e2e5; border-radius: 6px; box-shadow: none; }
body.theme-yosemite .atechs-feed { position: relative; background: #fff; border: 1px solid #e2e2e5; border-radius: 10px; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08); overflow: hidden; }
body.theme-yosemite .win-titlebar { position: relative; display: flex; align-items: center; gap: 8px; height: 22px; margin: 0; padding: 0 10px; border-bottom: 1px solid #e2e2e5; background: #f6f6f8; }
body.theme-yosemite .win-close, body.theme-yosemite .win-minimize, body.theme-yosemite .win-zoom { display: block; flex: none; order: 0; width: 11px; height: 11px; border-radius: 50%; box-shadow: none; }
body.theme-yosemite .win-close { background: #ff5f57; order: 1; }
body.theme-yosemite .win-minimize { background: #ffbd2e; order: 2; }
body.theme-yosemite .win-zoom { background: #28c940; order: 3; }
body.theme-yosemite .win-title { position: absolute; left: 0; right: 0; top: 0; bottom: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; font-weight: 500; color: #4d4d52; pointer-events: none; order: 4; }
body.theme-yosemite .atechs-item { background: #fff; border: 1px solid #e2e2e5; border-radius: 8px; box-shadow: none; font-family: -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif; }
body.theme-yosemite .atechs-btn, body.theme-yosemite .feed-tag, body.theme-yosemite .atechs-tag { background: #f5f5f7; color: #1d1d1f; border: 1px solid #e2e2e5; border-radius: 6px; box-shadow: none; }
body.theme-yosemite .atechs-tabs a[aria-current="true"] { background: #0a84ff; color: #fff; }
body.theme-yosemite .feed-item-title a, body.theme-yosemite .feed-item-link { color: #0a84ff !important; }

/* --- Big Sur (Modern) --- */
body.theme-bigsur { background: radial-gradient(120% 90% at 15% 0%, #6a7fd6 0%, #4a5aa8 38%, #2c2f5e 75%, #191a35 100%); }
/* The pill used to tint itself with translucent WHITE (rgba(255,255,255,.16)), which only
   reads right over a dark backdrop -- fine on the Member Home Page body's own dark gradient,
   but this same toggle also sits over light backgrounds elsewhere (the main site's white
   header, the hero row next to "The bench is open.", a Tech's own light-colored cover banner
   behind the Member Home Page's copy of this control). White-on-translucent-white over any of
   those is the "still white on light" bug -- fixed by tinting the glass dark instead, so the
   pill supplies its own contrast rather than borrowing the host background's. Same fix just
   below for Liquid Glass. */
body.theme-bigsur .bb-theme-toggle { font-family: -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 12px; font-weight: 600; color: #fff; background: rgba(25, 26, 53, 0.55); backdrop-filter: blur(20px) saturate(1.6); -webkit-backdrop-filter: blur(20px) saturate(1.6); border: 1px solid rgba(255, 255, 255, 0.28); border-radius: 999px; box-shadow: none; }
body.theme-bigsur .bb-theme-toggle:hover { background: rgba(25, 26, 53, 0.7); }
/* The dark-glass pill above is for the closed control only -- the dropdown's actual option
   list is the operating system's own native menu, which renders on its own (usually white or
   very light) background no matter what's set above, so dark text is what's needed there
   instead. */
body.theme-bigsur .bb-theme-toggle option { color: #1d1d1f; background: #fff; }
body.theme-bigsur .atechs-feed { position: relative; background: #fff; border: 1px solid rgba(0, 0, 0, 0.06); border-radius: 20px; box-shadow: 0 16px 40px rgba(20, 20, 50, 0.18); overflow: hidden; }
body.theme-bigsur .win-titlebar { position: relative; display: flex; align-items: center; gap: 8px; height: 38px; margin: 0; padding: 0 16px; border-bottom: 1px solid rgba(0, 0, 0, 0.06); background: rgba(246, 246, 248, 0.72); backdrop-filter: blur(20px) saturate(1.8); -webkit-backdrop-filter: blur(20px) saturate(1.8); }
body.theme-bigsur .win-close, body.theme-bigsur .win-minimize, body.theme-bigsur .win-zoom { display: block; flex: none; order: 0; width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.12); }
body.theme-bigsur .win-close { background: #ff5f57; order: 1; margin-left: 4px; }
body.theme-bigsur .win-minimize { background: #febc2e; order: 2; margin-left: 8px; }
body.theme-bigsur .win-zoom { background: #28c840; order: 3; margin-left: 8px; }
body.theme-bigsur .win-title { position: absolute; left: 0; right: 0; top: 0; bottom: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 600; color: #3a3a3c; pointer-events: none; order: 4; }
body.theme-bigsur .atechs-item { background: #fff; border: none; border-radius: 16px; box-shadow: 0 6px 18px rgba(20, 20, 50, 0.08); font-family: -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif; }
body.theme-bigsur .atechs-btn, body.theme-bigsur .feed-tag, body.theme-bigsur .atechs-tag { background: #f0f0f3; color: #1d1d1f; border: none; border-radius: 999px; box-shadow: none; }
body.theme-bigsur .atechs-tabs a[aria-current="true"] { background: #0071e3; color: #fff; }
body.theme-bigsur .feed-item-title a, body.theme-bigsur .feed-item-link { color: #0071e3 !important; }

/* --- Liquid Glass (new this round) --- */
body.theme-liquidglass { background-color: #1a1a2e; background-image: radial-gradient(130% 110% at 85% -10%, rgba(255, 128, 171, 0.55) 0%, transparent 55%), radial-gradient(120% 100% at 0% 10%, rgba(97, 201, 255, 0.55) 0%, transparent 50%), radial-gradient(110% 120% at 50% 100%, rgba(168, 123, 255, 0.5) 0%, transparent 55%); background-attachment: fixed; }
/* The Home page's own content sits inside the theme/page builder's own content wrapper, which
   paints its own (light) background over whatever body has behind it -- unlike the Member Home
   Page, which has nothing between .profile-header/etc. and body, so body's wash shows straight
   through there. Without this, every white-on-dark color choice below is white-on-the-theme's-
   default-light-background instead, which is unreadable -- the exact "white text doesn't work
   unless you have a darker background on the window" problem. So the feed box becomes its own
   dark glass "window" (same wash, lower opacity, rounded like every other glass panel here)
   rather than depending on body showing through. */
body.theme-liquidglass .atechs-feed { background-color: #1a1a2e; background-image: radial-gradient(130% 110% at 85% -10%, rgba(255, 128, 171, 0.4) 0%, transparent 55%), radial-gradient(120% 100% at 0% 10%, rgba(97, 201, 255, 0.4) 0%, transparent 50%), radial-gradient(110% 120% at 50% 100%, rgba(168, 123, 255, 0.35) 0%, transparent 55%); border-radius: 26px; padding: 0 0 22px; overflow: hidden; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 24px 60px rgba(10, 10, 30, 0.4); }
body.theme-liquidglass .win-titlebar { position: relative; display: flex; align-items: center; gap: 8px; height: 38px; margin: 0; padding: 0 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.16); background: transparent; }
body.theme-liquidglass .win-close, body.theme-liquidglass .win-minimize, body.theme-liquidglass .win-zoom { display: block; flex: none; order: 0; width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.3); }
body.theme-liquidglass .win-close { background: rgba(255, 95, 87, 0.85); box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.3), 0 0 6px rgba(255, 95, 87, 0.7); order: 1; margin-left: 4px; }
body.theme-liquidglass .win-minimize { background: rgba(254, 188, 46, 0.85); box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.3), 0 0 6px rgba(254, 188, 46, 0.7); order: 2; margin-left: 8px; }
body.theme-liquidglass .win-zoom { background: rgba(40, 200, 64, 0.85); box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.3), 0 0 6px rgba(40, 200, 64, 0.7); order: 3; margin-left: 8px; }
body.theme-liquidglass .win-title { position: absolute; left: 0; right: 0; top: 0; bottom: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 600; color: #fff; pointer-events: none; order: 4; }
body.theme-liquidglass .atechs-bar { border-bottom-color: rgba(255, 255, 255, 0.18); margin-top: 22px; }
body.theme-liquidglass .atechs-tabs a { color: rgba(255, 255, 255, 0.78); }
body.theme-liquidglass .atechs-tabs a:hover { color: #fff; }
/* Same "still white on light" fix as Big Sur just above: tint the glass dark instead of
   white, so this pill reads correctly over the main site's white header/hero or a light Tech
   cover color, not just over this theme's own dark body wash. */
body.theme-liquidglass .bb-theme-toggle { font-family: -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 12px; font-weight: 600; color: #fff; background: rgba(26, 26, 46, 0.55); backdrop-filter: blur(24px) saturate(2.1); -webkit-backdrop-filter: blur(24px) saturate(2.1); border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 999px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45); }
body.theme-liquidglass .bb-theme-toggle:hover { background: rgba(26, 26, 46, 0.7); }
body.theme-liquidglass .bb-theme-toggle option { color: #1d1d1f; background: #fff; }
body.theme-liquidglass .atechs-item { background: rgba(255, 255, 255, 0.12); backdrop-filter: blur(22px) saturate(1.8); -webkit-backdrop-filter: blur(22px) saturate(1.8); border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 18px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 10px 26px rgba(10, 10, 30, 0.25); color: #fff; font-family: -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif; }
body.theme-liquidglass .atechs-item a { color: rgba(255, 255, 255, 0.92); }
body.theme-liquidglass .atechs-btn, body.theme-liquidglass .feed-tag, body.theme-liquidglass .atechs-tag { background: rgba(255, 255, 255, 0.16); backdrop-filter: blur(16px) saturate(1.8); -webkit-backdrop-filter: blur(16px) saturate(1.8); color: #fff; border: 1px solid rgba(255, 255, 255, 0.24); border-radius: 999px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4); }
body.theme-liquidglass .atechs-tabs a[aria-current="true"] { background: rgba(97, 201, 255, 0.55); color: #fff; }
body.theme-liquidglass .feed-item-body, body.theme-liquidglass .feed-item-time, body.theme-liquidglass .feed-item-imported, body.theme-liquidglass .atechs-meta, body.theme-liquidglass .atechs-empty { color: #fff; }
body.theme-liquidglass .feed-item-category { background: rgba(255, 255, 255, 0.18); color: #fff; }
body.theme-liquidglass .feed-item-title a, body.theme-liquidglass .feed-item-link { color: #9be1ff !important; }
body.theme-liquidglass img { filter: saturate(1.1); }

/* --- BeOS (new this round) --- */
body.theme-beos { background: linear-gradient(180deg, #8d97ad 0%, #626e87 100%); }
body.theme-beos .bb-theme-toggle { font-family: 'Noto Sans', Helvetica, Arial, sans-serif; font-size: 12px; font-weight: bold; color: #3a2c0a; background: #f6c667; border: 1px solid #5a4418; border-radius: 3px; box-shadow: 1px 1px 0 rgba(0, 0, 0, 0.35); }
body.theme-beos .bb-theme-toggle:hover { background: #ffd886; }
body.theme-beos .atechs-feed { position: relative; background: #eff0f2; border: 1px solid #4a4f5c; border-radius: 0; box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.25); overflow: hidden; }
body.theme-beos .win-titlebar { position: relative; display: flex; align-items: center; gap: 8px; height: 22px; margin: 0; padding: 0 8px; border-bottom: 1px solid #4a4f5c; background: #f6c667; }
body.theme-beos .win-close, body.theme-beos .win-zoom { display: block; flex: none; width: 11px; height: 11px; background: #fff2d6; border: 1px solid #5a4418; border-radius: 0; }
body.theme-beos .win-close { order: 1; }
body.theme-beos .win-zoom { order: 3; margin-left: auto; }
body.theme-beos .win-title { display: block; order: 2; flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: left; font-size: 12px; font-weight: bold; color: #3a2c0a; }
body.theme-beos .atechs-item { background: #eff0f2; border: 1px solid #4a4f5c; border-radius: 0; box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.25); font-family: 'Noto Sans', Helvetica, Arial, sans-serif; }
body.theme-beos .atechs-btn, body.theme-beos .feed-tag, body.theme-beos .atechs-tag { background: #e3e5ea; color: #1a1c22; border: 1px solid #9ba0ad; border-radius: 2px; box-shadow: none; }
body.theme-beos .atechs-tabs a[aria-current="true"] { background: #f6c667; color: #3a2c0a; }
body.theme-beos .feed-item-title a, body.theme-beos .feed-item-link { color: #8a5a00 !important; }

/* --- Windows 1.0/2.0/3.0 (new this round) --- */
body.theme-win123 { background: #008080; }
body.theme-win123 .bb-theme-toggle { font-family: 'MS Sans Serif', Tahoma, Geneva, sans-serif; font-size: 12px; color: #000; background: #c0c0c0; border-radius: 0; box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 #000, inset 2px 2px 0 #dfdfdf, inset -2px -2px 0 #808080; }
body.theme-win123 .atechs-feed { position: relative; background: #c0c0c0; border-radius: 0; box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 #000, inset 2px 2px 0 #dfdfdf, inset -2px -2px 0 #808080; overflow: hidden; }
body.theme-win123 .win-titlebar { display: flex; align-items: center; gap: 4px; height: 20px; margin: 2px; padding: 0 4px; background: #000080; }
body.theme-win123 .win-minimize, body.theme-win123 .win-zoom { display: block; flex: none; width: 14px; height: 12px; background: #c0c0c0; box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 #000; }
body.theme-win123 .win-minimize { order: 2; }
body.theme-win123 .win-zoom { order: 3; }
body.theme-win123 .win-title { display: block; order: 1; flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: left; font-size: 12px; font-weight: bold; color: #fff; margin-right: auto; }
body.theme-win123 .atechs-item { background: #c0c0c0; border-radius: 0; box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 #000; font-family: 'MS Sans Serif', Tahoma, Geneva, sans-serif; }
body.theme-win123 .atechs-btn, body.theme-win123 .feed-tag, body.theme-win123 .atechs-tag { background: #c0c0c0; color: #000; border-radius: 0; box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 #000; }
body.theme-win123 .atechs-tabs a[aria-current="true"] { background: #000080; color: #fff; }
body.theme-win123 .feed-item-title a, body.theme-win123 .feed-item-link { color: #000080 !important; }

/* --- Windows 95 (new this round) --- */
body.theme-win95 { background: #008080; }
body.theme-win95 .bb-theme-toggle { font-family: Tahoma, 'MS Sans Serif', Geneva, sans-serif; font-size: 12px; color: #000; background: #c0c0c0; border-radius: 0; box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 #000, inset 2px 2px 0 #dfdfdf, inset -2px -2px 0 #808080; }
body.theme-win95 .atechs-feed { position: relative; background: #c0c0c0; border-radius: 0; box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 #000, inset 2px 2px 0 #dfdfdf, inset -2px -2px 0 #808080; overflow: hidden; }
body.theme-win95 .win-titlebar { display: flex; align-items: center; gap: 2px; height: 20px; margin: 2px; padding: 0 3px; background: linear-gradient(90deg, #000080 0%, #1084d0 100%); }
body.theme-win95 .win-close, body.theme-win95 .win-minimize, body.theme-win95 .win-zoom { display: flex; align-items: center; justify-content: center; flex: none; width: 16px; height: 14px; background: #c0c0c0; box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 #000; font-family: Tahoma, 'MS Sans Serif', Geneva, sans-serif; font-size: 10px; font-weight: bold; line-height: 1; color: #000; }
body.theme-win95 .win-minimize { order: 2; }
body.theme-win95 .win-minimize::before { content: '_'; transform: translateY(3px); }
body.theme-win95 .win-zoom { order: 3; }
body.theme-win95 .win-zoom::before { content: '\25A1'; font-size: 8px; }
body.theme-win95 .win-close { order: 4; }
body.theme-win95 .win-close::before { content: '\2715'; font-size: 9px; }
body.theme-win95 .win-title { display: block; order: 1; flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: left; font-size: 12px; font-weight: bold; color: #fff; padding-left: 2px; }
body.theme-win95 .atechs-item { background: #c0c0c0; border-radius: 0; box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 #000; font-family: Tahoma, 'MS Sans Serif', Geneva, sans-serif; }
body.theme-win95 .atechs-btn, body.theme-win95 .feed-tag, body.theme-win95 .atechs-tag { background: #c0c0c0; color: #000; border-radius: 0; box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 #000; }
body.theme-win95 .atechs-tabs a[aria-current="true"] { background: #000080; color: #fff; }
body.theme-win95 .feed-item-title a, body.theme-win95 .feed-item-link { color: #000080 !important; }

/* --- Windows XP/Vista/7 (new this round) --- */
body.theme-winxpvista7 { background: linear-gradient(180deg, #3a7bc8 0%, #7ab9e8 42%, #bfe0a8 72%, #6ba847 100%); }
body.theme-winxpvista7 .bb-theme-toggle { font-family: Tahoma, 'Segoe UI', Verdana, sans-serif; font-size: 12px; font-weight: bold; color: #fff; background: linear-gradient(180deg, #5ba3e8 0%, #2a6fc9 48%, #1a4fa0 52%, #3a7bd5 100%); border: 1px solid #14336b; border-radius: 999px; box-shadow: 0 1px 2px rgba(10, 30, 60, 0.4); }
body.theme-winxpvista7 .bb-theme-toggle:hover { background: linear-gradient(180deg, #78b9f5 0%, #3a83dd 48%, #2660b5 52%, #4f90e0 100%); }
/* Same reason as Big Sur/Liquid Glass -- the toggle's own white text is for the closed pill
   only, the open dropdown is the OS's native menu on its own light background. */
body.theme-winxpvista7 .bb-theme-toggle option { color: #000; background: #fff; }
body.theme-winxpvista7 .atechs-feed { position: relative; background: rgba(255, 255, 255, 0.88); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border: 1px solid #6f9bd1; border-radius: 10px 10px 4px 4px; box-shadow: 0 8px 20px rgba(20, 40, 80, 0.25); overflow: hidden; }
body.theme-winxpvista7 .win-titlebar { position: relative; display: flex; align-items: center; gap: 4px; height: 26px; margin: 0; padding: 0 6px; border-radius: 9px 9px 0 0; background: linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0) 45%), linear-gradient(180deg, #5ba3e8 0%, #2a6fc9 55%, #1a4fa0 100%); }
body.theme-winxpvista7 .win-close, body.theme-winxpvista7 .win-minimize, body.theme-winxpvista7 .win-zoom { display: flex; align-items: center; justify-content: center; flex: none; width: 20px; height: 18px; border-radius: 4px; font-size: 10px; font-weight: bold; line-height: 1; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
body.theme-winxpvista7 .win-minimize { order: 2; margin-left: auto; background: linear-gradient(180deg, #e9f2fc 0%, #b9d4ef 48%, #8fb6e0 52%, #c3dcf3 100%); border: 1px solid #5f84ad; color: #1a3a5c; }
body.theme-winxpvista7 .win-minimize::before { content: '_'; transform: translateY(2px); }
body.theme-winxpvista7 .win-zoom { order: 3; background: linear-gradient(180deg, #e9f2fc 0%, #b9d4ef 48%, #8fb6e0 52%, #c3dcf3 100%); border: 1px solid #5f84ad; color: #1a3a5c; }
body.theme-winxpvista7 .win-zoom::before { content: '\25A1'; font-size: 9px; }
body.theme-winxpvista7 .win-close { order: 4; background: linear-gradient(180deg, #ff9d8a 0%, #e8513a 48%, #c23420 52%, #ea6650 100%); border: 1px solid #8a2010; color: #fff; }
body.theme-winxpvista7 .win-close::before { content: '\2715'; }
body.theme-winxpvista7 .win-title { display: block; order: 1; flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: left; font-size: 12px; font-weight: bold; color: #fff; text-shadow: 0 1px 1px rgba(0, 0, 0, 0.4); padding-left: 2px; }
body.theme-winxpvista7 .atechs-item { background: rgba(255, 255, 255, 0.88); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border: 1px solid #6f9bd1; border-radius: 10px 10px 4px 4px; box-shadow: 0 8px 20px rgba(20, 40, 80, 0.25); font-family: Tahoma, 'Segoe UI', Verdana, sans-serif; }
body.theme-winxpvista7 .atechs-btn, body.theme-winxpvista7 .feed-tag, body.theme-winxpvista7 .atechs-tag { background: linear-gradient(180deg, #ffffff 0%, #e4edf8 48%, #c7d9ee 52%, #e4edf8 100%); color: #1a3a5c; border: 1px solid #8fb0d4; border-radius: 999px; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset; }
body.theme-winxpvista7 .atechs-tabs a[aria-current="true"] { background: linear-gradient(180deg, #a6e079 0%, #5fa933 48%, #3f7f1e 52%, #76c24a 100%); color: #fff; }
body.theme-winxpvista7 .feed-item-title a, body.theme-winxpvista7 .feed-item-link { color: #1a4fa0 !important; }

/* --- Windows 8/10 (new this round) --- */
body.theme-win810 { background: #0078d4; }
body.theme-win810 .bb-theme-toggle { font-family: 'Segoe UI', Tahoma, Verdana, sans-serif; font-size: 12px; font-weight: 600; color: #fff; background: #0078d4; border: 1px solid #005a9e; border-radius: 0; box-shadow: none; }
body.theme-win810 .bb-theme-toggle:hover { background: #006cbe; }
body.theme-win810 .bb-theme-toggle option { color: #000; background: #fff; }
body.theme-win810 .atechs-feed { position: relative; background: #fff; border: 1px solid #d2d2d2; border-radius: 0; box-shadow: none; overflow: hidden; }
body.theme-win810 .win-titlebar { display: flex; align-items: center; height: 32px; margin: 0; padding: 0 0 0 10px; border-bottom: 1px solid #0078d4; background: #fff; }
body.theme-win810 .win-close, body.theme-win810 .win-minimize, body.theme-win810 .win-zoom { display: flex; align-items: center; justify-content: center; flex: none; width: 32px; height: 32px; border-radius: 0; font-size: 11px; line-height: 1; color: #1a1a1a; }
body.theme-win810 .win-minimize { order: 2; margin-left: auto; }
body.theme-win810 .win-minimize::before { content: '\2014'; font-size: 9px; transform: translateY(-5px); }
body.theme-win810 .win-zoom { order: 3; }
body.theme-win810 .win-zoom::before { content: '\25A1'; font-size: 10px; }
body.theme-win810 .win-close { order: 4; background: #e81123; color: #fff; }
body.theme-win810 .win-close::before { content: '\2715'; }
body.theme-win810 .win-title { display: block; order: 1; flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: left; font-size: 12px; font-weight: normal; color: #1a1a1a; }
body.theme-win810 .atechs-item { background: #fff; border: 1px solid #d2d2d2; border-radius: 0; box-shadow: none; font-family: 'Segoe UI', Tahoma, Verdana, sans-serif; }
body.theme-win810 .atechs-btn, body.theme-win810 .feed-tag, body.theme-win810 .atechs-tag { background: #f3f3f3; color: #000; border: 1px solid #d2d2d2; border-radius: 0; box-shadow: none; }
body.theme-win810 .atechs-tabs a[aria-current="true"] { background: #0078d4; color: #fff; }
body.theme-win810 .feed-item-title a, body.theme-win810 .feed-item-link { color: #0078d4 !important; }

/* --- Windows 11 (new this round) --- */
body.theme-win11 { background-color: #cfe3f2; background-image: radial-gradient(120% 90% at 10% -10%, rgba(140, 190, 245, 0.7) 0%, transparent 55%), radial-gradient(110% 100% at 100% 10%, rgba(130, 220, 210, 0.6) 0%, transparent 55%), radial-gradient(120% 110% at 50% 110%, rgba(170, 160, 230, 0.55) 0%, transparent 55%); background-attachment: fixed; }
body.theme-win11 .bb-theme-toggle { font-family: 'Segoe UI', 'Segoe UI Variable', Tahoma, sans-serif; font-size: 12px; font-weight: 600; color: #1a1a1a; background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border: 1px solid rgba(0, 0, 0, 0.08); border-radius: 999px; box-shadow: 0 1px 3px rgba(20, 40, 70, 0.1); }
body.theme-win11 .bb-theme-toggle:hover { background: rgba(255, 255, 255, 0.85); }
body.theme-win11 .atechs-feed { position: relative; background: rgba(249, 249, 249, 0.82); backdrop-filter: blur(24px) saturate(1.3); -webkit-backdrop-filter: blur(24px) saturate(1.3); border: 1px solid rgba(0, 0, 0, 0.06); border-radius: 14px; box-shadow: 0 12px 32px rgba(20, 40, 70, 0.14); overflow: hidden; }
body.theme-win11 .win-titlebar { display: flex; align-items: center; height: 36px; margin: 0; padding: 0 0 0 14px; border-bottom: 1px solid rgba(0, 120, 212, 0.35); border-radius: 13px 13px 0 0; background: rgba(255, 255, 255, 0.5); }
body.theme-win11 .win-close, body.theme-win11 .win-minimize, body.theme-win11 .win-zoom { display: flex; align-items: center; justify-content: center; flex: none; width: 34px; height: 34px; border-radius: 6px; font-size: 10px; line-height: 1; color: #1a1a1a; }
body.theme-win11 .win-minimize { order: 2; margin-left: auto; }
body.theme-win11 .win-minimize::before { content: '\2014'; font-size: 9px; transform: translateY(-5px); }
body.theme-win11 .win-zoom { order: 3; }
body.theme-win11 .win-zoom::before { content: '\25A1'; font-size: 10px; }
body.theme-win11 .win-close { order: 4; border-radius: 6px 13px 0 0; }
body.theme-win11 .win-close::before { content: '\2715'; }
body.theme-win11 .win-title { display: block; order: 1; flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: left; font-size: 12px; font-weight: 600; color: #1a1a1a; }
body.theme-win11 .atechs-item { background: rgba(249, 249, 249, 0.82); backdrop-filter: blur(24px) saturate(1.3); -webkit-backdrop-filter: blur(24px) saturate(1.3); border: 1px solid rgba(0, 0, 0, 0.06); border-radius: 14px; box-shadow: 0 12px 32px rgba(20, 40, 70, 0.14); font-family: 'Segoe UI', 'Segoe UI Variable', Tahoma, sans-serif; }
body.theme-win11 .atechs-btn, body.theme-win11 .feed-tag, body.theme-win11 .atechs-tag { background: rgba(255, 255, 255, 0.65); color: #1a1a1a; border: 1px solid rgba(0, 0, 0, 0.07); border-radius: 8px; box-shadow: none; }
body.theme-win11 .atechs-tabs a[aria-current="true"] { background: #0067c0; color: #fff; }
body.theme-win11 .feed-item-title a, body.theme-win11 .feed-item-link { color: #0067c0 !important; }

/* =====================================================================================
 * Presser Network footer strip -- shared chrome below the site's own footer, every page,
 * every theme (this isn't one of the fun-theme skins' own concerns, so it isn't scoped to
 * any body.theme-* class the way the rules above are). Deliberately understated: it's a
 * network credit, not a second footer competing with the site's own branding above it.
 * Markup is the exact pn-* snippet Cameron supplied from the live Presser Network strip
 * (atechs_presser_network_footer_html(), helpers.php) -- these classes aren't defined
 * anywhere else on this site, so they're styled fresh here rather than reusing .footer-*.
 * Colors/sizing below are sampled directly from Cameron's reference screenshot of the real
 * strip (navy #18406d, solid orange top line #de6435, peach tagline #f3cbb1, blue-gray copy
 * #cdd7e4), logo + text left-aligned together rather than centered as the first pass had it.
 * The wordmark SVG's own "P" glyph is solid white (fill="#FFFFFF" in the markup), which is
 * why this needs a dark background of its own -- same "white text needs a dark window"
 * lesson as the Liquid Glass fix above, just already solved correctly by building the strip
 * that way from the start. */
.pn-footer { position: relative; background: #18406d; padding: 26px 0; }
.pn-footer-bar { position: absolute; top: 0; left: 0; right: 0; height: 4px; background: #de6435; }
.pn-footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 10px 22px; text-align: left; }
.pn-footer-home { display: inline-flex; flex: none; }
.pn-footer-logo { height: 44px; width: auto; display: block; }
.pn-footer-text { text-align: left; }
.pn-tag { margin: 0; font-size: 0.8125rem; font-weight: 700; color: #f3cbb1; letter-spacing: 0.08em; text-transform: uppercase; }
.pn-copy { margin: 6px 0 0; font-size: 0.9375rem; color: #cdd7e4; }
