/* Shared frontend refresh, inspired by the supplied mobile reference. */
:root{--gn-red:#c80020;--gn-ink:#202537;--gn-muted:#7a8192;--gn-line:#f1e6e7;--gn-blush:#fff5f3}
body.dashboard-body{background:#fcf8f7!important;color:var(--gn-ink)}
body .dashboard-topbar{background:#fff!important;border-bottom:1px solid var(--gn-line)!important;box-shadow:0 3px 18px #42112206!important}
body .dashboard-topbar-inner{gap:20px;min-height:80px}
body .dashboard-brand{background:#fff!important;border-radius:8px;padding:4px 8px}
body .dashboard-brand img{width:205px!important;height:64px!important;object-fit:contain!important;filter:none!important}
body .dashboard-search{background:#faf8f8!important;border:1px solid #eee4e5!important;box-shadow:none!important}
body .dashboard-search input{color:var(--gn-ink)!important}
body .dashboard-search button{background:var(--gn-red)!important;color:white!important;border-radius:9px!important}
body .dashboard-topbar-actions{color:var(--gn-ink)!important}
body .dashboard-icon-btn{background:#fff!important;color:var(--gn-red)!important;border:1px solid var(--gn-line)!important;box-shadow:none!important}
body .dashboard-language-switch{background:#fff5f4!important;color:var(--gn-ink)!important;border:1px solid var(--gn-line)!important}
body .dashboard-language-switch button{color:var(--gn-red)!important}
body .dashboard-language-switch button.is-active{background:var(--gn-red)!important;color:white!important}
body .dashboard-user{background:#fff!important;color:var(--gn-ink)!important;border:1px solid var(--gn-line)!important}
body .dashboard-user-name,body .dashboard-user-plan{color:var(--gn-ink)!important}
body .dashboard-content{padding-bottom:24px}
body .wl-panel,body .wl-section-card,body .wl-list-card,body .wl-interest-card,body .wl-chat-card{border:1px solid var(--gn-line)!important;box-shadow:0 6px 24px #46112204!important;border-radius:18px!important}
body .wl-match-card,body .horoscope-profile-card{border:1px solid var(--gn-line)!important;box-shadow:0 4px 18px #46112204!important;border-radius:18px!important}
body .wl-section-head h2,body .wl-section-title h1,body .wl-section-title h2{color:var(--gn-ink)}
body .main-header .logo-box,body .main-header .nav-logo{background:#fff!important;border-radius:10px;padding:5px 12px!important}
body .main-header .logo-box img,body .main-header .nav-logo img{object-fit:contain!important;filter:none!important;width:210px!important;height:68px!important}
/* Form fields use their own focus styles; avoid an extra rectangle inside input wrappers. */
body :is(a,button):focus-visible{outline:3px solid #e2405b!important;outline-offset:3px}
@media(max-width:991px){
 body .dashboard-app-main{min-width:0!important;margin-left:0!important}
 body .dashboard-topbar-inner{width:calc(100% - 28px)!important;min-height:70px!important;gap:10px!important;grid-template-columns:minmax(0,1fr) auto auto!important}
 body .dashboard-brand{padding:0!important}
 body .dashboard-brand img{width:178px!important;height:54px!important}
 body .dashboard-topbar-actions{gap:8px!important}
 body .dashboard-user-copy,body .dashboard-user-name,body .dashboard-user-plan,body .dashboard-language-switch{display:none!important}
 body .dashboard-mobile-toggle{color:var(--gn-red)!important;background:#fff6f5!important;border:1px solid var(--gn-line)!important;border-radius:12px!important;width:38px;height:38px}
 body .dashboard-mobile-toggle span{background:var(--gn-red)!important}
 body .dashboard-search{grid-column:1/-1!important;grid-row:2!important;max-width:none!important;margin:0 0 10px!important;padding:4px 7px!important;min-height:40px}
 body .dashboard-search input{font-size:13px!important;min-width:0!important}
 body .dashboard-search button{padding:7px 14px!important;font-size:12px!important}
 body .dashboard-mobile-footer-nav{position:fixed!important;display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;bottom:0!important;left:0!important;right:0!important;width:100%!important;z-index:100!important;background:#fff!important;border-top:1px solid var(--gn-line)!important;border-radius:18px 18px 0 0!important;box-shadow:0 -4px 20px #39102008!important;padding:8px 6px calc(8px + env(safe-area-inset-bottom))!important;gap:0!important}
 body .dashboard-mobile-footer-nav a,body .dashboard-mobile-footer-nav button{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:5px!important;background:transparent!important;border:0!important;border-radius:10px!important;color:#858998!important;min-height:44px!important;padding:3px!important;font-size:10px!important;font-weight:600!important;line-height:1.3;text-decoration:none!important}
 body .dashboard-mobile-footer-nav i{font-size:19px!important}
 body .dashboard-mobile-footer-nav .is-active{color:var(--gn-red)!important;background:#fff5f4!important}
 body.dashboard-body{padding-bottom:calc(78px + env(safe-area-inset-bottom))!important}
 body .dashboard-page{padding:14px!important;min-width:0}
 body .dashboard-mobile-panel{background:#fff!important;border-radius:0 20px 20px 0!important}
 body .dashboard-mobile-panel-head{border-bottom:1px solid var(--gn-line)}
 body .dashboard-mobile-profile{background:var(--gn-blush)!important;border-radius:14px}
 body .dashboard-mobile-nav a{border-radius:10px!important}
 body .dashboard-mobile-nav a.is-active{background:#fff0ef!important;color:var(--gn-red)!important}
 body .wl-shell{width:100%!important;padding:0!important;display:block!important;min-width:0!important}
 body .wl-dashboard,body .wl-matches,body .wl-single,body .wl-interest-page,body .wl-chat-page{padding:0!important}
 body .wl-main{min-width:0!important}
 body .wl-dashboard .wl-stats-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
 body .wl-dashboard .wl-stat-card{background:white!important;border:1px solid var(--gn-line)!important;padding:14px 12px!important;border-radius:13px!important;box-shadow:none!important;min-width:0}
 body .wl-stat-top{gap:10px!important;align-items:center}
 body .wl-stat-icon{width:38px!important;height:38px!important;min-width:38px;border-radius:50%!important;background:#ffeded!important;color:var(--gn-red)!important;font-size:16px!important}
 body .wl-stat-value{font-size:23px!important;color:var(--gn-ink)!important;line-height:1.2}
 body .wl-stat-trend{font-size:10px!important;margin-top:8px!important}
 body .wl-dashboard .wl-section-card,body .wl-dashboard .wl-list-card{padding:14px!important;margin-top:16px!important}
 body .wl-section-head{gap:8px!important;margin-bottom:12px!important;align-items:center!important}
 body .wl-section-head h2,body .wl-section-head h3{font-size:16px!important;line-height:1.4}
 body .wl-panel-link{font-size:12px!important;color:var(--gn-red)!important}
 body .wl-dashboard .wl-match-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
 body .wl-dashboard .wl-match-media{height:170px!important;min-height:0!important;border-radius:12px 12px 0 0!important;overflow:hidden}
 body .wl-dashboard .wl-match-media img{width:100%!important;height:100%!important;object-fit:cover!important}
 body .wl-dashboard .wl-match-card{padding:0!important;overflow:hidden}
 body .wl-dashboard .wl-match-name{font-size:14px!important}
 body .wl-dashboard .wl-profile-status-grid{grid-template-columns:1fr!important;gap:10px!important}
 body .wl-matches .wl-panel{padding:14px!important}
 body .wl-matches .wl-list{gap:12px!important}
 body .wl-matches .wl-match-card{display:grid!important;grid-template-columns:92px minmax(0,1fr)!important;gap:10px 12px!important;padding:12px!important;align-items:start!important;position:relative}
 body .wl-matches .wl-match-photo,body .wl-matches .profile-image-photo-column>a{width:92px!important;height:116px!important;border-radius:10px!important;overflow:hidden}
 body .wl-matches .wl-match-photo img{height:100%!important;width:100%!important;object-fit:cover!important}
 body .wl-matches .wl-match-name{font-size:16px!important;line-height:1.35!important;margin:3px 0!important}
 body .wl-matches .wl-match-id{font-size:10px!important;letter-spacing:.06em}
 body .wl-match-subline{font-size:12px!important;line-height:1.5!important;margin:4px 0!important}
 body .wl-match-summary{grid-column:2!important;display:flex!important;flex-wrap:wrap!important;gap:6px 10px!important}
 body .wl-match-meta{font-size:11px!important}
 body .wl-match-actions{grid-column:1/-1!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}
 body .wl-match-actions form{min-width:0!important;margin:0!important}
 body .wl-match-actions a,body .wl-match-actions button{min-height:38px!important;width:100%!important;padding:8px!important;font-size:12px!important;border-radius:9px!important}
 body .profile-image-actions{gap:5px!important;padding:7px 0 0!important}
 body .profile-image-actions button{min-height:32px!important;padding:4px 7px!important;font-size:11px!important}
 body .profile-image-status{font-size:10px!important;line-height:1.5;overflow-wrap:anywhere}
 body .wl-filter-btn{padding:8px 12px!important;min-height:36px;font-size:12px!important;border-radius:9px!important}
 body .horoscope-list{padding:0!important}
 body .horoscope-list h1{font-size:21px!important}
 body .matching-list-heading{gap:10px!important;align-items:flex-start!important}
 body .matching-list-heading p,body .horoscope-description{font-size:12px!important}
 body .horoscope-profile-card{grid-template-columns:90px minmax(0,1fr)!important;gap:10px 12px!important;padding:12px!important}
 body .horoscope-profile-photo{width:90px!important;height:116px!important;border-radius:10px!important}
 body .horoscope-profile-identity h2{font-size:16px!important;text-transform:none!important}
 body .horoscope-profile-id{font-size:10px!important}
 body .matching-occupation,body .matching-company{font-size:12px!important}
 body .horoscope-profile-summary{grid-column:2!important}
 body .matching-meta,body .matching-star-details{font-size:11px!important;line-height:1.6}
 body .horoscope-profile-summary>p,body .matching-summary-line{margin-bottom:6px!important}
 body .horoscope-card-actions{grid-column:1/-1!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}
 body .matching-action{min-height:38px!important;padding:8px!important;font-size:12px!important;border-radius:9px!important}
 body .wl-single .wl-profile-card{padding:0!important;overflow:hidden;border-radius:18px!important;background:white!important}
 body .wl-single .wl-profile-grid{display:flex!important;flex-direction:column!important;gap:0!important}
 body .wl-single .wl-gallery-panel{width:100%!important;min-width:0!important;padding:0!important}
 body .wl-single .wl-gallery-main{width:100%!important;height:390px!important;border-radius:0!important}
 body .wl-single .wl-gallery-main img{width:100%!important;height:100%!important;object-fit:cover!important}
 body .wl-single .wl-profile-copy{padding:18px!important;background:#fff!important;border-radius:20px 20px 0 0!important;position:relative}
 body .wl-single .wl-profile-head h1,body .wl-single .wl-profile-head h2{font-size:23px!important}
 body .wl-detail-list{grid-template-columns:1fr!important;gap:12px!important}
 body .wl-detail-item{font-size:13px!important}
 body .wl-profile-meta{gap:6px!important;flex-wrap:wrap}
 body .wl-meta-chip{font-size:11px!important}
 body .wl-interest-card,body .wl-chat-card{padding:12px!important}
 body .wl-interest-head{flex-wrap:wrap;gap:12px}
 body .wl-status-tabs{display:flex;overflow-x:auto;flex-wrap:nowrap!important;gap:8px!important;padding-bottom:8px}
 body .wl-status-tab{flex-shrink:0;font-size:12px!important}
 body .wl-chat-contact{padding:12px!important;border-bottom:1px solid #f3edef!important;border-radius:10px}
 body .wl-chat-contact.is-active{background:#fff2f1!important}
 body .wl-chat-contact img{width:48px!important;height:48px!important;object-fit:cover;border-radius:11px!important}
 body .main-header .logo-box img{width:178px!important;height:58px!important}
 body .main-header .nav-logo img{width:190px!important;height:62px!important}
 body input,body select,body textarea{font-size:16px}
 body .dashboard-content .form-control,body .dashboard-content .form-select{border-radius:10px;min-height:44px}
 body .dashboard-content table{max-width:100%}
 body .dashboard-content .pagination{flex-wrap:wrap;gap:4px}
}
@media(max-width:380px){
 body .dashboard-brand img{width:150px!important}
 body .dashboard-topbar-inner{width:calc(100% - 20px)!important;gap:6px!important}
 body .dashboard-page{padding:10px!important}
 body .wl-matches .wl-match-card{grid-template-columns:80px minmax(0,1fr)!important;padding:10px!important}
 body .wl-matches .wl-match-photo,body .wl-matches .profile-image-photo-column>a{width:80px!important;height:105px!important}
}
@media(prefers-reduced-motion:reduce){body .dashboard-topbar,body .wl-match-card{transition:none!important;scroll-behavior:auto}}

.gn-mobile-welcome{display:none}
body .dashboard-top-icon,body .dashboard-user-chip{background:#fff!important;color:var(--gn-ink)!important;border:1px solid var(--gn-line)!important;box-shadow:none!important}
body .dashboard-user-chip strong,body .dashboard-user-membership{color:var(--gn-ink)!important;-webkit-text-fill-color:var(--gn-ink)!important}
body .dashboard-top-icon i{color:var(--gn-red)!important;-webkit-text-fill-color:var(--gn-red)!important}
@media(max-width:991px){
 body .dashboard-topbar .dashboard-topbar-actions{display:flex!important}
 body .dashboard-user-chip{padding:3px!important;border-radius:50%!important;min-width:36px!important}
 body .dashboard-user-chip>div,body .dashboard-user-chip>i{display:none!important}
 body .dashboard-user-chip img{width:32px!important;height:32px!important;border-radius:50%!important;object-fit:cover}
 body .dashboard-top-icon{width:36px!important;height:36px!important;min-width:36px!important;border-radius:50%!important}
 body .dashboard-topbar-inner{grid-template-columns:minmax(0,1fr) auto auto!important}
 body .gn-mobile-welcome{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px;margin-bottom:14px;border:1px solid #f6dedb;border-radius:16px;background:linear-gradient(115deg,#fff0ed,#fff9f5);position:relative;overflow:hidden}
 body .gn-mobile-welcome span{font-size:12px;color:#8b7277}
 body .gn-mobile-welcome h1{font-size:22px;line-height:1.3;margin:4px 0;font-weight:800;color:#292335}
 body .gn-mobile-welcome p{font-size:12px;color:#9a737c;margin:0}
 body .gn-mobile-welcome a{display:grid;place-items:center;width:48px;height:48px;border:1px solid #ffd5d6;border-radius:50%;background:#ffffff9c;color:var(--gn-red);font-size:22px;flex-shrink:0}
 body .wl-dashboard .wl-main-layout{display:flex!important;flex-direction:column!important;gap:16px!important}
 body .wl-dashboard .wl-main-column{width:100%!important;min-width:0}
 body .wl-dashboard .wl-stat-top h3{font-size:11px!important;color:var(--gn-muted);margin-bottom:4px}
 body .wl-dashboard .wl-match-body{padding:10px!important}
 body .wl-dashboard .wl-match-head h3{font-size:14px!important;line-height:1.4}
 body .wl-dashboard .wl-match-body p{font-size:11px!important;line-height:1.5}
 body .wl-single .wl-photo-wrap{width:100%!important;height:390px!important;min-height:0!important;border-radius:18px 18px 0 0!important}
 body .wl-single .wl-photo-wrap>img{width:100%!important;height:100%!important;object-fit:cover!important}
 body .wl-single .wl-gallery-panel>.profile-image-actions,body .wl-single .wl-gallery-panel>[data-profile-image-tools]{padding:0 12px!important}
 body .wl-single .wl-profile-copy{margin-top:0!important}
 body .wl-single .wl-profile-grid .wl-profile-copy{width:100%!important}
 body .dashboard-content :is(.wl-filter-grid,.wl-completion-wrap){min-width:0}
}


