/* YS399 approved brand. Display-only layer; original forms, states and handlers stay intact. */
:root{--ys-ink:#142c45;--ys-color-ink:#142c45;--ys-muted:#5d6774;--ys-brand:#2458d3;--ys-brand-hover:#1944ab;--ys-accent:#2458d3;--ys-accent-decorative:#ffd447;--ys-surface:#eff4fc;--ys-surface-soft:#f5f7fc;--ys-surface-warm:#f4f7fc;--ys-divider-decorative:#dbe3ed;--ys-line:#dbe3ed;--ys-input-border:#8494a8;--ys-radius-card:6px;--ys-radius-image:5px;--ys-radius-control:5px}
body.ys-site{color:var(--ys-ink);background:#fff}
body.ys-site :is(.yellship,.ys-home,.ys-global-header){--ys-ink:#142c45;--ys-brand:#2458d3;--ys-brand-hover:#1944ab;--ys-accent:#2458d3;--bm-ink:#2458d3;--bm-accent:#2458d3;--ys-line:#dbe3ed}
.ys-site .ys-global-header{border-bottom:1px solid var(--ys-line);min-height:90px;padding-block:20px;background:#fff}
.ys-site .ys-logo{width:184px;max-width:100%;height:auto;object-fit:contain}
.ys-site .ys-global-menu a:hover{text-decoration-color:var(--ys-brand)}
.ys-site a.ys-shell-button{box-shadow:none}
.ys-site .ys-site-main{max-width:1380px}
.ys-site .ys-home-intro{grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:0;padding:0;background:var(--ys-brand);color:#fff;border-radius:8px;overflow:hidden;margin-block:24px 40px}
.ys-home-intro .ys-blue-intro-copy{padding:44px 48px}
.ys-site .ys-home-intro h1{color:#fff;font-size:clamp(30px,3.2vw,48px);letter-spacing:-.025em;line-height:1.45;margin:0 0 24px}
.ys-site .ys-home-intro p{color:#fff;font-size:14px;line-height:1.95;margin-bottom:20px}
.ys-site .ys-home-intro .ys-home-browse-note{font-size:11px;line-height:1.8;margin:16px 0 0;color:#eef3ff}
.ys-site .ys-home-intro .ys-home-entry{margin:24px 0 0}
.ys-site .ys-home-intro .ys-home-entry>a:not(.ys-shell-button){color:#fff}
.ys-site .ys-home-intro a.ys-shell-button{background:#ffd447;color:#142c45;border-color:#ffd447;min-width:180px;font-weight:700}
.ys-home-intro .ys-blue-intro-photo{position:relative;margin:0;height:100%;min-height:390px}
.ys-blue-intro-photo img{display:block;width:100%;height:100%;position:absolute;object-fit:cover;object-position:48% 40%}
.ys-blue-intro-photo figcaption{position:absolute;bottom:16px;right:16px;background:#142c45c9;color:#fff;padding:4px 10px;border-radius:3px;font-size:11px}
.ys-site .ys-home-section{padding-block:32px}
.ys-site .ys-home h2{font-size:28px;font-weight:700}
.ys-site .ys-project-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.ys-site .ys-project-card{padding:0;background:white;border-radius:6px}
.ys-site .ys-project-heading{display:block}
.ys-site .ys-project-image{aspect-ratio:16/9;border-radius:0;background:#f4f7fc}
.ys-site .ys-project-image img{object-fit:contain}
.ys-site .ys-project-copy{padding:16px 18px 0}
.ys-site .ys-project-copy h3{font-size:17px;font-weight:700;line-height:1.65;margin:10px 0}
.ys-site .ys-project-kind{display:flex;gap:7px;align-items:center;flex-wrap:wrap}
.ys-blue-project-state{display:inline-block;border:1px solid #c5d1e6;background:#f2f5fa;color:#46576a;border-radius:3px;padding:2px 6px;font-size:11px}
.ys-site .ys-project-stats{padding:16px 18px}
.ys-site .ys-project-bottom{margin:0 18px;padding:14px 0 16px;gap:8px}
.ys-site .ys-project-amount{display:block}
.ys-site .ys-project-amount>p+p{margin-top:5px}
.ys-site .ys-project-action{text-decoration:none;font-weight:600}
.ys-site .ys-team-directory{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.ys-site .ys-directory-team{flex-direction:row;align-items:center;text-align:left;padding:20px;border:1px solid var(--ys-line);border-radius:6px;gap:20px}
.ys-site .ys-directory-logo{width:112px;flex-shrink:0;background:white;aspect-ratio:4/3}
.ys-site .ys-directory-team h3{font-size:17px;text-wrap:initial}
.ys-site .ys-global-footer{background:#f4f7fc;border-top:1px solid var(--ys-line)}
.ys-site .ys-footer-brand>p{display:none}
/* Auction/catalog cards. Preserve attributes consumed by filters/live-price updates. */
.ys-site .yellship .bm-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:24px}
.ys-site .yellship .bm-grid.ys-event-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.ys-site .yellship .bm-card{border:1px solid var(--ys-line);border-radius:6px;overflow:hidden;background:white}
.ys-site .yellship .bm-card:hover{border-color:var(--ys-brand)}
.ys-site .yellship .bm-card-body{padding:18px;gap:8px}
.ys-site .yellship .bm-card :is(h2,h3){font-size:18px;line-height:1.6}
.ys-site .yellship .ys-card-price>[data-bm-price]{font-size:25px}
.ys-site .yellship .bm-card .bm-countdown{color:var(--ys-brand);font-weight:600}
.ys-site .yellship .bm-hero{background:var(--ys-surface);border-radius:7px;overflow:hidden}
.ys-site .yellship .bm-gallery :is(img,.ys-art){background:#f5f7fc;border-radius:6px;object-fit:contain}
.ys-site .yellship .bm-detail>.bm-panel{border-color:var(--ys-line);border-radius:7px}
.ys-site .yellship .ys-bid-form{background:var(--ys-surface);padding:20px;border-radius:6px}
.ys-site .yellship .ys-bid-form button[type=submit]{background:#ffd447;color:#142c45;border-color:#ffd447}
/* CF uses its original total/goal/payment modes and return conditions. */
.ys-site .ys-cf{--cf-blue:#2458d3;--cf-ink:#142c45;--cf-muted:#5d6774;--cf-soft:#eff4fc;--cf-warm:#f4f7fc;--cf-line:#dbe3ed;--cf-paper:#fff}
.ys-site .ys-cf-campaign .ys-cf-project-intro h1{font-size:clamp(28px,3vw,38px);line-height:1.5}
.ys-site .ys-cf-campaign .ys-cf-funding{border-top:1px solid var(--ys-line);border-radius:6px;padding:26px}
.ys-site .ys-cf-campaign .ys-cf-funding-total{color:var(--ys-ink);font-size:42px;line-height:1.3}
.ys-site .ys-cf-campaign .ys-cf-funding .bm-button{background:#ffd447;color:#142c45;border-color:#ffd447;font-weight:700}
.ys-site .ys-cf-campaign .ys-cf-funding .bm-button:hover{background:#f4c630;color:#142c45}
.ys-site .ys-cf-campaign .ys-cf-course{border:1px solid var(--ys-line);border-top:3px solid var(--ys-brand);border-radius:6px;overflow:hidden}
.ys-site .ys-cf-campaign .ys-cf-course-price>strong{color:var(--ys-brand)}
.ys-site .ys-cf-campaign .ys-cf-sidebar{border-left:0;padding-left:0}
.ys-site .ys-cf-campaign .ys-cf-feature-media{border-radius:6px;overflow:hidden}
/* Management: same menus, fields and permission-aware actions, new visual hierarchy. */
.ys-site .yellship.ys-portal .ys-workspace{gap:30px}
.ys-site .yellship.ys-portal .ys-workspace-sidebar{border:1px solid var(--ys-line);padding:20px 16px;background:#f8faff;border-radius:6px;align-self:start}
.ys-site .yellship.ys-portal .ys-workspace-nav a{color:var(--ys-ink);font-size:14px;border-radius:4px}
.ys-site .yellship.ys-portal .ys-workspace-nav a[aria-current]{background:var(--ys-surface);color:var(--ys-brand);font-weight:700}
.ys-site .yellship.ys-portal .ys-workspace-nav a:hover{background:var(--ys-surface)}
.ys-site .yellship.ys-portal .ys-payment-total{background:#f6f9fe;border-color:var(--ys-line);border-radius:6px}
.ys-site .yellship.ys-portal .ys-payment-total[aria-current]{background:var(--ys-surface);border-color:var(--ys-brand)}
.ys-site .yellship :is(th,.ys-management-section-title){background:#f3f6fc}
.ys-site .yellship .bm-panel{border-color:var(--ys-line);border-radius:6px}
.ys-site .yellship :is(.ys-workspace-main,.ys-cf-reading){color:var(--ys-ink)}
@media(min-width:1280px){.ys-site .ys-project-grid,.ys-site .yellship .bm-grid,.ys-site .yellship .bm-grid.ys-event-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@media(max-width:1023px){.ys-home-intro .ys-blue-intro-copy{padding:32px}.ys-site .ys-home-intro h1{font-size:34px}.ys-site .ys-team-directory{grid-template-columns:repeat(2,minmax(0,1fr))}.ys-site .ys-project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){.ys-site .ys-home-intro{grid-template-columns:1fr;margin-top:16px}.ys-home-intro .ys-blue-intro-copy{padding:28px 24px}.ys-site .ys-home-intro h1{font-size:clamp(27px,7.3vw,36px)}.ys-site .ys-home-intro p{font-size:13px}.ys-home-intro .ys-blue-intro-photo{height:235px;min-height:0}.ys-site .ys-home-intro .ys-home-entry{gap:12px}.ys-site .ys-home-intro .ys-home-entry>a{font-size:13px}.ys-site .ys-project-grid,.ys-site .yellship .bm-grid,.ys-site .yellship .bm-grid.ys-event-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px}.ys-site .ys-project-copy{padding:12px 10px 0}.ys-site .ys-project-copy h3{font-size:14px;line-height:1.65}.ys-site .ys-project-card p{font-size:11px}.ys-site .ys-project-stats{padding:12px 10px}.ys-site .ys-project-stats strong{font-size:16px;white-space:normal}.ys-site .ys-project-bottom{margin:0 10px;padding:10px 0}.ys-site .ys-project-remaining{font-size:12px}.ys-site .ys-project-action{font-size:12px}.ys-site .ys-project-card .ys-project-time{font-size:10px}.ys-site .ys-team-directory{grid-template-columns:1fr;gap:14px}.ys-site .ys-directory-team{padding:16px 20px}.ys-site .ys-directory-logo{width:100px}.ys-site .yellship .bm-card-body{padding:12px;gap:6px}.ys-site .yellship .bm-card :is(h2,h3){font-size:14px}.ys-site .yellship .bm-card :is(p,small,.bm-badge){font-size:11px}.ys-site .yellship .ys-card-price>[data-bm-price]{font-size:20px}.ys-site .yellship .bm-card .bm-countdown{font-size:12px}.ys-site .yellship .bm-card .ys-card-stats{flex-wrap:wrap;gap:6px}.ys-site .yellship .ys-bid-form{padding:16px}.ys-site .ys-cf-campaign .ys-cf-funding{padding:22px}.ys-site .ys-cf-campaign .ys-cf-funding-total{font-size:36px}.ys-site .yellship.ys-portal .ys-workspace-sidebar{padding:16px;margin-bottom:24px}.ys-site .ys-home h2{font-size:25px}}
@media(max-width:360px){.ys-home-intro .ys-blue-intro-copy{padding:24px 18px}.ys-site .ys-home-intro h1{font-size:26px}.ys-site .yellship .bm-card-body{padding:10px}.ys-site .yellship .ys-card-price>[data-bm-price]{font-size:18px}}
