/* Biznesowiec — shared interface. Design decisions: /DESIGN.md */
/* 1. Foundations */
@font-face { font-family: 'Lato'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/Lato-Regular-ext.woff2') format('woff2'); unicode-range: U+0100-02FF, U+0304, U+0308, U+0329, U+1D00-1EFF, U+2020, U+20A0-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Lato'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/Lato-Regular.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Lato'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/Lato-Bold-ext.woff2') format('woff2'); unicode-range: U+0100-02FF, U+0304, U+0308, U+0329, U+1D00-1EFF, U+2020, U+20A0-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Lato'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/Lato-Bold.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Lato'; font-style: normal; font-weight: 900; font-display: swap; src: url('/assets/Lato-Black-ext.woff2') format('woff2'); unicode-range: U+0100-02FF, U+0304, U+0308, U+0329, U+1D00-1EFF, U+2020, U+20A0-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Lato'; font-style: normal; font-weight: 900; font-display: swap; src: url('/assets/Lato-Black.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
    --white: #fff;
    --surface: #f4f5f6;
    --surface-hover: #f8f9fa;
    --ink: #24282c;
    --muted: #606970;
    --line: #dfe3e6;
    --signal: #ffb600;
    --signal-hover: #f0aa00;
    --signal-soft: #fff3cc;
    --positive: #167047;
    --positive-soft: #edf7f1;
    --negative: #b53737;
    --negative-soft: #fff0ef;
    --font-body: 'Lato', 'Segoe UI', sans-serif;
    --font-heading: var(--font-body);
    --color-primary: var(--signal);
    --color-text: var(--ink);
    --color-text-light: var(--muted);
    --color-border: var(--line);
    --color-bg: var(--white);
    --color-white: var(--white);
    --header-height: 84px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 105px; }
body { margin: 0; color: var(--ink); background: var(--white); font: 400 16px/1.6 var(--font-body); -webkit-font-smoothing: antialiased; display: flex; flex-direction: column; min-height: 100vh; }
body.modal-open { overflow: hidden; }
#main-content { flex: 1; min-width: 0; }
img, svg { vertical-align: middle; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, [type="submit"] { cursor: pointer; }
button { color: inherit; }
input, select, textarea { max-width: 100%; }
input[type="checkbox"], input[type="radio"] { width: 17px; height: 17px; accent-color: var(--ink); flex-shrink: 0; }
[hidden] { display: none !important; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(32px, 3.3vw, 48px); letter-spacing: -.035em; }
h2 { font-size: 28px; letter-spacing: -.025em; }
h3 { font-size: 20px; letter-spacing: -.015em; }
small { font-size: 13px; }
strong, b { font-weight: 700; }
ul, ol { padding-left: 22px; }
fieldset { min-width: 0; margin: 0; border: 0; padding: 0; }
legend { padding: 0; }
::selection { background: var(--signal-soft); color: var(--ink); }
:focus-visible { outline: 3px solid #2673ad; outline-offset: 3px; }
.container { width: min(100%, 1560px); margin: 0 auto; padding: 0 40px; }
.container--detail, .container--contractor-profile { max-width: 1400px; }
.skip-link { position: fixed; left: 20px; top: -100px; background: var(--ink); color: white; padding: 10px 18px; z-index: 1000; border-radius: 6px; }
.skip-link:focus { top: 12px; }
.btn, .header__primary-action { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 11px 20px; border: 1px solid transparent; border-radius: 6px; font-size: 14px; line-height: 1.35; font-weight: 700; text-align: center; text-decoration: none; transition: background-color .15s, border-color .15s; }
.btn--primary, .header__primary-action { color: #222; background: var(--signal); border-color: var(--signal); }
.btn--primary:hover, .header__primary-action:hover { color: #222; background: var(--signal-hover); border-color: var(--signal-hover); }
.btn--outline { color: var(--ink); background: white; border-color: #bfc5ca; }
.btn--outline:hover { color: var(--ink); background: var(--surface); border-color: #8f979e; }
.btn--text { background: transparent; color: var(--ink); padding: 8px; text-decoration: underline; text-underline-offset: 4px; }
.btn--text:hover { background: var(--surface); }
.btn--danger { color: var(--negative); border-color: #e7c4c3; background: white; }
.btn--danger:hover { background: var(--negative-soft); }
.btn--lg { min-height: 50px; padding: 14px 24px; font-size: 15px; }
.btn--sm { min-height: 36px; padding: 8px 13px; font-size: 13px; }
.btn--block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.text-link { font-size: 14px; font-weight: 700; display: inline-flex; gap: 12px; align-items: center; text-decoration: underline; text-underline-offset: 5px; }
.text-link:hover { text-decoration-thickness: 2px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 9px; color: var(--muted); font-size: 13px; margin-bottom: 28px; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb > span:last-child { color: var(--ink); }
.category-label { font-size: 13px; color: var(--muted); }
.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 26px; }
.section-heading p { color: var(--muted); margin-top: 8px; font-size: 15px; }
.section-heading > a { flex-shrink: 0; }
.section-footer { padding-top: 26px; text-align: center; }
.empty-state, .market-v2-empty, .profile-empty-state { padding: 48px 24px; background: var(--surface); border-radius: 10px; text-align: center; }
.empty-state p, .market-v2-empty p, .profile-empty-state p { color: var(--muted); margin: 12px 0 20px; }
.empty-state a { display: inline-block; margin-top: 12px; text-decoration: underline; }

/* 2. Site navigation and footer */
.header { position: sticky; top: 0; z-index: 100; background: white; border-bottom: 1px solid var(--line); }
.header__inner { min-height: var(--header-height); display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.header__logo { flex-shrink: 0; }
.header__logo-img { display: block; width: 155px; height: auto; }
.header__nav { display: flex; align-items: center; gap: 26px; }
.header__link { font-size: 14px; font-weight: 700; padding: 12px 0; white-space: nowrap; color: #50575d; }
.header__link:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 7px; }
.header__link--active { color: var(--ink); text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: 3px; text-underline-offset: 8px; }
.header__user { display: flex; gap: 22px; align-items: center; border-left: 1px solid var(--line); padding-left: 24px; }
.header__link--user { display: flex; align-items: center; gap: 10px; max-width: 210px; overflow: hidden; text-overflow: ellipsis; }
.header__avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--signal-soft); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; flex: 0 0 32px; overflow: hidden; }
.header__avatar img { width: 100%; height: 100%; object-fit: cover; }
.header__create-menu { position: relative; }
.header__primary-action { padding: 10px 18px; }
.header__primary-action-icon { font-size: 19px; line-height: 1; }
.header__create-menu-panel { position: absolute; top: calc(100% + 8px); right: 0; width: 190px; padding: 6px; border: 1px solid var(--line); border-radius: 8px; background: white; box-shadow: 0 10px 30px #24282c1a; visibility: hidden; opacity: 0; transform: translateY(-3px); transition: opacity .15s, transform .15s, visibility .15s; }
.header__create-menu-panel::before { content: ''; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.header__create-menu.is-open .header__create-menu-panel { visibility: visible; opacity: 1; transform: none; }
.header__create-menu-panel a { display: block; padding: 10px 12px; font-size: 14px; font-weight: 700; border-radius: 4px; }
.header__create-menu-panel a:hover { background: var(--surface); }
.header__burger, .header__overlay { display: none; }
#wpadminbar { min-height: 32px; background: #24282c; color: #e9edef; display: flex; align-items: center; justify-content: space-between; padding: 0 25px; font-size: 12px; }
#wpadminbar .quicklinks { display: flex; gap: 24px; }
#wpadminbar .ab-item { padding: 5px 0; }
#wpadminbar .ab-icon { display: none; }
.footer { border-top: 1px solid var(--line); background: white; padding-top: 48px; }
.footer-clean__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 70px; padding-bottom: 42px; }
.footer-clean__logo { width: 143px; display: block; margin-bottom: 18px; }
.footer-clean__brand p { color: var(--muted); font-size: 14px; max-width: 330px; }
.footer-clean__label { font-size: 14px; font-weight: 700; margin-bottom: 14px; }
.footer-clean__links a { display: block; width: fit-content; color: var(--muted); font-size: 14px; margin-top: 7px; }
.footer-clean__links a:hover { color: var(--ink); text-decoration: underline; }
.footer-clean__bottom { display: flex; justify-content: space-between; gap: 24px; padding-top: 18px; padding-bottom: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }

/* 3. Homepage: routes, actual listings and materials */
.home-intro { padding: 70px 0 66px; }
.home-intro__layout { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 80px; }
.home-intro h1 { font-size: clamp(38px, 4.2vw, 60px); max-width: 690px; line-height: 1.08; letter-spacing: -.04em; font-weight: 900; }
.home-intro__copy > p { max-width: 500px; color: var(--muted); margin: 24px 0 28px; line-height: 1.65; }
.home-intro__copy > .home-intro__note { font-size: 13px; margin: 18px 0 0; }
.home-intro__note a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.home-destinations { display: grid; gap: 10px; }
.home-destination { display: flex; align-items: center; gap: 22px; padding: 25px; border: 1px solid var(--line); border-radius: 10px; background: white; transition: border-color .15s, background-color .15s; }
.home-destination:hover { border-color: #9fa7ad; background: var(--surface-hover); }
.home-destination > svg { width: 32px; height: 32px; flex: 0 0 32px; }
.home-destination strong { display: block; font-size: 18px; }
.home-destination small { display: block; margin-top: 5px; color: var(--muted); }
.home-destination__arrow { margin-left: auto; font-size: 24px; }
.home-destination--featured { background: var(--signal); border-color: var(--signal); }
.home-destination--featured:hover { background: var(--signal-hover); border-color: var(--signal-hover); }
.home-destination--featured small { color: #3f3b2e; }
.home-library { background: var(--surface); padding: 42px 0; }
.home-categories { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.home-category { background: white; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; display: flex; align-items: center; gap: 16px; padding: 14px; transition: border-color .15s; }
.home-category:hover { border-color: #979fa6; }
.home-category__image { width: 70px; height: 78px; flex: 0 0 70px; border-radius: 5px; overflow: hidden; background: var(--surface); }
.home-category img { width: 100%; height: 100%; object-fit: cover; }
.home-category h3 { font-size: 16px; letter-spacing: -.015em; }
.home-category p { margin-top: 5px; font-size: 12px; color: var(--muted); line-height: 1.5; }
.home-market, .home-projects { padding: 58px 0; }
.home-projects { padding-top: 10px; padding-bottom: 65px; }
.home-offers { border-top: 1px solid var(--line); }
.home-offer { display: grid; grid-template-columns: minmax(0, 1fr) 170px 135px; gap: 32px; align-items: center; padding: 24px 18px; border-bottom: 1px solid var(--line); transition: background-color .15s; }
.home-offer:hover { background: var(--surface-hover); }
.home-offer h3 { font-size: 21px; margin: 4px 0 7px; }
.home-offer:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
.home-offer__copy p { color: var(--muted); font-size: 14px; }
.home-offer__price strong, .home-offer__price span, .home-offer__activity span, .home-offer__activity time { display: block; }
.home-offer__price strong { font-size: 19px; }
.home-offer__price span, .home-offer__activity { font-size: 13px; color: var(--muted); }
.home-offer__activity { text-align: right; }
.home-offer__activity span { margin-top: 7px; }
.home-project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.home-project { border: 1px solid var(--line); border-radius: 10px; padding: 25px; display: flex; flex-direction: column; transition: border-color .15s; }
.home-project:hover { border-color: #949da4; }
.home-project h3 { font-size: 22px; margin: 14px 0 12px; line-height: 1.3; }
.home-project p { color: var(--muted); font-size: 14px; margin-bottom: 26px; }
.home-project__budget { font-size: 20px; margin-top: auto; }
.home-project footer { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 12px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.home-publish { background: var(--signal-soft); padding: 36px 0; }
.home-publish__inner { display: flex; justify-content: space-between; gap: 32px; align-items: center; }
.home-publish h2 { font-size: 26px; }
.home-publish p { margin-top: 7px; font-size: 14px; color: #575345; }
.home-publish__actions { display: flex; gap: 12px; flex-shrink: 0; }

/* 4. Forms and feedback */
.form-group { min-width: 0; margin-bottom: 20px; }
.form-label, .admin-field > span { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 700; }
.form-label--spaced { margin-top: 18px; }
.form-input { display: block; width: 100%; min-height: 46px; border: 1px solid #bcc4ca; border-radius: 6px; padding: 11px 13px; background: white; color: var(--ink); line-height: 1.5; transition: border-color .15s; }
.form-input:hover { border-color: #87929a; }
.form-input:focus { border-color: #2673ad; outline: 2px solid #2673ad26; outline-offset: 0; }
.form-input::placeholder { color: #7a838b; opacity: 1; }
.form-textarea { resize: vertical; min-height: 120px; }
.form-textarea--compact { min-height: 95px; }
.form-select { appearance: auto; padding-right: 28px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.form-row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.form-group--full { grid-column: 1 / -1; }
.form-group--span-2 { grid-column: span 2; }
.form-hint, .form-help, .admin-field__hint { font-size: 12px; color: var(--muted); display: block; margin-top: 7px; }
.form-error { color: var(--negative); font-size: 13px; margin-top: 6px; }
.form-input-wrapper { position: relative; }
.form-input-wrapper .form-input { padding-right: 48px; }
.form-input-toggle { position: absolute; right: 6px; top: 5px; width: 36px; height: 36px; display: grid; place-items: center; border: 0; background: transparent; }
.form-input-toggle svg { width: 19px; }
.form-file { position: relative; }
.form-file input[type="file"], .admin-file-upload input[type="file"], .account-upload input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.form-file label, .admin-file-upload label { border: 1px dashed #aeb8bf; border-radius: 6px; padding: 25px; display: flex; flex-direction: column; align-items: center; gap: 5px; cursor: pointer; background: var(--surface-hover); }
.form-file label:hover, .admin-file-upload label:hover { background: var(--surface); }
.form-file input:focus-visible + label, .admin-file-upload input:focus-visible + label { outline: 3px solid #2673ad; outline-offset: 3px; }
.form-file__icon { font-size: 24px; }
.form-file__text { font-weight: 700; }
.form-file__hint, .admin-file-upload small { font-size: 12px; color: var(--muted); }
.image-preview { display: none; margin-top: 16px; }
.image-preview.active { display: block; }
.image-preview img { max-height: 260px; border-radius: 6px; object-fit: contain; }
.flash-stack { position: fixed; right: 24px; top: 100px; z-index: 500; display: grid; gap: 10px; width: min(420px, calc(100vw - 40px)); pointer-events: none; }
.flash { display: flex; align-items: center; gap: 12px; background: white; padding: 16px 18px; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 8px 25px #24282c1f; font-size: 14px; pointer-events: auto; animation: flash-in .25s ease-out both; }
.flash--success { color: var(--positive); background: var(--positive-soft); border-color: #b7dcc6; }
.flash--error { color: var(--negative); background: var(--negative-soft); border-color: #efc3c0; }
.flash--warning { background: var(--signal-soft); }
.flash__icon { font-size: 20px; }
.flash__text { flex: 1; }
.flash__close { background: none; border: 0; padding: 4px; font-size: 22px; color: inherit; }
.flash--leaving { animation: flash-out .35s ease-in both; }
@keyframes flash-in { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: none; } }
@keyframes flash-out { to { opacity: 0; transform: translateX(30px); } }

/* 5. Marketplace and shop indexes */
.market-v2, .shop-page-clean { padding: 44px 0 72px; }
.market-v2__header, .shop-page-clean__header { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; padding-bottom: 34px; margin-bottom: 32px; border-bottom: 1px solid var(--line); }
.market-v2__header h1, .shop-page-clean__header h1 { font-size: 42px; }
.market-v2__header p, .shop-page-clean__header p { color: var(--muted); margin-top: 12px; max-width: 620px; font-size: 15px; }
.market-v2__header-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.market-v2__count, .market-v2__login-link, .shop-page-clean__count { font-size: 13px; color: var(--muted); }
.market-v2__layout, .shop-layout { display: grid; grid-template-columns: 272px minmax(0, 1fr); gap: 42px; }
.market-v2__sidebar, .shop-sidebar { align-self: start; min-width: 0; position: static; }
.market-v2-filter, .job-status-filter { border-bottom: 1px solid var(--line); padding-bottom: 22px; margin-bottom: 26px; }
.market-v2-filter__heading, .job-status-filter__heading { padding: 0 12px 14px; }
.market-v2-filter__heading strong, .job-status-filter__heading strong { font-size: 16px; }
.market-v2-filter__heading small, .job-status-filter__heading small { display: block; color: var(--muted); margin-top: 4px; font-size: 12px; }
.market-v2-filter__nav, .shop-nav { display: grid; gap: 3px; }
.market-v2-filter__link, .shop-nav__link { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 42px; padding: 10px 12px; border-radius: 5px; font-size: 14px; }
.market-v2-filter__link:hover, .shop-nav__link:hover { background: var(--surface); }
.market-v2-filter__link--active, .shop-nav__link--active { background: var(--signal-soft); font-weight: 700; }
.market-v2-filter__link--active:hover, .shop-nav__link--active:hover { background: var(--signal-soft); }
.market-v2-filter__link > span, .shop-nav__link > span:last-child { font-size: 12px; color: var(--muted); }
.job-status-filter__option { display: flex; align-items: center; gap: 10px; padding: 8px 12px; font-size: 14px; cursor: pointer; }
.job-status-filter__option input { margin: 0; }
.job-status-filter__option strong { font-weight: 400; }
.job-status-filter__option small { margin-left: auto; color: var(--muted); }
.job-status-filter__check { display: none; }
.job-status-filter__submit { border: 0; background: transparent; padding: 10px 12px 0; text-decoration: underline; text-underline-offset: 3px; color: var(--muted); font-size: 12px; }
.market-v2__content, .shop-content { min-width: 0; }
.market-v2__results-bar, .shop-content__meta { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 0 0 16px; font-size: 13px; }
.market-v2__results-bar > span, .shop-content__meta > span { color: var(--muted); }
.market-v2__cards { display: grid; gap: 14px; }
.market-v2-card { display: flex; gap: 22px; border: 1px solid var(--line); border-radius: 9px; padding: 24px; background: white; transition: background-color .15s, border-color .15s; }
.market-v2-card:hover { border-color: #a6afb6; background: #fcfcfd; }
.market-v2-card--status-in_progress { border-color: #df9200; }
.market-v2-card--status-in_progress:hover { border-color: #bd7b00; }
.market-v2-card--status-completed { border-color: #cf6464; }
.market-v2-card--status-completed:hover { border-color: #b53737; }
.market-v2-card__media { width: 132px; min-height: 128px; flex: 0 0 132px; border-radius: 5px; overflow: hidden; background: var(--surface); }
.market-v2-card__media img { width: 100%; height: 100%; object-fit: cover; }
.market-v2-card__content { flex: 1; min-width: 0; }
.market-v2-card__meta, .market-v2-card__meta-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.market-v2-card__meta { justify-content: space-between; margin-bottom: 12px; }
.market-v2-card__category { font-size: 13px; color: var(--muted); }
.market-v2-card__status { font-size: 11px; padding: 2px 7px; border-radius: 3px; background: var(--surface); }
.market-v2-card__status--open { color: var(--positive); background: var(--positive-soft); }
.market-v2-card__status--in_progress { background: var(--signal-soft); color: #805400; }
.market-v2-card__status--completed { background: var(--negative-soft); color: var(--negative); }
.market-v2-card__meta time { font-size: 12px; color: var(--muted); }
.market-v2-card h2 { font-size: 23px; margin-bottom: 9px; }
.market-v2-card:hover h2 { text-decoration: underline; text-underline-offset: 4px; }
.market-v2-card__content > p { color: var(--muted); font-size: 14px; }
.market-v2-card footer { display: flex; align-items: center; gap: 18px; margin-top: 22px; font-size: 13px; }
.market-v2-card footer strong { font-size: 17px; }
.market-v2-card footer > span { color: var(--muted); }
.market-v2-card footer b { margin-left: auto; font-size: 12px; font-weight: 400; }
.market-v2-card footer i { font-style: normal; margin-left: 6px; }
.pagination, .market-v2__pagination, .admin-pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 28px; }
.pagination a, .market-v2__pagination a, .admin-pagination a { display: grid; place-items: center; min-width: 38px; min-height: 38px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 5px; font-size: 13px; }
.pagination__link--active, .market-v2__pagination-link--active, .admin-pagination__link--active { background: var(--signal-soft); border-color: var(--signal) !important; font-weight: 700; }
.shop-sidebar h2 { font-size: 17px; margin: 0 12px 18px; }
.cards-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.shop-products-grid.is-loading { opacity: .5; }
.shop-empty-state { grid-column: 1 / -1; }
.product-card { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; background: white; transition: border-color .15s; }
.product-card:hover { border-color: #98a2a9; }
.product-card__media { height: 180px; background: var(--surface); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; }
.product-card__media--empty { padding: 24px; align-items: flex-end; justify-content: flex-start; background: #e9edf0; color: #565f66; font-size: 16px; }
.product-card__content { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.product-card:not(:has(.product-card__media)) .product-card__content { padding: 26px; min-height: 265px; }
.product-card__category { color: var(--muted); font-size: 12px; }
.product-card h2 { font-size: 20px; margin: 8px 0 12px; line-height: 1.3; }
.product-card__excerpt { font-size: 13px; color: var(--muted); margin-bottom: 22px; }
.product-card__footer { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 16px; border-top: 1px solid var(--line); }
.product-card__footer strong { font-size: 20px; }
.product-card__footer > span { font-size: 13px; }

/* 6. Single listings, jobs and offers */
.detail-page, .shop-product-view { padding: 32px 0 70px; }
.detail-clean-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 32px; }
.detail-main { min-width: 0; }
.detail-clean-header { padding: 0 0 28px; }
.detail-clean-header__category, .product-view__category { display: inline-block; font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.detail-clean-header h1 { font-size: clamp(30px, 3vw, 43px); max-width: 900px; margin-bottom: 28px; line-height: 1.16; }
.detail-publisher { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.detail-publisher__avatar, .response-item__avatar, .pending-rating-card__avatar, .profile-modal__avatar, .admin-user-cell__avatar { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; overflow: hidden; flex: 0 0 44px; background: #e9edf0; color: var(--ink); font-weight: 700; }
.detail-publisher__avatar img, .response-item__avatar img, .pending-rating-card__avatar img, .profile-modal__avatar img, .admin-user-cell__avatar img { width: 100%; height: 100%; object-fit: cover; }
.detail-publisher__identity { min-width: 110px; }
.detail-publisher__identity small, .detail-publisher__stats small { display: block; color: var(--muted); font-size: 11px; }
.detail-publisher__identity strong { font-size: 14px; }
.detail-publisher__stats { display: flex; gap: 24px; margin-left: auto; }
.detail-publisher__stats strong { font-size: 12px; font-weight: 400; }
.detail-facts { display: flex; flex-wrap: wrap; gap: 35px; padding: 22px 25px; background: var(--surface); border-radius: 8px; margin-bottom: 30px; }
.detail-facts span { display: block; color: var(--muted); font-size: 12px; margin-bottom: 5px; }
.detail-facts strong { display: block; font-size: 18px; }
.detail-copy { padding-bottom: 32px; }
.detail-copy h2 { font-size: 22px; margin-bottom: 18px; }
.detail-copy > div { line-height: 1.8; font-size: 15px; overflow-wrap: anywhere; max-width: 78ch; }
.detail-side-panel { align-self: start; }
.detail-side-panel__card { padding: 24px; border: 1px solid var(--line); border-radius: 9px; background: white; overflow-wrap: anywhere; }
.detail-side-panel__card > span { display: block; font-size: 15px; font-weight: 700; }
.detail-side-panel__card p { font-size: 14px; margin: 14px 0; }
.detail-side-panel__muted { color: var(--muted); }
.detail-side-panel__back { font-size: 13px; display: block; margin-top: 20px; color: var(--muted); }
.detail-side-panel__back:hover { text-decoration: underline; }
.detail-image { margin: 0 0 28px; }
.detail-image img { max-height: 470px; border-radius: 8px; object-fit: contain; }
.response-section { padding-top: 28px; border-top: 1px solid var(--line); }
.response-section__heading { margin-bottom: 22px; }
.response-section__heading h2 { display: flex; align-items: center; gap: 12px; font-size: 25px; }
.response-section__heading h2 > span, .contractor-reviews h2 > span { display: inline-flex; align-items: center; justify-content: center; min-width: 27px; height: 27px; padding: 0 7px; font-size: 13px; font-weight: 700; border-radius: 5px; background: var(--surface); letter-spacing: 0; }
.response-list { display: grid; gap: 14px; }
.response-item { display: flex; align-items: flex-start; gap: 16px; padding: 22px; border: 1px solid var(--line); border-radius: 9px; background: white; }
.response-item > div { min-width: 0; flex: 1; }
.response-item__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 14px; }
.response-item__meta a:hover { text-decoration: underline; }
.response-item__meta time { font-size: 12px; color: var(--muted); }
.response-item p { margin-top: 10px; font-size: 15px; overflow-wrap: anywhere; }
.job-offer-card--selected { border: 2px solid var(--positive); padding: 21px; }
.job-offer-card__top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.job-offer-card__selected-badge { background: var(--positive-soft); color: var(--positive); padding: 4px 8px; border-radius: 4px; font-size: 11px; font-weight: 700; }
.job-offer-card__footer { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 18px; margin-top: 20px; }
.job-offer-card__footer-main { min-width: 0; }
.job-offer-summary { display: flex; gap: 24px; flex-wrap: wrap; margin-bottom: 14px; }
.job-offer-summary__item { font-size: 12px; }
.job-offer-summary__item small { display: block; font-size: 11px; color: var(--muted); margin-bottom: 3px; }
.job-offer-summary__item--positive { color: var(--positive); }
.job-offer-summary__item--alternative { color: #805400; }
.contractor-rating-summary { display: flex; align-items: center; gap: 8px; }
.contractor-rating-summary .btn { margin-left: 5px; }
.rating-pill, .rating-icon { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 5px 8px; border-radius: 5px; font-size: 12px; font-weight: 700; }
.rating-pill--positive, .rating-icon--positive, .rating-choice--positive, .is-positive { color: var(--positive); }
.rating-pill--negative, .rating-icon--negative, .rating-choice--negative, .is-negative { color: var(--negative); }
.rating-pill--positive, .rating-icon--positive { background: var(--positive-soft); }
.rating-pill--negative, .rating-icon--negative { background: var(--negative-soft); }
.rating-thumb { width: 15px; height: 15px; fill: currentColor; }
.rating-thumb--down { transform: rotate(180deg); }
.job-offer-private { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-bottom: 12px; }
.job-offer-private > span { display: inline-block; width: 100px; height: 13px; background: #c4cacf; filter: blur(4px); user-select: none; }
.job-offer-private small { font-size: 11px; color: var(--muted); }
.response-form { padding: 26px; margin-top: 28px; border: 1px solid var(--line); border-radius: 9px; }
.response-form > label { display: block; font-weight: 700; font-size: 19px; margin-bottom: 16px; }
.response-form > .btn { margin-top: 20px; }
.job-offer-form__questions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 24px; }
.job-offer-form__questions fieldset { padding: 16px; border: 1px solid var(--line); border-radius: 6px; }
.job-offer-form__questions legend { font-weight: 700; font-size: 13px; padding: 0 5px; }
.job-offer-form__questions fieldset > label { display: flex; gap: 8px; align-items: flex-start; font-size: 12px; margin: 8px 0; }
.job-offer-form__questions input[type="radio"] { margin: 1px 0 0; }
.job-offer-form__conditional { padding-top: 12px; }
.job-offer-form__conditional label { font-size: 12px; display: block; margin-bottom: 6px; }
.response-section__empty, .response-section__login { color: var(--muted); padding: 20px 0; font-size: 14px; }
.response-section__login a { text-decoration: underline; color: var(--ink); }
.detail-owner-tools { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-top: 24px; margin-top: 30px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.detail-owner-tools > div { display: flex; gap: 10px; }

/* 7. Product details */
.product-view { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.product-view__top { display: grid; grid-template-columns: 1fr 1fr; }
.product-view--text .product-view__top { display: block; background: var(--surface-hover); }
.product-view--text .product-view__summary { display: grid; grid-template-columns: minmax(0, 1fr) 280px; column-gap: 55px; padding: 40px; }
.product-view--text .product-view__summary h1 { grid-column: 1; max-width: 700px; margin-bottom: 16px; }
.product-view--text .product-view__category { grid-column: 1; }
.product-view--text .product-view__meta { grid-column: 1; }
.product-view--text .product-view__purchase { grid-column: 2; grid-row: 1 / 4; flex-direction: column; align-items: stretch; justify-content: center; margin: 0; padding: 0 0 0 32px; border-top: 0; border-left: 1px solid var(--line); }
.product-view--text .product-view__benefits { grid-column: 1 / -1; margin-top: 24px; }
.product-view__media { margin: 0; min-height: 350px; background: var(--surface); display: flex; align-items: center; justify-content: center; }
.product-view__media > img { width: 100%; height: 100%; max-height: 510px; object-fit: contain; }
.product-view__media-empty { display: flex; align-items: flex-end; width: 100%; height: 100%; padding: 40px; min-height: 350px; color: #6b757d; }
.product-view__summary { padding: 42px; align-self: center; }
.product-view__summary h1 { font-size: clamp(28px, 3vw, 43px); margin-bottom: 18px; }
.product-view__meta { display: flex; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: 12px; }
.product-view__purchase { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.product-view__price span { display: block; color: var(--muted); font-size: 12px; }
.product-view__price strong { display: block; font-size: 29px; margin-top: 3px; white-space: nowrap; }
.product-view__benefits { padding: 0; list-style: none; color: var(--muted); font-size: 12px; margin: 20px 0 0; }
.product-view__body { padding: 36px 42px; border-top: 1px solid var(--line); }
.product-view__body h2 { font-size: 24px; margin-bottom: 20px; }
.product-view__admin { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 42px; background: var(--surface); font-size: 12px; color: var(--muted); }
.rich-content { overflow-wrap: anywhere; font-size: 16px; line-height: 1.8; }
.rich-content p { margin: 0 0 18px; }
.rich-content h2, .rich-content h3, .rich-content h4 { margin: 28px 0 14px; }
.rich-content table { width: 100%; border-collapse: collapse; }
.rich-content td, .rich-content th { border: 1px solid var(--line); padding: 10px; }
.rich-content a { color: #205f91; text-decoration: underline; }
.rich-content img { max-width: 100%; height: auto; }
.rich-content::after { content: ''; display: block; clear: both; }

/* 8. Publishing forms */
.publish-clean { padding: 32px 0 70px; background: var(--surface); }
.publish-clean__container { max-width: 1080px; }
.publish-clean__back { font-size: 13px; color: var(--muted); }
.publish-clean__header { margin: 26px 0 30px; }
.publish-clean__header h1 { font-size: 38px; margin-bottom: 12px; }
.publish-clean__header > span { display: block; font-size: 15px; color: var(--muted); }
.publish-clean__form { background: white; border: 1px solid var(--line); border-radius: 10px; }
.publish-clean__section { padding: 32px; border-bottom: 1px solid var(--line); }
.publish-clean__section-head { margin-bottom: 24px; }
.publish-clean__section-head h2 { font-size: 22px; }
.publish-clean__section-head p { color: var(--muted); font-size: 13px; margin-top: 6px; }
.publish-clean__fields { display: grid; gap: 20px; }
.publish-clean__fields--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.publish-clean__fields--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.publish-clean__wide { grid-column: 1 / -1; }
.publish-clean__fields .form-group { margin: 0; }
.publish-clean__note-field { color: var(--muted); font-size: 13px; background: var(--surface); padding: 18px; border-radius: 6px; }
.publish-clean__actions { display: flex; align-items: center; justify-content: flex-end; gap: 12px; padding: 24px 32px; }
.publish-clean__price { position: relative; }
.publish-clean__price span { position: absolute; right: 14px; top: 13px; color: var(--muted); font-size: 13px; }
.publish-clean__price input { padding-right: 55px; }

/* 9. Account settings and owned publications */
.profile-page { padding: 32px 0 70px; background: var(--surface); }
.profile-hero { display: flex; align-items: center; gap: 22px; padding: 28px 32px; border: 1px solid var(--line); border-radius: 10px; background: white; margin-bottom: 32px; }
.profile-hero__avatar, .account-avatar-preview { width: 82px; height: 82px; flex: 0 0 82px; border-radius: 50%; overflow: hidden; background: #e9edf0; display: grid; place-items: center; font-size: 28px; font-weight: 700; }
.profile-hero__avatar img, .account-avatar-preview img { width: 100%; height: 100%; object-fit: cover; }
.profile-hero__content h1 { font-size: 27px; letter-spacing: -.02em; }
.profile-hero__content p { color: var(--muted); font-size: 14px; margin: 4px 0; }
.profile-hero__content > span { color: var(--muted); font-size: 12px; }
.profile-hero__link { display: inline-block; font-size: 12px; margin-left: 16px; text-decoration: underline; text-underline-offset: 3px; }
.profile-hero__stats { display: flex; gap: 38px; margin-left: auto; padding-left: 28px; border-left: 1px solid var(--line); }
.profile-hero__stats strong { display: block; font-size: 26px; }
.profile-hero__stats span { font-size: 12px; color: var(--muted); }
.profile-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 32px; }
.profile-sidebar { position: static; align-self: start; }
.profile-nav { display: grid; gap: 3px; }
.profile-nav__link { display: flex; align-items: center; gap: 10px; padding: 13px 14px; border-radius: 6px; font-size: 14px; }
.profile-nav__link:hover { background: #e9edf0; }
.profile-nav__link--active { background: white; font-weight: 700; box-shadow: inset 0 0 0 1px var(--line); }
.profile-nav__link--active:hover { background: white; }
.profile-nav__count { margin-left: auto; color: var(--muted); font-size: 12px; }
.profile-content { min-width: 0; }
.profile-content__heading { margin-bottom: 25px; }
.profile-content__heading h2 { font-size: 29px; }
.profile-content__heading p { color: var(--muted); font-size: 14px; margin-top: 8px; }
.profile-content__heading--split { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.account-settings { display: grid; gap: 20px; }
.account-card { padding: 28px; background: white; border: 1px solid var(--line); border-radius: 9px; }
.account-card__heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.account-card__heading h3 { font-size: 21px; }
.account-card__heading p { color: var(--muted); font-size: 13px; margin-top: 7px; max-width: 630px; }
.account-avatar-preview { width: 68px; height: 68px; flex-basis: 68px; font-size: 24px; }
.account-form--inline { display: flex; gap: 16px; align-items: center; }
.account-form--inline .form-group { flex: 1; margin: 0; }
.account-upload { position: relative; flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 16px; border: 1px dashed #aeb8bf; border-radius: 6px; background: var(--surface-hover); cursor: pointer; }
.account-upload:focus-within { outline: 3px solid #2673ad; outline-offset: 3px; }
.account-upload strong { font-size: 14px; }
.account-upload small, .account-upload span { font-size: 12px; color: var(--muted); }
.account-form-section { margin-bottom: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.account-form-section legend { padding: 0 12px 0 0; font-size: 16px; font-weight: 700; }
.account-form-section .form-row { margin-top: 18px; }
.account-form > .form-group { max-width: 440px; }
.account-form-section .form-group--full { margin-top: 10px; }
.account-form__actions { display: flex; gap: 14px; }
.account-checkbox { display: flex; gap: 9px; margin-top: 12px; font-size: 12px; align-items: flex-start; }
.account-checkbox input { margin: 3px 0 0; }
.account-checkbox small { display: block; font-size: 11px; color: var(--muted); }
.profile-manage-list, .pending-rating-list { display: grid; gap: 14px; }
.profile-manage-item { display: flex; justify-content: space-between; align-items: center; gap: 24px; background: white; border: 1px solid var(--line); border-radius: 9px; padding: 24px; }
.profile-manage-item__topline { display: flex; gap: 12px; font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.profile-manage-item h3 { font-size: 20px; }
.profile-manage-item p { font-size: 12px; color: var(--muted); margin-top: 8px; }
.profile-manage-item__actions { display: flex; gap: 8px; align-items: center; }
.card__status { font-size: 11px; border-radius: 3px; background: var(--surface); padding: 2px 7px; }
.card__status--active, .card__status--open { background: var(--positive-soft); color: var(--positive); }
.card__status--in_progress { background: var(--signal-soft); color: #805400; }
.card__status--completed { background: var(--negative-soft); color: var(--negative); }
.pending-rating-card { background: white; padding: 26px; border: 1px solid var(--line); border-radius: 9px; }
.pending-rating-card header { display: flex; gap: 16px; align-items: center; margin-bottom: 24px; }
.pending-rating-card header small { font-size: 12px; color: var(--muted); }
.pending-rating-card header p { font-size: 14px; margin-top: 6px; }
.rating-form fieldset { margin-bottom: 22px; }
.rating-form legend { font-size: 14px; font-weight: 700; margin-bottom: 12px; }
.rating-choice { display: inline-flex; gap: 10px; align-items: center; padding: 10px 15px; border: 1px solid var(--line); border-radius: 6px; margin-right: 10px; font-size: 14px; cursor: pointer; }
.rating-choice:has(input:checked) { border-color: currentColor; background: var(--surface-hover); }

/* 10. Contractor public profile and review modal */
.contractor-profile { padding: 30px 0 60px; }
.contractor-hero { display: flex; align-items: center; justify-content: space-between; gap: 38px; border-bottom: 1px solid var(--line); padding: 16px 0 36px; margin-bottom: 36px; }
.contractor-hero__main { display: flex; gap: 26px; align-items: center; min-width: 0; }
.contractor-avatar { width: 120px; height: 120px; flex: 0 0 120px; border-radius: 50%; background: #e9edf0; display: grid; place-items: center; font-size: 42px; font-weight: 700; overflow: hidden; }
.contractor-avatar img { width: 100%; height: 100%; object-fit: cover; }
.contractor-hero h1 { font-size: 40px; margin: 10px 0 7px; }
.contractor-hero__title { font-size: 18px; }
.contractor-hero__meta { display: flex; flex-wrap: wrap; gap: 16px; color: var(--muted); font-size: 12px; margin-top: 12px; }
.contractor-availability { display: flex; gap: 7px; align-items: center; font-size: 12px; color: var(--positive); }
.contractor-availability > span, .contractor-status-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--positive); flex-shrink: 0; }
.contractor-availability--limited { color: #896000; }
.contractor-availability--limited > span, .contractor-status-dot--limited { background: #d69300; }
.contractor-availability--unavailable { color: var(--muted); }
.contractor-availability--unavailable > span, .contractor-status-dot--unavailable { background: var(--muted); }
.contractor-hero__side { min-width: 280px; padding-left: 35px; border-left: 1px solid var(--line); }
.contractor-hero__side-label { font-size: 12px; color: var(--muted); margin-bottom: 12px; }
.contractor-score { display: flex; gap: 30px; margin-bottom: 20px; }
.contractor-score strong { display: block; font-size: 25px; }
.contractor-score span { color: var(--muted); font-size: 12px; }
.contractor-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 64px; }
.contractor-main { min-width: 0; }
.contractor-section { padding-bottom: 32px; margin-bottom: 30px; border-bottom: 1px solid var(--line); }
.contractor-section h2 { font-size: 24px; margin-bottom: 18px; }
.contractor-rich-copy { font-size: 15px; line-height: 1.85; max-width: 780px; overflow-wrap: anywhere; }
.contractor-empty { color: var(--muted); font-size: 14px; }
.contractor-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.contractor-tags span { background: var(--surface); border-radius: 4px; padding: 7px 12px; font-size: 13px; }
.contractor-portfolio { display: grid; gap: 8px; }
.contractor-portfolio a { display: flex; align-items: center; gap: 16px; padding: 15px 18px; border: 1px solid var(--line); border-radius: 5px; font-size: 14px; }
.contractor-portfolio a:hover { background: var(--surface); }
.contractor-portfolio a > span:last-child { margin-left: auto; }
.contractor-portfolio a > span:first-child { color: var(--muted); font-size: 12px; }
.contractor-reviews__header { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 6px; }
.contractor-reviews__header h2 { display: flex; align-items: center; gap: 12px; }
.contractor-reviews__header > p { font-size: 12px; color: var(--muted); }
.contractor-review { display: flex; align-items: flex-start; gap: 14px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.contractor-review:last-child { border: 0; }
.contractor-review > div { flex: 1; min-width: 0; }
.contractor-review__top { display: flex; justify-content: space-between; gap: 18px; font-size: 14px; }
.contractor-review time { font-size: 12px; color: var(--muted); }
.contractor-review p { font-size: 14px; margin: 12px 0; overflow-wrap: anywhere; }
.contractor-review footer { display: flex; flex-wrap: wrap; gap: 14px; font-size: 12px; color: var(--muted); }
.contractor-review footer a { text-decoration: underline; text-underline-offset: 3px; }
.contractor-contact-card, .contractor-links-card, .contractor-profile-notice { padding: 24px; background: var(--surface); border-radius: 8px; margin-bottom: 18px; }
.contractor-contact-card h2 { font-size: 18px; }
.contractor-contact-card dl { margin: 18px 0 0; }
.contractor-contact-card dl > div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.contractor-contact-card dl > div:last-child { border: 0; padding-bottom: 0; }
.contractor-contact-card dt { font-size: 12px; color: var(--muted); }
.contractor-contact-card dd { margin: 3px 0 0; font-size: 14px; }
.contractor-status-dot { margin-right: 6px; }
.contractor-links-card a { display: block; position: relative; padding-right: 20px; margin-bottom: 16px; overflow-wrap: anywhere; }
.contractor-links-card a:last-child { margin-bottom: 0; }
.contractor-links-card a > span { display: block; font-size: 12px; color: var(--muted); }
.contractor-links-card strong { font-size: 14px; }
.contractor-links-card i { position: absolute; right: 0; top: 12px; font-style: normal; }
.contractor-profile-notice { font-size: 13px; }
.contractor-profile-notice p { color: var(--muted); margin-top: 8px; }
.contractor-profile-cta { display: flex; justify-content: space-between; gap: 30px; align-items: center; background: var(--signal-soft); padding: 28px 32px; border-radius: 9px; margin-top: 22px; }
.contractor-profile-cta p { font-size: 13px; margin-bottom: 8px; }
.contractor-profile-cta h2 { font-size: 22px; }
.contractor-profile-cta .btn { flex-shrink: 0; }
.contractor-empty-state { display: flex; gap: 16px; padding: 20px 0; }
.contractor-empty-state h3 { font-size: 18px; }
.contractor-empty-state p { color: var(--muted); font-size: 14px; margin-top: 6px; }
.profile-modal { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; padding: 24px; opacity: 0; transition: opacity .18s; }
.profile-modal.is-open { opacity: 1; }
.profile-modal__backdrop { position: absolute; inset: 0; background: #10182080; border: 0; width: 100%; height: 100%; }
.profile-modal__dialog { position: relative; width: min(600px, 100%); max-height: calc(100dvh - 48px); overflow-y: auto; background: white; border-radius: 12px; padding: 32px; box-shadow: 0 15px 60px #0003; }
.profile-modal__close { position: absolute; right: 12px; top: 10px; width: 34px; height: 34px; background: transparent; border: 0; font-size: 28px; }
.profile-modal__user { display: flex; align-items: center; gap: 16px; padding-right: 24px; }
.profile-modal__avatar { width: 60px; height: 60px; flex-basis: 60px; font-size: 24px; }
.profile-modal__user h3 { font-size: 24px; margin: 4px 0; }
.profile-modal__user p, .profile-modal__user small { color: var(--muted); font-size: 12px; }
.profile-modal__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; background: var(--surface); padding: 20px; border-radius: 6px; margin: 24px 0; }
.profile-modal__stats strong, .profile-modal__stats span { display: block; }
.profile-modal__stats strong { font-size: 24px; }
.profile-modal__stats span { font-size: 12px; color: var(--muted); }
.profile-modal__bio { font-size: 14px; margin-bottom: 24px; }
.profile-modal__reviews h4 { font-size: 17px; margin-bottom: 14px; }
.profile-modal__reviews article { display: flex; gap: 12px; align-items: flex-start; padding: 15px 0; border-top: 1px solid var(--line); font-size: 13px; }
.profile-modal__reviews article p { margin: 7px 0; }
.profile-modal__reviews article small, .profile-modal__empty { font-size: 12px; color: var(--muted); }
.profile-modal__full-link { margin-top: 22px; }

/* 11. Authentication */
.auth { padding: 55px 20px 70px; background: var(--surface); }
.auth__card { width: min(100%, 460px); margin: 0 auto; padding: 36px; background: white; border: 1px solid var(--line); border-radius: 10px; }
.auth__header { margin-bottom: 26px; }
.auth__header h1, .auth__title { font-size: 30px; }
.auth__subtitle { color: var(--muted); font-size: 14px; margin-top: 10px; }
.auth__icon { display: none; }
.auth__form .btn { width: 100%; }
.auth__footer { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); text-align: center; font-size: 13px; color: var(--muted); }
.auth__footer a { color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.auth__terms { font-size: 12px; color: var(--muted); margin: 16px 0; }
.password-strength { height: 4px; background: var(--surface); border-radius: 2px; margin-top: 8px; display: none; }
.password-strength.active { display: block; }
.password-strength__bar { height: 100%; border-radius: 2px; transition: width .15s; }

/* 12. Administration */
.admin-page { padding: 32px 0 65px; background: var(--surface); }
.container--admin { max-width: 1680px; }
.admin-layout { display: grid; grid-template-columns: 245px minmax(0, 1fr); gap: 35px; }
.admin-sidebar { align-self: start; position: static; }
.admin-sidebar__brand { padding: 10px 12px 24px; border-bottom: 1px solid #d5dbe0; margin-bottom: 20px; }
.admin-sidebar__brand strong { display: block; font-size: 14px; }
.admin-sidebar__brand div > span { font-size: 12px; color: var(--muted); }
.admin-nav__label { color: var(--muted); font-size: 12px; margin: 24px 12px 8px; }
.admin-nav__link { display: flex; padding: 10px 12px; font-size: 14px; border-radius: 5px; margin-bottom: 2px; }
.admin-nav__link:hover { color: var(--ink); background: #e7ebee; }
.admin-nav__link--active { color: var(--ink); background: white; font-weight: 700; box-shadow: inset 0 0 0 1px #d4dbe0; }
.admin-nav__link--active:hover { background: white; }
.admin-sidebar__create { display: block; text-align: center; padding: 12px; margin-top: 24px; font-weight: 700; font-size: 13px; border: 1px solid #bac3ca; border-radius: 5px; background: white; }
.admin-sidebar__create:hover { background: var(--signal-soft); }
.admin-content { min-width: 0; }
.admin-page-header { display: flex; justify-content: space-between; gap: 25px; align-items: center; margin: 7px 0 28px; }
.admin-page-header h1 { font-size: 35px; }
.admin-page-header p { color: var(--muted); font-size: 14px; max-width: 740px; margin-top: 10px; }
.admin-page-header__actions { display: flex; gap: 10px; flex-shrink: 0; }
.admin-back-link { font-size: 12px; color: var(--muted); display: inline-block; margin-bottom: 16px; }
.admin-panel, .admin-manage-card, .admin-form-card, .admin-role-card, .admin-chart-card { background: white; border: 1px solid var(--line); border-radius: 9px; }
.admin-panel, .admin-form-card { padding: 26px; margin-bottom: 22px; }
.admin-panel__heading, .admin-manage-card__bar { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.admin-panel h2, .admin-form-card h2 { font-size: 21px; }
.admin-panel__link { font-size: 12px; text-decoration: underline; }
.admin-panel__eyebrow { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.admin-panel__hint, .admin-panel__empty { font-size: 12px; color: var(--muted); margin-top: 20px; }
.admin-panel__empty span { display: block; margin-top: 6px; }
.admin-manage-card { overflow: hidden; }
.admin-manage-card__bar { padding: 18px 24px; border-bottom: 1px solid var(--line); font-size: 13px; }
.admin-manage-card__bar > span { color: var(--muted); font-size: 12px; }
.admin-user-search { display: flex; gap: 12px; padding: 24px; border-bottom: 1px solid var(--line); }
.admin-user-search .form-input { flex: 1; min-width: 0; }
.admin-manage-table-wrap, .table-responsive { overflow-x: auto; }
.admin-manage-table, .admin-table { border-collapse: collapse; width: 100%; text-align: left; font-size: 13px; }
.admin-manage-table th, .admin-table th { padding: 14px 22px; color: var(--muted); font-size: 12px; background: #fafbfc; border-bottom: 1px solid var(--line); font-weight: 700; white-space: nowrap; }
.admin-manage-table td, .admin-table td { padding: 18px 22px; border-bottom: 1px solid var(--line); }
.admin-manage-table tr:last-child td { border: 0; }
.admin-manage-table tbody tr:hover { background: #fcfcfd; }
.admin-manage-table__actions { text-align: right; white-space: nowrap; }
.admin-manage-table__actions form { display: inline-block; }
.admin-user-cell { display: flex; align-items: center; gap: 12px; min-width: 190px; }
.admin-user-cell__avatar { width: 38px; height: 38px; flex-basis: 38px; }
.admin-user-cell small { display: block; color: var(--muted); font-size: 11px; margin-top: 4px; }
.admin-role-badge, .admin-status-badge { background: var(--surface); padding: 4px 8px; border-radius: 4px; font-size: 11px; }
.admin-role-badge--admin { background: var(--signal-soft); }
.admin-pagination { padding: 0 20px 20px; }
.admin-form-card__heading { margin-bottom: 24px; }
.admin-form-card__heading p { color: var(--muted); font-size: 13px; margin-top: 7px; }
.admin-form-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.admin-field { display: block; min-width: 0; }
.admin-field--wide { grid-column: 1 / -1; }
.admin-field > span b { color: var(--negative); }
.admin-field small { color: var(--muted); font-weight: 400; }
.admin-media-row { display: flex; align-items: center; gap: 25px; }
.admin-file-upload { position: relative; flex: 1; }
.admin-file-upload__icon { font-size: 24px; }
.admin-media-row__note { font-size: 13px; color: var(--muted); flex: 1; }
.admin-image-preview img { width: 150px; height: 100px; object-fit: contain; }
.admin-image-preview span { display: block; color: var(--muted); font-size: 12px; text-align: center; }
.admin-form-submit { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px; border: 1px solid var(--line); background: white; border-radius: 9px; }
.admin-form-submit__actions { display: flex; gap: 12px; }
.admin-switch { position: relative; display: flex; align-items: center; gap: 12px; cursor: pointer; font-size: 13px; }
.admin-switch > input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.admin-switch__track { display: flex; align-items: center; width: 36px; height: 22px; flex: 0 0 36px; padding: 3px; border-radius: 11px; background: #a8b1b8; }
.admin-switch__track > span { background: white; width: 16px; height: 16px; border-radius: 50%; transition: transform .15s; }
.admin-switch input:checked + .admin-switch__track { background: var(--positive); }
.admin-switch input:checked + .admin-switch__track > span { transform: translateX(14px); }
.admin-switch input:focus-visible + .admin-switch__track { outline: 3px solid #2673ad; outline-offset: 3px; }
.admin-switch small { display: block; font-size: 11px; color: var(--muted); margin-top: 3px; }
.admin-metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-bottom: 24px; }
.admin-metric-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 8px; padding: 22px; background: white; }
.admin-metric-card__label { font-size: 13px; color: var(--muted); }
.admin-metric-card strong { font-size: 32px; margin: 8px 0 4px; }
.admin-metric-card small { font-size: 11px; color: var(--muted); }
.admin-dashboard-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 22px; }
.admin-traffic-summary { display: flex; gap: 28px; margin: 24px 0; }
.admin-traffic-summary strong { display: block; font-size: 26px; }
.admin-traffic-summary span { color: var(--muted); font-size: 12px; }
.admin-sparkline { display: flex; align-items: flex-end; height: 110px; gap: 6px; border-bottom: 1px solid var(--line); }
.admin-sparkline > span { flex: 1; background: var(--signal); border-radius: 2px 2px 0 0; }
.admin-action-list a { display: flex; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.admin-action-list a:last-child { border: 0; padding-bottom: 0; }
.admin-action-list small { display: block; color: var(--muted); font-size: 12px; margin-top: 3px; }
.admin-action-list b { margin-left: auto; }
.admin-maintenance { display: grid; grid-template-columns: 1fr 1.5fr; gap: 30px; }
.admin-maintenance__intro p { font-size: 13px; color: var(--muted); margin-top: 12px; }
.admin-maintenance__form { display: grid; gap: 20px; }
.admin-maintenance__form > .btn { justify-self: start; }
.admin-chart-card { padding: 24px; margin-bottom: 24px; }
.admin-chart-card svg { width: 100%; height: auto; }
.admin-chart-card__heading { display: flex; justify-content: space-between; margin-bottom: 24px; }
.admin-chart-card h2 { font-size: 21px; }
.admin-chart-card p { font-size: 13px; color: var(--muted); }
.admin-roles-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.admin-role-card { padding: 24px; }
.admin-role-card h2 { font-size: 22px; margin-bottom: 18px; }
.admin-role-card .admin-field { margin-bottom: 18px; }
.admin-category-grid { display: grid; grid-template-columns: minmax(260px, .9fr) minmax(0, 1.3fr); gap: 24px; align-items: start; }
.admin-category-form { display: grid; gap: 20px; }
.admin-category-form .admin-field { margin: 0; }
.admin-category-form > .btn { justify-self: start; }
.admin-status { font-size: 11px; padding: 4px 7px; border-radius: 4px; white-space: nowrap; }
.admin-status--active { background: var(--positive-soft); color: var(--positive); }
.admin-status--muted { background: var(--surface); color: var(--muted); }
.admin-delete-link { background: none; border: 0; color: var(--negative); font-size: 12px; padding: 8px; text-decoration: underline; text-underline-offset: 3px; }
.admin-manage-table td > small { display: block; color: var(--muted); margin-top: 5px; font-size: 11px; }
.admin-manage-table__title { font-weight: 700; }
.admin-manage-table__title:hover { text-decoration: underline; }
.admin-manage-table__description { min-width: 190px; }
.admin-table-tag { font-size: 12px; color: var(--muted); }
.admin-form-submit__note { font-size: 13px; color: var(--muted); }
.role-list__item { padding: 22px; display: flex; gap: 20px; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); }
.role-list__item:last-child { border: 0; }
.role-list__item p { font-size: 13px; margin-top: 10px; }
.role-list__item small { font-size: 12px; color: var(--muted); }
.analytics-period-control label { font-size: 12px; display: block; margin-bottom: 6px; }
.analytics-period-control { min-width: 180px; }
.analytics-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 24px; }
.analytics-metric { padding: 22px; border: 1px solid var(--line); border-radius: 8px; background: white; }
.analytics-metric > span { display: block; font-size: 13px; color: var(--muted); }
.analytics-metric strong { display: block; font-size: 30px; margin: 8px 0; }
.analytics-metric small { color: var(--muted); font-size: 11px; }
.analytics-chart-card, .analytics-table-card { background: white; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; margin-bottom: 24px; }
.analytics-chart-card { padding: 26px; }
.analytics-chart-card__heading, .analytics-table-card__heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 22px; }
.analytics-table-card__heading { margin: 0; padding: 22px; }
.analytics-chart-card h2, .analytics-table-card h2, .analytics-info-card h2 { font-size: 21px; }
.analytics-chart-card__heading > span, .analytics-table-card__heading > span { color: var(--muted); font-size: 12px; }
.analytics-chart { position: relative; padding-left: 35px; }
.analytics-chart svg { width: 100%; height: 260px; }
.analytics-chart__grid { stroke: var(--line); stroke-width: 1; }
.analytics-chart__line { fill: none; stroke: #b97d00; stroke-width: 2.5; }
.analytics-chart__point { fill: #b97d00; stroke: white; stroke-width: 1.5; }
.analytics-chart__scale { position: absolute; top: 8px; bottom: 50px; left: 0; display: flex; flex-direction: column; justify-content: space-between; color: var(--muted); font-size: 11px; }
.analytics-chart__labels { position: relative; height: 25px; margin-left: 18px; margin-right: 18px; font-size: 10px; color: var(--muted); }
.analytics-chart__labels span { position: absolute; transform: translateX(-50%); white-space: nowrap; }
.analytics-detail-grid { display: grid; grid-template-columns: minmax(0, 2fr) 1fr; gap: 24px; }
.analytics-info-card { font-size: 13px; color: var(--muted); padding: 22px; }
.analytics-info-card h2 { color: var(--ink); }
.analytics-info-card li { margin: 12px 0; }
.analytics-table-wrap { overflow-x: auto; }
.analytics-table { width: 100%; border-collapse: collapse; font-size: 12px; text-align: left; }
.analytics-table th, .analytics-table td { padding: 14px 20px; border-bottom: 1px solid var(--line); }
.analytics-table th { color: var(--muted); background: var(--surface-hover); }
.analytics-empty, .analytics-notice { padding: 22px; font-size: 13px; color: var(--muted); }
.analytics-empty span, .analytics-notice span { display: block; margin-top: 7px; }
.analytics-notice { background: var(--signal-soft); border-radius: 6px; margin-bottom: 20px; }
.error-page { max-width: 620px; padding: 80px 0; margin: 0 auto; text-align: center; }
.error-page h1 { margin-bottom: 18px; }
.error-page p { color: var(--muted); margin-bottom: 24px; }
.maintenance-page { justify-content: center; align-items: center; padding: 24px; background: var(--surface); }
.maintenance-box { max-width: 520px; padding: 40px; background: white; border: 1px solid var(--line); border-radius: 10px; }
.maintenance-box img { width: 150px; margin-bottom: 30px; }
.maintenance-box h1 { font-size: 30px; margin-bottom: 18px; }
.maintenance-box p { color: var(--muted); margin-bottom: 24px; }

/* 13. Responsive layout */
@media (max-width: 1250px) {
    .header__nav { gap: 18px; }
    .header__inner { gap: 25px; }
    .header__user { padding-left: 18px; gap: 16px; }
    .header__logo-img { width: 136px; }
    .home-intro__layout { gap: 40px; }
    .home-categories { gap: 12px; }
    .home-category { gap: 12px; padding: 12px; }
    .home-category__image { width: 52px; flex-basis: 52px; height: 65px; }
    .market-v2__layout, .shop-layout { gap: 28px; grid-template-columns: 250px minmax(0, 1fr); }
    .cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .detail-clean-layout { grid-template-columns: minmax(0, 1fr) 250px; gap: 24px; }
    .detail-publisher__stats { margin-left: 0; flex-basis: 100%; padding-top: 6px; }
    .contractor-layout { gap: 36px; grid-template-columns: minmax(0, 1fr) 290px; }
    .admin-page-header { align-items: flex-start; flex-direction: column; }
    .admin-layout { grid-template-columns: 220px minmax(0, 1fr); gap: 26px; }
    .admin-metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .admin-category-grid { grid-template-columns: 1fr; }
    .analytics-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .analytics-detail-grid { grid-template-columns: 1fr; }
}
@media (max-width: 1050px) {
    :root { --header-height: 74px; }
    .header__burger { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 5px; background: white; padding: 10px; z-index: 3; }
    .header__burger span { display: block; width: 20px; height: 2px; background: var(--ink); }
    .header__burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .header__burger.active span:nth-child(2) { opacity: 0; }
    .header__burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .header__nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: white; padding: 18px 40px 26px; border-bottom: 1px solid var(--line); max-height: calc(100dvh - 74px); overflow: auto; z-index: 2; }
    .header__nav.open { display: flex; flex-direction: column; align-items: stretch; gap: 4px; }
    .header__link { padding: 12px 0; }
    .header__user { padding: 16px 0 0; margin-top: 14px; border-left: 0; border-top: 1px solid var(--line); justify-content: space-between; }
    .header__create-menu { margin: 8px 0; }
    .header__primary-action { min-width: 120px; }
    .header__create-menu-panel { position: static; display: none; margin-top: 8px; width: 100%; box-shadow: none; }
    .header__create-menu.is-open .header__create-menu-panel { display: block; }
    .header__overlay.active { display: block; position: fixed; inset: 74px 0 0; background: #10182066; z-index: 1; }
    .header__nav > .btn { margin-top: 8px; }
    .home-intro h1 { font-size: 46px; }
    .home-destination { padding: 20px; gap: 15px; }
    .home-destination strong { font-size: 16px; }
    .home-destination small { font-size: 12px; }
    .home-categories { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-category__image { width: 65px; height: 65px; flex-basis: 65px; }
    .home-project-grid { gap: 14px; }
    .home-project { padding: 20px; }
    .home-project h3 { font-size: 20px; }
    .home-offer { grid-template-columns: minmax(0, 1fr) 145px; gap: 24px; }
    .home-offer__activity { display: none; }
    .home-publish__inner { flex-direction: column; align-items: flex-start; gap: 20px; }
    .detail-clean-layout { display: flex; flex-direction: column; }
    .detail-side-panel { width: 100%; }
    .detail-publisher__stats { margin-left: auto; flex-basis: auto; }
    .contractor-hero { align-items: flex-start; }
    .contractor-avatar { width: 86px; height: 86px; flex-basis: 86px; font-size: 34px; }
    .contractor-hero__main { gap: 18px; }
    .contractor-hero__side { min-width: 240px; padding-left: 22px; }
    .contractor-hero h1 { font-size: 32px; }
    .contractor-layout { grid-template-columns: minmax(0, 1fr) 260px; gap: 30px; }
    .profile-layout { grid-template-columns: 210px minmax(0, 1fr); gap: 22px; }
    .account-card { padding: 24px; }
    .form-row--3 { grid-template-columns: 1fr; gap: 0; }
    .form-group--span-2 { grid-column: 1; }
    .profile-manage-item { flex-direction: column; align-items: flex-start; }
    .product-view__summary { padding: 28px; }
    .product-view__purchase { align-items: flex-start; flex-direction: column; gap: 18px; }
    .admin-dashboard-grid, .admin-maintenance { grid-template-columns: 1fr; }
    .admin-form-submit { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 760px) {
    .container { padding-left: 20px; padding-right: 20px; }
    .header__nav { padding-left: 20px; padding-right: 20px; }
    .header__logo-img { width: 132px; }
    .home-intro { padding: 38px 0; }
    .home-intro__layout { grid-template-columns: 1fr; gap: 32px; }
    .home-intro h1 { font-size: clamp(36px, 7vw, 48px); max-width: 590px; }
    .home-intro__copy > p { margin: 20px 0 24px; font-size: 15px; }
    .home-intro__copy > .home-intro__note { font-size: 12px; margin-top: 16px; }
    .home-destination { padding: 19px; }
    .home-destination > svg { width: 27px; height: 27px; flex-basis: 27px; }
    .home-library { padding: 30px 0; }
    .section-heading { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 22px; }
    .section-heading h2 { font-size: 25px; }
    .section-heading p { font-size: 14px; }
    .home-market, .home-projects { padding: 36px 0; }
    .home-projects { padding-top: 0; }
    .home-offer { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 20px 0; }
    .home-offer h3 { font-size: 20px; }
    .home-offer__price { display: flex; align-items: center; gap: 18px; }
    .home-offer__price strong { font-size: 17px; }
    .home-project-grid { grid-template-columns: 1fr; }
    .home-project h3 { margin-top: 10px; }
    .home-project p { margin-bottom: 18px; }
    .home-project footer { margin-top: 14px; padding-top: 12px; }
    .home-publish { padding: 30px 0; }
    .home-publish h2 { font-size: 24px; }
    .home-publish__actions { flex-wrap: wrap; gap: 10px; }
    .footer { padding-top: 34px; }
    .footer-clean__grid { grid-template-columns: 1fr 1fr; gap: 28px; padding-bottom: 32px; }
    .footer-clean__brand { grid-column: 1 / -1; }
    .footer-clean__brand p { max-width: 420px; }
    .footer-clean__bottom { flex-direction: column; gap: 6px; }
    #wpadminbar { padding: 0 15px; }
    #wpadminbar .quicklinks { gap: 15px; }
    #wpadminbar .quicklinks a:nth-child(n+3), #wpadminbar .user-info { display: none; }
    .market-v2, .shop-page-clean { padding: 30px 0 45px; }
    .market-v2__header, .shop-page-clean__header { align-items: flex-start; flex-direction: column; gap: 22px; padding-bottom: 24px; margin-bottom: 25px; }
    .market-v2__header h1, .shop-page-clean__header h1 { font-size: 35px; }
    .market-v2__header-actions { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 16px; }
    .market-v2__layout, .shop-layout { grid-template-columns: 1fr; gap: 26px; }
    .market-v2-filter, .job-status-filter { padding-bottom: 18px; margin-bottom: 18px; }
    .market-v2-filter__nav, .shop-nav { display: flex; flex-wrap: wrap; gap: 5px; }
    .market-v2-filter__heading, .job-status-filter__heading { padding: 0 0 12px; }
    .market-v2-filter__heading small, .job-status-filter__heading small { display: none; }
    .market-v2-filter__link, .shop-nav__link { font-size: 12px; min-height: 36px; padding: 7px 10px; border: 1px solid var(--line); }
    .market-v2-filter__link--active, .shop-nav__link--active { border-color: #ebc867; }
    .job-status-filter__options { display: flex; gap: 8px; flex-wrap: wrap; }
    .job-status-filter__option { padding: 7px 9px; font-size: 12px; border: 1px solid var(--line); border-radius: 5px; gap: 6px; }
    .job-status-filter__submit { padding-left: 0; }
    .shop-sidebar h2 { margin-left: 0; margin-bottom: 14px; }
    .market-v2-card { padding: 20px; gap: 16px; }
    .market-v2-card h2 { font-size: 21px; }
    .market-v2-card__meta { gap: 8px; }
    .market-v2-card footer { gap: 12px; flex-wrap: wrap; }
    .market-v2-card footer b { display: none; }
    .market-v2-card__media { width: 85px; flex-basis: 85px; min-height: 110px; }
    .cards-grid { gap: 16px; }
    .product-card__content { padding: 16px; }
    .product-card__media { height: 145px; }
    .product-card h2 { font-size: 18px; }
    .detail-page, .shop-product-view { padding: 24px 0 42px; }
    .breadcrumb { margin-bottom: 24px; font-size: 12px; }
    .detail-clean-header h1 { font-size: 32px; }
    .detail-publisher__stats { margin-left: 0; flex-basis: 100%; padding-top: 8px; gap: 26px; }
    .detail-facts { gap: 25px; padding: 20px; }
    .detail-facts strong { font-size: 17px; }
    .detail-copy h2 { font-size: 21px; }
    .response-item { padding: 18px; gap: 12px; }
    .job-offer-card--selected { padding: 17px; }
    .response-item__avatar { width: 36px; height: 36px; flex-basis: 36px; }
    .job-offer-summary { gap: 12px; flex-direction: column; }
    .response-item__meta { gap: 4px 10px; }
    .response-item__meta time { font-size: 11px; }
    .response-form { padding: 20px; }
    .job-offer-form__questions { grid-template-columns: 1fr; gap: 20px; }
    .product-view__top { grid-template-columns: 1fr; }
    .product-view--text .product-view__summary { display: block; padding: 26px; }
    .product-view--text .product-view__purchase { border-left: 0; border-top: 1px solid var(--line); padding: 22px 0 0; margin-top: 24px; flex-direction: row; align-items: flex-end; justify-content: space-between; }
    .product-view__media, .product-view__media-empty { min-height: 240px; }
    .product-view__media > img { max-height: 300px; }
    .product-view__summary { padding: 26px; }
    .product-view__purchase { flex-direction: row; align-items: flex-end; gap: 16px; }
    .product-view__body { padding: 26px; }
    .product-view__body h2 { font-size: 22px; }
    .product-view__admin { padding: 18px 24px; }
    .publish-clean { padding: 26px 0 45px; }
    .publish-clean__header h1 { font-size: 31px; }
    .publish-clean__section { padding: 22px; }
    .publish-clean__fields--two, .publish-clean__fields--three { grid-template-columns: 1fr; }
    .publish-clean__actions { padding: 22px; }
    .profile-page { padding: 25px 0 45px; }
    .profile-hero { padding: 24px; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
    .profile-hero__avatar { width: 62px; height: 62px; flex-basis: 62px; font-size: 24px; }
    .profile-hero__content { flex: 1; }
    .profile-hero__content h1 { font-size: 25px; }
    .profile-hero__link { display: block; margin: 6px 0 0; }
    .profile-hero__stats { width: 100%; margin: 2px 0 0; padding: 15px 0 0; border-left: 0; border-top: 1px solid var(--line); gap: 35px; }
    .profile-hero__stats > div { display: flex; gap: 8px; align-items: baseline; }
    .profile-hero__stats strong { font-size: 20px; }
    .profile-layout { grid-template-columns: 1fr; gap: 25px; }
    .profile-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; }
    .profile-nav__link { padding: 10px; font-size: 12px; }
    .profile-content__heading h2 { font-size: 27px; }
    .profile-content__heading--split { flex-direction: column; align-items: flex-start; }
    .account-card { padding: 22px; }
    .account-card__heading { gap: 14px; }
    .account-card__heading h3 { font-size: 20px; }
    .account-avatar-preview { width: 55px; height: 55px; flex-basis: 55px; }
    .account-form--inline { flex-direction: column; align-items: stretch; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .account-form__actions { flex-wrap: wrap; }
    .contractor-profile { padding-top: 24px; }
    .contractor-hero { flex-direction: column; gap: 25px; padding: 0 0 28px; margin-bottom: 28px; }
    .contractor-hero__main { align-items: flex-start; }
    .contractor-hero h1 { font-size: 29px; }
    .contractor-avatar { width: 76px; height: 76px; flex-basis: 76px; }
    .contractor-hero__title { font-size: 15px; }
    .contractor-hero__meta { gap: 5px 12px; margin-top: 9px; }
    .contractor-hero__side { border: 0; padding: 0; width: 100%; }
    .contractor-score { gap: 35px; }
    .contractor-hero__cta { min-height: 42px; }
    .contractor-layout { grid-template-columns: 1fr; gap: 0; }
    .contractor-sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
    .contractor-contact-card, .contractor-links-card { padding: 20px; }
    .contractor-reviews__header { flex-direction: column; align-items: flex-start; gap: 0; }
    .contractor-review__top { flex-wrap: wrap; gap: 4px; }
    .contractor-profile-cta { flex-direction: column; align-items: flex-start; padding: 24px; gap: 18px; }
    .contractor-profile-cta h2 { font-size: 21px; }
    .profile-modal { padding: 16px; }
    .profile-modal__dialog { padding: 25px; max-height: calc(100dvh - 32px); }
    .profile-modal__stats { gap: 12px; padding: 16px; }
    .profile-modal__user h3 { font-size: 22px; }
    .auth { padding: 30px 20px 45px; }
    .auth__card { padding: 26px; }
    .admin-page { padding: 24px 0 45px; }
    .admin-layout { grid-template-columns: 1fr; gap: 22px; }
    .admin-sidebar__brand { padding: 0 0 12px; margin-bottom: 12px; }
    .admin-nav { display: flex; flex-wrap: wrap; gap: 4px; }
    .admin-nav__label { display: none; }
    .admin-nav__link { font-size: 12px; padding: 7px 10px; }
    .admin-sidebar__create { display: inline-block; padding: 7px 12px; margin-top: 12px; }
    .admin-page-header h1 { font-size: 30px; }
    .admin-panel, .admin-form-card { padding: 22px; }
    .admin-form-fields, .admin-roles-grid { grid-template-columns: 1fr; }
    .admin-media-row { align-items: stretch; flex-direction: column; }
    .admin-user-search { padding: 18px; flex-wrap: wrap; }
    .admin-user-search .form-input { flex-basis: 100%; }
    .admin-manage-card__bar { padding: 16px 18px; }
    .admin-manage-card__bar > span { display: none; }
    .admin-manage-table th, .admin-manage-table td { padding: 14px 18px; }
    .admin-metric-grid { gap: 12px; }
    .admin-metric-card { padding: 18px; }
    .admin-page-header__actions { flex-wrap: wrap; }
    .flash-stack { top: 86px; right: 20px; }
}
@media (max-width: 440px) {
    .home-categories { grid-template-columns: 1fr; gap: 10px; }
    .home-category { padding: 12px; }
    .home-category__image { width: 50px; height: 55px; flex-basis: 50px; }
    .home-category h3 { font-size: 16px; }
    .home-destination { gap: 13px; padding: 17px; }
    .home-destination strong { font-size: 15px; }
    .home-destination small { font-size: 11px; }
    .home-destination__arrow { font-size: 20px; }
    .cards-grid { grid-template-columns: 1fr; }
    .product-card__media { height: 185px; }
    .market-v2-card { padding: 18px; }
    .market-v2-card__media { width: 60px; flex-basis: 60px; min-height: 85px; }
    .market-v2-card:has(.market-v2-card__media) { flex-direction: column; }
    .market-v2-card:has(.market-v2-card__media) .market-v2-card__media { width: 100%; height: 150px; flex-basis: auto; }
    .response-item { gap: 10px; padding: 15px; }
    .job-offer-card--selected { padding: 14px; }
    .response-item__avatar { width: 30px; height: 30px; flex-basis: 30px; font-size: 12px; }
    .response-item__meta { align-items: flex-start; flex-direction: column; }
    .contractor-rating-summary { gap: 5px; flex-wrap: wrap; }
    .contractor-rating-summary .btn { font-size: 11px; padding: 5px; margin-left: 0; }
    .product-view__purchase { flex-direction: column; align-items: stretch; }
    .product-view--text .product-view__purchase { flex-direction: column; align-items: stretch; }
    .product-view__admin { align-items: flex-start; flex-direction: column; gap: 10px; }
    .contractor-sidebar { grid-template-columns: 1fr; }
    .profile-hero { padding: 20px; }
    .profile-hero__content p { overflow-wrap: anywhere; }
    .account-card__heading { align-items: flex-start; }
    .account-card__heading p { font-size: 12px; }
    .rating-choice { margin-bottom: 8px; }
    .pending-rating-card { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
@media print {
    .header, .footer, #wpadminbar, .admin-sidebar, .profile-sidebar, .flash-stack, .response-form, .detail-owner-tools { display: none; }
    .container { max-width: none; padding: 0; }
    .detail-clean-layout, .contractor-layout { display: block; }
    body { background: white; }
}
