/* =========================================================
   V10 · Responsive public page + true full-screen workspace
   ========================================================= */
:root{
  --v10-page:#f6f4ed;
  --v10-card:#fffefa;
  --v10-line:rgba(17,58,50,.13);
  --v10-shadow:0 16px 46px rgba(17,53,45,.09);
  --v10-radius:18px;
  --v10-content:1240px;
  --v10-form:940px;
}

html{scroll-behavior:smooth;overflow-x:hidden}
body{overflow-x:hidden}
button,a,input,select,textarea{touch-action:manipulation}
button:not(:disabled),a[href]{cursor:pointer}
button:disabled{opacity:.48;cursor:not-allowed;transform:none!important}
.btn{transition:background-color .16s ease,border-color .16s ease,color .16s ease,box-shadow .16s ease,transform .16s ease}
.btn:active:not(:disabled){transform:translateY(1px)}

/* ---------- Public homepage: responsive, commercial, compact ---------- */
.public-landing{overflow:hidden}
.public-nav{min-height:68px;padding:11px clamp(16px,4vw,60px)}
.public-nav-links{gap:clamp(14px,2.2vw,28px)}
.public-nav-links a{font-size:.74rem}
.public-nav-cta{min-height:42px}
.public-hero{
  grid-template-columns:minmax(0,1.04fr) minmax(360px,.96fr);
  gap:clamp(28px,5vw,76px);
  max-width:1440px;
  min-height:min(780px,calc(100svh - 68px));
  padding:clamp(44px,6vw,88px) clamp(18px,5vw,72px) clamp(44px,6vw,76px);
}
.public-hero h1{max-width:760px;font-size:clamp(2.75rem,5.3vw,5.65rem);line-height:.93;letter-spacing:-.058em}
.public-hero-copy>p{max-width:680px;margin-top:22px;font-size:clamp(.94rem,1.25vw,1.08rem);line-height:1.65}
.public-hero-actions{margin-top:24px}
.public-primary-cta,.public-secondary-cta{min-height:50px;padding-inline:20px}
.public-trust-line{margin-top:21px;gap:11px;font-size:.68rem}
.product-preview{padding:14px;border-radius:24px}
.preview-body{min-height:350px;grid-template-columns:116px 1fr}
.preview-content{padding:18px}
.preview-content h3{font-size:clamp(1.45rem,2.2vw,1.9rem)}
.preview-chart{height:105px}
.public-metrics{max-width:1280px;padding:0 clamp(18px,5vw,72px) 60px}
.public-metric{padding:20px 22px}
.public-metric strong{font-size:1.55rem}
.public-section{max-width:1280px;padding:clamp(58px,7vw,84px) clamp(18px,5vw,72px)}
.public-section-head{gap:34px;margin-bottom:30px}
.public-section-head h2{max-width:720px;font-size:clamp(2.15rem,4.1vw,4.15rem);line-height:.98}
.public-section-head p{font-size:.84rem;line-height:1.62}
.public-benefit-grid{gap:13px}
.public-benefit-card{min-height:0;padding:22px}
.public-benefit-card h3{margin:24px 0 8px}
.public-benefit-card p{font-size:.75rem}
.module-showcase{gap:11px}
.module-showcase article{padding:20px}
.public-team-grid{gap:40px}
.public-team-copy h2{font-size:clamp(2.2rem,4vw,4.1rem)}
.public-login-section{max-width:1280px;gap:50px;padding:clamp(58px,7vw,82px) clamp(18px,5vw,72px);border-radius:28px 28px 0 0}
.public-login-copy h2{font-size:clamp(2.25rem,4.1vw,4.25rem)}
.login-panel.enterprise-login{padding:24px;border-radius:20px}

/* ---------- Logged-in shell: moderate scale ---------- */
.topbar{min-height:72px;padding:10px clamp(14px,2vw,28px)}
.app-shell{min-height:calc(100vh - 72px)}
.sidebar{top:72px;height:calc(100vh - 72px);padding-top:20px}
.main{max-width:1560px;padding:22px clamp(14px,2.5vw,36px) 58px}
.meta-card{padding:14px;border-radius:17px}
.section-heading h1{font-size:clamp(1.95rem,3.4vw,3.35rem)}
.section-heading p{font-size:.9rem}
.hero h1{font-size:clamp(2.2rem,4.2vw,4.5rem)}

/* ---------- Application introduction: clear without excessive depth ---------- */
.module-entry{
  max-width:1180px;
  margin:0 auto;
  grid-template-columns:minmax(0,1.25fr) minmax(260px,.75fr);
  gap:clamp(20px,3vw,34px);
  padding:clamp(22px,3.2vw,38px);
  border-radius:23px;
}
.module-entry-icon{width:48px;height:48px;border-radius:15px;font-size:.9rem}
.module-entry .eyebrow{margin-top:16px}
.module-entry h1{max-width:700px;margin:6px 0 11px;font-size:clamp(1.9rem,3.8vw,3.45rem);line-height:1}
.module-entry-lead{max-width:720px;font-size:clamp(.9rem,1.35vw,1.02rem);line-height:1.58}
.module-entry-facts{margin:18px 0;gap:7px}
.module-entry-facts span{padding:7px 10px;font-size:.68rem}
.module-entry-side{padding:18px;border-radius:18px}
.module-entry-side h2{margin-bottom:11px;font-size:.88rem}
.module-entry-side ol{gap:10px}
.module-entry-side li{grid-template-columns:29px 1fr;gap:9px;font-size:.73rem;line-height:1.42}
.module-entry-side li::before{width:28px;height:28px;border-radius:9px;font-size:.64rem}
.module-entry-side strong{font-size:.75rem}
.module-start-btn{min-height:48px}

/* ---------- True focus workspace ---------- */
body.module-work-active{
  min-height:100dvh;
  overflow-y:auto!important;
  background:#f4f2eb!important;
}
body.module-work-active>.topbar,
body.module-work-active .sidebar,
body.module-work-active .meta-card,
body.module-work-active .sidebar-backdrop,
body.module-work-active .mobile-action-bar,
body.module-work-active .scroll-top,
body.module-work-active .mobile-file-meta,
body.module-work-active .sidebar-collapse,
body.module-work-active .sidebar-close,
body.module-work-active #propertyModeCard,
body.module-work-active .module-toolbar,
body.module-work-active .appraisal-toolbar{
  display:none!important;
}
body.module-work-active .app-shell{
  display:block!important;
  min-height:100dvh!important;
}
body.module-work-active .main{
  width:100%!important;
  max-width:none!important;
  min-height:100dvh!important;
  margin:0!important;
  padding:0!important;
}
body.module-work-active .panel{display:none!important}
body.module-work-active .panel.active.module-started{
  display:block!important;
  min-height:100dvh;
  padding:clamp(12px,2vw,26px);
  animation:none!important;
}
body.module-work-active .panel.module-started>.module-entry{display:none!important}

/* Compact analysis header. It is part of the workspace, not the site shell. */
body.module-work-active .panel.module-started>.section-heading,
body.module-work-active .panel.module-started>.section-heading.sticky-heading,
body.module-work-active .panel.module-started>.section-heading:not(.compact-heading){
  position:relative!important;
  top:auto!important;
  z-index:4!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:12px!important;
  width:min(100%,var(--v10-content));
  margin:0 auto 14px!important;
  padding:10px 12px!important;
  border:1px solid var(--v10-line)!important;
  border-radius:15px!important;
  background:#fffefa!important;
  box-shadow:0 8px 24px rgba(17,53,45,.065)!important;
  backdrop-filter:none!important;
}
body.module-work-active .panel.module-started>.section-heading>div:first-child{min-width:0}
body.module-work-active .panel.module-started>.section-heading .eyebrow,
body.module-work-active .panel.module-started>.section-heading p{display:none!important}
body.module-work-active .panel.module-started>.section-heading h1,
body.module-work-active .panel.module-started>.section-heading h2{
  margin:0!important;
  font-family:var(--sans)!important;
  font-size:clamp(.93rem,1.4vw,1.12rem)!important;
  font-weight:900!important;
  line-height:1.25!important;
  letter-spacing:-.015em!important;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
body.module-work-active .panel.module-started>.section-heading .heading-actions{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:7px!important;
  width:auto!important;
  min-width:0;
}
body.module-work-active .panel.module-started>.section-heading .heading-actions>*{width:auto!important}
body.module-work-active .panel.module-started>.section-heading .btn{
  min-height:40px!important;
  padding:0 12px!important;
  border-radius:11px!important;
  font-size:.68rem!important;
  white-space:nowrap;
}
body.module-work-active .module-exit-btn{order:-20;background:#f2f5f1!important}
body.module-work-active .score-chip{
  min-width:88px!important;
  min-height:40px!important;
  padding:6px 10px!important;
  border-radius:11px!important;
  box-shadow:none!important;
}
body.module-work-active .score-chip span{font-size:.48rem!important}
body.module-work-active .score-chip strong{font-size:1.02rem!important}

/* Single-task question flow on all screen sizes. */
body.module-work-active .module-layout.mobile-question-flow,
body.module-work-active .performance-layout.mobile-question-flow{
  display:block!important;
  width:min(100%,var(--v10-form));
  margin:0 auto!important;
}
body.module-work-active .mobile-question-flow>.flow-question-column{display:block!important;min-width:0}
body.module-work-active .mobile-flow-nav{
  position:relative!important;
  top:auto!important;
  z-index:2!important;
  display:grid!important;
  gap:9px!important;
  width:100%;
  margin:0 0 12px!important;
  padding:11px 12px!important;
  border:1px solid var(--v10-line)!important;
  border-radius:15px!important;
  background:#fffefa!important;
  box-shadow:0 7px 20px rgba(17,53,45,.055)!important;
}
.mobile-flow-top{display:flex;align-items:center;justify-content:space-between;gap:12px}
.mobile-flow-top strong{font-size:.79rem}
.mobile-flow-top span{color:var(--ink-soft);font-size:.66rem;font-weight:800;text-align:right}
.mobile-flow-progress{height:6px;border-radius:999px;overflow:hidden;background:#e4e8e3}
.mobile-flow-progress i{display:block;height:100%;width:0;border-radius:inherit;background:var(--brand);transition:width .18s ease}
.mobile-flow-buttons{display:grid;grid-template-columns:minmax(110px,.7fr) minmax(100px,.8fr) minmax(110px,.7fr);gap:7px}
.mobile-flow-buttons .btn{min-height:40px;padding:0 11px;font-size:.69rem}
.mobile-flow-buttons [data-flow-prev]{justify-self:stretch}
.mobile-flow-buttons [data-flow-next]{justify-self:stretch}

body.module-work-active .mobile-question-flow .question-card,
body.module-work-active .mobile-question-flow .performance-criterion{display:none!important}
body.module-work-active .mobile-question-flow .question-card.flow-current,
body.module-work-active .mobile-question-flow .performance-criterion.flow-current{display:block!important}
body.module-work-active .mobile-question-flow:not(.flow-results-mode)>.result-stack{display:none!important}
body.module-work-active .mobile-question-flow.flow-results-mode>.flow-question-column{display:none!important}
body.module-work-active .mobile-question-flow.flow-results-mode>.result-stack{
  position:static!important;
  display:grid!important;
  width:min(100%,900px);
  margin:0 auto!important;
  gap:12px!important;
}

body.module-work-active .question-list{display:block!important}
body.module-work-active .question-card{
  width:100%;
  margin:0!important;
  padding:clamp(16px,2vw,24px)!important;
  border:1px solid var(--v10-line)!important;
  border-radius:18px!important;
  background:#fffefa!important;
  box-shadow:var(--v10-shadow)!important;
  transform:none!important;
}
body.module-work-active .question-head{align-items:start!important}
body.module-work-active .question-title-wrap h3,
body.module-work-active .question-card h3{font-size:clamp(1rem,1.45vw,1.15rem)!important;line-height:1.4!important}
body.module-work-active .question-meta{margin-top:6px}
body.module-work-active .score-block{margin-top:14px;padding:13px;border-radius:15px}
body.module-work-active .score-row{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
body.module-work-active .score-option label{min-height:58px;padding:8px 5px;border-radius:11px}
body.module-work-active .score-option label b{font-size:1.05rem}
body.module-work-active .score-option label small{font-size:.57rem;line-height:1.18}
body.module-work-active .answer-guide{margin-top:12px;border-radius:14px;background:#fff}
body.module-work-active .answer-guide>summary{min-height:46px;padding:11px 13px}
body.module-work-active .guide-list{grid-template-columns:1fr!important}
body.module-work-active .guide-item{min-height:0;padding:11px 13px;border-right:0!important}
body.module-work-active .guide-item p{font-size:.72rem;line-height:1.48}
body.module-work-active .question-note textarea{min-height:92px}
body.module-work-active .question-actions{display:none!important}
body.module-work-active .clear-score{display:inline-flex;margin-top:9px}

/* Performance analysis uses the same single-task pattern. */
body.module-work-active .performance-intro{display:none!important}
body.module-work-active .performance-toolbar,
body.module-work-active .advisor-registry-card,
body.module-work-active .performance-kpi-grid,
body.module-work-active .data-card{
  width:min(100%,var(--v10-content));
  margin-left:auto!important;
  margin-right:auto!important;
}
body.module-work-active .performance-criterion{padding:clamp(16px,2vw,23px)!important;border-radius:18px!important;background:#fffefa!important;box-shadow:var(--v10-shadow)!important}

/* Property and quick-score workspaces use the full content area. */
body.module-work-active .panel.module-started>.property-mode-card,
body.module-work-active .panel.module-started>.inline-layer-switch,
body.module-work-active .panel.module-started>.transaction-switch,
body.module-work-active .panel.module-started>.layer-intro,
body.module-work-active .panel.module-started>.appraisal-layout,
body.module-work-active .panel.module-started>.quick-layout,
body.module-work-active .panel.module-started>.module-toolbar,
body.module-work-active .panel.module-started>.appraisal-toolbar,
body.module-work-active .panel.module-started>.quick-grid,
body.module-work-active .panel.module-started>.card,
body.module-work-active #propertyLayerMount{
  width:min(100%,var(--v10-content));
  margin-left:auto!important;
  margin-right:auto!important;
}
body.module-work-active .module-layout:not(.mobile-question-flow),
body.module-work-active .appraisal-layout,
body.module-work-active .quick-layout{
  width:min(100%,var(--v10-content));
  margin-left:auto!important;
  margin-right:auto!important;
  gap:16px!important;
}
body.module-work-active .result-stack{position:static!important;top:auto!important}
body.module-work-active .layer-side{top:auto!important}
body.module-work-active .layer-group,
body.module-work-active .criteria-group,
body.module-work-active .property-mode-card,
body.module-work-active .layer-intro{box-shadow:0 8px 24px rgba(17,53,45,.06)}

/* ---------- Responsive shell and public page ---------- */
@media(max-width:1040px){
  .public-hero{grid-template-columns:1fr;min-height:auto;max-width:920px;padding-top:50px}
  .public-hero-copy{text-align:center}
  .public-hero h1,.public-hero-copy>p{margin-left:auto;margin-right:auto}
  .public-hero-actions,.public-trust-line{justify-content:center}
  .product-preview{width:min(100%,780px);margin:auto}
  .public-benefit-grid{grid-template-columns:repeat(2,1fr)}
  .module-showcase{grid-template-columns:repeat(2,1fr)}
  .public-team-grid{grid-template-columns:1fr}
  .public-login-section{grid-template-columns:1fr;max-width:920px}
  .public-login-copy{text-align:center}
  .public-login-copy h2,.public-login-copy p{margin-left:auto;margin-right:auto}
  .module-entry{grid-template-columns:1fr minmax(240px,.62fr)}
}

@media(max-width:860px){
  .public-nav-links{display:none}
  .public-nav{padding-inline:14px}
  .public-brand small{display:none}
  .public-hero{padding:38px 15px 44px}
  .public-hero h1{font-size:clamp(2.45rem,11vw,4.2rem);line-height:.95}
  .public-hero-copy>p{font-size:.92rem;line-height:1.58}
  .public-trust-line{display:grid;grid-template-columns:1fr 1fr;width:min(100%,520px);margin-inline:auto;text-align:left}
  .preview-body{display:block;min-height:0}
  .preview-sidebar{display:none}
  .preview-content{padding:16px}
  .public-metrics{grid-template-columns:1fr 1fr;padding:0 15px 42px;gap:8px}
  .public-metric,.public-metric:first-child,.public-metric:last-child{border:1px solid rgba(15,55,47,.11);border-radius:14px!important;padding:16px}
  .public-section{padding:52px 15px}
  .public-section-head{grid-template-columns:1fr;gap:12px}
  .public-section-head h2{font-size:clamp(2rem,9vw,3.25rem)}
  .public-benefit-grid,.module-showcase{grid-template-columns:1fr}
  .public-benefit-card{padding:19px}
  .public-login-section{padding:48px 14px;border-radius:0}
  .public-login-copy h2{font-size:clamp(2.1rem,9vw,3.4rem)}
  .public-footer{padding:20px 15px;gap:8px;flex-direction:column;align-items:flex-start}

  .module-entry{grid-template-columns:1fr;max-width:720px;padding:21px 17px;border-radius:19px}
  .module-entry h1{font-size:clamp(1.85rem,8vw,2.75rem)}
  .module-entry-lead{font-size:.88rem}
  .module-entry-side{display:none}
  .module-entry-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}
  .module-entry-actions .btn{width:100%;min-height:47px}

  body.module-work-active .panel.active.module-started{padding:8px}
  body.module-work-active .panel.module-started>.section-heading,
  body.module-work-active .panel.module-started>.section-heading.sticky-heading,
  body.module-work-active .panel.module-started>.section-heading:not(.compact-heading){
    grid-template-columns:minmax(0,1fr)!important;
    gap:8px!important;
    margin-bottom:9px!important;
    padding:9px!important;
    border-radius:13px!important;
  }
  body.module-work-active .panel.module-started>.section-heading .heading-actions{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto!important;
    gap:6px!important;
    width:100%!important;
  }
  body.module-work-active .panel.module-started>.section-heading .btn{min-width:0!important;padding:0 8px!important}
  body.module-work-active .score-chip{min-width:70px!important}

  body.module-work-active .mobile-flow-nav{padding:10px;margin-bottom:8px!important;border-radius:13px!important}
  .mobile-flow-buttons{grid-template-columns:1fr 1fr 1fr}
  .mobile-flow-buttons .btn{min-width:0;padding:0 7px;font-size:.65rem}
  body.module-work-active .question-card{padding:15px 12px!important;border-radius:15px!important}
  body.module-work-active .question-head{display:grid!important;grid-template-columns:38px minmax(0,1fr)!important;gap:10px!important}
  body.module-work-active .question-no{width:38px!important;height:38px!important}
  body.module-work-active .question-state{grid-column:1/-1!important;justify-self:stretch;text-align:center}
  body.module-work-active .score-row{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}
  body.module-work-active .score-option:last-child{grid-column:1/-1}
  body.module-work-active .score-option label{min-height:52px!important;display:grid;grid-template-columns:auto 1fr;align-items:center;justify-content:start;gap:9px;padding:9px 12px!important;text-align:left}
  body.module-work-active .score-option label b{font-size:1rem!important}
  body.module-work-active .score-option label small{font-size:.65rem!important;line-height:1.25!important}
  body.module-work-active .answer-guide>summary small{display:none!important}
  body.module-work-active .guide-item p{font-size:.76rem!important}
  body.module-work-active input,
  body.module-work-active select,
  body.module-work-active textarea{font-size:16px!important}

  body.module-work-active .module-layout:not(.mobile-question-flow),
  body.module-work-active .appraisal-layout,
  body.module-work-active .quick-layout,
  body.module-work-active .layer-grid{display:block!important}
  body.module-work-active .result-stack{margin-top:10px!important}
  body.module-work-active .property-mode-buttons{grid-template-columns:1fr!important}
  body.module-work-active .layer-fields,
  body.module-work-active .layer-fields.cols-2,
  body.module-work-active .layer-fields.cols-3,
  body.module-work-active .range-grid,
  body.module-work-active .finance-split,
  body.module-work-active .traffic-observation-grid{grid-template-columns:1fr!important}
  body.module-work-active .performance-toolbar,
  body.module-work-active .registry-form{grid-template-columns:1fr!important}
}

@media(max-width:560px){
  .public-nav-cta{min-height:39px;padding:0 12px;font-size:.67rem}
  .public-brand-mark{width:39px;height:39px;border-radius:12px}
  .public-hero h1{font-size:clamp(2.2rem,12vw,3.2rem)}
  .public-hero-actions{display:grid;grid-template-columns:1fr;width:100%}
  .public-primary-cta,.public-secondary-cta{width:100%;min-height:47px}
  .public-trust-line{grid-template-columns:1fr}
  .product-preview{padding:8px;border-radius:18px}
  .preview-window{border-radius:14px}
  .preview-kpis{grid-template-columns:1fr 1fr}
  .preview-kpis div:last-child{grid-column:1/-1}
  .public-metrics{grid-template-columns:1fr}
  .public-section-head h2{font-size:clamp(1.9rem,10vw,2.75rem)}
  .team-row-demo{grid-template-columns:38px minmax(0,1fr);padding:11px}
  .team-row-demo>b{grid-column:2;justify-self:start}
  .login-panel.enterprise-login{padding:18px 14px}

  .module-entry{padding:18px 14px}
  .module-entry-icon{width:42px;height:42px}
  .module-entry .eyebrow{margin-top:13px}
  .module-entry h1{font-size:clamp(1.75rem,9.5vw,2.35rem)}
  .module-entry-facts{display:grid;grid-template-columns:1fr 1fr;margin:14px 0}
  .module-entry-facts span{text-align:center}
  .module-entry-facts span:last-child{grid-column:1/-1}
  .module-entry-actions{grid-template-columns:1fr}

  body.module-work-active .panel.module-started>.section-heading h1,
  body.module-work-active .panel.module-started>.section-heading h2{font-size:.88rem!important}
  body.module-work-active .panel.module-started>.section-heading .heading-actions{grid-template-columns:1fr 1fr!important}
  body.module-work-active .score-chip{display:none!important}
  body.module-work-active .form-reset-btn{font-size:.64rem!important}
  .mobile-flow-top{align-items:flex-start}
  .mobile-flow-top span{max-width:55%;font-size:.61rem}
  .mobile-flow-buttons{grid-template-columns:42px minmax(0,1fr) 42px}
  .mobile-flow-buttons [data-flow-prev] span,
  .mobile-flow-buttons [data-flow-next] span{display:none}
  .mobile-flow-buttons .btn{padding:0 5px}
  body.module-work-active .question-title-wrap h3,
  body.module-work-active .question-card h3{font-size:.98rem!important}
}

@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{
  body.module-work-active>.topbar{display:none!important}
  body.module-work-active .panel.active.module-started{padding:0}
  body.module-work-active .mobile-flow-nav,
  body.module-work-active .module-exit-btn{display:none!important}
}

/* V10 result view keeps its navigation visible so “Sorulara dön” always works. */
body.module-work-active .mobile-question-flow.flow-results-mode>.flow-question-column{display:block!important}
body.module-work-active .mobile-question-flow.flow-results-mode>.flow-question-column>.question-list{display:none!important}
body.module-work-active .mobile-question-flow.flow-results-mode>.flow-question-column>.performance-criterion{display:none!important}
body.module-work-active .mobile-question-flow.flow-results-mode>.result-stack{display:grid!important}


/* V10.0.1 — reliable property accordions */
#appraisal details.layer-group > summary{
  position:relative;
  z-index:2;
  width:100%;
  user-select:none;
  touch-action:manipulation;
  pointer-events:auto!important;
}
#appraisal details.layer-group > summary::after{pointer-events:none}
#appraisal details.layer-group > summary:active{background:#f4f7f4}
#appraisal details.layer-group > summary[aria-expanded="true"]::after{content:"−"}
#appraisal details.layer-group > summary[aria-expanded="false"]::after{content:"+"}
