
/* Virtual Tour Studio v50.19 — commercial system audit and consistency pass */
:root{
  --v519-ink:#171922;
  --v519-muted:#667085;
  --v519-line:#dfe2e8;
  --v519-panel:#ffffff;
  --v519-soft:#f6f7fa;
  --v519-accent:#635bff;
  --v519-accent-soft:#f0efff;
  --v519-good:#16845b;
  --v519-warn:#b26a12;
  --v519-danger:#c64040;
  --v519-shadow:0 18px 55px rgba(24,28,40,.075);
}

/* Dashboard: secondary screens must be as complete as the landing view. */
body.v47-dashboard.v519-commercial-system-audit .v47-view[data-panel="media"],
body.v47-dashboard.v519-commercial-system-audit .v47-view[data-panel="analytics"],
body.v47-dashboard.v519-commercial-system-audit .v47-view[data-panel="organization"],
body.v47-dashboard.v519-commercial-system-audit .v47-view[data-panel="scenarios"]{
  width:min(1460px,100%);
  margin-inline:auto;
}
body.v47-dashboard.v519-commercial-system-audit .v47-page-head p,
body.v47-dashboard.v519-commercial-system-audit .v47-section-title p{
  color:#667085!important;
  font-size:12px!important;
  line-height:1.55!important;
}
body.v47-dashboard.v519-commercial-system-audit .v47-media-toolbar{
  min-height:58px;
  padding:9px 10px!important;
  border:1px solid var(--v519-line)!important;
  border-radius:16px!important;
  background:rgba(255,255,255,.88)!important;
  box-shadow:0 10px 30px rgba(24,28,40,.035)!important;
}
body.v47-dashboard.v519-commercial-system-audit .v47-chip,
body.v47-dashboard.v519-commercial-system-audit .v47-sort,
body.v47-dashboard.v519-commercial-system-audit .v47-view-toggle button{
  min-height:38px!important;
  font-size:12px!important;
}
body.v47-dashboard.v519-commercial-system-audit #mediaGrid.v519-sparse-single,
body.v47-dashboard.v519-commercial-system-audit #publishedGrid.v519-sparse-single{
  display:grid!important;
  grid-template-columns:minmax(0,960px)!important;
  justify-content:start!important;
  gap:18px!important;
}
body.v47-dashboard.v519-commercial-system-audit #mediaGrid.v519-sparse-single .v47-media-card,
body.v47-dashboard.v519-commercial-system-audit #publishedGrid.v519-sparse-single .v47-media-card{
  display:grid!important;
  grid-template-columns:minmax(380px,1.35fr) minmax(260px,.65fr)!important;
  min-height:310px!important;
  overflow:hidden!important;
  border:1px solid var(--v519-line)!important;
  border-radius:22px!important;
  background:#fff!important;
  box-shadow:var(--v519-shadow)!important;
}
body.v47-dashboard.v519-commercial-system-audit #mediaGrid.v519-sparse-single .v47-thumb,
body.v47-dashboard.v519-commercial-system-audit #publishedGrid.v519-sparse-single .v47-thumb{
  height:100%!important;
  min-height:310px!important;
  border:0!important;
  border-radius:0!important;
}
body.v47-dashboard.v519-commercial-system-audit #mediaGrid.v519-sparse-single .v47-card-copy,
body.v47-dashboard.v519-commercial-system-audit #publishedGrid.v519-sparse-single .v47-card-copy{
  display:flex!important;
  flex-direction:column!important;
  justify-content:flex-end!important;
  min-width:0!important;
  padding:28px!important;
  border-left:1px solid #eceef2!important;
  background:linear-gradient(160deg,#fff,#f8f9fc)!important;
}
body.v47-dashboard.v519-commercial-system-audit #mediaGrid.v519-sparse-single .v47-card-copy>b,
body.v47-dashboard.v519-commercial-system-audit #publishedGrid.v519-sparse-single .v47-card-copy>b{
  display:-webkit-box!important;
  overflow:hidden!important;
  color:var(--v519-ink)!important;
  font-size:24px!important;
  font-weight:780!important;
  line-height:1.18!important;
  letter-spacing:-.035em!important;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  white-space:normal!important;
  text-overflow:clip!important;
}
body.v47-dashboard.v519-commercial-system-audit #mediaGrid.v519-sparse-single .v47-card-copy>span,
body.v47-dashboard.v519-commercial-system-audit #publishedGrid.v519-sparse-single .v47-card-copy>span{
  margin-top:18px!important;
  color:#737988!important;
  font-size:12px!important;
}
body.v47-dashboard.v519-commercial-system-audit #analyticsGrid{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:14px!important;
}
body.v47-dashboard.v519-commercial-system-audit #analyticsGrid .v47-panel{
  position:relative;
  min-height:154px!important;
  padding:24px!important;
  overflow:hidden;
  border:1px solid var(--v519-line)!important;
  border-radius:20px!important;
  background:linear-gradient(155deg,#fff,#f8f9fc)!important;
}
body.v47-dashboard.v519-commercial-system-audit #analyticsGrid .v47-panel::after{
  content:"";
  position:absolute;
  right:-26px;
  bottom:-36px;
  width:110px;
  height:110px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(99,91,255,.11),rgba(99,91,255,0) 70%);
  pointer-events:none;
}
body.v47-dashboard.v519-commercial-system-audit #analyticsGrid .v47-stat{
  color:var(--v519-ink)!important;
  font-size:38px!important;
  font-weight:790!important;
  letter-spacing:-.045em!important;
}
body.v47-dashboard.v519-commercial-system-audit #analyticsGrid .v47-stat-label{
  margin-top:8px!important;
  color:#667085!important;
  font-size:12px!important;
  font-weight:650!important;
}
.v519-analytics-insight{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:24px;
  align-items:center;
  margin:18px 0 30px;
  padding:24px 26px;
  border:1px solid var(--v519-line);
  border-radius:20px;
  background:#fff;
  box-shadow:0 12px 36px rgba(24,28,40,.045);
}
.v519-analytics-insight>div{display:grid;gap:7px}
.v519-analytics-insight span{color:var(--v519-accent);font-size:10px;font-weight:850;letter-spacing:.12em;text-transform:uppercase}
.v519-analytics-insight b{color:var(--v519-ink);font-size:20px;line-height:1.25;letter-spacing:-.025em}
.v519-analytics-insight p{max-width:740px;margin:0;color:var(--v519-muted);font-size:12px;line-height:1.6}
.v519-analytics-insight .v47-btn{min-width:170px;min-height:42px}
body.v47-dashboard.v519-commercial-system-audit #organizationGrid{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:14px!important;
}
body.v47-dashboard.v519-commercial-system-audit #organizationGrid .v47-panel{
  display:flex!important;
  flex-direction:column!important;
  min-height:230px!important;
  padding:22px!important;
  border:1px solid var(--v519-line)!important;
  border-radius:20px!important;
  background:#fff!important;
  box-shadow:0 10px 30px rgba(24,28,40,.035)!important;
}
body.v47-dashboard.v519-commercial-system-audit #organizationGrid .v47-panel::before{
  content:attr(data-v519-index);
  display:grid;
  place-items:center;
  width:42px;
  height:42px;
  margin-bottom:22px;
  border-radius:13px;
  background:var(--v519-accent-soft);
  color:var(--v519-accent);
  font-size:13px;
  font-weight:850;
}
body.v47-dashboard.v519-commercial-system-audit #organizationGrid .v47-panel h3{
  margin:0 0 8px!important;
  color:var(--v519-ink)!important;
  font-size:17px!important;
  letter-spacing:-.02em!important;
}
body.v47-dashboard.v519-commercial-system-audit #organizationGrid .v47-panel p{
  flex:1;
  margin:0 0 20px!important;
  color:var(--v519-muted)!important;
  font-size:12px!important;
  line-height:1.55!important;
}
body.v47-dashboard.v519-commercial-system-audit #organizationGrid .v47-btn{
  width:100%;
  min-height:40px;
}
body.v47-dashboard.v519-commercial-system-audit .v47-folder-grid{
  gap:12px!important;
  margin-bottom:22px!important;
}
body.v47-dashboard.v519-commercial-system-audit .v47-folder{
  min-height:92px!important;
  border:1px solid var(--v519-line)!important;
  border-radius:17px!important;
  background:#fff!important;
}
body.v47-dashboard.v519-commercial-system-audit .v47-folder b{font-size:13px!important}
body.v47-dashboard.v519-commercial-system-audit .v47-folder small{font-size:11px!important;color:#7a8090!important}

/* Create flow: larger copy and clearer selection without adding steps. */
body.v47-dashboard.v519-commercial-system-audit .v47-create{
  width:min(780px,calc(100vw - 28px))!important;
  max-height:min(92dvh,900px)!important;
}
body.v47-dashboard.v519-commercial-system-audit .v47-create>header p,
body.v47-dashboard.v519-commercial-system-audit .v47-create-stage :is(p,span,small,em){
  font-size:12px!important;
  line-height:1.5!important;
}
body.v47-dashboard.v519-commercial-system-audit .v47-create-type{
  min-height:118px!important;
  padding:17px!important;
  border:1px solid #dde0e7!important;
  border-radius:17px!important;
  background:#fff!important;
}
body.v47-dashboard.v519-commercial-system-audit .v47-create-type b{
  color:var(--v519-ink)!important;
  font-size:14px!important;
  line-height:1.3!important;
}
body.v47-dashboard.v519-commercial-system-audit .v47-create-type span span{
  margin-top:6px!important;
  color:#626a79!important;
}
body.v47-dashboard.v519-commercial-system-audit .v47-create-type.selected,
body.v47-dashboard.v519-commercial-system-audit .v47-source.selected,
body.v47-dashboard.v519-commercial-system-audit .v47-template-choices .selected{
  border-color:var(--v519-accent)!important;
  background:linear-gradient(150deg,#fff,var(--v519-accent-soft))!important;
  box-shadow:0 0 0 3px rgba(99,91,255,.10),0 16px 34px rgba(43,39,130,.08)!important;
}
body.v47-dashboard.v519-commercial-system-audit .v47-source{
  min-height:116px!important;
  padding:16px!important;
  border-color:#dde0e7!important;
}
body.v47-dashboard.v519-commercial-system-audit .v47-source b{font-size:13px!important}
body.v47-dashboard.v519-commercial-system-audit .v47-source span{font-size:11.5px!important;line-height:1.45!important}
body.v47-dashboard.v519-commercial-system-audit .v47-create>footer .v47-btn{min-height:42px!important}

/* Publish Center: one truthful readiness state, no independent hard-coded score. */
body.pc-body.v519-commercial-system-audit .v508-publish-check{display:none!important}
body.pc-body.v519-commercial-system-audit .pc-score.is-not-run{
  background:conic-gradient(#e4e7ec 0 100%)!important;
}
body.pc-body.v519-commercial-system-audit .pc-score.is-not-run::before{background:#fff!important}
body.pc-body.v519-commercial-system-audit .pc-score.is-not-run b{color:#697386!important;font-size:34px!important}
body.pc-body.v519-commercial-system-audit .pc-gate.v519-preliminary::after{
  content:"предварительно";
  display:block;
  margin-top:7px;
  color:#98a0ae;
  font-size:9px;
  font-weight:700;
  letter-spacing:.04em;
}
.v519-readiness-summary{
  display:grid;
  grid-template-columns:72px minmax(0,1fr) auto;
  gap:18px;
  align-items:center;
  width:100%;
  margin:18px 0 14px;
  padding:15px 17px;
  border:1px solid var(--v519-line);
  border-radius:18px;
  background:#fff;
  box-shadow:0 10px 30px rgba(24,28,40,.04);
}
.v519-readiness-summary .v519-readiness-score{
  display:grid;
  place-items:center;
  width:58px;
  height:58px;
  border:6px solid #e4e7ec;
  border-radius:50%;
  color:#667085;
  font-size:18px;
  font-weight:820;
}
.v519-readiness-summary.is-ready .v519-readiness-score{border-color:#66bc93;color:#18734f}
.v519-readiness-summary.is-warnings .v519-readiness-score{border-color:#e6b766;color:#975b0d}
.v519-readiness-summary.is-blocked .v519-readiness-score{border-color:#e58b8b;color:#b63333}
.v519-readiness-summary>div:nth-child(2){min-width:0}
.v519-readiness-summary span,.v519-readiness-summary b,.v519-readiness-summary small{display:block}
.v519-readiness-summary span{color:#777f8e;font-size:9.5px;font-weight:850;letter-spacing:.12em;text-transform:uppercase}
.v519-readiness-summary b{margin-top:4px;color:var(--v519-ink);font-size:15px;line-height:1.3}
.v519-readiness-summary small{margin-top:4px;color:var(--v519-muted);font-size:11px;line-height:1.45}
.v519-readiness-summary .pc-btn{min-width:116px;min-height:40px}
body.pc-body.v519-commercial-system-audit .pc-tabs button,
body.pc-body.v519-commercial-system-audit .pc-card p,
body.pc-body.v519-commercial-system-audit .pc-link-row span,
body.pc-body.v519-commercial-system-audit .pc-gate span{
  font-size:11.5px!important;
}
body.pc-body.v519-commercial-system-audit .pc-hero-copy p{font-size:13px!important;line-height:1.55!important}
body.pc-body.v519-commercial-system-audit .pc-section-head p{font-size:12.5px!important;line-height:1.55!important}
body.pc-body.v519-commercial-system-audit :is(button,a,input,select,textarea):focus-visible{
  outline:3px solid rgba(99,91,255,.36)!important;
  outline-offset:2px!important;
}

/* Studio: preserve canvas-first layout while improving inspector readability. */
body.v22-studio.v519-commercial-system-audit .inspector{
  --v519-inspector-text:#252936;
}
body.v22-studio.v519-commercial-system-audit .inspector :is(.section-help,.field small,.selected-hotspot-meta,.hotspot-item span,.v515-route-option small,.v515-route-card-title small,.v515-route-section-head small){
  color:#707786!important;
  font-size:11.5px!important;
  line-height:1.5!important;
}
body.v22-studio.v519-commercial-system-audit .inspector :is(.section-caption,label,.field>label,.v515-route-option b){
  color:#353a48!important;
  font-size:12px!important;
  font-weight:730!important;
}
body.v22-studio.v519-commercial-system-audit .v515-route-hero .eyebrow,
body.v22-studio.v519-commercial-system-audit .v515-route-card>header span,
body.v22-studio.v519-commercial-system-audit .v515-route-card-title>span{
  font-size:10px!important;
}
body.v22-studio.v519-commercial-system-audit .v515-route-hero h3{font-size:17px!important}
body.v22-studio.v519-commercial-system-audit .v515-route-card{padding:16px!important;border-radius:17px!important}
body.v22-studio.v519-commercial-system-audit .v515-route-option{min-height:65px!important;padding:13px 0!important}
body.v22-studio.v519-commercial-system-audit .v515-route-option input{
  flex:0 0 38px!important;
  width:38px!important;
  height:23px!important;
  min-width:38px!important;
  min-height:23px!important;
  padding:0!important;
  border-radius:999px!important;
}
body.v22-studio.v519-commercial-system-audit .v515-route-option input::before{
  width:17px!important;
  height:17px!important;
  margin:2px!important;
}
body.v22-studio.v519-commercial-system-audit .v515-route-option input:checked::before{transform:translateX(15px)!important}
body.v22-studio.v519-commercial-system-audit .hotspot-item{
  min-height:62px!important;
  padding:10px!important;
  border-radius:13px!important;
}
body.v22-studio.v519-commercial-system-audit .hotspot-item>div{min-width:0!important}
body.v22-studio.v519-commercial-system-audit .hotspot-item b{
  display:-webkit-box!important;
  overflow:hidden!important;
  color:#272b36!important;
  font-size:12.5px!important;
  line-height:1.3!important;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  white-space:normal!important;
}
body.v22-studio.v519-commercial-system-audit .hotspot-item span{
  display:-webkit-box!important;
  overflow:hidden!important;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  white-space:normal!important;
}
body.v22-studio.v519-commercial-system-audit .universal-content-editor .btn,
body.v22-studio.v519-commercial-system-audit #editInteraction{
  min-height:44px!important;
  font-size:12px!important;
}
body.v22-studio.v519-commercial-system-audit .selected-hotspot{
  border-radius:17px!important;
  background:linear-gradient(160deg,rgba(99,91,255,.055),rgba(255,255,255,.98))!important;
}
body.v22-studio.v519-commercial-system-audit .simple-visibility-options button{min-height:42px!important;font-size:12px!important}
body.v22-studio.v519-commercial-system-audit :is(button,input,select,textarea):focus-visible{
  outline:3px solid rgba(99,91,255,.32)!important;
  outline-offset:2px!important;
}

/* Public player: accessible AI input and reliable touch geometry. */
body.v519-commercial-system-audit #aiForm textarea{font-size:16px!important}
body.v519-commercial-system-audit #aiForm button{min-width:44px!important;min-height:44px!important}
.v519-visually-hidden{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  padding:0!important;
  margin:-1px!important;
  overflow:hidden!important;
  clip:rect(0,0,0,0)!important;
  white-space:nowrap!important;
  border:0!important;
}

@media(max-width:1100px){
  body.v47-dashboard.v519-commercial-system-audit #organizationGrid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.v47-dashboard.v519-commercial-system-audit #analyticsGrid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  body.v47-dashboard.v519-commercial-system-audit #mediaGrid.v519-sparse-single .v47-media-card,
  body.v47-dashboard.v519-commercial-system-audit #publishedGrid.v519-sparse-single .v47-media-card{grid-template-columns:1fr!important}
  body.v47-dashboard.v519-commercial-system-audit #mediaGrid.v519-sparse-single .v47-card-copy,
  body.v47-dashboard.v519-commercial-system-audit #publishedGrid.v519-sparse-single .v47-card-copy{border-left:0!important;border-top:1px solid #eceef2!important}
}
@media(max-width:700px){
  body.v47-dashboard.v519-commercial-system-audit #mediaGrid.v519-sparse-single,
  body.v47-dashboard.v519-commercial-system-audit #publishedGrid.v519-sparse-single{grid-template-columns:1fr!important}
  body.v47-dashboard.v519-commercial-system-audit #mediaGrid.v519-sparse-single .v47-media-card,
  body.v47-dashboard.v519-commercial-system-audit #publishedGrid.v519-sparse-single .v47-media-card{min-height:0!important;border-radius:17px!important}
  body.v47-dashboard.v519-commercial-system-audit #mediaGrid.v519-sparse-single .v47-thumb,
  body.v47-dashboard.v519-commercial-system-audit #publishedGrid.v519-sparse-single .v47-thumb{min-height:220px!important}
  body.v47-dashboard.v519-commercial-system-audit #mediaGrid.v519-sparse-single .v47-card-copy,
  body.v47-dashboard.v519-commercial-system-audit #publishedGrid.v519-sparse-single .v47-card-copy{padding:18px!important}
  body.v47-dashboard.v519-commercial-system-audit #mediaGrid.v519-sparse-single .v47-card-copy>b,
  body.v47-dashboard.v519-commercial-system-audit #publishedGrid.v519-sparse-single .v47-card-copy>b{font-size:18px!important}
  body.v47-dashboard.v519-commercial-system-audit #analyticsGrid{grid-template-columns:1fr!important}
  body.v47-dashboard.v519-commercial-system-audit #analyticsGrid .v47-panel{min-height:120px!important}
  body.v47-dashboard.v519-commercial-system-audit #organizationGrid{grid-template-columns:1fr!important}
  body.v47-dashboard.v519-commercial-system-audit #organizationGrid .v47-panel{min-height:190px!important}
  .v519-analytics-insight{grid-template-columns:1fr;padding:20px}
  .v519-analytics-insight .v47-btn{width:100%}
  body.v47-dashboard.v519-commercial-system-audit .v47-create{width:100vw!important;max-height:calc(100dvh - env(safe-area-inset-top))!important}
  .v519-readiness-summary{grid-template-columns:56px minmax(0,1fr);gap:13px;padding:14px}
  .v519-readiness-summary .v519-readiness-score{width:48px;height:48px;border-width:5px;font-size:16px}
  .v519-readiness-summary .pc-btn{grid-column:1/-1;width:100%}
}
@media(prefers-reduced-motion:reduce){
  body.v519-commercial-system-audit *{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}
}
