/* TeknoFrenk / Üretim Pusulası ortak portal tasarım sistemi */
:root{--tfp-bg:#0b0e12;--tfp-panel:#151a21;--tfp-line:#2d3540;--tfp-orange:#f2a83b;--tfp-muted:#a6afbb}
html{scroll-behavior:smooth}body{background:var(--tfp-bg)}
.tfp-header{position:relative;z-index:100;width:100%;border-bottom:1px solid #ffffff1b;background:#0c0f13ee;backdrop-filter:blur(18px)}
.tfp-header-inner{max-width:1320px;margin:0 auto;min-height:82px;padding:0 28px;display:flex;align-items:center;gap:36px}
.tfp-brand{display:flex;align-items:center;gap:13px;color:#f5f5f6;text-decoration:none;white-space:nowrap;font-family:inherit}
.tfp-mark{width:42px;height:42px;display:grid;place-items:center;border:1px solid var(--tfp-orange);font-weight:900;color:var(--tfp-orange);font-style:italic;font-size:18px}
.tfp-brand-name{font-size:16px;font-weight:900;letter-spacing:1px;line-height:1.15}.tfp-brand-name>span{color:var(--tfp-orange)}.tfp-brand-name small{display:block;font-size:9px;letter-spacing:2px;color:var(--tfp-muted);margin-top:6px}
.tfp-nav{display:flex;align-items:center;justify-content:center;gap:26px;flex:1}.tfp-nav a{color:#b6bdc7;text-decoration:none;font-size:12px;font-weight:700;padding:31px 0 27px;border-bottom:2px solid transparent;white-space:nowrap;transition:.2s}.tfp-nav a:hover,.tfp-nav a.is-active{color:#fff;border-color:var(--tfp-orange)}
.tfp-dashboard{display:flex;align-items:center;gap:25px;padding:14px 20px;background:var(--tfp-orange);color:#11151b;text-decoration:none;font-size:12px;font-weight:900;white-space:nowrap;border-radius:2px}.tfp-dashboard:hover{background:#ffc06c}
/* Ana sayfayı diğer sayfalarla aynı içerik kolonuna yerleştir */
#landing.landing{min-height:100vh;height:auto!important;overflow:visible!important;display:block!important;padding:0!important}
#landing.landing.landing-hidden{display:none!important}
#landing .tfp-header{margin:0!important;max-width:none!important}
#landing .portal-intro,#landing .landing-shell,#landing .portal-section,#landing .portal-discover,#landing .portal-workflow,#landing .portal-bottom-cta,#landing .portal-footer{max-width:1264px!important;width:calc(100% - 56px)!important;margin-left:auto!important;margin-right:auto!important}
#landing .portal-intro{padding-top:35px!important;padding-bottom:10px!important}
#landing .landing-shell{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:44px!important;align-items:center!important;min-height:610px!important;padding:38px 0 58px!important;position:relative!important;top:auto!important;left:auto!important;transform:none!important}
#landing .landing-content{position:relative!important;top:auto!important;left:auto!important;transform:none!important;width:auto!important;max-width:100%!important;margin:0!important;padding:0!important}
#landing .landing-heading h1{font-size:clamp(60px,6vw,104px)!important;line-height:.94!important}
#landing .landing-release{font-size:clamp(22px,2vw,36px)!important}
#landing .landing-showcase{position:relative!important;inset:auto!important;top:auto!important;left:auto!important;right:auto!important;bottom:auto!important;transform:none!important;margin:0!important;width:100%!important;max-width:none!important;height:auto!important;aspect-ratio:1.16!important;min-height:430px!important;overflow:hidden!important;z-index:2}
#landing .portal-section{position:relative!important;z-index:3}
.tfp-quicklink{display:flex;align-items:center;gap:15px;border:1px solid #39414b;background:#15191f;padding:16px 18px;margin-top:25px;max-width:100%;border-left:3px solid var(--tfp-orange)}
.tfp-quicklink-icon{font-size:26px;color:var(--tfp-orange)}.tfp-quicklink>div{flex:1;min-width:0}.tfp-quicklink small{display:block;color:var(--tfp-orange);font-size:9px;letter-spacing:2px;margin-bottom:6px}.tfp-quicklink strong{display:block;color:#f5f5f5;font-size:14px}.tfp-quicklink p{margin:4px 0 0!important;color:#aeb5bf;font-size:11px!important}.tfp-quicklink>a{font-size:10px;font-weight:900;color:var(--tfp-orange);text-decoration:none;white-space:nowrap}
/* İç sayfalarda aynı üst menü, ritim ve arka plan */
.p2-wrap{max-width:none!important;width:100%!important;margin:0!important;padding:0!important}.p2-wrap>.tfp-header{width:100%}.p2-wrap>main,.p2-wrap>.p2-footer{max-width:1264px!important;width:calc(100% - 56px)!important;margin-left:auto!important;margin-right:auto!important}.p2-backdrop{pointer-events:none}.p2-breadcrumb{margin-top:28px!important}.p2-hero{padding-top:72px!important;padding-bottom:80px!important;gap:50px!important}.p2-hero h1{font-size:clamp(46px,5vw,76px)!important;line-height:1.07!important}.p2-section{margin-top:20px!important}
@media(max-width:1050px){.tfp-header-inner{flex-wrap:wrap;justify-content:space-between;gap:0;padding:15px 24px}.tfp-nav{order:3;flex-basis:100%;overflow-x:auto;justify-content:flex-start;gap:22px}.tfp-nav a{padding:15px 0}.tfp-dashboard{margin-left:auto}#landing .landing-shell{grid-template-columns:1fr!important;gap:30px!important;min-height:0!important}#landing .landing-showcase{max-width:780px!important;min-height:420px!important}#landing .landing-heading h1{font-size:clamp(60px,11vw,110px)!important}}
@media(max-width:640px){.tfp-header-inner{padding:12px 18px}.tfp-brand-name{font-size:13px}.tfp-brand-name small{font-size:7px}.tfp-mark{width:36px;height:36px}.tfp-dashboard{padding:11px 12px;font-size:10px;gap:7px}.tfp-nav{gap:16px}.tfp-nav a{font-size:11px}#landing .portal-intro,#landing .landing-shell,#landing .portal-section,#landing .portal-discover,#landing .portal-workflow,#landing .portal-bottom-cta,#landing .portal-footer,.p2-wrap>main,.p2-wrap>.p2-footer{width:calc(100% - 36px)!important}#landing .landing-shell{padding-top:25px!important}#landing .landing-heading h1{font-size:clamp(48px,12vw,78px)!important}#landing .landing-showcase{min-height:330px!important}.tfp-quicklink{flex-wrap:wrap}.tfp-quicklink>a{margin-left:42px}.p2-hero{padding-top:45px!important}}

/* v3: Header is a direct body-level sibling of landing on every portal page.
   Lock sizing and spacing independently of legacy landing/planner styles. */
body > .tfp-header,body > .p2-wrap > .tfp-header{box-sizing:border-box!important;display:block!important;position:relative!important;left:auto!important;right:auto!important;top:auto!important;transform:none!important;margin:0!important;padding:0!important;width:100%!important;max-width:none!important;min-height:82px!important;height:auto!important;background:#0c0f13ee!important;border-bottom:1px solid #ffffff1b!important;z-index:110!important}
body .tfp-header *,body .tfp-header *::before,body .tfp-header *::after{box-sizing:border-box}
body .tfp-header .tfp-header-inner{width:100%!important;max-width:1320px!important;margin:0 auto!important;padding:0 28px!important;min-height:82px!important;height:auto!important;display:flex!important;align-items:center!important;gap:36px!important;justify-content:initial!important}
body .tfp-header .tfp-brand{display:flex!important;align-items:center!important;flex:0 0 auto!important;gap:13px!important;max-width:none!important;min-width:0!important;margin:0!important}
body .tfp-header .tfp-nav{display:flex!important;align-items:center!important;justify-content:center!important;gap:26px!important;flex:1 1 auto!important;min-width:0!important;margin:0!important}
body .tfp-header .tfp-dashboard{flex:0 0 auto!important;margin:0!important}
@media(max-width:1050px){body .tfp-header .tfp-header-inner{flex-wrap:wrap!important;gap:0!important;padding:15px 24px!important}body .tfp-header .tfp-nav{order:3!important;flex-basis:100%!important;justify-content:flex-start!important;gap:22px!important;overflow-x:auto!important}body .tfp-header .tfp-dashboard{margin-left:auto!important}}
@media(max-width:640px){body .tfp-header .tfp-header-inner{padding:12px 18px!important}body .tfp-header .tfp-nav{gap:16px!important}}

/* Portal hero: hologram ve rehber karti cakisma duzeltmesi */
#landing .tf-showcase .tf-preview-ghost{
  position:absolute!important;top:3%!important;right:3%!important;left:auto!important;
  width:26%!important;max-width:178px!important;min-width:0!important;
  padding:8px 9px!important;z-index:8!important;box-sizing:border-box!important;
  overflow:hidden!important;
}
#landing .tf-showcase .tf-ghost-caption{display:flex!important;justify-content:space-between!important;gap:5px!important;align-items:center!important;font-size:8px!important;line-height:1.2!important;white-space:nowrap!important}
#landing .tf-showcase .tf-ghost-caption span{float:none!important;flex-shrink:0!important}
#landing .tf-showcase .tf-ghost-machine{margin:5px 0 0!important;padding:5px 7px!important;animation:none!important;transform:none!important;box-shadow:none!important}
#landing .tf-showcase .tf-ghost-machine b{font-size:10px!important;line-height:1.2!important}
#landing .tf-showcase .tf-ghost-machine span{font-size:9px!important;margin:2px 0!important;line-height:1.2!important}
#landing .tf-showcase .tf-ghost-machine strong{font-size:10px!important;line-height:1.2!important}
#landing .tf-showcase .tf-ghost-user{display:none!important}
#landing .tf-showcase .tf-output-1{top:33%!important}
#landing .tf-showcase .tf-output-2{top:52%!important}
#landing .tf-showcase .tf-output-3{top:72%!important}
#landing .landing-content .tfp-quicklink{
  box-sizing:border-box!important;width:100%!important;max-width:100%!important;
  margin:14px 0 0!important;padding:17px 19px!important;
  display:grid!important;grid-template-columns:34px minmax(0,1fr) auto!important;
  gap:14px!important;align-items:center!important;min-height:90px!important;
  border:1px solid #414956!important;border-left:3px solid var(--tfp-orange)!important;
  border-radius:2px!important;background:#151a21!important;
}
#landing .tfp-quicklink-icon{font-size:23px!important;line-height:1!important}
#landing .tfp-quicklink strong{font-size:14px!important;line-height:1.35!important}
#landing .tfp-quicklink p{font-size:12px!important;line-height:1.45!important}
#landing .tfp-quicklink>a{font-size:11px!important;padding:8px 0!important}
@media(max-width:650px){
 #landing .landing-content .tfp-quicklink{grid-template-columns:26px minmax(0,1fr)!important;gap:10px!important;padding:14px!important}
 #landing .tfp-quicklink>a{grid-column:2!important}
 #landing .tf-showcase .tf-preview-ghost{width:32%!important;max-width:140px!important;padding:5px!important}
 #landing .tf-showcase .tf-ghost-caption{font-size:7px!important}
 #landing .tf-showcase .tf-ghost-machine{padding:4px!important}
 #landing .tf-showcase .tf-ghost-machine span{font-size:8px!important}
}

/* CMS tarzı portal kontrol merkezi giriş modülü */
#landing .tfp-center-promo{width:calc(100% - 56px);max-width:1264px;margin:0 auto 45px;display:grid;grid-template-columns:1fr 1fr;gap:26px;padding:32px;background:linear-gradient(120deg,#1c2129,#11151a);border:1px solid #3d4651;position:relative;z-index:4}#landing .tfp-center-promo-copy h2{font-size:clamp(26px,3vw,39px);line-height:1.15;color:#f4f4f4;margin:12px 0}#landing .tfp-center-promo-copy h2 em{font-style:normal;color:#f2a83b}#landing .tfp-center-promo-copy p{color:#abb5c1;font-size:14px;line-height:1.7;max-width:450px}#landing .tfp-overline{color:#f2a83b;font-size:10px;letter-spacing:2px;font-weight:900}#landing .tfp-center-button{display:inline-flex;gap:26px;align-items:center;background:#f2a83b;color:#16191d;padding:15px 19px;font-size:11px;font-weight:900;text-decoration:none;margin-top:12px}#landing .tfp-center-promo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}#landing .tfp-center-promo-grid a{display:flex;flex-direction:column;gap:12px;padding:18px;border:1px solid #3a444f;background:#161c24;text-decoration:none}#landing .tfp-center-promo-grid a:hover{border-color:#f2a83b}#landing .tfp-center-promo-grid span{font-size:9px;letter-spacing:1.4px;color:#f2a83b}#landing .tfp-center-promo-grid strong{font-size:17px;color:#f4f4f4}#landing .tfp-center-promo-grid small{font-size:11px;color:#aab4bf}@media(max-width:900px){#landing .tfp-center-promo{grid-template-columns:1fr}}@media(max-width:640px){#landing .tfp-center-promo{width:calc(100% - 36px);padding:18px}#landing .tfp-center-promo-grid{grid-template-columns:1fr}}


/* v29.7: Dil secimi ve oturum islemleri portal ust menunun saginda. */
.tfp-account-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex:0 0 auto;margin-left:auto}
.tfp-account-actions .tf-language-picker{position:relative!important;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;margin:0!important}
.tfp-account-actions .tfp-account-link{font-size:12px;font-weight:800;color:#e7e9ee;text-decoration:none;white-space:nowrap}
.tfp-account-actions .tfp-account-link:hover{color:#f2a83b}
body .tfp-header .tfp-account-actions .tfp-dashboard{margin:0!important}
@media(max-width:1050px){
 body .tfp-header .tfp-account-actions{margin-left:auto!important;gap:10px}
}
@media(max-width:640px){
 body .tfp-header .tfp-account-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px}
 body .tfp-header .tfp-account-actions .tfp-dashboard{padding:10px 12px}
}

/* 2026-10 multilingual SEO & fixed chrome */
body .tfp-header,body>.p2-wrap>.tfp-header{position:sticky!important;top:0!important;z-index:900!important}
body .p2-wrap{min-height:100vh!important;display:flex!important;flex-direction:column!important}
body .p2-wrap>main{flex:1 0 auto!important;padding-bottom:90px!important}
body .p2-wrap>.p2-footer{position:sticky!important;bottom:0!important;z-index:800!important;background:#0c0f13f5!important;backdrop-filter:blur(16px);padding:14px 20px!important;border-top:1px solid #ffffff22}
#landing .landing-heading{min-width:0!important}
#landing .landing-heading h1{position:relative!important;overflow:visible!important}
#landing .landing-heading .version,#landing .landing-heading .tfp-version,#landing .landing-heading .landing-version{position:static!important;display:inline-block!important;vertical-align:middle!important;margin:12px 0 0 12px!important;transform:none!important}
@media(max-width:800px){body .p2-wrap>.p2-footer{position:relative!important}body .tfp-header,body>.p2-wrap>.tfp-header{position:sticky!important}}

/* Keep the release number in the title column, never over the preview */
#landing .landing-heading{display:flex!important;align-items:flex-end!important;flex-wrap:wrap!important;gap:12px!important}
#landing .landing-heading h1{flex:0 1 auto!important;margin:0!important}
#landing .landing-heading .landing-release{position:static!important;inset:auto!important;transform:none!important;flex:0 0 auto!important;margin:0 0 8px!important;white-space:nowrap!important;z-index:1!important}
@media(max-width:1050px){#landing .landing-heading .landing-release{margin:0!important}}

/* v29.9 - brand, full width footer, balanced hero and graph */
body .tfp-header .tfp-mark{width:48px!important;height:48px!important;display:flex!important;align-items:center!important;justify-content:center!important;border:0!important;background:transparent!important;flex-shrink:0!important;overflow:visible!important}
body .tfp-header .tfp-mark img{display:block;width:48px;height:48px;object-fit:contain}
#landing .landing-shell{grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr)!important;gap:clamp(24px,3vw,54px)!important}
#landing .landing-heading{display:block!important;position:relative!important}
#landing .landing-heading h1{display:block!important;font-size:clamp(54px,5.3vw,91px)!important;line-height:.98!important;overflow:visible!important}
#landing .landing-heading .landing-release{position:static!important;display:block!important;margin:8px 0 0!important;font-size:clamp(23px,2vw,32px)!important;line-height:1.1!important;transform:none!important}
#landing .landing-showcase{width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
#landing .portal-footer{box-sizing:border-box!important;width:100%!important;max-width:none!important;padding:24px max(28px,calc((100vw - 1264px)/2))!important;border-top:1px solid #ffffff22;background:#0c0f13!important}
body .p2-wrap>.p2-footer{box-sizing:border-box!important;max-width:none!important;width:100%!important;margin:0!important;padding:20px max(28px,calc((100vw - 1264px)/2))!important;background:#0c0f13!important}
body .p2-wrap>.p2-footer{position:relative!important;bottom:auto!important}
.p2-visual .tfp-four-flow{display:grid;grid-template-columns:minmax(0,1fr) 22px minmax(0,1fr) 22px minmax(0,1fr);grid-template-rows:repeat(2,minmax(70px,auto));gap:12px 4px;align-items:center;width:100%;padding:14px 0}
.p2-visual .tfp-four-flow .p2-node{min-width:0;padding:11px 7px;overflow:hidden}
.p2-visual .tfp-four-flow .p2-node small{font-size:8px;margin-bottom:5px}
.p2-visual .tfp-four-flow .p2-node b{font-size:10px;white-space:normal}
.p2-visual .tfp-four-flow .p2-node em{font-size:10px;margin-top:5px}
.p2-visual .tfp-four-flow .tfp-wire{width:100%;height:2px;border-top:2px dashed #f2a73d;position:relative}
.p2-visual .tfp-four-flow .tfp-wire:after{content:'›';position:absolute;right:0;top:-16px;color:#f2a73d;font-size:21px}
@media(max-width:950px){#landing .landing-shell{grid-template-columns:1fr!important}#landing .landing-heading h1{font-size:clamp(52px,10vw,90px)!important}}
@media(max-width:560px){.p2-visual .tfp-four-flow{gap:6px 2px;grid-template-columns:minmax(0,1fr) 12px minmax(0,1fr) 12px minmax(0,1fr)}.p2-visual .tfp-four-flow .p2-node{padding:7px 4px}}

/* v29.11: one ore -> two smelters -> one storage, responsive connectors */
.p2-visual .tfp-merge-flow{display:block!important;position:relative!important;width:100%;height:220px;min-height:220px;padding:0!important}
.p2-visual .tfp-merge-flow .tfp-merge-lines{position:absolute;inset:0;width:100%;height:100%;z-index:1;overflow:visible;pointer-events:none}
.p2-visual .tfp-merge-lines path{fill:none;stroke:#f2a73d;stroke-width:2.5;stroke-dasharray:5 4;vector-effect:non-scaling-stroke}
.p2-visual .tfp-merge-lines .tfp-flow-arrow{stroke-dasharray:none}
.p2-visual .tfp-merge-flow .p2-node{position:absolute;z-index:2;box-sizing:border-box;min-width:0;width:23%;padding:10px 7px;transform:translateY(-50%);overflow:hidden}
.p2-visual .tfp-merge-flow .p2-node small{font-size:8px;margin-bottom:5px}.p2-visual .tfp-merge-flow .p2-node b{font-size:10px}.p2-visual .tfp-merge-flow .p2-node em{font-size:10px;margin-top:5px}
.tfp-merge-source{left:0;top:50%}.tfp-merge-smelter1{left:39%;top:25%}.tfp-merge-smelter2{left:39%;top:75%}.tfp-merge-storage{right:0;top:50%}
@media(max-width:600px){.p2-visual .tfp-merge-flow .p2-node{padding:7px 3px}.p2-visual .tfp-merge-flow .p2-node b{font-size:9px}.p2-visual .tfp-merge-flow .p2-node small{font-size:7px}}
/* Landing footer always visible, full browser width, without hiding landing content */
body:has(#landing:not(.landing-hidden)) #landing{padding-bottom:85px!important}
body:has(#landing:not(.landing-hidden)) #landing .portal-footer{position:fixed!important;bottom:0!important;left:0!important;right:0!important;z-index:850!important;width:100vw!important;max-width:none!important;margin:0!important;padding:16px max(24px,calc((100vw - 1264px)/2))!important;box-sizing:border-box!important;background:#0c0f13f5!important;border-top:1px solid #ffffff28!important;backdrop-filter:blur(12px)}
@media(max-width:700px){body:has(#landing:not(.landing-hidden)) #landing{padding-bottom:125px!important}body:has(#landing:not(.landing-hidden)) #landing .portal-footer{gap:6px;padding:12px 18px!important;font-size:9px}}
