/* Theo Properties RC1.0.10 — Unified Premium Form & Progressive Workflow System */
:root{
  --form1010-navy:#152b40;
  --form1010-gold:#c79a5f;
  --form1010-gold-soft:#fbf6ee;
  --form1010-teal:#2e746e;
  --form1010-ink:#1c3041;
  --form1010-muted:#71818c;
  --form1010-line:#dce4e6;
  --form1010-soft:#f7f9f9;
  --form1010-surface:#ffffff;
  --form1010-radius:12px;
  --form1010-control:54px;
}

/* ---------- canonical controls ---------- */
.theo-app .theo-form-shell,
.theo-admin .theo-form-shell{gap:18px!important}

.theo-app .theo-form-shell label,
.theo-admin .theo-form-shell label,
.theo-auth .auth-form>label,
.theo-auth .field-block,
.theo-auth .form-grid>div>label{
  gap:7px!important;
  color:var(--form1010-ink)!important;
  font-size:13px!important;
  font-weight:650!important;
  letter-spacing:0!important;
}
.theo-app .theo-form-shell label>span:first-child,
.theo-admin .theo-form-shell label>span:first-child,
.theo-auth .field-block>span,
.theo-auth .auth-form>label{
  color:#344d5e!important;
  font-size:13px!important;
  font-weight:650!important;
}

.theo-app .theo-form-shell input:not([type=checkbox]):not([type=radio]):not([type=file]),
.theo-app .theo-form-shell select,
.theo-app .theo-form-shell textarea,
.theo-admin .theo-form-shell input:not([type=checkbox]):not([type=radio]):not([type=file]),
.theo-admin .theo-form-shell select,
.theo-admin .theo-form-shell textarea,
.theo-auth .auth-form input:not([type=checkbox]):not([type=radio]):not([type=file]),
.theo-auth .auth-form select,
.theo-auth .auth-form textarea,
.theo-app .mobile-filter-sheet input:not([type=checkbox]):not([type=radio]),
.theo-app .mobile-filter-sheet select{
  box-sizing:border-box!important;
  width:100%!important;
  min-height:var(--form1010-control)!important;
  border:1px solid var(--form1010-line)!important;
  border-radius:10px!important;
  background:#fff!important;
  color:var(--form1010-ink)!important;
  padding:13px 15px!important;
  font:500 15.5px/1.35 Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
  box-shadow:0 1px 0 rgba(18,43,61,.02)!important;
  transition:border-color .15s ease,box-shadow .15s ease,background .15s ease!important;
}
.theo-app .theo-form-shell textarea,
.theo-admin .theo-form-shell textarea,
.theo-auth .auth-form textarea{min-height:112px!important;resize:vertical!important}
.theo-app .theo-form-shell input:hover:not([type=checkbox]):not([type=radio]),
.theo-app .theo-form-shell select:hover,
.theo-admin .theo-form-shell input:hover:not([type=checkbox]):not([type=radio]),
.theo-admin .theo-form-shell select:hover,
.theo-auth .auth-form input:hover:not([type=checkbox]):not([type=radio]),
.theo-auth .auth-form select:hover{border-color:#bdcbd0!important}
.theo-app .theo-form-shell input:focus,
.theo-app .theo-form-shell select:focus,
.theo-app .theo-form-shell textarea:focus,
.theo-admin .theo-form-shell input:focus,
.theo-admin .theo-form-shell select:focus,
.theo-admin .theo-form-shell textarea:focus,
.theo-auth .auth-form input:focus,
.theo-auth .auth-form select:focus,
.theo-auth .auth-form textarea:focus,
.theo-app .mobile-filter-sheet input:focus,
.theo-app .mobile-filter-sheet select:focus{
  outline:0!important;
  border-color:var(--form1010-gold)!important;
  background:#fff!important;
  box-shadow:0 0 0 3px rgba(199,154,95,.14)!important;
}
.theo-app .is-invalid,
.theo-admin .is-invalid,
.theo-auth .is-invalid{border-color:#b64d56!important;box-shadow:0 0 0 3px rgba(182,77,86,.1)!important}

/* ---------- clean form surfaces ---------- */
.theo-app .theo-form-callout,
.theo-admin .theo-form-callout{
  padding:15px 17px!important;
  border:1px solid #eadfce!important;
  border-left:3px solid var(--form1010-gold)!important;
  border-radius:10px!important;
  background:linear-gradient(135deg,#fffdf9,#fbf7f0)!important;
}
.theo-app .theo-form-callout strong,.theo-admin .theo-form-callout strong{font-size:14px!important;color:var(--form1010-ink)!important}
.theo-app .theo-form-callout span,.theo-admin .theo-form-callout span{font-size:12.5px!important;line-height:1.5!important;color:#667985!important}

.theo-app .theo-form-section,
.theo-admin .theo-form-section{
  gap:16px!important;
  padding:22px!important;
  border:1px solid #e2e8e8!important;
  border-radius:14px!important;
  background:#fff!important;
  box-shadow:0 8px 28px rgba(21,43,64,.035)!important;
}
.theo-app .theo-form-section-head,
.theo-admin .theo-form-section-head{
  gap:12px!important;
  padding-bottom:14px!important;
  border-bottom:1px solid #edf1f1!important;
}
.theo-app .theo-form-section-head>span,
.theo-admin .theo-form-section-head>span,
.theo-app .theo-form-disclosure summary>span,
.theo-admin .theo-form-disclosure summary>span{
  width:34px!important;height:34px!important;border-radius:9px!important;
  border:1px solid #e5d4bb!important;background:var(--form1010-gold-soft)!important;
  color:#8b6536!important;font-size:11px!important;font-weight:800!important;
}
.theo-app .theo-form-section-head strong,
.theo-admin .theo-form-section-head strong,
.theo-app .theo-form-disclosure summary strong,
.theo-admin .theo-form-disclosure summary strong{font-size:14px!important;font-weight:650!important;color:var(--form1010-ink)!important}
.theo-app .theo-form-section-head small,
.theo-admin .theo-form-section-head small,
.theo-app .theo-form-disclosure summary small,
.theo-admin .theo-form-disclosure summary small{font-size:12px!important;line-height:1.45!important;color:var(--form1010-muted)!important}
.theo-app .theo-form-grid,.theo-admin .theo-form-grid{gap:16px!important}

.theo-app .theo-form-disclosure,
.theo-admin .theo-form-disclosure{
  border:1px solid #e2e8e8!important;border-radius:12px!important;background:#fafcfc!important;box-shadow:none!important;
}
.theo-app .theo-form-disclosure summary,
.theo-admin .theo-form-disclosure summary{padding:14px 16px!important;gap:11px!important}
.theo-app .theo-form-disclosure-body,
.theo-admin .theo-form-disclosure-body{gap:15px!important;padding:17px!important;background:#fff!important}
.theo-app .form-hint,.theo-admin .form-hint,.theo-auth .form-note,.theo-auth .signin-helper{font-size:12px!important;line-height:1.5!important;color:var(--form1010-muted)!important}
.theo-app .form-error,.theo-admin .form-error,.theo-auth .auth-message{font-size:12.5px!important;line-height:1.45!important}

/* ---------- modal proportions ---------- */
.theo-app .modal:has(.theo-form-shell),
.theo-admin .ops-modal-card:has(.theo-form-shell){width:min(760px,calc(100vw - 32px))!important;max-width:760px!important;border-radius:16px!important;padding:24px!important}
.theo-app .modal:has(.theo-form-shell)>h2,
.theo-admin .ops-modal-card:has(.theo-form-shell)>h2{font:600 clamp(1.35rem,2.2vw,1.75rem)/1.15 "Inter Tight",Inter,sans-serif!important;letter-spacing:-.025em!important;color:var(--form1010-ink)!important;margin-bottom:16px!important}
.theo-app .modal:has(.theo-form-shell) .modal-actions,
.theo-admin .ops-modal-card:has(.theo-form-shell) .modal-actions{
  gap:10px!important;margin-top:18px!important;padding-top:16px!important;border-top:1px solid #edf1f1!important;background:#fff!important;
}
.theo-app .modal:has(.theo-form-shell) .modal-actions .button,
.theo-admin .ops-modal-card:has(.theo-form-shell) .modal-actions .button{min-height:48px!important;border-radius:10px!important;padding:11px 18px!important}

/* ---------- listing workflow ---------- */
.theo-app .listing-steps{
  display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:0!important;
  margin:0 0 18px!important;padding:0!important;background:transparent!important;
}
.theo-app .listing-steps span{
  position:relative!important;display:flex!important;align-items:center!important;gap:8px!important;
  min-width:0!important;padding:0 8px 12px!important;border-radius:0!important;background:transparent!important;
  color:#89969e!important;text-align:left!important;font-size:12px!important;font-weight:600!important;
  border-bottom:2px solid #e6ebec!important;
}
.theo-app .listing-steps span b{
  display:grid;place-items:center;flex:none;width:27px;height:27px;border-radius:8px;background:#f0f3f3;color:#7f8b92;
  font-size:10.5px;font-weight:800;
}
.theo-app .listing-steps span.current{color:var(--form1010-ink)!important;border-bottom-color:var(--form1010-gold)!important}
.theo-app .listing-steps span.current b{background:var(--form1010-gold)!important;color:#fff!important}
.theo-app .listing-steps span.complete{color:#386a66!important;border-bottom-color:#bad2cf!important}
.theo-app .listing-steps span.complete b{background:#e7f1ef!important;color:var(--form1010-teal)!important}

/* ---------- progressive modal enhancer ---------- */
.theo-progress-stepper{
  display:grid;grid-template-columns:repeat(var(--theo-step-count,3),minmax(0,1fr));gap:0;margin:0 0 18px;padding:0;
}
.theo-progress-step{
  min-width:0;padding:0 8px 11px;border-bottom:2px solid #e7ecec;color:#8a969d;
  display:flex;align-items:center;gap:8px;font-size:11.5px;font-weight:600;
}
.theo-progress-step i{display:grid;place-items:center;width:25px;height:25px;flex:none;border-radius:8px;background:#f1f4f4;color:#79878e;font-style:normal;font-size:10px;font-weight:800}
.theo-progress-step span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.theo-progress-step.is-current{border-bottom-color:var(--form1010-gold);color:var(--form1010-ink)}
.theo-progress-step.is-current i{background:var(--form1010-gold);color:#fff}
.theo-progress-step.is-complete{border-bottom-color:#b9d1ce;color:#3f6e6a}
.theo-progress-step.is-complete i{background:#e7f1ef;color:var(--form1010-teal)}
.theo-progress-stage[hidden]{display:none!important}
.theo-progressive-nav{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:2px}
.theo-progressive-nav .button{min-height:48px!important;border-radius:10px!important;padding:11px 18px!important}
.theo-progressive-nav .theo-step-next{margin-left:auto;background:var(--form1010-navy)!important;color:#fff!important;border-color:var(--form1010-navy)!important}
.theo-progress-meta{font-size:11.5px;color:var(--form1010-muted);margin-right:auto}

/* ---------- auth forms ---------- */
.theo-auth .auth-modal{border-radius:18px!important;box-shadow:0 28px 80px rgba(15,34,50,.2)!important}
.theo-auth .auth-modal:has(#register-form:not([hidden])){width:min(760px,calc(100vw - 32px))!important;max-width:760px!important}
.theo-auth .auth-form{gap:14px!important}
.theo-auth .auth-form .button{min-height:52px!important;border-radius:10px!important;font-size:14px!important;font-weight:650!important}
.theo-auth .auth-tabs{padding:4px!important;border-radius:11px!important;background:#f2f5f5!important}
.theo-auth .auth-tabs button{min-height:42px!important;border-radius:8px!important;font-weight:650!important}
.theo-auth .role-choice-head,.theo-auth .form-section-head,.theo-auth .manager-registration-head{margin:3px 0 2px!important}
.theo-auth .role-choice-head strong,.theo-auth .form-section-head strong,.theo-auth .manager-registration-head strong{font-size:14px!important;color:var(--form1010-ink)!important}
.theo-auth .role-choice-head span,.theo-auth .form-section-head span,.theo-auth .manager-registration-head span{font-size:12px!important;color:var(--form1010-muted)!important}
.theo-auth .role-choice-grid{gap:10px!important}
.theo-auth .role-choice{min-height:78px!important;border:1px solid #e0e6e6!important;border-radius:12px!important;background:#fff!important;padding:14px!important;box-shadow:none!important}
.theo-auth .role-choice:hover{border-color:#cab899!important;background:#fffcf8!important}
.theo-auth .role-choice.active{border-color:var(--form1010-gold)!important;background:var(--form1010-gold-soft)!important;box-shadow:0 0 0 2px rgba(199,154,95,.08)!important}
.theo-auth .role-choice-copy strong{font-size:13.5px!important;font-weight:650!important}
.theo-auth .role-choice-copy small{font-size:11.5px!important;color:var(--form1010-muted)!important}
.theo-auth .manager-registration{padding:18px!important;border:1px solid #e2e8e8!important;border-radius:13px!important;background:#fbfcfc!important}
.theo-auth .manager-registration-more{border:1px solid #e1e7e7!important;border-radius:11px!important;background:#fff!important}
.theo-auth .manager-registration-more summary{padding:13px 15px!important}

.auth-register-stepper{display:grid;grid-template-columns:repeat(3,1fr);gap:0;margin:0 0 18px}
.auth-register-stepper button{appearance:none;border:0;border-bottom:2px solid #e7ecec;background:transparent;padding:0 7px 11px;color:#8a969d;display:flex;align-items:center;gap:8px;text-align:left;font:600 11.5px/1.2 Inter,sans-serif;cursor:pointer}
.auth-register-stepper button i{display:grid;place-items:center;width:25px;height:25px;border-radius:8px;background:#f1f4f4;color:#7e8b92;font-style:normal;font-size:10px;font-weight:800}
.auth-register-stepper button.current{border-bottom-color:var(--form1010-gold);color:var(--form1010-ink)}
.auth-register-stepper button.current i{background:var(--form1010-gold);color:#fff}
.auth-register-stepper button.complete{border-bottom-color:#b9d1ce;color:#3d6d69}
.auth-register-stepper button.complete i{background:#e7f1ef;color:var(--form1010-teal)}
.auth-register-stage[hidden]{display:none!important}
.auth-register-nav{display:flex;gap:10px;align-items:center;margin-top:6px}
.auth-register-nav .button{flex:1}
.auth-register-nav .secondary{background:#fff!important;color:var(--form1010-navy)!important;border:1px solid #d6e0e3!important}

/* ---------- search/filter forms: same family, lighter density ---------- */
.theo-app .hero-search-card .field>label,
.theo-app .mobile-filter-sheet label>span{font-size:12px!important;font-weight:650!important;color:#405869!important}
.theo-app .hero-search-card .field>select,
.theo-app .hero-search-card .field>input,
.theo-app .hero-search-card .location-search-shell{border-radius:10px!important}
.theo-app .mobile-filter-sheet{border-radius:18px 18px 0 0!important}
.theo-app .mobile-filter-fields{gap:16px!important}
.theo-app .mobile-filter-actions button{min-height:50px!important;border-radius:10px!important}

/* ---------- admin content forms ---------- */
.theo-admin .setting-row{gap:16px!important;padding:16px 0!important}
.theo-admin .setting-row input,.theo-admin .setting-row select{min-height:48px!important;border-radius:10px!important;border-color:var(--form1010-line)!important;padding:10px 13px!important;background:#fff!important}

/* ---------- checkbox / radio cards ---------- */
.theo-app .location-visibility-control{border:0!important;padding:0!important;margin:2px 0!important}
.theo-app .location-visibility-control legend{font-size:13px!important;font-weight:650!important;color:#3c5363!important;margin-bottom:8px!important}
.theo-app .location-visibility-control label{grid-template-columns:auto 1fr!important;align-items:flex-start!important;padding:13px 14px!important;border:1px solid #e1e7e7!important;border-radius:11px!important;background:#fff!important}
.theo-app .location-visibility-control input{margin-top:3px!important;accent-color:var(--form1010-teal)!important}
.theo-app .premium-consent{padding:13px 14px!important;border-radius:11px!important;background:#fafcfc!important}

/* ---------- responsive ---------- */
@media(max-width:700px){
  :root{--form1010-control:52px}
  .theo-app .theo-form-section,.theo-admin .theo-form-section{padding:17px!important;border-radius:12px!important}
  .theo-app .theo-form-grid,.theo-admin .theo-form-grid{grid-template-columns:1fr!important;gap:14px!important}
  .theo-app .modal:has(.theo-form-shell),.theo-admin .ops-modal-card:has(.theo-form-shell){padding:18px!important;width:calc(100vw - 20px)!important;max-width:calc(100vw - 20px)!important}
  .theo-app .listing-steps{overflow-x:auto!important;grid-template-columns:repeat(4,minmax(112px,1fr))!important;scrollbar-width:none!important}
  .theo-app .listing-steps::-webkit-scrollbar{display:none}
  .theo-progress-stepper{overflow-x:auto;grid-template-columns:repeat(var(--theo-step-count,3),minmax(112px,1fr));scrollbar-width:none}
  .theo-progress-stepper::-webkit-scrollbar{display:none}
  .theo-progressive-nav{position:sticky;bottom:0;background:#fff;padding:12px 0 0;border-top:1px solid #edf1f1;z-index:3}
  .theo-auth .auth-modal:has(#register-form:not([hidden])){width:calc(100vw - 18px)!important;max-width:calc(100vw - 18px)!important}
  .auth-register-stepper{grid-template-columns:repeat(3,minmax(108px,1fr));overflow-x:auto;scrollbar-width:none}
  .auth-register-stepper::-webkit-scrollbar{display:none}
  .theo-auth .role-choice-grid{grid-template-columns:1fr!important}
  .theo-auth .register-basic-grid,.theo-auth .register-credentials-grid,.theo-auth .form-grid{grid-template-columns:1fr!important;gap:14px!important}
  .auth-register-nav{position:sticky;bottom:0;background:#fff;padding-top:12px;border-top:1px solid #edf1f1;z-index:3}
}
