/* v1.0.8.9. ModelStash only; stronger than theme button defaults and Core inline styles. */
body.hzi-readable :is(.ms-app-container,.ms-wrapper,.ms-guide-overlay,#ms-pwa-banner,#ms-ios-instruction) :is(.ms-btn,.ms-btn-core,.hzi-action-btn,.hzi-public-more,.hzi-public-tabs button,.hzi-nav-toggle,.ms-guide-close-btn,.ms-pwa-btn),
body.hzi-readable #hzi-detail-shopping .hzi-action-btn {
 appearance:none!important;box-sizing:border-box!important;min-height:48px!important;height:auto!important;min-width:44px!important;max-width:100%!important;
 padding:11px 16px!important;margin:0!important;border:1px solid #718360!important;border-radius:10px!important;
 background:#22291f!important;color:#f2f5ef!important;font-family:inherit!important;font-size:14px!important;font-weight:700!important;line-height:24px!important;
 text-transform:none!important;letter-spacing:normal!important;white-space:normal!important;overflow-wrap:anywhere;text-align:center!important;text-decoration:none!important;
 box-shadow:none!important;cursor:pointer;gap:8px!important;align-items:center!important;justify-content:center!important;vertical-align:middle;
}
body.hzi-readable :is(.ms-kit-actions,.hzi-public-tabs,#hzi-detail-shopping) :is(button,a),
body.hzi-readable :is(.hzi-public-more,.ms-guide-close-btn,.ms-pwa-btn) {display:inline-flex!important;}
body.hzi-readable :is(.ms-app-container,.ms-wrapper,.ms-guide-overlay,#ms-pwa-banner) :is(.ms-btn-project,.ms-btn-stash.in-stash,.hzi-public-tabs [aria-pressed="true"],.ms-guide-close-btn,.ms-pwa-btn,.ms-btn-core.primary) {background:#91b447!important;color:#15200c!important;border-color:#91b447!important;}
body.hzi-readable .ms-app-container .ms-btn-amazon {border-color:#d9a34b!important;color:#ffd18a!important;}
body.hzi-readable :is(.ms-app-container,.ms-wrapper,.ms-guide-overlay,#ms-pwa-banner) :is(.ms-btn,.ms-btn-core,.hzi-action-btn,.hzi-public-more,.hzi-public-tabs button,.hzi-nav-toggle,.ms-guide-close-btn,.ms-pwa-btn):hover:not(:disabled) {background:#34412a!important;color:#fff!important;border-color:#b4d87c!important;transform:none!important;}
body.hzi-readable :is(.ms-app-container,.ms-wrapper,.ms-guide-overlay,#ms-pwa-banner,#ms-ios-instruction) :is(button,a,[role="button"]):focus-visible {outline:3px solid #c1ec83!important;outline-offset:3px!important;}
body.hzi-readable :is(.ms-app-container,.ms-wrapper) :is(.ms-btn,.hzi-action-btn,.hzi-public-more,.hzi-public-tabs button):disabled {opacity:.65!important;cursor:wait!important;}
body.hzi-readable :is(.hzi-public-more,.hzi-action-btn)[hidden] {display:none!important;}
body.hzi-readable .hzi-public-tabs {display:flex;flex-wrap:wrap;gap:8px!important;}
body.hzi-readable .hzi-public-tabs button {flex:1 1 130px;}
body.hzi-readable .hzi-public-more {margin-block:12px!important;}
body.hzi-readable .ms-app-container .hzi-nav-toggle {display:none!important;}
body.hzi-readable .ms-kit-actions .dashicons {flex:0 0 20px;width:20px!important;height:20px!important;font-size:20px!important;line-height:20px!important;}

/* Every model_kit detail shares these classes. Remove cumulative inner gutters. */
body.hzi-readable.single-model_kit .ms-app-container {width:100%!important;max-width:1440px!important;}
body.hzi-readable .ms-kit-container {width:100%!important;max-width:1200px!important;min-width:0!important;padding-inline:0!important;margin:24px auto!important;box-sizing:border-box!important;}
body.hzi-readable .ms-kit-hero {display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1.35fr)!important;gap:24px!important;padding:24px!important;box-sizing:border-box!important;}
body.hzi-readable .ms-kit-img {width:100%!important;max-width:100%!important;height:auto!important;object-fit:contain;}
body.hzi-readable .ms-kit-info {min-width:0!important;width:100%;}
body.hzi-readable .ms-kit-title {font-size:clamp(22px,1.5rem,30px)!important;line-height:1.3!important;overflow-wrap:anywhere;}
body.hzi-readable .ms-kit-meta {gap:8px!important;}
body.hzi-readable .ms-meta-tag {font-size:14px!important;line-height:1.4!important;padding:6px 10px!important;}
body.hzi-readable .ms-kit-actions {display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;align-items:stretch!important;}
body.hzi-readable .ms-kit-actions .ms-btn {width:100%!important;}
body.hzi-readable .ms-kit-info #hzi-detail-shopping {display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px!important;margin-top:10px!important;}
body.hzi-readable .ms-kit-info #hzi-detail-shopping .hzi-action-btn {width:100%!important;}
body.hzi-readable .ms-kit-info #hzi-detail-shopping p {grid-column:1/-1;}

/* Help drawer and PWA HOW TO sheet: content scrolls inside the viewport. */
body.hzi-readable .ms-guide-paper {width:min(480px,100vw)!important;max-width:100%!important;padding:24px!important;height:100%!important;max-height:100dvh;overflow-y:auto!important;box-sizing:border-box;overscroll-behavior:contain;}
body.hzi-readable .ms-guide-header {min-width:0;flex-wrap:wrap;gap:12px;}
body.hzi-readable .ms-guide-header>div {min-width:0;flex:1 1 180px;}
body.hzi-readable .ms-guide-title {font-size:20px!important;overflow-wrap:anywhere;}
body.hzi-readable .ms-guide-body :is(p,li) {font-size:16px!important;overflow-wrap:anywhere;}
body.hzi-readable .ms-guide-close-btn {width:100%!important;margin-top:24px!important;}
body.hzi-readable #ms-pwa-banner {width: min(440px,calc(100vw - 32px))!important;max-width:calc(100vw - 32px)!important;box-sizing:border-box!important;right:16px!important;bottom:calc(88px + env(safe-area-inset-bottom,0px))!important;padding:24px 16px 16px!important;gap:12px!important;flex-wrap:wrap!important;max-height:calc(100dvh - 120px);overflow-y:auto;}
body.hzi-readable #ms-pwa-banner .ms-pwa-content {flex:1 1 220px;min-width:0;gap:12px;}
body.hzi-readable #ms-pwa-banner .ms-pwa-icon {width:40px;flex:0 0 40px;}
body.hzi-readable #ms-pwa-banner .ms-pwa-text {min-width:0;padding-right:20px;}
body.hzi-readable #ms-pwa-banner .ms-pwa-text h4 {font-size:16px!important;line-height:1.4;}
body.hzi-readable #ms-pwa-banner .ms-pwa-text p {font-size:14px!important;line-height:1.5!important;overflow-wrap:anywhere;}
body.hzi-readable #ms-pwa-banner .ms-pwa-close {top:0!important;right:0!important;width:44px!important;height:44px!important;font-size:22px!important;box-sizing:border-box;}
body.hzi-readable #ms-ios-instruction {width:min(420px,calc(100vw - 32px))!important;max-width:calc(100vw - 32px)!important;max-height:calc(100dvh - 48px);overflow-y:auto;box-sizing:border-box!important;padding:20px!important;bottom:calc(20px + env(safe-area-inset-bottom,0px))!important;}
@media(max-width:768px) {
 body.hzi-readable .ms-app-container .hzi-nav-toggle {display:inline-flex!important;}
 body.hzi-readable.single-model_kit .ms-app-container {padding-inline:12px!important;}
 body.hzi-readable .ms-kit-container {margin-block:16px!important;}
 body.hzi-readable .ms-kit-hero {grid-template-columns:minmax(0,1fr)!important;padding:16px!important;gap:20px!important;}
 body.hzi-readable .ms-kit-actions,body.hzi-readable .ms-kit-info #hzi-detail-shopping {grid-template-columns:minmax(0,1fr)!important;}
 body.hzi-readable .ms-guide-paper {padding:20px 16px calc(24px + env(safe-area-inset-bottom,0px))!important;}
}
@media(prefers-reduced-motion:reduce){body.hzi-readable :is(.ms-guide-paper,#ms-pwa-banner){animation:none!important;transition:none!important;}}

/* v1.0.8.10: visual collection cards, scoped to Dashboard recommendations. */
body.hzi-readable :is(#hzi-collection-kits,#hzi-related-kits) {font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;padding:20px!important;}
body.hzi-readable :is(#hzi-collection-kits,#hzi-related-kits)>h2 {font-family:inherit;font-size:22px!important;line-height:1.3!important;color:#f2f5ef!important;margin-bottom:12px!important;}
body.hzi-readable :is(#hzi-collection-kits,#hzi-related-kits) .hzi-related-grid {grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:20px!important;}
body.hzi-readable :is(#hzi-collection-kits,#hzi-related-kits) .hzi-related-card {display:flex;flex-direction:column;gap:12px;padding:16px!important;background:#20251e;border:1px solid #52604a;border-radius:12px;min-width:0;}
body.hzi-readable :is(#hzi-collection-kits,#hzi-related-kits) .hzi-collection-media {display:block;position:relative;aspect-ratio:8/5;width:100%;background:#151915;overflow:hidden;border-radius:8px;text-decoration:none!important;}
body.hzi-readable :is(#hzi-collection-kits,#hzi-related-kits) .hzi-collection-media img {position:absolute;inset:0;width:100%;height:100%;object-fit:contain;}
body.hzi-readable :is(#hzi-collection-kits,#hzi-related-kits) .hzi-collection-no-image {position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:14px;color:#c4cdc5;}
body.hzi-readable :is(#hzi-collection-kits,#hzi-related-kits) .hzi-collection-no-image[hidden] {display:none!important;}
body.hzi-readable :is(#hzi-collection-kits,#hzi-related-kits) .hzi-collection-name {font-family:inherit;font-size:17px!important;font-weight:700;line-height:1.4!important;color:#f2f5ef!important;text-decoration:none!important;overflow-wrap:anywhere;}
body.hzi-readable :is(#hzi-collection-kits,#hzi-related-kits) .hzi-collection-name:hover {color:#b4d87c!important;text-decoration:underline!important;}
body.hzi-readable :is(#hzi-collection-kits,#hzi-related-kits) :is(p,li) {font-family:inherit;font-size:14px!important;line-height:1.5!important;color:#c4cdc5!important;}
body.hzi-readable :is(#hzi-collection-kits,#hzi-related-kits) ul {padding-left:18px;margin:0 0 4px;}
body.hzi-readable :is(#hzi-collection-kits,#hzi-related-kits) .hzi-plan-actions {display:flex;flex-wrap:wrap;gap:8px;margin-top:auto;}
body.hzi-readable :is(#hzi-collection-kits,#hzi-related-kits) .hzi-related-card>p:empty {display:none;}
/* Core's mobile action-card flex rule was narrowing the nested recruit grid. */
body.hzi-readable .ms-radar-layout .hzi-fresh-recruits {display:block!important;width:100%!important;min-width:0!important;box-sizing:border-box;}
body.hzi-readable .hzi-fresh-recruits>div {width:100%!important;min-width:0;box-sizing:border-box;}
body.hzi-readable .hzi-fresh-recruits .ms-user-list-item {display:flex!important;width:100%!important;max-width:none!important;min-width:0;box-sizing:border-box;}
body.hzi-readable .hzi-fresh-recruits .ms-user-info {flex:1 1 0;min-width:0;}
body.hzi-readable .hzi-fresh-recruits .ms-user-avatar-sm {flex:0 0 40px;}
body.hzi-readable .hzi-fresh-recruits .ms-user-name {white-space:normal!important;overflow-wrap:anywhere;}
@media(max-width:768px){
 body.hzi-readable :is(#hzi-collection-kits,#hzi-related-kits) {padding:16px!important;}
 body.hzi-readable :is(#hzi-collection-kits,#hzi-related-kits)>h2 {font-size:20px!important;}
 body.hzi-readable :is(#hzi-collection-kits,#hzi-related-kits) .hzi-related-grid {grid-template-columns:minmax(0,1fr)!important;gap:16px!important;}
 body.hzi-readable .hzi-fresh-recruits>div[style*="display:grid"] {grid-template-columns:minmax(0,1fr)!important;}
}
/* v1.0.8.13: paint inventory typography and fixed 80px swatches. */
body.hzi-readable .hzi-stash-paints .ms-db-color-circle {width:80px!important;height:80px!important;min-width:80px!important;min-height:80px!important;max-width:80px!important;max-height:80px!important;flex:0 0 80px!important;border-radius:50%!important;box-sizing:border-box;}
body.hzi-readable .hzi-stash-paints .ms-db-title,
body.hzi-readable .hzi-stash-paints .ms-db-title a {font-size:16px!important;line-height:1.4!important;font-weight:600!important;overflow-wrap:anywhere;}
body.hzi-readable .hzi-stash-paints .ms-db-code {display:inline-block;font-size:13px!important;line-height:1.4!important;white-space:nowrap!important;padding:3px 6px;}
body.hzi-readable .hzi-stash-paints .ms-db-desc {font-size:14px!important;line-height:1.5!important;color:#c4cdc5!important;}
body.hzi-readable .hzi-stash-paints .ms-db-card {height:auto!important;min-width:0;padding:16px!important;}
body.hzi-readable .hzi-stash-paints .ms-db-header {min-width:0;gap:12px!important;}
body.hzi-readable .hzi-stash-paints .ms-db-header>div {margin-left:0!important;}
@media(max-width:480px){
 body.hzi-readable .hzi-stash-paints .ms-discover-layout {grid-template-columns:minmax(0,1fr)!important;}
 body.hzi-readable .hzi-stash-paints .ms-db-header {display:grid!important;grid-template-columns:80px minmax(0,1fr)!important;}
 body.hzi-readable .hzi-stash-paints .ms-stash-btn-sm {grid-column:2;justify-self:end;}
}
/* v1.0.8.23: Dashboard Mobile Hero, Contrast & PWA / Bottom Nav Fixes */
body.hzi-dashboard .ms-hero-card {
 display: flex!important;
 flex-direction: column!important;
 align-items: stretch!important;
 gap: 16px!important;
 box-sizing: border-box!important;
}
body.hzi-dashboard .ms-hero-card .ms-modal-btn {
 float: none!important;
 margin: 0!important;
 width: 100%!important;
 min-height: 48px!important;
 justify-content: center!important;
}
body.hzi-dashboard .ms-hero-title {
 word-break: normal!important;
 overflow-wrap: break-word!important;
 color: #FFFFFF!important;
 font-size: clamp(20px, 5vw, 28px)!important;
 line-height: 1.25!important;
 margin: 0!important;
}
body.hzi-dashboard .ms-hero-card p {
 color: rgba(255, 255, 255, 0.85)!important;
 margin: 0!important;
 line-height: 1.5!important;
}
body.hzi-dashboard .ms-stats-row {
 display: flex!important;
 flex-wrap: wrap!important;
 gap: 10px!important;
 margin-top: 10px!important;
}
body.hzi-dashboard .ms-stats-row .ms-stat-item {
 flex: 1 1 calc(50% - 10px)!important;
 box-sizing: border-box!important;
 justify-content: center!important;
}
body.hzi-dashboard .ms-stats-row .ms-stat-item:last-child {
 flex: 1 1 100%!important;
 margin-left: 0!important;
 text-align: center!important;
 justify-content: center!important;
}
/* PWA Banner & Bottom Navigation Safe Area Fix */
body.hzi-readable #ms-pwa-banner {
 bottom: calc(76px + env(safe-area-inset-bottom, 0px))!important;
 z-index: 99990!important;
}
body.hzi-readable .ms-mobile-nav,
body.hzi-readable .ms-bottom-nav {
 z-index: 99995!important;
 padding-bottom: max(10px, env(safe-area-inset-bottom, 0px))!important;
}
/* v1.0.8.24: Absolute Dashboard Mobile & DOM Isolation Overrides */
body.hzi-dashboard .ms-app-container {
 display: flex!important;
 flex-direction: column!important;
 width: 100%!important;
 max-width: 100%!important;
 padding: 12px!important;
 box-sizing: border-box!important;
 overflow-x: hidden!important;
}

/* Standart blog bileşenlerini ve footer kalıntılarını uygulama ekranından gizle */
body.hzi-dashboard :is(.widget-area, .site-footer, .hzi-discover-tools ~ *, .ms-landing-wrap) {
 display: none!important;
}

/* Hero Kartı ve Kelime Bölünmesini Kesin Çözüm */
body.hzi-dashboard .ms-hero-card {
 width: 100%!important;
 max-width: 100%!important;
 display: flex!important;
 flex-direction: column!important;
 align-items: stretch!important;
 box-sizing: border-box!important;
 padding: 20px!important;
 margin: 0 0 20px 0!important;
}

body.hzi-dashboard .ms-hero-title {
 display: block!important;
 width: 100%!important;
 font-size: 22px!important;
 line-height: 1.3!important;
 word-break: normal!important;
 overflow-wrap: break-word!important;
 white-space: normal!important;
 color: #FFFFFF!important;
}

body.hzi-dashboard .ms-hero-card .ms-modal-btn {
 float: none!important;
 display: flex!important;
 width: 100%!important;
 margin: 0 0 12px 0!important;
 min-height: 48px!important;
 justify-content: center!important;
 align-items: center!important;
}

/* İstatistik Alanı Esnek Düzen */
body.hzi-dashboard .ms-stats-row {
 display: flex!important;
 flex-wrap: wrap!important;
 gap: 8px!important;
 width: 100%!important;
}

body.hzi-dashboard .ms-stats-row .ms-stat-item {
 flex: 1 1 calc(50% - 8px)!important;
 min-width: 130px!important;
 box-sizing: border-box!important;
 justify-content: center!important;
}

body.hzi-dashboard .ms-stats-row .ms-stat-item:last-child {
 flex: 1 1 100%!important;
 margin-left: 0!important;
 text-align: center!important;
}

/* PWA Çekmecesi ve Alt Navigasyon Çakışmasını Engelleme */
body.hzi-dashboard #ms-pwa-banner {
 position: fixed!important;
 left: 12px!important;
 right: 12px!important;
 bottom: calc(80px + env(safe-area-inset-bottom, 0px))!important;
 width: auto!important;
 max-width: none!important;
 z-index: 99999!important;
}
@media(max-width: 768px) {
  body.hzi-dashboard .ms-radar-layout { grid-template-columns: minmax(0, 1fr)!important; }
  body.hzi-dashboard .ms-global-stats-grid { grid-template-columns: repeat(3, minmax(0, 1fr))!important; gap: 8px!important; }
}