/* ToolsForModels Creators — UX Sprint 2B — global shell + density pass */
:root{--tfm-s2-ink:#171717;--tfm-s2-muted:#6a665f;--tfm-s2-line:#ded9d0;--tfm-s2-shell:#f7f4ee;--tfm-s2-shadow:0 18px 38px rgba(23,23,23,.13)}
body[data-tfm-module="creators"]{background:#faf9f7}
body[data-tfm-module="creators"] :is(a,button,summary,select,input,textarea):focus-visible{outline:3px solid rgba(108,85,247,.28);outline-offset:2px}
body[data-tfm-module="creators"] :is(button,.btn,.header-auth,.search-submit){min-height:44px}

/* Same ToolsForModels shell used by the other Sprint 2 modules. */
.tfm-unit-header{position:sticky;top:0;z-index:110;border-bottom:1px solid var(--tfm-s2-line);background:rgba(247,244,238,.97);backdrop-filter:blur(18px);color:var(--tfm-s2-ink)}
.tfm-unit-header .shell{width:min(1220px,calc(100% - 36px));margin:0 auto}
.tfm-unit-headrow{min-height:62px;display:flex;align-items:center;gap:15px}
.tfm-unit-identity{display:flex;align-items:center;min-width:max-content;gap:9px}
.tfm-unit-brand{font-family:Georgia,'Times New Roman',serif;font-size:1.13rem;font-weight:700;letter-spacing:-.018em;text-decoration:none;color:inherit}
.tfm-unit-module{padding-left:9px;border-left:1px solid var(--tfm-s2-line);font:800 .64rem/1.1 system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;letter-spacing:.08em;text-transform:uppercase;color:#6253b6}
.tfm-unit-nav{display:flex;align-items:center;gap:4px;margin-left:auto;overflow:visible;padding:0}
.tfm-unit-nav>a,.tfm-unit-navgroup>summary{display:inline-flex;align-items:center;min-height:38px;padding:0 10px;border-radius:999px;color:inherit;text-decoration:none;font:700 .75rem/1 system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;letter-spacing:.015em;white-space:nowrap;cursor:pointer}
.tfm-unit-nav>a:hover,.tfm-unit-navgroup>summary:hover{background:rgba(23,23,23,.055)}
.tfm-unit-nav>a[aria-current="page"]{background:rgba(108,85,247,.10);color:#5140b5}
.tfm-unit-navgroup{position:relative;margin:0}
.tfm-unit-navgroup>summary{list-style:none;gap:6px}
.tfm-unit-navgroup>summary::-webkit-details-marker{display:none}
.tfm-unit-navgroup>summary::after{content:"⌄";font-size:.72rem;opacity:.68;transform:translateY(-1px)}
.tfm-unit-navgroup[open]>summary::after{transform:rotate(180deg) translateY(1px)}
.tfm-unit-navgroup-menu{position:absolute;top:calc(100% + 7px);left:0;z-index:140;min-width:210px;padding:7px;border:1px solid var(--tfm-s2-line);border-radius:14px;background:rgba(255,255,255,.99);box-shadow:var(--tfm-s2-shadow)}
.tfm-unit-navgroup-menu a{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:42px;padding:8px 10px;border-radius:9px;color:var(--tfm-s2-ink);text-decoration:none;font:680 .79rem/1.2 system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;white-space:nowrap}
.tfm-unit-navgroup-menu a:hover{background:#f4f1ec}.tfm-unit-navgroup-menu a::after{content:"↗";font-size:.72rem;opacity:.38}
.tfm-unit-secondary{color:#5e5a55}.tfm-unit-account{border:1px solid var(--tfm-s2-line);background:rgba(255,255,255,.54);padding-inline:12px!important}.tfm-unit-account::before{content:"○";font-size:.82rem;margin-right:6px}
.tfm-unit-lang{flex:0 0 auto;max-width:108px;min-height:44px;padding:4px 22px 4px 7px;border:1px solid transparent;border-radius:999px;background-color:transparent;color:inherit;font:700 .7rem/1 system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
.tfm-unit-lang:hover,.tfm-unit-lang:focus{border-color:var(--tfm-s2-line);background-color:rgba(255,255,255,.55)}
.tfm-unit-menu-toggle{display:none;align-items:center;gap:7px;border:0;background:transparent;color:inherit;padding:0 8px;font:750 .72rem/1 system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
.tfm-unit-menu-icon{display:grid;gap:3px}.tfm-unit-menu-icon span{display:block;width:15px;height:1.5px;background:currentColor;border-radius:2px}

/* Contextual Creators navigation stays local and compact. */
.creator-context-nav{border-bottom:1px solid #e7e3dc;background:rgba(255,255,255,.94)}
.creator-context-inner{display:flex;gap:4px;align-items:center;min-height:43px;overflow-x:auto;scrollbar-width:none}
.creator-context-inner::-webkit-scrollbar{display:none}
.creator-context-inner a{display:inline-flex;align-items:center;min-height:34px;padding:0 10px;border-radius:999px;text-decoration:none;white-space:nowrap;color:#66636c;font-size:11px;font-weight:780}
.creator-context-inner a:hover{background:#f3f1f6;color:#26232d}.creator-context-inner a[aria-current="page"]{background:#eeeaff;color:#5140b5}

/* Home: creator-first order, less empty height. */
.creator-home-hero{padding-top:26px!important;padding-bottom:48px!important}
.creator-home-hero>.shell{gap:20px 30px!important}
.creator-home-copy h1{max-width:720px}
.creator-route-grid>a{min-height:108px!important;padding:18px 16px 20px!important}
.creator-quick-search{padding-top:11px!important;padding-bottom:11px!important}
.creator-home-section{padding-top:38px!important}

/* Account/editor: same geometry as the rest of TFM; advanced data stays secondary. */
.account-wrap{padding:28px 0 60px!important}.account-shell{grid-template-columns:255px minmax(0,1fr)!important;gap:22px!important}.account-side{top:122px!important}
.form-panel{border-radius:16px!important;padding:20px!important}.wizard-form .form-section h2{margin-bottom:16px!important}.form-grid{gap:10px!important}
.field input,.field select,.field textarea{min-height:44px!important}.check{min-height:44px;padding:9px 10px!important}.wizard-step-nav{gap:6px!important;margin:18px 0 16px!important}.wizard-step-nav button{min-height:42px;padding:9px 11px!important}
.auth-card{max-width:500px!important;margin:42px auto!important;padding:24px!important}.auth-actions{margin-top:16px;display:grid!important;grid-template-columns:1fr 1fr}.auth-actions .btn{width:100%}
.advanced-details{border:1px solid var(--line);border-radius:13px;background:#fbfbfc;overflow:hidden}.advanced-details>summary{cursor:pointer;list-style:none;min-height:48px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 13px;font-size:12px;font-weight:850;color:#434657}.advanced-details>summary::-webkit-details-marker{display:none}.advanced-details>summary::after{content:"+";font-size:18px;font-weight:500;color:#7066ad}.advanced-details[open]>summary::after{content:"−"}.advanced-details-body{padding:4px 13px 14px;border-top:1px solid var(--line)}.optional-step-lead{max-width:640px;margin:-6px 0 16px;color:var(--soft);font-size:13px;line-height:1.55}.optional-step .advanced-details{max-width:760px}

/* Keep old crawlable mobile footer links in HTML, but the shared header/context nav is the visible mobile navigation. */
.mobile-nav{display:none!important}

@media(max-width:960px){
  .tfm-mobile-menu-header .shell{width:calc(100% - 24px)!important}.tfm-unit-headrow{min-height:56px!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto auto;gap:6px!important}.tfm-unit-identity{grid-column:1;grid-row:1;min-width:0;gap:7px;overflow:hidden}.tfm-unit-brand{min-width:0;overflow:hidden;text-overflow:ellipsis;font-size:1.05rem!important}.tfm-unit-module{min-width:0;max-width:112px;overflow:hidden;text-overflow:ellipsis;padding-left:7px;font-size:.61rem}.tfm-unit-lang{grid-column:2;grid-row:1;max-width:82px!important;padding-left:4px!important}.tfm-unit-menu-toggle{grid-column:3;grid-row:1;display:inline-flex!important;min-width:44px;min-height:44px;border-radius:999px;justify-content:center}
  .tfm-mobile-menu-nav{position:absolute!important;top:calc(100% + 1px)!important;right:0!important;left:auto!important;width:min(410px,100%)!important;max-height:calc(100dvh - 64px)!important;margin:0!important;padding:8px 10px 12px!important;display:none;flex-direction:column!important;align-items:stretch!important;gap:2px!important;overflow-y:auto!important;overscroll-behavior:contain;border:1px solid var(--tfm-s2-line)!important;border-top:0!important;border-radius:0 0 16px 16px!important;background:rgba(247,244,238,.995)!important;box-shadow:0 18px 38px rgba(23,23,23,.15)!important}
  .tfm-mobile-menu-header.tfm-mobile-menu-open .tfm-mobile-menu-nav{display:flex!important}.tfm-mobile-menu-nav[hidden]{display:none!important}.tfm-unit-nav>a,.tfm-unit-navgroup>summary{display:flex!important;min-height:45px!important;width:100%;padding:7px 9px!important;border-radius:10px!important;font-size:.84rem!important;white-space:normal!important}.tfm-unit-navgroup>summary{justify-content:space-between}.tfm-unit-navgroup-menu{position:static!important;min-width:0!important;margin:0 0 5px!important;padding:2px 0 4px 11px!important;border:0!important;border-left:1px solid var(--tfm-s2-line)!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}.tfm-unit-navgroup-menu a{min-height:42px!important;padding:7px 10px!important;font-size:.79rem!important;white-space:normal!important}.tfm-unit-navgroup-menu a::after{content:"→"}.tfm-unit-creators{margin-top:6px!important;padding-top:7px!important;border-top:1px solid var(--tfm-s2-line)!important}.tfm-unit-account{margin-top:4px!important;background:#fff!important}
  .creator-context-inner{min-height:41px;padding:3px 0}.creator-context-inner a{min-height:33px;font-size:10px;padding:0 9px}
  .account-shell{grid-template-columns:1fr!important}.account-side{position:static!important;top:auto!important;border-bottom:1px solid var(--line);padding-bottom:14px!important}.wizard-step-nav{display:flex!important;overflow-x:auto;scroll-snap-type:x proximity;margin:14px 0 10px!important;padding-bottom:3px}.wizard-step-nav button{min-width:132px!important;scroll-snap-align:start}.form-actions{bottom:8px!important}
}
@media(max-width:640px){
  body{padding-bottom:0!important}.footer{padding-bottom:24px!important}.creator-home-hero{padding:12px 0 32px!important}.creator-home-copy h1{font-size:52px!important;line-height:.91!important}.creator-home-copy>p:not(.eyebrow){margin-top:13px!important}.creator-home-actions{grid-template-columns:1fr!important;gap:7px!important}.creator-home-actions .btn{width:100%}.creator-home-photo{height:170px!important}.creator-route-grid{grid-template-columns:1fr 1fr!important}.creator-route-grid>a{min-height:100px!important;padding:13px 11px!important}.creator-route-grid strong{font-size:18px!important}.creator-route-grid small{font-size:9.5px!important}.creator-quick-search{padding-top:8px!important}.creator-home-section{padding-top:25px!important}.section-line h2{font-size:32px!important}
  .account-wrap{padding-top:14px!important}.account-side h1{font-size:34px!important}.account-lead{font-size:12px!important}.form-panel{padding:14px!important;border-radius:14px!important}.wizard-form .form-section h2{font-size:27px!important;margin-bottom:14px!important}.wizard-step-nav button{min-width:118px!important;font-size:10px!important}.check-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important}.check{font-size:10px!important}.advanced-details>summary{font-size:11px}.auth-card{margin:22px auto!important;padding:18px!important}.auth-card h1{font-size:34px!important}.auth-actions{grid-template-columns:1fr!important}.form-actions{position:sticky!important;bottom:6px!important;padding:10px 0 2px!important}
}
