:root{--ft-navy:#0f2f4f;--ft-navy-2:#173f66;--ft-green:#2f7d62;--ft-bg:#f4f7fa;--ft-card:#fff;--ft-text:#1f2937;--ft-muted:#6b7280;--ft-border:#e5e7eb;--ft-danger:#b42318;--ft-radius:16px;--ft-shadow:0 8px 24px rgba(15,47,79,.08);--ft-topbar:68px;--ft-sidebar:270px;--ft-bottom:68px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body.ft-body{margin:0;background:var(--ft-bg);color:var(--ft-text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:16px;line-height:1.5}.ft-skip{position:absolute;left:-9999px;top:8px;z-index:9999;background:#fff;padding:10px 14px;border-radius:8px}.ft-skip:focus{left:8px}.ft-app{min-height:100vh;display:grid;grid-template-columns:var(--ft-sidebar) minmax(0,1fr)}.ft-sidebar{background:linear-gradient(180deg,var(--ft-navy),#0b263f);color:#fff;min-height:100vh;padding:20px 16px;position:sticky;top:0;align-self:start;height:100vh;overflow-y:auto;z-index:50}.ft-brand{padding:4px 4px 20px}.ft-brand-link{display:flex;gap:12px;align-items:center;color:#fff;text-decoration:none}.ft-brand-mark{width:46px;height:46px;border-radius:14px;display:grid;place-items:center;background:rgba(255,255,255,.12);font-size:25px}.ft-brand-link strong{display:block;font-size:17px}.ft-brand-link small{display:block;color:rgba(255,255,255,.68);font-size:11px;margin-top:1px}.ft-side-nav{display:grid;gap:6px}.ft-side-nav a{display:flex;align-items:center;gap:12px;min-height:45px;padding:10px 12px;color:rgba(255,255,255,.88);text-decoration:none;border-radius:11px}.ft-side-nav a:hover,.ft-side-nav a:focus{background:rgba(255,255,255,.1);color:#fff}.ft-workspace{min-width:0;display:flex;flex-direction:column;min-height:100vh}.ft-topbar{height:var(--ft-topbar);background:rgba(255,255,255,.96);border-bottom:1px solid var(--ft-border);display:flex;align-items:center;justify-content:space-between;padding:0 24px;position:sticky;top:0;z-index:40}.ft-top-left,.ft-top-actions{display:flex;align-items:center;gap:10px;min-width:0}.ft-icon-btn{width:42px;height:42px;border-radius:12px;border:1px solid var(--ft-border);background:#fff;display:grid;place-items:center;text-decoration:none;color:var(--ft-text);font-size:18px}.ft-menu-toggle{display:none}.ft-mobile-title{display:none}.ft-profile-chip{display:flex;align-items:center;gap:9px;color:var(--ft-text);text-decoration:none}.ft-avatar{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:var(--ft-navy);color:#fff;font-weight:700}.ft-profile-name{font-size:14px;font-weight:600;max-width:180px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ft-main{width:100%;max-width:1500px;margin:0 auto;padding:26px;flex:1}.ft-component{min-width:0}.ft-main .card,.ft-main .moduletable{background:var(--ft-card);border:1px solid var(--ft-border);border-radius:var(--ft-radius);box-shadow:var(--ft-shadow);padding:18px;margin-bottom:18px}.ft-footer{padding:18px 26px;color:var(--ft-muted);text-align:center}.ft-bottom-nav{display:none}.ft-overlay{position:fixed;inset:0;background:rgba(3,15,28,.45);z-index:45}.ft-btn{border:0;border-radius:11px;padding:11px 16px;min-height:44px;font-weight:700;cursor:pointer}.ft-btn-primary{background:var(--ft-navy);color:#fff;text-decoration:none;display:inline-flex;align-items:center;justify-content:center}.ft-btn-ghost{background:#edf2f7;color:var(--ft-text)}.ft-install-banner{position:fixed;right:18px;bottom:18px;z-index:90;width:min(390px,calc(100% - 36px));background:#fff;border:1px solid var(--ft-border);border-radius:16px;box-shadow:0 18px 50px rgba(15,47,79,.22);padding:16px;display:flex;gap:14px;align-items:center;justify-content:space-between}.ft-install-banner[hidden]{display:none}.ft-install-banner p{margin:2px 0 0;color:var(--ft-muted);font-size:13px}.ft-install-actions{display:flex;gap:7px;flex-shrink:0}
/* Authentication */
.ft-auth-shell{min-height:100vh;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(380px,.85fr);background:linear-gradient(135deg,#0f2f4f 0%,#173f66 50%,#f4f7fa 50%,#f4f7fa 100%)}.ft-auth-brand{padding:clamp(36px,7vw,100px);color:#fff;display:flex;flex-direction:column;justify-content:center}.ft-auth-brand .ft-brand-mark{background:rgba(255,255,255,.14);margin-bottom:18px}.ft-auth-brand h1{font-size:clamp(34px,5vw,64px);margin:0;line-height:1.04}.ft-auth-brand>p{font-size:18px;color:rgba(255,255,255,.78);max-width:520px}.ft-auth-highlights{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.ft-auth-highlights span{background:rgba(255,255,255,.1);padding:8px 11px;border-radius:999px;font-size:13px}.ft-auth-card{align-self:center;justify-self:center;width:min(520px,calc(100% - 40px));background:#fff;border:1px solid var(--ft-border);box-shadow:var(--ft-shadow);border-radius:22px;padding:28px}.ft-auth-card form{display:grid;gap:14px}.ft-auth-card input[type=text],.ft-auth-card input[type=email],.ft-auth-card input[type=password],.ft-auth-card select,.ft-auth-card textarea,.ft-main input[type=text],.ft-main input[type=email],.ft-main input[type=password],.ft-main input[type=tel],.ft-main input[type=date],.ft-main select,.ft-main textarea{width:100%;min-height:46px;border:1px solid #cfd7df;border-radius:11px;padding:10px 12px;background:#fff;font-size:16px}.ft-auth-card input:focus,.ft-main input:focus,.ft-main select:focus,.ft-main textarea:focus{outline:3px solid rgba(47,125,98,.16);border-color:var(--ft-green)}.ft-auth-card button,.ft-auth-card .btn{min-height:46px;border-radius:11px}.ft-error{min-height:100vh;display:grid;place-content:center;text-align:center;padding:30px}.ft-error h1{font-size:70px;margin:10px 0}.ft-component-only{margin:0;padding:20px;font-family:system-ui,sans-serif}
/* Joomla list/table helpers */
.ft-main table{width:100%;border-collapse:collapse;background:#fff}.ft-main th,.ft-main td{padding:12px;border-bottom:1px solid var(--ft-border);text-align:left}.ft-main th{font-size:13px;color:var(--ft-muted);background:#f8fafc}.ft-main .btn{border-radius:10px;min-height:42px}.ft-main img{max-width:100%;height:auto}.ft-main .pagination{display:flex;flex-wrap:wrap;gap:6px}
@media(max-width:980px){.ft-app{grid-template-columns:1fr}.ft-sidebar{position:fixed;left:0;top:0;width:min(310px,88vw);transform:translateX(-105%);transition:transform .22s ease;box-shadow:20px 0 45px rgba(3,15,28,.25)}.ft-sidebar.is-open{transform:translateX(0)}.ft-menu-toggle,.ft-mobile-title{display:grid}.ft-topbar{padding:0 14px}.ft-main{padding:18px 14px 92px}.ft-bottom-nav{position:fixed;left:0;right:0;bottom:0;height:var(--ft-bottom);display:grid;grid-template-columns:repeat(5,1fr);background:#fff;border-top:1px solid var(--ft-border);z-index:44;padding-bottom:env(safe-area-inset-bottom)}.ft-bottom-nav a,.ft-bottom-nav button{border:0;background:#fff;color:var(--ft-muted);text-decoration:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-width:0}.ft-bottom-nav span{font-size:19px}.ft-bottom-nav small{font-size:10px}.ft-profile-name{display:none}.ft-auth-shell{grid-template-columns:1fr;background:var(--ft-bg);padding:24px 0 36px}.ft-auth-brand{padding:28px 24px 16px;color:var(--ft-text);text-align:center;align-items:center}.ft-auth-brand .ft-brand-mark{background:#e9f0f6}.ft-auth-brand h1{font-size:34px}.ft-auth-brand>p{font-size:15px;color:var(--ft-muted)}.ft-auth-highlights{justify-content:center}.ft-auth-highlights span{background:#e9f0f6;color:var(--ft-navy)}.ft-auth-card{width:min(560px,calc(100% - 28px));padding:22px}.ft-install-banner{bottom:calc(var(--ft-bottom) + 12px)}}
@media(max-width:640px){.ft-main table,.ft-main thead,.ft-main tbody,.ft-main th,.ft-main td,.ft-main tr{display:block}.ft-main thead{display:none}.ft-main tr{border:1px solid var(--ft-border);border-radius:13px;margin-bottom:12px;padding:8px;background:#fff}.ft-main td{border:0;padding:8px 9px}.ft-install-banner{align-items:flex-start;flex-direction:column}.ft-install-actions{width:100%}.ft-install-actions .ft-btn{flex:1}.ft-topbar{height:62px}.ft-icon-btn{width:40px;height:40px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* FamilyTree component workspace — v0.1.2 */
.ft-page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin:0 0 22px}.ft-page-head h1{margin:.18rem 0 .35rem;font-size:clamp(1.55rem,3vw,2.25rem);line-height:1.15;color:#17324d}.ft-eyebrow{margin:0;color:#58718a;font-size:.72rem;font-weight:800;letter-spacing:.12em}.ft-subtitle{margin:0;color:#60758a;max-width:760px;line-height:1.6}.ft-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0 0 22px}.ft-stat-card{display:flex;align-items:center;gap:12px;min-width:0;background:#fff;border:1px solid #e2e8ef;border-radius:16px;padding:17px}.ft-stat-card>span{font-size:1.7rem}.ft-stat-card strong{display:block;color:#17324d;font-size:1.45rem;line-height:1.1}.ft-stat-card small{display:block;margin-top:4px;color:#6a7e91}.ft-section{margin:0 0 22px}.ft-section-title{display:flex;align-items:center;justify-content:space-between;margin:0 0 12px}.ft-section-title h2,.ft-panel-head h2{margin:0;color:#17324d;font-size:1.05rem}.ft-quick-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.ft-quick-card{display:flex;flex-direction:column;gap:5px;min-width:0;text-decoration:none;color:#17324d;background:#fff;border:1px solid #e2e8ef;border-radius:16px;padding:17px;transition:.18s ease}.ft-quick-card:hover{border-color:#a8b8c8;transform:translateY(-1px)}.ft-quick-card>span{font-size:1.55rem}.ft-quick-card strong{font-size:.96rem}.ft-quick-card small{color:#6b7e90;line-height:1.4}.ft-dashboard-columns{display:grid;grid-template-columns:1.4fr 1fr;gap:14px}.ft-panel{background:#fff;border:1px solid #e2e8ef;border-radius:16px;padding:18px}.ft-panel-head{margin-bottom:12px}.ft-empty-state{color:#6c7f91;background:#f7f9fb;border:1px dashed #d8e0e8;border-radius:12px;padding:22px;text-align:center;line-height:1.55}
.ft-ios-help{position:fixed;inset:0;z-index:1200;display:grid;place-items:center;padding:20px;background:rgba(10,28,44,.48)}.ft-ios-help[hidden]{display:none}.ft-ios-card{width:min(420px,100%);background:#fff;border-radius:18px;padding:22px;box-shadow:0 18px 60px rgba(0,0,0,.22)}.ft-ios-card h3{margin:0 0 10px;color:#17324d}.ft-ios-card p{margin:0 0 14px;color:#5f7387;line-height:1.55}.ft-ios-steps{margin:0 0 18px;padding-left:22px;color:#314b63;line-height:1.75}.ft-ios-close{width:100%}
@media (max-width:1050px){.ft-stat-grid,.ft-quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ft-dashboard-columns{grid-template-columns:1fr}}
@media (max-width:560px){.ft-page-head{margin-bottom:18px}.ft-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.ft-stat-card{padding:13px;gap:9px}.ft-stat-card>span{font-size:1.35rem}.ft-stat-card strong{font-size:1.2rem}.ft-stat-card small{font-size:.72rem}.ft-quick-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.ft-quick-card{padding:14px}.ft-panel{padding:14px}}
/* FamilyTree UI v0.1.3 */
.ft-sr-only{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}
.ft-global-search{width:min(320px,28vw)}.ft-global-search input{width:100%;height:42px;border:1px solid var(--ft-border);border-radius:12px;padding:0 14px;background:#f7f9fb;font:inherit;font-size:14px;color:var(--ft-text)}.ft-global-search input:focus{outline:3px solid rgba(47,125,98,.12);border-color:var(--ft-green);background:#fff}
.ft-welcome-card{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px;margin-bottom:18px;border-radius:20px;background:linear-gradient(120deg,#fff,#f4f8fb);border:1px solid #dfe7ee}.ft-welcome-card h1{margin:.15rem 0 .4rem;color:#17324d;font-size:clamp(1.55rem,3vw,2.2rem)}.ft-welcome-card p:not(.ft-eyebrow){margin:0;color:#60758a;max-width:760px;line-height:1.55}.ft-section-note{font-size:12px;color:#7a8d9f}.ft-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.ft-panel-head small{display:block;color:#8291a0;margin-top:3px}.ft-panel-head a{font-size:12px;text-decoration:none;font-weight:700;color:#2d6b58}.ft-empty-state span{display:block;font-size:2rem;margin-bottom:8px}.ft-empty-state strong{display:block;color:#314b63;margin-bottom:4px}.ft-empty-state p{margin:0;color:#7a8c9d}.ft-panel-stack{display:grid;gap:14px}.ft-mini-empty{padding:16px;border-radius:12px;background:#f7f9fb;color:#76899a;font-size:14px}
@media(max-width:980px){.ft-global-search{display:none}.ft-welcome-card{align-items:flex-start;flex-direction:column}.ft-welcome-card .ft-btn{width:100%}}
@media(max-width:560px){.ft-top-actions{gap:6px}.ft-top-actions .ft-icon-btn{width:38px;height:38px}.ft-welcome-card{padding:17px;border-radius:16px}.ft-section-note{display:none}}

/* Authentication & registration v0.1.4 */
.ft-register-cta{margin-top:20px;padding-top:18px;border-top:1px solid var(--ft-border);display:grid;gap:9px;text-align:center}.ft-register-cta>span,.ft-auth-switch>span{font-size:13px;color:var(--ft-muted)}.ft-btn-register{background:#e9f3ef;color:#1f654f;border:1px solid #cce2da;text-decoration:none}.ft-btn-register:hover{background:#dceee7}.ft-auth-heading{margin-bottom:20px}.ft-auth-heading h2{margin:.25rem 0 .4rem;color:#17324d;font-size:1.55rem}.ft-auth-heading>p:not(.ft-eyebrow){margin:0;color:var(--ft-muted);line-height:1.55}.ft-register-form{display:grid;gap:14px}.ft-field{display:grid;gap:6px}.ft-field label{font-weight:700;font-size:14px;color:#304b63}.ft-field small{color:#7b8b99;font-size:12px}.ft-field-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.ft-check-row{display:flex!important;align-items:flex-start;gap:9px;font-size:13px;color:#526779;line-height:1.45}.ft-check-row input{width:18px;height:18px;margin-top:2px;flex:0 0 auto}.ft-btn-block{width:100%}.ft-auth-switch{margin-top:18px;display:flex;gap:6px;justify-content:center;flex-wrap:wrap;font-size:13px}.ft-auth-switch a{color:#1f654f;font-weight:800;text-decoration:none}.ft-honeypot{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;overflow:hidden!important}.ft-profile-summary{display:flex;align-items:center;gap:14px}.ft-profile-summary-avatar{width:58px;height:58px;border-radius:50%;display:grid;place-items:center;background:#e9f0f6;font-size:28px}.ft-profile-summary h2{margin:0;color:#17324d}.ft-profile-summary p{margin:3px 0 0;color:var(--ft-muted)}
@media(max-width:640px){.ft-field-grid{grid-template-columns:1fr}.ft-auth-card{padding:18px}.ft-auth-heading h2{font-size:1.35rem}}


/* Self profile registration v0.1.5 */
.ft-auth-card-register{width:min(860px,calc(100% - 40px));max-height:calc(100vh - 54px);overflow:auto;align-self:center}
.ft-register-note{display:flex;flex-direction:column;gap:2px;margin:0 0 18px;padding:13px 14px;border-radius:12px;background:#eef7f3;border:1px solid #d2e8df;color:#285e4d}
.ft-register-note span{font-size:12px;color:#58786d}
.ft-form-section{display:grid;gap:14px}
.ft-register-form .ft-form-section{padding:16px;border:1px solid var(--ft-border);border-radius:15px;background:#fbfcfd}
.ft-form-section-head{display:flex;align-items:center;gap:10px;padding-bottom:10px;border-bottom:1px solid #e7edf2}
.ft-form-section-head>span{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:#eaf0f5;color:#17324d;font-weight:800;flex:0 0 auto}
.ft-form-section-head strong{display:block;color:#17324d}
.ft-form-section-head small{display:block;color:#7a8b99;margin-top:2px}
.ft-register-confirm{display:grid;gap:12px;padding:15px;border-radius:14px;background:#f7f9fb;border:1px solid var(--ft-border)}
.ft-profile-form{display:grid;gap:14px}.ft-profile-form .ft-panel{margin:0}.ft-profile-actions{display:flex;justify-content:flex-end;position:sticky;bottom:12px;z-index:5;padding:10px;border-radius:14px;background:rgba(244,247,250,.92);backdrop-filter:blur(8px)}
@media(max-width:980px){.ft-auth-card-register{max-height:none;overflow:visible}}
@media(max-width:640px){.ft-auth-card-register{width:min(100% - 20px,860px);padding:16px}.ft-register-form .ft-form-section{padding:13px}.ft-profile-actions .ft-btn{width:100%}}


/* =========================================================
   Family Tree v0.1.6 — Colorful, balanced profile forms
   ========================================================= */

:root{
  --ft-form-bg:#f4f7fb;
  --ft-form-card:#ffffff;
  --ft-form-line:#dbe4ee;
  --ft-form-text:#17324d;
  --ft-form-muted:#708398;
  --ft-form-radius:18px;
  --ft-field-height:48px;
}

/* keep the content calm and centered */
.ft-profile-form,
.ft-register-form{
  width:100%;
}

.ft-profile-form{
  gap:18px;
}

/* every section gets the same geometry */
.ft-profile-form .ft-panel.ft-form-section,
.ft-register-form .ft-form-section{
  position:relative;
  overflow:hidden;
  padding:0;
  border:1px solid var(--ft-form-line);
  border-radius:var(--ft-form-radius);
  background:var(--ft-form-card);
  box-shadow:0 8px 24px rgba(31,55,77,.055);
}

/* colored top band */
.ft-profile-form .ft-form-section-head,
.ft-register-form .ft-form-section-head{
  position:relative;
  display:flex;
  align-items:center;
  gap:12px;
  min-height:72px;
  padding:15px 18px;
  margin:0;
  border-bottom:1px solid rgba(255,255,255,.45);
  background:linear-gradient(135deg,#eaf4ff 0%,#eef8ff 100%);
}

.ft-profile-form .ft-form-section:nth-of-type(2) .ft-form-section-head,
.ft-register-form .ft-form-section:nth-of-type(2) .ft-form-section-head{
  background:linear-gradient(135deg,#ecf8f2 0%,#f3fbf7 100%);
}

.ft-profile-form .ft-form-section:nth-of-type(3) .ft-form-section-head,
.ft-register-form .ft-form-section:nth-of-type(3) .ft-form-section-head{
  background:linear-gradient(135deg,#fff5e9 0%,#fff9f1 100%);
}

.ft-profile-form .ft-form-section:nth-of-type(4) .ft-form-section-head,
.ft-register-form .ft-form-section:nth-of-type(4) .ft-form-section-head{
  background:linear-gradient(135deg,#f4efff 0%,#faf7ff 100%);
}

.ft-profile-form .ft-form-section:nth-of-type(5) .ft-form-section-head,
.ft-register-form .ft-form-section:nth-of-type(5) .ft-form-section-head{
  background:linear-gradient(135deg,#fff0f4 0%,#fff7f9 100%);
}

.ft-form-section-head>span{
  width:42px;
  height:42px;
  min-width:42px;
  border-radius:12px;
  display:grid;
  place-items:center;
  background:rgba(255,255,255,.86);
  box-shadow:0 3px 10px rgba(31,55,77,.08);
  color:#17324d;
  font-weight:800;
  font-size:17px;
}

.ft-form-section-head strong{
  display:block;
  margin:0;
  color:var(--ft-form-text);
  font-size:16px;
  font-weight:800;
  letter-spacing:-.01em;
}

.ft-form-section-head small{
  display:block;
  margin-top:3px;
  color:var(--ft-form-muted);
  font-size:12px;
  line-height:1.45;
}

/* body spacing for every section */
.ft-profile-form .ft-form-section > .ft-field,
.ft-profile-form .ft-form-section > .ft-field-grid,
.ft-register-form .ft-form-section > .ft-field,
.ft-register-form .ft-form-section > .ft-field-grid{
  margin-left:18px;
  margin-right:18px;
}

.ft-profile-form .ft-form-section > .ft-field-grid:first-of-type,
.ft-profile-form .ft-form-section > .ft-field:first-of-type,
.ft-register-form .ft-form-section > .ft-field-grid:first-of-type,
.ft-register-form .ft-form-section > .ft-field:first-of-type{
  margin-top:18px;
}

.ft-profile-form .ft-form-section > .ft-field:last-child,
.ft-profile-form .ft-form-section > .ft-field-grid:last-child,
.ft-register-form .ft-form-section > .ft-field:last-child,
.ft-register-form .ft-form-section > .ft-field-grid:last-child{
  margin-bottom:18px;
}

/* Equal two-column system: no "besar-kecil" field mismatch */
.ft-field-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:16px;
  align-items:start;
}

.ft-field{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:7px;
}

.ft-field label{
  margin:0;
  color:#203a52;
  font-size:13px;
  font-weight:750;
  line-height:1.3;
}

/* all controls have same height, radius, border and font */
.ft-field input:not([type="checkbox"]):not([type="radio"]),
.ft-field select{
  width:100%;
  height:var(--ft-field-height) !important;
  min-height:var(--ft-field-height);
  box-sizing:border-box;
  padding:0 13px;
  margin:0;
  border:1px solid #ced9e4;
  border-radius:12px;
  background:#fbfdff;
  color:#1c3347;
  font-size:14px;
  outline:none;
  transition:border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.ft-field textarea{
  width:100%;
  min-height:108px;
  box-sizing:border-box;
  padding:12px 13px;
  margin:0;
  border:1px solid #ced9e4;
  border-radius:12px;
  background:#fbfdff;
  color:#1c3347;
  font-size:14px;
  line-height:1.55;
  resize:vertical;
  outline:none;
  transition:border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.ft-field input:not([type="checkbox"]):not([type="radio"]):focus,
.ft-field select:focus,
.ft-field textarea:focus{
  border-color:#7faed0;
  background:#fff;
  box-shadow:0 0 0 4px rgba(80,137,179,.11);
}

.ft-field input::placeholder,
.ft-field textarea::placeholder{
  color:#a1afbc;
}

.ft-field small{
  margin-top:-2px;
  color:#8494a4;
  font-size:11.5px;
  line-height:1.45;
}

/* Distinct soft block inside each section */
.ft-profile-form .ft-form-section > .ft-field,
.ft-profile-form .ft-form-section > .ft-field-grid,
.ft-register-form .ft-form-section > .ft-field,
.ft-register-form .ft-form-section > .ft-field-grid{
  position:relative;
}

/* profile creation intro */
.ft-claim-intro{
  border:1px solid #dbe4ee !important;
  border-radius:18px !important;
  background:linear-gradient(135deg,#f9fbfe 0%,#ffffff 100%) !important;
  box-shadow:0 8px 24px rgba(31,55,77,.04);
}

.ft-claim-intro h2{
  color:#17324d;
  margin-bottom:6px;
}

/* actions should look intentional */
.ft-profile-actions{
  display:flex;
  justify-content:flex-end;
  gap:10px;
  position:sticky;
  bottom:12px;
  z-index:5;
  padding:12px;
  border:1px solid rgba(210,221,231,.85);
  border-radius:16px;
  background:rgba(248,250,252,.94);
  box-shadow:0 8px 24px rgba(31,55,77,.075);
  backdrop-filter:blur(10px);
}

.ft-btn.ft-btn-primary,
.ft-profile-actions .ft-btn-primary{
  min-height:46px;
  border-radius:12px;
  padding:0 20px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
}

/* Registration card gets same visual language */
.ft-register-note{
  border-radius:14px;
  padding:14px 16px;
  background:linear-gradient(135deg,#edf8f2 0%,#f7fbf9 100%);
  border:1px solid #d6eadf;
}

.ft-register-confirm{
  border-radius:16px;
  padding:16px;
  background:#f8fafc;
  border:1px solid #dce5ed;
}

/* Remove accidental native-looking field mismatch */
.ft-profile-form input,
.ft-profile-form select,
.ft-profile-form textarea,
.ft-register-form input,
.ft-register-form select,
.ft-register-form textarea{
  font-family:inherit;
}

/* desktop content width */
@media(min-width:1100px){
  .ft-profile-form,
  .ft-claim-intro{
    max-width:1400px;
  }
}

/* tablets/mobile: one neat column, same field heights */
@media(max-width:760px){
  .ft-field-grid{
    grid-template-columns:1fr;
    gap:13px;
  }

  .ft-profile-form .ft-form-section > .ft-field,
  .ft-profile-form .ft-form-section > .ft-field-grid,
  .ft-register-form .ft-form-section > .ft-field,
  .ft-register-form .ft-form-section > .ft-field-grid{
    margin-left:13px;
    margin-right:13px;
  }

  .ft-profile-form .ft-form-section > .ft-field-grid:first-of-type,
  .ft-profile-form .ft-form-section > .ft-field:first-of-type,
  .ft-register-form .ft-form-section > .ft-field-grid:first-of-type,
  .ft-register-form .ft-form-section > .ft-field:first-of-type{
    margin-top:14px;
  }

  .ft-profile-form .ft-form-section > .ft-field:last-child,
  .ft-profile-form .ft-form-section > .ft-field-grid:last-child,
  .ft-register-form .ft-form-section > .ft-field:last-child,
  .ft-register-form .ft-form-section > .ft-field-grid:last-child{
    margin-bottom:14px;
  }

  .ft-profile-form .ft-form-section-head,
  .ft-register-form .ft-form-section-head{
    min-height:66px;
    padding:13px;
  }

  .ft-form-section-head>span{
    width:38px;
    height:38px;
    min-width:38px;
  }

  .ft-field input:not([type="checkbox"]):not([type="radio"]),
  .ft-field select{
    height:48px !important;
    min-height:48px;
  }

  .ft-profile-actions{
    position:static;
  }

  .ft-profile-actions .ft-btn{
    width:100%;
  }
}
