/* V10305: one compact, localized service contract for every customer tool. */
html,body{max-width:100%;overflow-x:hidden}
body.alm-v10305-service{--v105-gold:#efbd45;--v105-line:rgba(232,188,74,.36);--v105-ink:#fff4d6;--v105-muted:#c9d3cc}
body.alm-v10305-service .alm-service-row,
body.alm-v10305-service .v73-compact-head,
body.alm-v10305-service .v73-service-chip{display:none!important}

body.alm-v10305-service .product-topbar,
body.alm-v10305-service header.product-topbar{
  min-height:54px!important;height:54px!important;padding:4px clamp(10px,1.6vw,24px)!important;
  grid-template-columns:minmax(220px,1fr) auto minmax(250px,1fr)!important;gap:10px!important;
}
body.alm-v10305-service .product-brand img{width:38px!important;height:38px!important}
body.alm-v10305-service .product-brand span{font-size:20px!important}
body.alm-v10305-service .product-brand small{font-size:10px!important}
body.alm-v10305-service .product-topbar-center{padding:5px 10px!important;gap:6px!important}
body.alm-v10305-service .account-trigger{min-height:40px!important;padding:3px 8px!important}
body.alm-v10305-service .account-avatar{width:32px!important;height:32px!important}
body.alm-v10305-service .top-profile-switcher-inner{min-height:36px!important;padding:2px 12px!important;gap:7px!important}
body.alm-v10305-service .top-profile-option{min-height:30px!important;padding:4px 9px!important;font-size:12px!important}
body.alm-v10305-service.alm-v10305-hide-global-profile .top-profile-switcher{display:none!important}

body.alm-v10305-service .alm-v72-category-tabs{
  top:54px!important;min-height:34px!important;padding:4px max(10px,calc((100vw - 1500px)/2))!important;gap:4px!important;
}
body.alm-v10305-service .alm-v72-category-tabs a{min-height:26px!important;padding:4px 8px!important;border-radius:7px!important;font-size:10.5px!important;line-height:1.1!important}

.alm-v10305-service-head{
  order:-100;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px 14px;
  margin:0!important;padding:8px 11px!important;border:1px solid var(--v105-line);border-radius:12px;
  background:linear-gradient(135deg,rgba(8,72,53,.98),rgba(4,47,37,.98));color:var(--v105-ink);
}
.alm-v10305-service-head-copy{min-width:0}
.alm-v10305-service-head h1{margin:0 0 2px!important;font-size:clamp(18px,1.65vw,23px)!important;line-height:1.1!important;color:#fff!important}
.alm-v10305-service-head p{max-width:1050px;margin:0!important;font-size:11.5px!important;line-height:1.35!important;color:var(--v105-muted)!important}
.alm-v10305-back{
  display:inline-flex!important;align-items:center;justify-content:center;min-height:30px!important;padding:5px 9px!important;
  border:1px solid var(--v105-line)!important;border-radius:8px!important;background:rgba(238,188,69,.08)!important;
  color:#ffe49a!important;text-decoration:none!important;font-size:10.5px!important;font-weight:850!important;white-space:nowrap;
}
.alm-v10305-help{position:relative;margin:0;align-self:center}
.alm-v10305-help>summary{list-style:none;cursor:pointer;min-height:30px;padding:6px 9px;border:1px solid var(--v105-line);border-radius:8px;color:#ffe49a;font-size:10.5px;font-weight:800;white-space:nowrap}
.alm-v10305-help>summary::-webkit-details-marker{display:none}
.alm-v10305-help[open]>.alm-v10305-help-body{position:absolute;z-index:110;right:0;top:calc(100% + 6px);width:min(440px,75vw);padding:11px 12px;border:1px solid var(--v105-line);border-radius:11px;background:#062a20;box-shadow:0 16px 40px rgba(0,0,0,.35)}
.alm-v10305-help-body p{font-size:11.5px!important;line-height:1.5!important}
.alm-v10305-steps{grid-column:2/-1;display:flex;gap:5px;flex-wrap:wrap;margin-top:-3px}
.alm-v10305-steps span{padding:3px 7px;border:1px solid rgba(255,255,255,.12);border-radius:999px;color:#e9eee9;font-size:9.5px;white-space:nowrap}
.alm-v10305-context-source{padding:5px 2px 10px;border-bottom:1px solid var(--v105-line)}
.alm-v10305-context-source h2{margin:0 0 6px!important;font-size:15px!important;color:#fff!important}
.alm-v10305-context-source p{margin:0!important;font-size:11px!important;line-height:1.5!important;color:var(--v105-muted)!important}

body.alm-v10305-service main{min-width:0}
body.alm-v10305-service .alm-v72-layout{margin-top:6px!important;gap:12px!important;width:min(1580px,calc(100% - 16px))!important}
body.alm-v10305-service .alm-v72-side.left[aria-hidden="true"]{display:none!important}
body.alm-v10305-service.alm-v10305-context-full .alm-v72-layout{grid-template-columns:minmax(0,1fr)!important}
body.alm-v10305-service.alm-v10305-context-full .alm-v72-side.right{display:none!important}
body.alm-v10305-service.alm-v10305-context-side .alm-v72-layout{grid-template-columns:minmax(0,1fr) minmax(280px,320px)!important}
body.alm-v10305-service.alm-v10305-context-side .alm-v72-side.right{display:block!important;top:96px!important;max-height:calc(100vh - 108px)!important;padding:11px!important;overflow:auto}
body.alm-v10305-service .alm-v10304-context-card,
body.alm-v10305-service .alm-v10304-context-inline-card{display:none!important}

body.alm-v10305-service .v73-primary,
body.alm-v10305-service .v73-primary-secondary{margin:0!important;min-height:0!important;padding:10px!important;border-radius:11px!important}
body.alm-v10305-service input,
body.alm-v10305-service select{min-height:35px!important;height:35px!important;padding:5px 10px!important;font-size:12px!important}
body.alm-v10305-service textarea{min-height:64px!important;padding:7px 9px!important;font-size:12px!important}
body.alm-v10305-service button,
body.alm-v10305-service .btn{min-height:32px!important;padding:5px 10px!important;font-size:10.5px!important}
body.alm-v10305-service label{font-size:10.5px!important;margin-bottom:2px!important}

/* Premium Report: one profile selector, compact chart choice and actions. */
body[data-service-id="premium-report"] .report-profile-picker{display:grid!important;grid-template-columns:minmax(250px,.85fr) minmax(420px,1.45fr)!important;gap:7px 12px!important;padding:10px 12px!important}
body[data-service-id="premium-report"] .report-profile-picker>.report-profile-picker-copy:first-child h2{font-size:15px!important;margin:0 0 4px!important}
body[data-service-id="premium-report"] .report-profile-picker>.report-profile-picker-copy:first-child p{display:none!important}
body[data-service-id="premium-report"] .report-profile-picker-controls{display:grid!important;grid-template-columns:minmax(220px,1fr) auto!important;gap:8px!important;margin-top:6px!important}
body[data-service-id="premium-report"] .report-selected-profile{min-height:0!important;padding:7px 9px!important}
body[data-service-id="premium-report"] .report-profile-picker>.report-profile-picker-copy:nth-of-type(2){margin-top:0!important}
body[data-service-id="premium-report"] .report-profile-picker>.report-profile-picker-copy:nth-of-type(2)>p{display:none!important}
body[data-service-id="premium-report"] .chart-style-picker{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;margin-top:5px!important}
body[data-service-id="premium-report"] .chart-style-option{min-height:54px!important;padding:7px 9px!important}
body[data-service-id="premium-report"] .report-command-bar{padding:6px 10px!important;gap:6px!important}
body[data-service-id="premium-report"] .report-command-bar>div:first-child p{display:none!important}
body[data-service-id="premium-report"] .report-command-bar .report-actions{margin-left:auto!important}
body[data-service-id="premium-report"] .report-empty{padding:18px!important;margin:4px auto!important}

/* AI guidance: remove repeated lock copy while retaining the action. */
body[data-service-id="ai-astrology"] .alm-v10305-duplicate-copy,
body[data-service-id="ai-chat"] .alm-v10305-duplicate-copy{display:none!important}
body[data-service-id="ai-astrology"] .ai-profile-gate,
body[data-service-id="ai-chat"] .ai-profile-gate{padding:7px 10px!important;gap:8px!important}
body[data-service-id="ai-astrology"] .ai-profile-gate h2,
body[data-service-id="ai-chat"] .ai-profile-gate h2{font-size:15px!important;margin:0!important}
body[data-service-id="ai-astrology"] .ai-chat-workspace,
body[data-service-id="ai-chat"] .ai-chat-workspace{min-height:300px!important;margin-top:0!important}

/* Marriage Matching: workspace follows the compact context immediately. */
body[data-service-id="marriage-matching"] .workspace{margin-top:0!important;gap:12px!important}
body[data-service-id="marriage-matching"] .mm-card{padding:12px!important;border-radius:13px!important}
body[data-service-id="marriage-matching"] .person{padding:11px!important;border-radius:12px!important}
body[data-service-id="marriage-matching"] .person-head{margin-bottom:8px!important}
body[data-service-id="marriage-matching"] .fields{gap:7px 9px!important}
body[data-service-id="marriage-matching"] .options{margin-top:9px!important;padding:8px!important}
body[data-service-id="marriage-matching"] .action-row{margin-top:9px!important}
body[data-service-id="marriage-matching"] .empty-state{min-height:260px!important;padding:16px!important}

/* Purpose-built pages receive the same first-viewport density. */
body.alm-v10305-service .basic-context-nav{display:none!important}
body[data-service-id="basic-astrology"] .basic-shell{width:min(1500px,calc(100% - 20px))!important;padding:8px 0 30px!important}
body[data-service-id="basic-astrology"] .basic-hero{display:none!important}
body[data-service-id="basic-astrology"] .basic-form-card{padding:12px 14px!important;margin:0!important;border-radius:13px!important}
body[data-service-id="basic-astrology"] .basic-grid{gap:8px 12px!important}
body[data-service-id="basic-astrology"] .basic-grid input,
body[data-service-id="basic-astrology"] .basic-grid select{min-height:36px!important;padding:6px 10px!important}
body[data-service-id="basic-astrology"] .basic-actions{margin-top:10px!important}
body[data-service-id="daily-horoscope"] .daily-horoscope-intro{display:none!important}
body[data-service-id="daily-horoscope"] .daily-horoscope-shell{padding-top:6px!important}
body[data-service-id="daily-horoscope"] .alm-v10305-legacy-special-head h1,
body[data-service-id="daily-horoscope"] .alm-v10305-legacy-special-head p,
body[data-service-id="name-correction"] .alm-v10305-legacy-special-head h1,
body[data-service-id="name-correction"] .alm-v10305-legacy-special-head p,
body[data-service-id="numerology-marriage-matching"] .alm-v10305-legacy-special-head h1,
body[data-service-id="numerology-marriage-matching"] .alm-v10305-legacy-special-head p,
body[data-service-id="weekly-planning"] .alm-v10305-legacy-special-head h1,
body[data-service-id="weekly-planning"] .alm-v10305-legacy-special-head p,
body[data-service-id="monthly-planning"] .alm-v10305-legacy-special-head h1,
body[data-service-id="monthly-planning"] .alm-v10305-legacy-special-head p,
body[data-service-id="vastu-design-studio"] .alm-v10305-legacy-special-head h1,
body[data-service-id="vastu-design-studio"] .alm-v10305-legacy-special-head p{display:none!important}
body[data-service-id="vastu-design-studio"]>.alm-v10305-service-head{width:calc(100% - 16px);margin:6px auto!important}
body[data-service-id="vastu-design-studio"] .brand h1,
body[data-service-id="vastu-design-studio"] .brand p{display:none!important}

@media(max-width:1100px){
 body.alm-v10305-service .product-topbar,body.alm-v10305-service header.product-topbar{grid-template-columns:minmax(210px,1fr) auto!important}
 body.alm-v10305-service .product-topbar-center{display:none!important}
 body.alm-v10305-service.alm-v10305-context-side .alm-v72-layout{grid-template-columns:minmax(0,1fr)!important}
 body.alm-v10305-service.alm-v10305-context-side .alm-v72-side.right{display:none!important}
 body[data-service-id="premium-report"] .report-profile-picker{grid-template-columns:1fr 1fr!important}
}
@media(max-width:760px){
 body.alm-v10305-service .product-topbar,body.alm-v10305-service header.product-topbar{height:52px!important;min-height:52px!important;padding:3px 8px!important}
 body.alm-v10305-service .product-brand{min-width:0!important}
 body.alm-v10305-service .product-brand small,body.alm-v10305-service .account-copy{display:none!important}
 body.alm-v10305-service .alm-v72-category-tabs{top:52px!important}
 .alm-v10305-service-head{grid-template-columns:auto minmax(0,1fr);padding:7px 8px!important;gap:7px 9px}
 .alm-v10305-service-head h1{font-size:17px!important}
 .alm-v10305-service-head p{font-size:10.5px!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
 .alm-v10305-help{grid-column:1/-1;justify-self:end;margin-top:-2px}
 .alm-v10305-help[open]>.alm-v10305-help-body{position:fixed;left:10px;right:10px;top:auto;width:auto}
 .alm-v10305-steps{grid-column:1/-1}
 body[data-service-id="premium-report"] .report-profile-picker{grid-template-columns:1fr!important}
 body[data-service-id="premium-report"] .report-profile-picker-controls{grid-template-columns:1fr!important}
 body[data-service-id="basic-astrology"] .basic-grid{grid-template-columns:1fr!important}
}
