/* The WordPress admin retains its normal menu; the standalone shell is bare. */
html.wp-toolbar:has(body.rs-scooter-app-mode) { padding-top: 0 !important; }
body.rs-scooter-app-mode #adminmenumain,
body.rs-scooter-app-mode #wpadminbar,
body.rs-scooter-app-mode #wpfooter,
body.rs-scooter-app-mode #screen-meta-links { display: none !important; }
body.rs-scooter-app-mode #wpcontent { margin-left: 0 !important; padding-left: 0 !important; }
body.rs-scooter-app-mode #wpbody-content { padding-bottom: 0 !important; }
.scv-admin {
  max-width: none;
  margin: 0 !important;
  padding: 0;
  color-scheme: light;
}
.scv-admin [hidden] {
  display: none !important;
}
.scv-admin .scv-empty {
  padding: 18px;
  color: #64788a;
  font-size: 13px;
  line-height: 1.5;
}
.scv-admin .scv-sr-only,
.scv-admin .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* A wide company mark needs room for its lettering; keep the compact placeholder when empty. */
.scv-admin :is(#scooter-home-preview,#scooter-new-practice-design,#scooter-pratica-rinnovata,#rs-calendar-design,#rs-admin-preview,#rs-settings-preview) [data-company-logo]:has(img),
.scv-admin #rs-settings-preview [data-logo-mini]:has(img) {
  width: min(170px, 38%);
  min-width: 96px;
  height: 64px;
  padding: 4px;
  flex: 0 1 auto;
  background: #fff;
  overflow: hidden;
}
.scv-admin :is(#scooter-home-preview,#scooter-new-practice-design,#scooter-pratica-rinnovata,#rs-calendar-design,#rs-admin-preview,#rs-settings-preview) [data-company-logo]:has(img) img,
.scv-admin #rs-settings-preview [data-logo-mini]:has(img) img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Approved raised CORE button treatment for the quote and contract forms. */
:is(#scooter-quote-all, #scooter-contract-preview) .scv-form button {
  background-color: #eef0f2;
  color: #000;
  border: 2px solid #a4afb9;
  border-top-color: #fff;
  border-left-color: #f9fbfd;
  border-right-color: #8d9ba8;
  border-bottom-color: #82929f;
  border-radius: 9px;
  box-shadow: inset 0 0 0 1px #d5dce2, 0 3px 0 #b8c4ce, 0 5px 8px #203b5018;
}
:is(#scooter-quote-all, #scooter-contract-preview) .scv-form button:not(.send):not(:disabled):hover {
  background-color: #e5eaf0;
}
:is(#scooter-quote-all, #scooter-contract-preview) .scv-form button:not(:disabled):active {
  transform: translateY(2px);
  box-shadow: inset 0 1px 3px #243e5026, 0 1px 0 #b8c4ce;
}
:is(#scooter-quote-all, #scooter-contract-preview) .scv-form button:disabled {
  color: #000 !important;
  -webkit-text-fill-color: #000 !important;
  background-color: #e5edf5 !important;
  border-style: dashed;
  box-shadow: none;
}

/* Information and saved values must not look like fields awaiting input. */
:is(
  #scooter-pratica-rinnovata,
  #scooter-cauzione-restituzione-preview,
  #rs-admin-preview,
  #rs-calendar-design,
  #scooter-new-practice-design,
  #scooter-quote-all,
  #scooter-contract-preview
) :is(input:not([type=checkbox]):not([type=radio]), select, textarea):is([readonly], :disabled) {
  background: #e9f0f5 !important;
  border-color: #b9cbd7 !important;
  border-style: dashed !important;
  color: #375266 !important;
  -webkit-text-fill-color: #375266 !important;
  box-shadow: inset 3px 0 0 #6e91a9, inset -3px 0 0 #6e91a9;
  opacity: 1;
  cursor: default;
}
:is(#scooter-pratica-rinnovata, #scooter-cauzione-restituzione-preview) .field > .value {
  background: #e9f0f5;
  border: 1px solid #b9cbd7;
  border-left: 4px solid #6e91a9;
  border-right: 4px solid #6e91a9;
  border-radius: 8px;
  padding: 9px 11px;
}
:is(#scooter-pratica-rinnovata, #scooter-cauzione-restituzione-preview) .hint,
#rs-admin-preview .micro-help,
#scooter-new-practice-design .note {
  border-left: 3px solid #8aa7b8;
  border-right: 3px solid #8aa7b8;
  background: #eaf2f7;
  border-radius: 8px;
  padding: 9px 12px;
}
