:root {
  --bg: #120d0a;
  --ink: #ffffff;
  --ink-2: rgb(var(--fg) / .74);
  --ink-3: rgb(var(--fg) / .58);
  --hair: rgb(var(--fg) / .13);
  --fill: rgb(var(--fg) / .08);
  --fill-2: rgb(var(--fg) / .14);
  --accent: #ff6a00;
  --accent-text: #ff9a70;
  --on-accent: #111;
  --brand-a: #1f3a34;
  --brand-b: #e2622e;
  --good: #6ee7a8;
  --warn: #ffd166;
  --bad: #ff9185;
  --r-xl: 30px;
  --r-lg: 24px;
  --r-md: 16px;
  --spring: cubic-bezier(.3, 1.5, .5, 1);
  --sans: 'Inter', -apple-system, 'Segoe UI', system-ui, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; overflow: hidden; }
body { background: var(--bg); color: var(--ink); font: 500 14px/1.5 var(--sans); -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; color: inherit; }
option { background: var(--menu); color: var(--ink); }
h1, h2, h3, p { margin: 0; }
h1 { font: 700 clamp(28px, 3.2vw, 42px)/1.08 var(--sans); letter-spacing: -.028em; }
h2 { font: 650 15px/1.3 var(--sans); letter-spacing: -.01em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.small-text { font-size: 12px; color: var(--ink-2); }
button { cursor: pointer; }

/* Zemin: markanın renkleri ve güncel görselin bulanık ışığı */
/* Zemin bilerek durağandır: arkası hareket ederse her cam yüzey her karede yeniden bulanıklaşır. */
.backdrop {
  position: fixed;
  inset: 0;
  overflow: hidden;
  contain: strict;
  background:
    radial-gradient(50vw 50vw at 4% 100%, color-mix(in srgb, var(--brand-b) 26%, transparent), transparent 70%),
    radial-gradient(42vw 42vw at 100% 0%, color-mix(in srgb, color-mix(in srgb, var(--brand-b) 45%, #fa8e4f) 24%, transparent), transparent 70%),
    radial-gradient(120% 90% at 15% 0%, color-mix(in srgb, var(--brand-a) 70%, #120d0a), #120d0a 62%);
}
/* Küçük tuval büyütüldüğünde zaten yumuşar; bu yüzden çok az bulanıklık yeter. */
#ambient { position: absolute; inset: -8%; width: 116%; height: 116%; filter: blur(36px) saturate(1.35) brightness(.5); opacity: .6; }
.backdrop::after { content: ''; position: absolute; inset: 0; background: radial-gradient(120% 100% at 50% 40%, rgb(var(--sf) / .18), rgb(var(--sf) / .62)); }

/* Cam malzemesi */
.glass, .panel, .tile, .post-card, .media, .swipe-card, .hero, .service {
  position: relative;
  /* Koyu alt ton, parlak görsellerin üstünde de yazıyı okunur tutar. */
  background: linear-gradient(150deg, rgb(var(--fg) / .13), rgb(var(--fg) / .03) 42%, rgb(var(--fg) / .07)), rgb(var(--sf) / .42);
  box-shadow: 0 24px 60px -18px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .24);
}
.glass, .panel, .tile, .swipe-card, .hero {
  -webkit-backdrop-filter: blur(22px) saturate(165%);
  backdrop-filter: blur(22px) saturate(165%);
}
/* Kenardaki ışık çizgisi */
.glass::before, .panel::before, .tile::before, .post-card::before, .media::before, .swipe-card::before, .hero::before, .service::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgb(var(--fg) / .62), rgb(var(--fg) / .1) 32%, rgb(var(--fg) / .03) 62%, rgb(var(--fg) / .36));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  pointer-events: none;
  z-index: 2;
}
/* İmleci izleyen parlama */
.panel::after, .tile::after, .hero::after, .service::after, .swipe-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, -40%), rgb(var(--fg) / .12), transparent 70%);
}
.can-refract .refract { backdrop-filter: url(#liquid) blur(14px) saturate(180%); }

/* Yerleşim */
.app { position: relative; display: grid; grid-template-columns: 92px minmax(0, 1fr) 392px; gap: 14px; height: 100dvh; padding: 14px; }
.center { display: flex; flex-direction: column; min-width: 0; min-height: 0; position: relative; }

/* İkon menü */
.rail { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 14px 8px; border-radius: var(--r-xl); min-height: 0; }
.mark { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 19px; color: var(--on-accent); background: var(--accent); box-shadow: 0 6px 22px color-mix(in srgb, var(--accent) 55%, transparent), inset 0 1px 0 rgba(255, 255, 255, .5); }
#navWrap { position: relative; flex: 1; width: 100%; min-height: 0; overflow-y: auto; scrollbar-width: none; margin-top: 4px; }
#navWrap::-webkit-scrollbar { display: none; }
#nav { display: flex; flex-direction: column; gap: 2px; position: relative; }
.nav-lens { position: absolute; left: 0; right: 0; top: 0; height: 52px; border-radius: 18px; background: rgb(var(--fg) / .13); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), inset 0 0 0 1px rgb(var(--fg) / .1), 0 8px 22px rgba(0, 0, 0, .28); transition: transform .45s var(--spring); opacity: 0; }
.nav-item { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; width: 100%; height: 52px; padding: 0 2px; border: 0; background: none; border-radius: 18px; font-size: 10.5px; line-height: 1.15; font-weight: 600; color: var(--ink-2); text-align: center; transition: color .2s, transform .25s var(--spring); }
.nav-item:hover { color: var(--ink); }
.nav-item:active { transform: scale(.93); }
.nav-item[aria-current='page'] { color: var(--accent-text); }
.nav-item svg { width: 21px; height: 21px; flex: none; }
.nav-item .count { position: absolute; top: 5px; right: 12px; font-size: 10px; font-weight: 800; background: var(--accent); color: var(--on-accent); border-radius: 20px; padding: 0 5px; line-height: 16px; min-width: 16px; }
.rail-brand { flex: none; width: 46px; height: 46px; padding: 0; border-radius: 50%; border: 1px solid rgb(var(--fg) / .35); background: var(--fill-2) center/cover; font-weight: 800; }

/* Üst şerit */
.topbar { position: relative; z-index: 5; flex: none; display: flex; align-items: center; gap: 10px; padding: 7px 8px 7px 14px; border-radius: 999px; margin-bottom: 10px; }
.brand-switch { display: flex; align-items: center; gap: 8px; min-width: 0; }
.brand-switch select { border: 0; background: transparent; font-weight: 700; max-width: 190px; }
.swatch { flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }

/* Ana alan */
.main { flex: 1; min-height: 0; overflow-y: auto; padding: 16px 4px 40px; outline: none; scrollbar-width: thin; scrollbar-color: rgb(var(--fg) / .22) transparent; }
.page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px; margin-bottom: 20px; padding: 0 4px; }
.page-head p { color: var(--ink-2); margin-top: 7px; max-width: 58ch; }
.grid { display: grid; gap: 14px; }
.tiles { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.two { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); align-items: start; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.panel { border-radius: var(--r-lg); padding: 18px; min-width: 0; }
.panel > h2 { margin-bottom: 12px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.panel > *, .tile > *, .hero > *, .service > * { position: relative; z-index: 1; }
.tile { border-radius: var(--r-lg); padding: 15px 17px; text-align: left; border: 0; color: inherit; transition: transform .3s var(--spring); }
button.tile:hover { transform: translateY(-2px); }
button.tile:active { transform: scale(.98); }
.tile .label { font-size: 12px; font-weight: 600; color: var(--ink-2); }
.tile .value { font: 700 30px/1.15 var(--sans); letter-spacing: -.025em; margin-top: 4px; overflow-wrap: anywhere; }
.tile .value.text { font-size: 19px; line-height: 1.25; letter-spacing: -.015em; }
.tile .sub { font-size: 12px; color: var(--ink-2); margin-top: 2px; }
.bare { background: none; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; padding: 0; margin-bottom: 8px; }
.bare::before, .bare::after { display: none; }

/* Ana sayfa vitrini */
.hero { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 20px; align-items: center; padding: 16px; border-radius: var(--r-xl); margin-bottom: 14px; }
.hero .art { border-radius: 20px; overflow: hidden; box-shadow: 0 16px 34px rgba(0, 0, 0, .45); }
.hero canvas { display: block; width: 100%; height: auto; }
.hero .eyebrow { font-size: 11.5px; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-2); font-weight: 600; }
.hero h2 { font: 700 clamp(22px, 2.5vw, 32px)/1.1 var(--sans); letter-spacing: -.025em; margin: 6px 0 8px; }
.hero p { color: var(--ink-2); margin-bottom: 14px; }

/* Düğmeler */
.primary, .ghost, .pill { border-radius: 999px; padding: 9px 17px; font-weight: 650; border: 0; white-space: nowrap; transition: transform .25s var(--spring), background .2s; }
.primary { background: rgb(var(--fg)); color: var(--inv); box-shadow: 0 6px 22px rgb(var(--fg) / .22); }
.primary:hover { transform: translateY(-1px); }
.primary:active, .ghost:active, .pill:active { transform: scale(.95); }
.primary:disabled, .ghost:disabled { opacity: .45; cursor: default; box-shadow: none; }
.ghost, .pill { background: var(--fill); box-shadow: inset 0 0 0 1px var(--hair), inset 0 1px 0 rgba(255, 255, 255, .16); }
.ghost:hover, .pill:hover { background: var(--fill-2); }
.small { padding: 6px 12px; font-size: 12.5px; }
.danger { color: var(--bad); }
.btn-row { display: flex; flex-wrap: wrap; gap: 8px; }

.tabs { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 999px; background: var(--fill); box-shadow: inset 0 0 0 1px var(--hair); width: fit-content; max-width: 100%; margin-bottom: 14px; }
.tab { border: 0; background: transparent; border-radius: 999px; padding: 5px 13px; font-weight: 600; font-size: 13px; color: var(--ink-2); }
.tab:hover { color: var(--ink); }
.tab[aria-pressed='true'] { background: rgb(var(--fg) / .92); color: var(--inv); }

/* Etiketler */
.tag { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 650; padding: 2px 9px; border-radius: 20px; background: var(--fill); color: var(--ink-2); white-space: nowrap; box-shadow: inset 0 0 0 1px var(--hair); }
.tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.tag.plain::before { display: none; }
.tag.published, .tag.replied { color: var(--good); }
.tag.pending_approval, .tag.open { color: var(--warn); }
.tag.scheduled { color: #fff; }
.tag.escalated, .tag.rejected { color: var(--bad); }

/* İçerik kartları */
.cards { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.post-card, .media { border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; text-align: left; }
.post-card .thumb { background: rgba(0, 0, 0, .25); display: block; width: 100%; border: 0; padding: 0; position: relative; }
.post-card canvas, .media canvas { display: block; width: 100%; height: auto; }
.post-card .thumb canvas { aspect-ratio: 4 / 5; object-fit: contain; }
.no-visual { aspect-ratio: 4 / 5; display: grid; place-items: center; color: var(--ink-2); font-size: 12px; padding: 12px; text-align: center; background: var(--fill); }
.post-card .body { padding: 11px 13px 13px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.post-card h3 { font-size: 14px; font-weight: 650; line-height: 1.3; letter-spacing: -.01em; }
.post-card .meta { font-size: 12px; color: var(--ink-2); }
.post-card .btn-row { margin-top: auto; padding-top: 4px; }
.play-badge { position: absolute; left: 8px; top: 8px; background: rgba(0, 0, 0, .55); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 20px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.row-item { display: flex; align-items: center; gap: 12px; padding: 9px 0; border: 0; border-top: 1px solid var(--hair); width: 100%; background: none; text-align: left; }
.row-item:first-of-type { border-top: 0; padding-top: 0; }
.row-item .mini { flex: none; width: 44px; border-radius: 10px; overflow: hidden; background: var(--fill); aspect-ratio: 4 / 5; }
.row-item .mini canvas { width: 100%; height: 100%; display: block; object-fit: cover; }
.row-item .grow { flex: 1; min-width: 0; }
.row-item .grow strong { display: block; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.empty { padding: 26px 14px; text-align: center; color: var(--ink-2); }
.empty button { margin-top: 10px; }

/* Kaydırmalı onay */
.deck-wrap { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.deck { display: grid; width: min(860px, 100%); touch-action: pan-y; }
.swipe-card {
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 22px;
  padding: 14px;
  border-radius: var(--r-xl);
  transform: translateY(calc(var(--i) * 14px)) scale(calc(1 - var(--i) * .045));
  transform-origin: 50% 100%;
  transition: transform .45s var(--spring), opacity .3s;
  user-select: none;
  -webkit-user-select: none;
  z-index: calc(5 - var(--i));
  min-width: 0;
}
.swipe-card:not(.top) { pointer-events: none; opacity: calc(1 - var(--i) * .3); }
.swipe-card:not(.top) > * { visibility: hidden; }
.swipe-card.top { cursor: grab; touch-action: pan-y; }
/* Sürüklenirken bulanıklık kapanır, kart parmağı takılmadan izler. */
.swipe-card.dragging, .swipe-card.flying { background: linear-gradient(150deg, rgba(86, 76, 70, .94), rgb(var(--sf) / .96)); -webkit-backdrop-filter: none; backdrop-filter: none; }
.swipe-card.dragging { cursor: grabbing; transition: none; }
.swipe-card .art { position: relative; border-radius: 20px; overflow: hidden; box-shadow: 0 18px 40px rgba(0, 0, 0, .45); align-self: start; background: rgba(0, 0, 0, .3); }
.swipe-card .art canvas { display: block; width: 100%; height: auto; max-height: 58dvh; object-fit: contain; pointer-events: none; }
.swipe-card .art .play { position: absolute; right: 10px; top: 10px; z-index: 3; background: rgb(var(--sf) / .62); }
.swipe-card .info { display: flex; flex-direction: column; gap: 9px; min-width: 0; padding: 8px 8px 8px 0; }
.swipe-card .eyebrow { font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); font-weight: 600; }
.swipe-card h2 { font: 700 clamp(22px, 2.4vw, 31px)/1.1 var(--sans); letter-spacing: -.025em; }
.swipe-card .caption { color: var(--ink); opacity: .9; white-space: pre-line; overflow-wrap: anywhere; max-height: 25dvh; overflow-y: auto; scrollbar-width: thin; }
.swipe-card .hashes { color: var(--accent-text); font-size: 13px; font-weight: 600; overflow-wrap: anywhere; }
.targets-label { margin-top: auto; padding-top: 6px; font-size: 12px; color: var(--ink-2); font-weight: 600; }
.targets { display: flex; flex-wrap: wrap; gap: 6px; }
.target { border: 0; border-radius: 999px; padding: 6px 12px; font-size: 12.5px; font-weight: 650; background: var(--fill); color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--hair); transition: transform .25s var(--spring), background .2s; }
.target:active { transform: scale(.93); }
.target[aria-pressed='true'] { background: rgb(var(--fg) / .92); color: var(--inv); box-shadow: none; }
.stamp { position: absolute; top: 26px; z-index: 6; padding: 8px 18px; border-radius: 999px; font-weight: 800; font-size: 19px; letter-spacing: .06em; opacity: 0; pointer-events: none; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.stamp.yes { left: 26px; color: #06281a; background: rgba(110, 231, 168, .92); opacity: var(--yes, 0); transform: rotate(-7deg); }
.stamp.no { right: 26px; color: #3a0b05; background: rgba(255, 145, 133, .95); opacity: var(--no, 0); transform: rotate(7deg); }
.controls { display: flex; align-items: center; gap: 14px; padding: 10px 14px; border-radius: 999px; }
.round { display: grid; place-items: center; width: 54px; height: 54px; padding: 0; border: 0; border-radius: 50%; background: var(--fill); box-shadow: inset 0 0 0 1px var(--hair), inset 0 1px 0 rgba(255, 255, 255, .25); transition: transform .28s var(--spring), background .2s; }
.round:hover { transform: scale(1.06); background: var(--fill-2); }
.round:active { transform: scale(.92); }
.round:disabled { opacity: .35; cursor: default; transform: none; }
.round svg { width: 24px; height: 24px; }
.round.no { color: var(--bad); }
.round.yes { width: 72px; height: 72px; background: rgb(var(--fg)); color: var(--inv); box-shadow: 0 0 36px rgb(var(--fg) / .42); }
.round.yes:hover { background: #fff; }
.round.yes svg { width: 32px; height: 32px; }
.round.undo { width: 44px; height: 44px; color: var(--ink-2); }
.round.undo svg { width: 19px; height: 19px; }
.deck-hint { font-size: 12.5px; color: var(--ink-2); text-align: center; }
.reason-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; padding: 8px 12px; border-radius: 22px; animation: rise .35s var(--spring); }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }

/* Ajans işleri */
.services { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.service { display: flex; flex-direction: column; gap: 4px; padding: 15px 16px; border: 0; border-radius: var(--r-lg); text-align: left; color: inherit; min-height: 118px; transition: transform .3s var(--spring); }
.service:hover { transform: translateY(-2px); }
.service:active { transform: scale(.98); }
.service strong { font-weight: 650; font-size: 14.5px; letter-spacing: -.01em; }
.service .how { margin-top: auto; padding-top: 8px; font-size: 11.5px; font-weight: 650; color: var(--accent-text); }
.service .how.team { color: var(--ink-2); }
.doc h3 { font-size: 13px; font-weight: 700; margin: 14px 0 4px; }
.doc p { color: var(--ink-2); white-space: pre-line; }
.doc ul { margin: 4px 0 0; padding-left: 18px; color: var(--ink-2); }

/* İşbirlikleri */
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.filter-bar input, .filter-bar select { border: 0; border-radius: 999px; padding: 8px 14px; background: rgb(var(--fg) / .08); box-shadow: inset 0 0 0 1px var(--hair); font-weight: 600; font-size: 13px; color: var(--ink); min-width: 0; }
.filter-bar .filter-search { flex: 1 1 200px; }
.filter-search::placeholder { color: var(--ink-3); }
.inf-grid { grid-template-columns: repeat(auto-fill, minmax(245px, 1fr)); }
.inf-card { gap: 10px; min-height: 0; }
.inf-card:hover { transform: none; }
.inf-card > * { position: relative; z-index: 1; }
.inf-head { display: flex; align-items: center; gap: 11px; min-width: 0; }
.inf-head .grow { flex: 1; min-width: 0; }
.inf-head .grow strong, .inf-head .grow .small-text { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.inf-avatar { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 750; font-size: 14px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 4px 12px rgba(0, 0, 0, .3); }
.inf-avatar.big { width: 58px; height: 58px; font-size: 19px; }
.match { flex: none; font-size: 12px; font-weight: 750; padding: 3px 9px; border-radius: 999px; color: var(--accent-text); background: var(--fill); box-shadow: inset 0 0 0 1px var(--hair); }
.inf-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; font-size: 11px; color: var(--ink-2); }
.inf-stats b { display: block; font: 700 16px var(--sans); letter-spacing: -.02em; color: var(--ink); }
.tag-row { display: flex; flex-wrap: wrap; gap: 5px; }
.muted-tag { background: transparent; color: var(--ink-3); }
.plain-set { border: 0; padding: 0; margin: 0; }
.thread-grid { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); align-items: start; }
.thread-list { padding: 8px; }
.thread-list .row-item { padding: 10px; border: 0; border-radius: 14px; cursor: pointer; flex-wrap: wrap; }
.thread-list .row-item.current { background: var(--fill-2); }
.thread { display: flex; flex-direction: column; }
.thread-log { display: flex; flex-direction: column; gap: 8px; max-height: 44dvh; overflow-y: auto; scrollbar-width: thin; }
.bubble { align-self: flex-start; max-width: 88%; padding: 8px 13px; border-radius: 17px 17px 17px 5px; background: var(--fill-2); white-space: pre-line; overflow-wrap: anywhere; }
.bubble.mine { align-self: flex-end; background: rgb(var(--fg) / .92); color: var(--inv); border-radius: 17px 17px 5px 17px; }
.bubble small { display: block; font-size: 10.5px; margin-top: 3px; opacity: .7; }
.thread-form { display: flex; gap: 8px; margin-top: 10px; }
.thread-form input { flex: 1; min-width: 0; background: var(--input); border: 0; box-shadow: inset 0 0 0 1px var(--hair); border-radius: 999px; padding: 7px 14px; }

/* Yorum otomasyonu */
.rule-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.rule-head .grow { flex: 1; min-width: 0; }
.rule-flow { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; padding: 12px; border-radius: 16px; background: rgba(0, 0, 0, .2); }
.rule-flow > div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; }
.flow-label { flex: none; width: 58px; font-size: 11.5px; font-weight: 650; color: var(--ink-2); }
.flow-text { flex: 1 1 180px; font-size: 13px; min-width: 0; overflow-wrap: anywhere; }
.file-chip { display: inline-block; font-size: 12px; font-weight: 650; color: var(--accent-text); text-decoration: none; padding: 2px 10px; border-radius: 999px; background: var(--fill); box-shadow: inset 0 0 0 1px var(--hair); overflow-wrap: anywhere; }
.file-chip:hover { background: var(--fill-2); }
.switch { flex: none; position: relative; width: 50px; height: 30px; padding: 0; border: 0; border-radius: 999px; background: var(--fill-2); box-shadow: inset 0 0 0 1px var(--hair); transition: background .25s; }
.switch i { position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .4); transition: transform .35s var(--spring); }
.switch[aria-checked='true'] { background: var(--good); }
.switch[aria-checked='true'] i { transform: translateX(20px); }
[hidden] { display: none !important; }

/* İşbirliği */
.type-influencer { color: #ffc2e0; }
.type-agency { color: #a9d4ff; }
.type-freelancer { color: #b8f0c8; }
.type-business { color: #ffe0a8; }
.listing-title { font-size: 15.5px; line-height: 1.3; }
.deal-summary { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 10px 13px; border-radius: 14px; background: rgba(0, 0, 0, .2); margin-bottom: 12px; }
.deal-summary .small-text { display: block; }
.deal-summary strong { font-weight: 650; overflow-wrap: anywhere; }
.deal-actions { display: flex; flex-direction: column; gap: 8px; margin: 10px 0 0; }
.deal-actions .thread-form { margin-top: 0; }

/* Hashtag üretici */
.tag-field-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.hashtag-panel { margin-top: 8px; padding: 11px 12px; border-radius: 14px; background: rgba(0, 0, 0, .2); box-shadow: inset 0 0 0 1px var(--hair); display: flex; flex-direction: column; gap: 9px; }
.hash-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.hash-group { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; }
.hash-group .flow-label { width: 84px; }
.hash-chip { border: 0; border-radius: 999px; padding: 3px 10px; font-size: 12.5px; font-weight: 600; color: var(--ink); background: var(--fill); box-shadow: inset 0 0 0 1px var(--hair); }
.hash-chip[aria-pressed='true'] { background: rgb(var(--fg) / .92); color: var(--inv); }

/* Trendler ve haberler */
.section-title { margin: 0 4px 10px; font-size: 13px; color: var(--ink-2); }
.trend-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.news-grid { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.trend-card, .news-card { gap: 9px; min-height: 0; }
.trend-card:hover, .news-card:hover { transform: none; }
.trend-card > *, .news-card > * { position: relative; z-index: 1; }
.trend-head { display: flex; align-items: center; gap: 11px; min-width: 0; }
.trend-head .grow { flex: 1; min-width: 0; }
.trend-head strong { display: block; font-size: 15px; overflow-wrap: anywhere; text-transform: capitalize; }
.trend-head img, .trend-rank { flex: none; width: 46px; height: 46px; border-radius: 12px; object-fit: cover; }
.trend-rank { display: grid; place-items: center; background: var(--fill); font-weight: 750; }
.trend-news { margin: 0; padding-left: 16px; font-size: 12.5px; color: var(--ink-2); display: flex; flex-direction: column; gap: 3px; }
.trend-news a, .source-link { color: var(--ink); text-decoration: underline; text-decoration-color: var(--hair); text-underline-offset: 2px; overflow-wrap: anywhere; }
.news-card h2 { font: 650 16.5px/1.28 var(--sans); letter-spacing: -.012em; overflow-wrap: anywhere; }
.news-card p { color: var(--ink-2); font-size: 13.5px; overflow-wrap: anywhere; }
.news-card .btn-row { margin-top: auto; padding-top: 4px; }
.link-btn { display: inline-block; color: var(--ink); text-decoration: none; }

/* Tasarım dilleri */
.ref-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.ref-grid.compact { grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); }
.ref-add { display: grid; align-content: center; min-height: 130px; }
.ref { position: relative; margin: 0; border-radius: 16px; overflow: hidden; background: rgba(0, 0, 0, .3); min-height: 90px; }
.ref img, .ref video { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.ref figcaption { display: flex; gap: 3px; padding: 6px; }
.ref figcaption i { flex: 1; height: 9px; border-radius: 4px; }
.ref-del { position: absolute; top: 6px; right: 6px; width: 24px; height: 24px; padding: 0; border: 0; border-radius: 50%; line-height: 1; font-size: 16px; color: #fff; background: rgba(0, 0, 0, .6); }
.style-grid { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.style-card { display: flex; flex-direction: column; gap: 7px; }
.style-card.current { box-shadow: 0 24px 60px -18px rgba(0, 0, 0, .6), inset 0 0 0 2px var(--good); }
.style-previews { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.style-previews canvas { display: block; width: 100%; height: auto; border-radius: 12px; box-shadow: 0 10px 24px rgba(0, 0, 0, .4); }
.style-card .eyebrow, .viral-head .eyebrow, .builder .eyebrow, .theatre-live .eyebrow, .ad-preview .eyebrow { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); font-weight: 600; }
.style-card .btn-row { margin-top: auto; padding-top: 4px; }
.c-card-swatch { display: flex; gap: 5px; }
.c-card-swatch i { width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgb(var(--fg) / .3); }

/* Reklamlar */
.big-cta { padding: 12px 24px; font-size: 15px; }
.metric-tiles { grid-template-columns: repeat(auto-fill, minmax(145px, 1fr)); gap: 10px; }
.metric-tiles .tile { padding: 12px 14px; border-radius: 18px; }
.metric-tiles .tile .value { font-size: 21px; }
.metric-tiles .tile .value.text { font-size: 15px; }
.table-wide { overflow-x: auto; scrollbar-width: thin; scrollbar-color: rgb(var(--fg) / .22) transparent; }
.ads-table { min-width: 1120px; }
.ads-table th, .ads-table td { white-space: nowrap; }
.ads-table .sticky-col { position: sticky; left: 0; z-index: 2; white-space: normal; width: 270px; min-width: 270px; max-width: 270px; background: rgb(var(--sf2)); padding-left: 8px; }
.ads-table th.sticky-col { background: rgb(var(--sf2)); }
.level-set td { background: rgb(var(--fg) / .03); }
.level-set .sticky-col { padding-left: 22px; background: #352d29; }
.level-ad .sticky-col { padding-left: 34px; background: #39312d; display: flex; gap: 9px; align-items: center; }
.ad-mini { flex: none; width: 34px; border-radius: 7px; overflow: hidden; }
.ad-mini canvas, .ad-mini img, .ad-mini video { display: block; width: 100%; height: auto; }
.expander { border: 0; background: none; padding: 0 6px 0 0; font-size: 13px; color: var(--ink-2); }
.notice { padding: 11px 14px; border-radius: 14px; background: var(--fill); font-size: 13px; box-shadow: inset 0 0 0 1px var(--hair); }
.notice ul { margin: 5px 0 0; padding-left: 18px; color: var(--ink-2); }
.notice.warn { color: var(--warn); }
.notice.good { color: var(--good); }
dialog.wide { width: min(1020px, calc(100vw - 24px)); }
.builder textarea { background: rgba(0, 0, 0, .25); border: 0; box-shadow: inset 0 0 0 1px var(--hair); border-radius: 16px; padding: 12px 14px; width: 100%; font-size: 15px; resize: vertical; }
.builder textarea::placeholder { color: var(--ink-3); }
.builder-top { display: flex; gap: 12px; align-items: flex-start; }
.builder-top .grow, .approve-bar .grow { flex: 1; min-width: 0; }
.sub-panel { padding: 15px; border-radius: 18px; background: rgba(0, 0, 0, .2); box-shadow: inset 0 0 0 1px var(--hair); }
.sub-panel h2 { margin-bottom: 8px; }
.sub-panel ul { margin: 7px 0 0; padding-left: 18px; color: var(--ink-2); font-size: 13px; }
.set-head { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; }
.ad-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 10px; margin-top: 10px; }
.ad-preview { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 11px; padding: 10px; border-radius: 14px; background: var(--fill); }
.ad-preview strong { display: block; font-weight: 650; margin: 2px 0 4px; line-height: 1.25; }
.ad-preview p { margin-bottom: 6px; }
.ad-art { border-radius: 10px; overflow: hidden; align-self: start; }
.ad-art canvas, .ad-art img, .ad-art video { display: block; width: 100%; height: auto; }
.approve-bar { position: sticky; bottom: 0; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 18px; background: rgb(var(--sf2) / .97); box-shadow: 0 -8px 24px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .2); }

/* Viral testi */
.eyebrow-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px; }
.viral-chip { border: 0; border-radius: 999px; padding: 3px 11px; font-size: 12px; font-weight: 750; color: var(--accent-text); background: var(--fill); box-shadow: inset 0 0 0 1px var(--hair); }
.viral-chip:hover { background: var(--fill-2); }
.viral-head { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.viral-head .grow { flex: 1 1 260px; min-width: 0; }
.viral-head h2 { font: 700 clamp(20px, 2.2vw, 28px)/1.15 var(--sans); letter-spacing: -.02em; margin: 3px 0 7px; }
.viral-ring { flex: none; width: 136px; height: 136px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--accent-text) calc(var(--p) * 1%), rgb(var(--fg) / .1) 0); box-shadow: 0 0 40px color-mix(in srgb, var(--accent-text) 30%, transparent); }
.viral-ring > div { width: 110px; height: 110px; border-radius: 50%; display: grid; place-content: center; text-align: center; background: #28211d; }
.viral-ring b { font: 750 31px/1 var(--sans); letter-spacing: -.03em; }
.viral-ring span { font-size: 12px; color: var(--ink-2); margin-top: 3px; }
.rec-head { display: flex; justify-content: space-between; gap: 8px; align-items: center; margin-bottom: 2px; }
.persona { display: flex; flex-direction: column; gap: 4px; }
.persona-head { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; font-weight: 600; }
.theatre { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 14px; align-items: start; }
.theatre-art { justify-self: center; width: min(320px, 100%); border-radius: 22px; overflow: hidden; box-shadow: 0 24px 50px rgba(0, 0, 0, .5); background: rgba(0, 0, 0, .3); }
.theatre-art canvas, .theatre-art img, .theatre-art video { display: block; width: 100%; height: auto; max-height: 68dvh; object-fit: contain; }
.live-count { font: 750 clamp(48px, 6vw, 76px)/1.05 var(--sans); letter-spacing: -.04em; font-variant-numeric: tabular-nums; margin: 4px 0 8px; }
.bar-track.big { height: 13px; margin-bottom: 6px; }
.live-personas { display: flex; flex-direction: column; gap: 11px; margin-top: 18px; }

/* Takvim */
.cal-head { display: flex; align-items: center; gap: 8px; }
.cal-head strong { min-width: 130px; text-align: center; text-transform: capitalize; }
.cal-shell { padding: 0; overflow: hidden; }
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); position: relative; z-index: 1; }
.cal .dow { font-size: 11.5px; font-weight: 650; color: var(--ink-2); padding: 9px 9px 6px; border-bottom: 1px solid var(--hair); }
.cal .day { min-height: 100px; padding: 6px; border-right: 1px solid rgb(var(--fg) / .07); border-bottom: 1px solid rgb(var(--fg) / .07); display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cal .day:nth-child(7n) { border-right: 0; }
.cal .day.out { background: rgba(0, 0, 0, .14); }
.cal .day.out .num { color: var(--ink-3); }
.cal .num { font-size: 12px; font-weight: 650; color: var(--ink-2); width: 23px; height: 23px; line-height: 23px; text-align: center; border-radius: 50%; }
.cal .day.today .num { background: rgb(var(--fg)); color: var(--inv); }
.chip { display: block; width: 100%; border: 0; text-align: left; font-size: 11px; font-weight: 600; padding: 2px 7px; border-radius: 7px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; background: var(--fill-2); color: var(--ink); border-left: 3px solid var(--ink-3); }
.chip.published { border-left-color: var(--good); }
.chip.pending_approval { border-left-color: var(--warn); }
.chip.scheduled { border-left-color: #fff; }
.chip.shoot { background: var(--accent); color: var(--on-accent); border-left-color: transparent; font-weight: 750; }
.agenda { display: none; }
.legend { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; align-items: center; }

/* Çekim */
.pkg-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 8px; }
.pkg { border: 0; border-radius: var(--r-md); padding: 11px 13px; background: var(--fill); text-align: left; box-shadow: inset 0 0 0 1px var(--hair); }
.pkg strong { display: block; font-weight: 650; }
.pkg[aria-pressed='true'] { background: rgb(var(--fg) / .92); color: var(--inv); }
.pkg[aria-pressed='true'] .small-text { color: var(--inv-2); }
.slot-days { display: flex; flex-direction: column; gap: 12px; margin-top: 14px; }
.slot-day h3 { font-size: 13px; font-weight: 650; margin-bottom: 6px; text-transform: capitalize; }
.slots { display: flex; flex-wrap: wrap; gap: 6px; }
.slot { border: 0; background: var(--fill); box-shadow: inset 0 0 0 1px var(--hair); border-radius: 999px; padding: 5px 12px; font-weight: 650; font-size: 13px; font-variant-numeric: tabular-nums; }
.slot:hover { background: var(--fill-2); }
.slot[aria-pressed='true'] { background: var(--accent); color: var(--on-accent); box-shadow: none; }
.shot-list { margin: 8px 0 0; padding-left: 18px; font-size: 13px; color: var(--ink-2); }

/* Form */
.field { display: flex; flex-direction: column; gap: 5px; font-weight: 600; font-size: 12.5px; color: var(--ink-2); }
.field input, .field textarea, .field select { background: var(--input); border: 0; box-shadow: inset 0 0 0 1px var(--hair); border-radius: 12px; padding: 9px 12px; font-weight: 500; font-size: 14px; color: var(--ink); width: 100%; }
.field input::placeholder { color: var(--ink-3); }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.color-row { display: flex; gap: 12px; flex-wrap: wrap; }
.color-row input[type='color'] { width: 56px; height: 38px; padding: 3px; }
.drop { display: block; box-shadow: inset 0 0 0 1px var(--hair); border-radius: var(--r-md); padding: 16px; text-align: center; color: var(--ink-2); cursor: pointer; background: var(--fill); }
.drop:hover { background: var(--fill-2); }
.drop input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.logo-preview { max-height: 48px; max-width: 120px; display: block; margin: 0 auto 8px; }
.switch-row { display: flex; align-items: center; gap: 7px; font-weight: 600; color: var(--ink); }

/* Yorumlar */
.comment { padding: 13px 0; border-top: 1px solid var(--hair); }
.comment:first-child { border-top: 0; padding-top: 0; }
.comment .who { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-weight: 650; }
.comment p { margin-top: 4px; }
.comment .reply { margin-top: 8px; padding: 9px 12px; background: var(--fill); border-radius: 14px; font-size: 13px; }
.comment form { display: flex; gap: 8px; margin-top: 8px; }
.comment input { flex: 1; min-width: 0; background: var(--input); border: 0; box-shadow: inset 0 0 0 1px var(--hair); border-radius: 999px; padding: 7px 14px; }

/* Grafik */
.chart { position: relative; }
.chart svg { display: block; width: 100%; overflow: visible; }
.chart text { fill: var(--ink-2); font-size: 11px; font-family: var(--sans); }
.chart .tip { position: absolute; pointer-events: none; background: rgb(var(--fg) / .95); color: var(--inv); border-radius: 9px; padding: 4px 9px; font-size: 12px; font-weight: 650; transform: translate(-50%, -110%); white-space: nowrap; display: none; z-index: 3; }
.bars { display: flex; flex-direction: column; gap: 10px; }
.bar-row { display: grid; grid-template-columns: 74px minmax(0, 1fr) auto; align-items: center; gap: 10px; font-size: 13px; }
.bar-track { height: 9px; border-radius: 9px; background: var(--fill); overflow: hidden; }
.bar-fill { height: 100%; background: linear-gradient(90deg, color-mix(in srgb, var(--accent-text) 70%, transparent), var(--accent-text)); border-radius: 9px; min-width: 4px; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th { text-align: left; font-size: 11.5px; color: var(--ink-2); font-weight: 650; padding: 0 8px 6px 0; }
td { padding: 7px 8px 7px 0; border-top: 1px solid var(--hair); }
td.n, th.n { text-align: right; font-variant-numeric: tabular-nums; }
.insight { padding: 9px 0; border-top: 1px solid var(--hair); }
.insight:first-of-type { border-top: 0; padding-top: 0; }
details summary { cursor: pointer; font-size: 12.5px; color: var(--ink-2); font-weight: 600; margin-top: 10px; }
.table-scroll { max-height: 240px; overflow: auto; margin-top: 8px; }

/* Stüdyo */
.media .canvas-wrap { position: relative; background: rgba(0, 0, 0, .25); }
.media .foot { padding: 11px 13px 13px; display: flex; flex-direction: column; gap: 8px; }
.media .foot strong { font-weight: 650; line-height: 1.25; }

/* Asistan */
.chat { display: flex; flex-direction: column; border-radius: var(--r-xl); min-height: 0; overflow: hidden; }
.chat > * { position: relative; z-index: 1; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px 12px; border-bottom: 1px solid var(--hair); }
.chat-head small { display: block; color: var(--ink-2); font-size: 12px; line-height: 1.3; }
.avatar { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; font-weight: 800; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5); }
.chat-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; scrollbar-width: thin; scrollbar-color: rgb(var(--fg) / .2) transparent; }
.msg { max-width: 100%; }
.msg:last-child { animation: rise .3s ease-out; }
.msg.user { align-self: flex-end; background: rgb(var(--fg) / .92); color: var(--inv); padding: 8px 14px; border-radius: 19px 19px 5px 19px; max-width: 88%; white-space: pre-line; overflow-wrap: anywhere; }
.msg.assistant .text { white-space: pre-line; overflow-wrap: anywhere; }
.msg.assistant.error .text { color: var(--bad); }
.msg-cards { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.suggest { border: 0; background: var(--fill); box-shadow: inset 0 0 0 1px var(--hair), inset 0 1px 0 rgba(255, 255, 255, .14); border-radius: 18px; padding: 6px 13px; font-size: 12.5px; font-weight: 600; text-align: left; transition: transform .25s var(--spring), background .2s; }
.suggest:hover { background: var(--fill-2); }
.suggest:active { transform: scale(.96); }
.c-card { border: 0; box-shadow: inset 0 0 0 1px var(--hair); border-radius: 18px; padding: 10px; background: var(--fill); display: flex; gap: 11px; align-items: flex-start; color: inherit; }
.c-card.column { flex-direction: column; align-items: stretch; }
button.c-card { width: 100%; text-align: left; }
button.c-card:hover { background: var(--fill-2); }
.c-card .mini { flex: none; width: 54px; border-radius: 10px; overflow: hidden; background: var(--fill); }
.c-card .mini canvas { display: block; width: 100%; height: auto; }
.c-card .big { max-width: 220px; border-radius: 14px; overflow: hidden; position: relative; }
.c-card .big canvas { display: block; width: 100%; height: auto; cursor: pointer; }
.c-card strong { display: block; font-weight: 650; line-height: 1.3; }
.c-card .swatches { display: flex; gap: 4px; margin-top: 6px; }
.c-card .swatches i { width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgb(var(--fg) / .3); }
.spark-row { display: flex; gap: 14px; margin-top: 6px; font-size: 12px; color: var(--ink-2); }
.spark-row b { display: block; font: 700 17px var(--sans); letter-spacing: -.02em; color: var(--ink); }
.working { display: flex; flex-direction: column; gap: 3px; font-size: 12.5px; color: var(--ink-2); }
.working .now::after { content: '…'; animation: blink 1s infinite; }
@keyframes blink { 50% { opacity: .2; } }
.composer { display: flex; gap: 8px; margin: 10px; padding: 6px 6px 6px 16px; align-items: flex-end; background: rgba(0, 0, 0, .24); border-radius: 26px; box-shadow: inset 0 0 0 1px var(--hair); }
.composer:focus-within { box-shadow: inset 0 0 0 1px rgb(var(--fg) / .45); }
.composer textarea { flex: 1; resize: none; border: 0; background: transparent; padding: 7px 0; max-height: 120px; min-width: 0; outline: none; }
.composer textarea::placeholder { color: var(--ink-3); }
.send { flex: none; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%; background: rgb(var(--fg)); color: var(--inv); display: grid; place-items: center; transition: transform .25s var(--spring); }
.send:hover { transform: scale(1.07); }
.send:active { transform: scale(.92); }
.send svg { width: 18px; height: 18px; }

/* Pencere */
dialog { border: 0; border-radius: var(--r-xl); padding: 0; color: var(--ink); width: min(780px, calc(100vw - 24px)); max-height: calc(100dvh - 32px); background: linear-gradient(150deg, rgba(74, 64, 58, .82), rgb(var(--sf) / .86)); overflow: auto; }
/* Pencere kaydığı için kenar ışığı içerikle kaymasın diye gölgeyle verilir. */
dialog.glass::before { display: none; }
dialog.glass { box-shadow: 0 30px 80px rgba(0, 0, 0, .6), inset 0 0 0 1px rgb(var(--fg) / .2), inset 0 1px 0 rgba(255, 255, 255, .3); }
dialog::backdrop { background: rgb(var(--sf) / .55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
dialog > * { position: relative; z-index: 3; }
.modal-grid { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 18px; padding: 18px; }
.modal-grid .visual canvas { width: 100%; height: auto; display: block; border-radius: 18px; }
.modal-simple { padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.metric-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(66px, 1fr)); gap: 8px; }
.metric-row div { font-size: 11.5px; color: var(--ink-2); }
.metric-row b { display: block; font: 700 18px var(--sans); letter-spacing: -.02em; color: var(--ink); }
.toast { position: fixed; inset: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) auto auto; margin: 0; transform: translateY(-8px); display: flex; align-items: center; padding: 10px 18px; border-radius: 16px; font-weight: 600; opacity: 0; pointer-events: none; transition: .3s var(--spring); width: max-content; max-width: min(460px, calc(100vw - 32px)); overflow-wrap: anywhere; z-index: 120; color: var(--text); background: rgb(var(--sf2)); }
.toast.show { opacity: 1; transform: translateY(0); }
.tabbar { display: none; }

/* Yerleşim: asistan yalnız çalışma alanında */
.app.no-chat { grid-template-columns: 92px minmax(0, 1fr); }
.app.no-chat .chat { display: none; }

/* Üst şerit: alt menü sekmeleri */
.topbar { flex-wrap: nowrap; }
.brand-switch { flex: none; }
.subnav { display: flex; gap: 2px; min-width: 0; overflow-x: auto; scrollbar-width: none; flex: 1; }
.subnav::-webkit-scrollbar { display: none; }
.sub-item { flex: none; display: inline-flex; align-items: center; gap: 6px; border: 0; background: transparent; border-radius: 999px; padding: 6px 13px; font-size: 13px; font-weight: 600; color: var(--ink-2); transition: background .2s, color .2s; }
.sub-item:hover { color: var(--ink); background: var(--fill); }
.sub-item[aria-selected='true'] { background: rgb(var(--fg) / .92); color: var(--inv); }
.count-badge { display: inline-block; min-width: 18px; padding: 0 5px; border-radius: 999px; font-size: 11px; font-weight: 800; line-height: 18px; text-align: center; background: var(--accent); color: var(--on-accent); }
.top-actions { flex: none; display: flex; align-items: center; gap: 6px; margin-left: auto; }
.top-search input { width: 190px; border: 0; border-radius: 999px; padding: 7px 13px; font-size: 13px; color: var(--ink); background: var(--input); box-shadow: inset 0 0 0 1px var(--hair); }
.top-search input::placeholder { color: var(--ink-3); }
.icon-btn { position: relative; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: var(--fill); box-shadow: inset 0 0 0 1px var(--hair); color: var(--ink); }
.icon-btn:hover { background: var(--fill-2); }
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn .count { position: absolute; top: -3px; right: -3px; min-width: 17px; padding: 0 4px; border-radius: 999px; font-size: 10px; font-weight: 800; line-height: 17px; text-align: center; background: var(--accent); color: var(--on-accent); }
.rail-brand { display: grid; place-items: center; overflow: hidden; background: none; }
.rail-brand .inf-avatar { width: 100%; height: 100%; }
.rail-brand.active { box-shadow: 0 0 0 2px #fff; }
.inf-avatar { object-fit: cover; }
.inf-avatar.huge { width: 104px; height: 104px; font-size: 34px; box-shadow: 0 0 0 4px rgb(var(--sf) / .9), 0 10px 26px rgba(0, 0, 0, .45); }
.inf-avatar.tiny { width: 20px; height: 20px; font-size: 8px; box-shadow: none; }

/* Giriş ve kayıt */
.auth-screen { position: relative; z-index: 2; display: grid; place-items: center; min-height: 100dvh; padding: 18px; overflow-y: auto; }
html, body { overflow: hidden; }
.auth-screen { height: 100dvh; }
.auth-card { width: min(520px, 100%); padding: 28px; border-radius: var(--r-xl); display: flex; flex-direction: column; gap: 12px; margin: auto; }
.auth-card > * { position: relative; z-index: 1; }
.auth-brand { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 750; letter-spacing: -.02em; }
.auth-brand .mark { width: 36px; height: 36px; font-size: 16px; }
.auth-card h1 { font-size: 30px; }
.auth-tabs { margin-bottom: 2px; }
.auth-submit { align-self: stretch; padding: 12px; font-size: 15px; }
.type-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 8px; margin-top: 5px; }
.type-card { display: flex; flex-direction: column; gap: 2px; padding: 11px 13px; border: 0; border-radius: var(--r-md); text-align: left; color: var(--ink); background: var(--fill); box-shadow: inset 0 0 0 1px var(--hair); transition: background .2s; }
.type-card:hover { background: var(--fill-2); }
.type-card strong { font-weight: 650; }
.type-card[aria-pressed='true'] { background: rgb(var(--fg) / .92); color: var(--inv); }
.type-card[aria-pressed='true'] .small-text { color: var(--inv-2); }

/* Akış */
.page-head.compact { align-items: center; margin-bottom: 12px; }
.feed-layout { display: grid; grid-template-columns: minmax(0, 620px) minmax(240px, 320px); gap: 16px; justify-content: center; align-items: start; }
.feed-col { min-width: 0; }
.feed-col.single { max-width: 680px; margin: 0 auto; }
.feed-side { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 0; }
.feed-panel { padding: 0; overflow: hidden; }
.feed-panel > .empty { padding: 34px 18px; }
.sp { position: relative; z-index: 1; display: flex; gap: 11px; padding: 14px 16px; border-top: 1px solid var(--hair); }
.sp:first-child { border-top: 0; }
article.sp[data-act] { cursor: pointer; transition: background .15s; }
article.sp[data-act]:hover { background: rgb(var(--fg) / .035); }
.sp-avatar { flex: none; padding: 0; border: 0; background: none; border-radius: 50%; height: fit-content; }
.sp-body { flex: 1; min-width: 0; }
.sp-head { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 7px; }
.sp-name { padding: 0; border: 0; background: none; color: var(--ink); font-weight: 700; text-align: left; }
.sp-name:hover { text-decoration: underline; }
.sp-text { margin-top: 3px; white-space: pre-line; overflow-wrap: anywhere; line-height: 1.45; }
.sp.detail .sp-text { font-size: 17px; }
.inline-link { display: inline; padding: 0; border: 0; background: none; color: var(--accent-text); font: inherit; font-weight: 600; }
.inline-link:hover { text-decoration: underline; }
.inline-link.muted { color: var(--ink-2); }
.inline-link.muted b { color: var(--ink); }
.sp-text a { color: var(--accent-text); }
.sp-media { display: grid; gap: 4px; margin-top: 10px; border-radius: 16px; overflow: hidden; }
.sp-media.count-2, .sp-media.count-3, .sp-media.count-4 { grid-template-columns: 1fr 1fr; }
.sp-media img, .sp-media video, .sp-media canvas { display: block; width: 100%; max-height: 520px; object-fit: cover; background: rgba(0, 0, 0, .3); }
.sp-media canvas { object-fit: contain; }
.sp-video { position: relative; }
.sp-play { position: absolute; left: 10px; bottom: 10px; background: rgb(var(--sf) / .68); }
.sp-actions { display: flex; align-items: center; gap: 22px; margin-top: 8px; }
.sp-act { display: inline-flex; align-items: center; gap: 5px; padding: 3px; border: 0; background: none; color: var(--ink-2); font-size: 12.5px; font-weight: 600; transition: color .15s, transform .2s var(--spring); }
button.sp-act:hover { color: var(--ink); }
button.sp-act:active { transform: scale(.88); }
.sp-act svg { width: 17px; height: 17px; fill: none; }
.sp-act.on-like { color: #ff7a9c; }
.sp-act.on-like svg { fill: currentColor; }
.sp-act.on-repost { color: var(--good); }
.sp-act.end { margin-left: auto; }
.sp-act.static { cursor: default; }
.sp-repost-note { position: relative; z-index: 1; display: flex; align-items: center; gap: 5px; padding: 11px 16px 0 43px; font-size: 12.5px; color: var(--ink-2); border-top: 1px solid var(--hair); }
.sp-repost-note svg { width: 14px; height: 14px; }
.sp-repost-note + .sp { border-top: 0; padding-top: 6px; }
.sp-composer { position: relative; z-index: 1; display: flex; gap: 11px; padding: 14px 16px; }
.sp-composer .grow { flex: 1; min-width: 0; }
.sp-composer textarea { width: 100%; border: 0; background: transparent; resize: vertical; font-size: 16px; padding: 7px 0; outline: none; }
.sp-composer textarea::placeholder { color: var(--ink-3); }
.sp-composer-foot { display: flex; align-items: center; gap: 10px; padding-top: 8px; border-top: 1px solid var(--hair); }
.sp-composer-foot .primary { margin-left: auto; }
.file-btn { position: relative; display: inline-block; cursor: pointer; }
.file-btn input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.sp-draft-media { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0; }
.sp-draft-media figure { position: relative; margin: 0; width: 96px; height: 96px; border-radius: 12px; overflow: hidden; }
.sp-draft-media img, .sp-draft-media video { width: 100%; height: 100%; object-fit: cover; }
.account-row { align-items: center; }
.account-row .grow > * { display: block; }
.account-row .grow .small-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero.complete { grid-template-columns: 1fr; }
.notif { position: relative; z-index: 1; padding: 13px 16px; cursor: pointer; }
.notif:first-of-type { padding-top: 13px; }
.notif.unread { background: rgb(var(--fg) / .05); }
.notif .grow > * { display: block; }

/* Profil */
.profile-card { padding: 0; overflow: hidden; }
.profile-cover { position: relative; z-index: 0; height: 190px; background: linear-gradient(120deg, var(--brand-b), var(--brand-a)) center/cover; background-size: cover; background-position: center; }
.profile-top { position: relative; z-index: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 0 18px; margin-top: -52px; }
.profile-top .btn-row { padding-bottom: 6px; }
.profile-info { position: relative; z-index: 1; padding: 10px 18px 12px; display: flex; flex-direction: column; gap: 7px; }
.profile-info h1 { font-size: 26px; }
.profile-handle { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.profile-bio { white-space: pre-line; overflow-wrap: anywhere; }
.profile-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.profile-counts { display: flex; flex-wrap: wrap; gap: 14px; color: var(--ink-2); font-size: 13.5px; }
.profile-counts b { color: var(--ink); font-weight: 700; }
.profile-tabs { position: relative; z-index: 1; display: flex; overflow-x: auto; scrollbar-width: none; border-top: 1px solid var(--hair); }
.profile-tabs button { flex: 1 0 auto; padding: 12px 14px; border: 0; background: none; color: var(--ink-2); font-weight: 650; font-size: 13.5px; box-shadow: inset 0 0 0 transparent; transition: background .15s; }
.profile-tabs button:hover { background: rgb(var(--fg) / .05); color: var(--ink); }
.profile-tabs button[aria-selected='true'] { color: var(--ink); box-shadow: inset 0 -3px 0 var(--accent-text); }
.about { position: relative; z-index: 1; padding: 16px; display: flex; flex-direction: column; gap: 16px; }
.about-block h3 { font-size: 13px; font-weight: 650; color: var(--ink-2); margin-bottom: 6px; }
.profile-edit-media { position: relative; margin-bottom: 44px; }
.edit-cover { position: relative; display: flex; align-items: flex-start; justify-content: flex-end; height: 130px; padding: 8px; border-radius: 16px; cursor: pointer; background: linear-gradient(120deg, var(--brand-b), var(--brand-a)) center/cover; background-size: cover; background-position: center; }
.edit-avatar { position: absolute; left: 14px; bottom: -40px; cursor: pointer; }
.edit-avatar .pill { position: absolute; left: 50%; bottom: -4px; transform: translateX(-50%); padding: 2px 8px; font-size: 11px; background: rgb(var(--sf) / .8); }
.edit-cover input, .edit-avatar input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.edit-cover .pill { background: rgb(var(--sf) / .65); }

/* Mesajlar ve ayarlar */
.messages-grid { align-items: stretch; }
.thread-log.tall { max-height: 58dvh; min-height: 280px; }
.connection { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.deliveries { padding: 4px 12px 10px; border-radius: 14px; background: rgba(0, 0, 0, .2); }
.bubble .file-chip { display: block; width: fit-content; margin-top: 5px; }
.tag.awaiting_connection { color: var(--warn); }
.chip.awaiting_connection { border-left-color: var(--warn); }

/* Fufera markası ve hesapsız gezinti */
.mark { background: rgb(var(--fg) / .06); border: 0; padding: 7px; box-shadow: inset 0 0 0 1px var(--hair); cursor: pointer; }
.mark img { width: 100%; height: 100%; object-fit: contain; display: block; }
.auth-brand img { height: 30px; width: auto; aspect-ratio: 1000 / 278; flex: none; object-fit: contain; display: block; margin-bottom: 4px; }
.top-logo { display: none; flex: none; border: 0; background: none; padding: 0; cursor: pointer; }
.top-logo img { height: 18px; width: auto; aspect-ratio: 1000 / 278; object-fit: contain; display: block; }
.guest-only { display: none; flex: none; white-space: nowrap; }
.is-guest .guest-only { display: inline-flex; }
.is-guest #bell { display: none; }
.is-guest #railMe { display: none; }
/* Esnek kutu içinde gerilmesin: logo her zaman kendi oranında kalır. */
.guest-logo { height: 26px; width: auto; max-width: 100%; aspect-ratio: 1000 / 278; flex: none; align-self: flex-start; object-fit: contain; display: block; margin-bottom: 12px; }
.guest-hero h2 { max-width: 30ch; }
.guest-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--hair); font-weight: 600; }
.guest-continue { width: 100%; margin-top: 10px; }
.gate .btn-row { margin-top: 14px; }

/* Paketler */
.plan-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.plan-card { display: flex; flex-direction: column; gap: 8px; }
.plan-card.featured { box-shadow: inset 0 0 0 1.5px var(--accent); }
.plan-name { font-size: 16px; }
.plan-price b { font-size: 26px; letter-spacing: -.02em; }
.plan-list { margin: 4px 0; padding-left: 18px; display: flex; flex-direction: column; gap: 4px; font-size: 13px; flex: 1; }
.tool-card.locked { opacity: .78; }
.lock-tag { font-size: 10.5px; }
.news-card.highlight { box-shadow: inset 0 0 0 1.5px var(--accent); }

/* Trendler, fırsatlar, ölçüm ve yönetim */
.socials-row { display: flex; flex-wrap: wrap; gap: 5px; margin: 6px 0; }
.social-chip { display: inline-flex; gap: 4px; padding: 3px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 600; color: var(--ink-1, #fff); text-decoration: none; background: var(--fill); box-shadow: inset 0 0 0 1px var(--hair); }
a.social-chip:hover { background: var(--fill-2); }
.social-line { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; }
.social-edit { display: grid; grid-template-columns: 76px minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); gap: 6px; align-items: center; margin-bottom: 6px; }
.social-edit-name { font-size: 12.5px; font-weight: 600; }
.social-edit input { min-width: 0; width: 100%; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; margin: 8px 0; }
.stat-grid div { display: flex; flex-direction: column; gap: 1px; padding: 9px 10px; border-radius: 12px; background: var(--fill); font-size: 11.5px; color: var(--ink-2); }
.stat-grid b { font-size: 16px; color: var(--ink); font-variant-numeric: tabular-nums; }
.roi-line { font-size: 13px; margin: 6px 0 0; }
.roi-line b { font-variant-numeric: tabular-nums; }
.roi-panel h3, .deal-measure h3 { font-size: 13px; margin: 14px 0 6px; }
.deal-measure { margin-top: 12px; padding-top: 4px; border-top: 1px solid var(--hair); }
.measure-form { margin-top: 10px; align-items: end; }
.mono { font-family: ui-monospace, Consolas, monospace; font-size: 12.5px; overflow-wrap: anywhere; }
.fit-reasons { margin: 8px 0; padding-left: 18px; font-size: 12.5px; color: var(--ink-2); display: flex; flex-direction: column; gap: 3px; }
.onboarding { margin-bottom: 12px; }
.suggest.done { opacity: .6; cursor: default; }
.feed-more { display: flex; justify-content: center; padding: 14px; }
.news-picker { max-width: 640px; }
.pick-list { max-height: 34dvh; overflow-y: auto; display: flex; flex-direction: column; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--hair); }
.pick-row { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; border-top: 1px solid var(--hair); cursor: pointer; font-size: 13.5px; }
.pick-row:first-child { border-top: 0; }
.pick-row:has(input:checked) { background: var(--fill-2); }
.pick-row.disabled { opacity: .55; cursor: not-allowed; }
.pick-row input { flex: none; margin-top: 3px; }
.consent-row { align-items: flex-start; gap: 8px; font-size: 12.5px; font-weight: 500; }
.consent-row a, .legal-links a { color: var(--accent-text, #ff9a55); }
.consent-row input { flex: none; margin-top: 2px; }
.legal-links { margin-top: 10px; }
.auth-card .inline-link { align-self: center; }
@media (max-width: 560px) {
  .social-edit { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .social-edit-name { grid-column: 1 / -1; }
  .social-edit input[id^='s_'] { grid-column: 1 / -1; }
}

/* Otomasyon, analiz ve bağlantı sayfası */
/* Çalışma alanında sekmeler önceliklidir; arama akış sayfalarında kalır. Kesilen sekme kenarda solarak devam ettiğini belli eder. */
.topbar:has(.subnav:not(:empty)) .top-search { display: none; }
.subnav:not(:empty) { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 22px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 22px), transparent); padding-right: 22px; }
.row-title { display: block; overflow-wrap: anywhere; }
.tool-group { font-size: 15px; margin: 18px 0 10px; }
.tool-card.static { cursor: default; }
.tool-card.static button { margin-top: auto; }
.flow-line { margin: 8px 0; }
.flow-line .tag { white-space: normal; height: auto; overflow-wrap: anywhere; }
.flow-steps { margin: 0 0 12px; padding-left: 20px; display: flex; flex-direction: column; gap: 5px; font-size: 13px; color: var(--ink-2); overflow-wrap: anywhere; }
.flow-steps-edit { display: flex; flex-direction: column; gap: 10px; }
.flow-step { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 16px; background: var(--fill); box-shadow: inset 0 0 0 1px var(--hair); }
.flow-step-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 13px; }
.flow-step-head .btn-row { flex-wrap: nowrap; }
.flow-editor .file-btn { align-self: flex-start; }
.contact { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--hair); }
.contact:first-child { border-top: 0; }
.contact .grow { flex: 1 1 240px; min-width: 0; overflow-wrap: anywhere; }
.tag-btn { cursor: pointer; border: 0; font: inherit; font-size: 11.5px; }
.heat-wrap { overflow-x: auto; }
.heatmap { display: grid; grid-template-columns: 30px repeat(var(--cols), minmax(14px, 1fr)); gap: 3px; min-width: 340px; align-items: center; }
.heat-cell { aspect-ratio: 1; border-radius: 4px; background: color-mix(in srgb, var(--accent) var(--heat), rgb(var(--fg) / .05)); }
.heat-hour, .heat-day { font-size: 10.5px; color: var(--ink-2); }
.heat-hour { text-align: left; }
.heat-legend { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.heat-legend i { width: 90px; height: 8px; border-radius: 4px; background: linear-gradient(90deg, rgb(var(--fg) / .05), var(--accent)); }
.hbar { display: grid; grid-template-columns: minmax(0, 110px) minmax(0, 1fr) 34px; gap: 8px; align-items: center; padding: 5px 0; font-size: 13px; }
.hbar-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hbar-track { height: 8px; border-radius: 4px; background: rgb(var(--fg) / .07); }
.hbar-track i { display: block; height: 100%; border-radius: 4px; background: var(--accent); }
.hbar-val { text-align: right; font-variant-numeric: tabular-nums; color: var(--ink-2); }
.table-wrap { overflow-x: auto; }
.compare { width: 100%; border-collapse: collapse; font-size: 13px; }
.compare th, .compare td { padding: 8px 6px; text-align: right; border-top: 1px solid var(--hair); font-variant-numeric: tabular-nums; }
.compare thead th { border-top: 0; font-size: 11.5px; font-weight: 600; color: var(--ink-2); }
.compare th:first-child { text-align: left; }
.compare tr.me th, .compare tr.me td { font-weight: 700; }
.report-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; margin: 10px 0; }
.report-grid div { display: flex; flex-direction: column; padding: 10px; border-radius: 14px; background: var(--fill); }
.report-grid b { font-size: 20px; }
.link-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.link-row input { flex: 1 1 150px; min-width: 0; border: 0; border-radius: 12px; padding: 9px 12px; color: var(--ink); font: inherit; font-size: 14px; background: var(--input); box-shadow: inset 0 0 0 1px var(--hair); }

/* Rol paneli, araçlar, portföy ve test ortamı */
.type-personal { color: #f4e2d3; }
.work-panel { margin-bottom: 4px; }
.quick-row { margin-bottom: 12px; }
.preset-row { margin-bottom: 10px; }
.preset-row .suggest[aria-pressed='true'] { background: #fff; color: #111; }
.tool-grid { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.tool-card { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; text-align: left; color: inherit; cursor: pointer; }
.tool-card svg { width: 22px; height: 22px; }
.work-tag { color: #ffd9a0; }
.sp-work-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 8px; }
.sp-work-row input[name=workClient] { flex: 1 1 160px; min-width: 0; border: 0; border-radius: 999px; padding: 6px 12px; font-size: 13px; color: var(--ink); background: var(--input); box-shadow: inset 0 0 0 1px var(--hair); }
.test-btn { position: relative; flex: none; }
.test-btn .count { position: absolute; top: -5px; right: -5px; min-width: 16px; font-size: 10px; line-height: 16px; border-radius: 999px; background: var(--warn); color: #111; text-align: center; }
.test-panel h2 { font-size: 15px; margin: 6px 0; }
.test-panel .row-item .small-text { display: block; }
.test-log { max-height: 160px; overflow-y: auto; display: flex; flex-direction: column; gap: 5px; margin-top: 8px; padding: 8px 10px; border-radius: 12px; background: var(--input); }
.test-logins { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--hair); display: flex; flex-direction: column; gap: 4px; }
.test-logins .flow-label { width: auto; white-space: nowrap; }
.test-logins .row-item { text-align: left; width: 100%; }
.test-logins .row-item .small-text { display: block; }
.auth-screen { overflow-y: auto; }

@media (max-width: 1240px) {
  .app.no-chat { grid-template-columns: 84px minmax(0, 1fr); }
  .top-search input { width: 130px; }
}
@media (max-width: 1100px) {
  .feed-layout { grid-template-columns: minmax(0, 1fr); }
  .feed-side { display: none; }
}
@media (max-width: 900px) {
  .app, .app.no-chat { display: block; }
  .topbar { flex-wrap: wrap; border-radius: 22px; padding: 7px 10px; }
  .subnav { order: 3; flex-basis: 100%; }
  .subnav:empty { display: none; }
  .top-search { display: none; }
  /* Alt sekme yoksa üst şerit arama kutusuna döner; böylece telefonda da arama erişilebilir. */
  .subnav:empty + .top-actions { flex: 1; min-width: 0; }
  .subnav:empty + .top-actions .top-search { display: block; flex: 1; min-width: 0; }
  .subnav:empty + .top-actions .top-search input { width: 100%; }
  .top-logo { display: block; }
  .topbar:has(#brandSwitch:not([hidden])) .top-logo { display: none; }
  /* Hesapsız: logo ve düğmeler üstte, arama alt satırda. */
  .is-guest .top-actions { flex-wrap: wrap; justify-content: flex-end; }
  .is-guest .subnav:empty + .top-actions .top-search { order: 9; flex: 1 1 100%; }
  .is-guest .topbar { padding: 8px 10px; }
  .brand-switch select { max-width: 120px; }
  .profile-cover { height: 120px; }
  .inf-avatar.huge { width: 76px; height: 76px; font-size: 26px; }
  .profile-top { margin-top: -38px; padding: 0 12px; }
  .profile-info { padding: 8px 12px 10px; }
  .sp-actions { gap: 14px; }
  .auth-card { padding: 20px; }
  .tabbar button { position: relative; }
  .tabbar .count { position: absolute; top: 1px; right: 8px; min-width: 15px; font-size: 9px; line-height: 15px; border-radius: 999px; background: var(--accent); color: var(--on-accent); }
}

@media (max-width: 1240px) {
  .app { grid-template-columns: 84px minmax(0, 1fr) 330px; gap: 10px; padding: 10px; }
  .two { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 1040px) {
  .swipe-card { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .swipe-card .art { justify-self: center; width: min(280px, 100%); }
  .swipe-card .art canvas { max-height: 36dvh; }
  .swipe-card .caption { max-height: 16dvh; }
  .swipe-card .info { padding: 0 6px 6px; }
}
@media (max-width: 900px) {
  .app { display: block; padding: 8px 8px 0; }
  .rail, .new-brand { display: none; }
  .center, .chat { height: calc(100dvh - 92px); }
  .chat { margin-top: 0; }
  [data-mobile-view='main'] .chat, [data-mobile-view='chat'] .center { display: none; }
  .main { padding: 14px 6px 28px; }
  .tabbar { position: fixed; left: 8px; right: 8px; bottom: calc(8px + env(safe-area-inset-bottom)); z-index: 6; display: flex; overflow-x: auto; scrollbar-width: none; padding: 5px; border-radius: 999px; gap: 2px; }
  .tabbar::-webkit-scrollbar { display: none; }
  .tabbar::before { display: none; }
  .tabbar button { flex: 1 1 0; border: 0; background: none; padding: 6px 1px; font-size: 10px; font-weight: 650; color: var(--ink-2); display: flex; flex-direction: column; align-items: center; gap: 1px; min-width: 0; border-radius: 999px; }
  .tabbar button[aria-current='page'] { color: var(--accent-text); background: rgb(var(--fg) / .13); }
  .tabbar svg { width: 19px; height: 19px; }
  .approve-bar .grow { flex-basis: 100%; }
  .theatre { grid-template-columns: minmax(0, 1fr); }
  .theatre-art { width: min(190px, 60%); }
  .ads-table .sticky-col { width: 170px; min-width: 170px; max-width: 170px; }
  .ad-preview { grid-template-columns: 72px minmax(0, 1fr); }
  .thread-grid { grid-template-columns: minmax(0, 1fr); }
  .filter-bar select { flex: 1 1 42%; }
  .hero { grid-template-columns: 96px minmax(0, 1fr); gap: 14px; padding: 12px; }
  .hero p { display: none; }
  .cal-shell { display: none; }
  .agenda { display: block; }
  .legend { display: none; }
  .modal-grid { grid-template-columns: minmax(0, 1fr); }
  .modal-grid .visual { max-width: 200px; }
  /* Telefonda karar düğmeleri kaydırmadan görünsün. */
  .page-head:has(+ .deck-wrap) { margin-bottom: 8px; }
  .page-head:has(+ .deck-wrap) h1 { font-size: 22px; }
  .page-head:has(+ .deck-wrap) p { display: none; }
  .deck-wrap { gap: 8px; }
  .swipe-card { padding: 10px; gap: 8px; }
  .swipe-card .art { width: min(170px, 46vw); }
  .swipe-card .art canvas { max-height: 25dvh; }
  .swipe-card h2 { font-size: 19px; }
  .swipe-card .info { gap: 5px; }
  .swipe-card .caption { max-height: 10dvh; font-size: 13px; }
  .swipe-card .hashes { font-size: 12px; }
  .target { padding: 4px 10px; font-size: 12px; }
  .controls { gap: 10px; padding: 6px 12px; margin-top: 8px !important; }
  .round { width: 46px; height: 46px; }
  .round.yes { width: 58px; height: 58px; }
  .round.undo { width: 38px; height: 38px; }
  .toast { right: max(12px, env(safe-area-inset-right, 0px)); max-width: calc(100vw - 24px); }
  .deck-hint { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .working .now::after, .msg, .reason-bar { animation: none; }
  .swipe-card, .nav-lens, .toast { transition: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .glass, .panel, .tile, .swipe-card, .hero { background: #2c2420; backdrop-filter: none; -webkit-backdrop-filter: none; }
}
@media print {
  html, body { overflow: visible; background: #fff; }
  .backdrop, .app, .toast, .no-print { display: none !important; }
  dialog { position: static; display: block; box-shadow: none; background: #fff !important; color: #000; width: 100%; max-height: none; }
  dialog::before { display: none; }
  .doc p, .doc ul, .small-text { color: #333; }
}

/* ---------- Sanal ofis ---------- */
.office-brief { display: flex; gap: 8px; margin-bottom: 14px; }
.office-brief input { flex: 1; min-width: 0; padding: 11px 14px; border-radius: var(--r-md); border: 0; background: var(--fill); box-shadow: inset 0 0 0 1px var(--hair); }
.office-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 14px; align-items: start; }
.office {
  position: relative; overflow: hidden; border-radius: var(--r-xl); padding: 22px 18px 14px;
  background:
    linear-gradient(rgb(var(--fg) / .035) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(90deg, rgb(var(--fg) / .035) 1px, transparent 1px) 0 0 / 44px 44px,
    radial-gradient(120% 80% at 50% 0%, rgba(255, 154, 112, .10), transparent 60%),
    rgb(var(--sf) / .55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 24px 60px -18px rgba(0, 0, 0, .6);
}
.office-floor { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 34px 14px; padding-top: 46px; }
.office-flow { margin-top: 16px; text-align: center; }
.desk {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 0; padding: 6px 4px 8px;
  border: 0; background: none; border-radius: var(--r-lg); color: inherit; text-align: center; transition: background .25s;
}
.desk:hover, .desk.current { background: color-mix(in srgb, var(--w) 12%, transparent); }
.desk.current { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--w) 45%, transparent); }
.worker { position: relative; z-index: 2; width: 58px; height: 70px; margin-bottom: -16px; }
.worker-svg { width: 100%; height: 100%; overflow: visible; }
.w-head { fill: #f2d3bf; }
.w-eye { fill: #261f1b; }
.w-shadow { fill: rgba(0, 0, 0, .35); }
.w-arm { stroke-width: 6; stroke-linecap: round; fill: none; transform-box: fill-box; }
.w-arm.l { transform-origin: 100% 0; }
.w-arm.r { transform-origin: 0 0; }
.monitor {
  position: relative; z-index: 3; display: flex; flex-direction: column; justify-content: center; gap: 4px;
  width: 64px; height: 38px; padding: 0 9px; border-radius: 7px; background: #261b16;
  box-shadow: inset 0 0 0 2px #42332b, 0 0 0 0 transparent; transition: box-shadow .4s;
}
.monitor i { display: block; height: 3px; border-radius: 2px; background: color-mix(in srgb, var(--w) 70%, #fff); opacity: .25; width: 40%; }
.table { z-index: 1; width: 104px; height: 12px; margin-top: 2px; border-radius: 4px 4px 10px 10px; background: linear-gradient(#433933, #2c231f); box-shadow: 0 10px 16px -8px rgba(0, 0, 0, .7); }
.desk-meta { display: flex; flex-direction: column; align-items: center; gap: 3px; margin-top: 8px; font-size: 11.5px; line-height: 1.25; color: var(--ink-2); }
.desk-meta strong { font-size: 13px; color: var(--ink); }
/* Ofis masasındaki konuşma balonu. Kapsamsız kalınca Mesajlar sayfasındaki balonları da gizliyordu. */
.desk .bubble, .agent .bubble {
  position: absolute; z-index: 5; left: 50%; bottom: calc(100% - 4px); width: max-content; max-width: 190px;
  padding: 7px 10px; border-radius: 12px 12px 12px 3px; font-size: 11.5px; line-height: 1.35; font-weight: 600; text-align: left;
  color: #111; background: #fff; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .6);
  opacity: 0; transform: translate(-30%, 6px) scale(.92); transform-origin: 0 100%; pointer-events: none;
  transition: opacity .25s, transform .3s var(--spring);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.desk.speaking .bubble, .desk:hover .bubble, .desk:focus-visible .bubble { opacity: 1; transform: translate(-30%, 0) scale(1); }

/* Durumlar */
.desk.s-working .worker { animation: w-bob 2.4s ease-in-out infinite; }
.desk.s-working .w-arm.l { animation: w-type .32s ease-in-out infinite alternate; }
.desk.s-working .w-arm.r { animation: w-type .32s .16s ease-in-out infinite alternate; }
.desk.s-working .monitor { box-shadow: inset 0 0 0 2px #42332b, 0 0 22px -4px color-mix(in srgb, var(--w) 70%, transparent); }
.desk.s-working .monitor i { opacity: .85; animation: w-line 2.6s steps(6) infinite; }
.desk.s-working .monitor i:nth-child(2) { animation-delay: .7s; }
.desk.s-working .monitor i:nth-child(3) { animation-delay: 1.4s; }
.desk.s-idle .worker { animation: w-breathe 4s ease-in-out infinite; }
.desk.s-waiting .w-arm.r { transform: rotate(-150deg); animation: w-wave 1.2s ease-in-out infinite; }
.desk.s-waiting .monitor i { opacity: .5; }
.desk.s-alert .worker::after, .desk.s-waiting .worker::after {
  content: '!'; position: absolute; top: -6px; right: -4px; width: 18px; height: 18px; border-radius: 50%;
  display: grid; place-items: center; font: 800 12px/1 var(--sans); color: #111; background: var(--warn);
  animation: w-pulse 1.4s ease-in-out infinite;
}
.desk.s-alert .worker::after { background: var(--bad); }
.desk.s-alert .monitor { box-shadow: inset 0 0 0 2px var(--bad); }
.desk.s-off { opacity: .42; filter: grayscale(.9); }
.desk.s-off .monitor i { opacity: .08; }
.desk.s-off:hover { opacity: .7; }

.courier {
  position: absolute; top: 0; left: 0; z-index: 6; width: 16px; height: 20px; margin: -10px 0 0 -8px; border-radius: 3px;
  background: linear-gradient(#fff 0 30%, #ffe2d3 30%); box-shadow: 0 0 0 2px var(--accent), 0 0 18px var(--accent);
  opacity: 0; pointer-events: none;
}
.live-dot::before { animation: w-pulse 1.4s ease-in-out infinite; }

.office-side { position: sticky; top: 0; display: flex; flex-direction: column; gap: 10px; }
.office-side::before { content: ''; position: absolute; inset: 0 0 auto; height: 4px; border-radius: var(--r-lg) var(--r-lg) 0 0; background: var(--w); }
.office-who { display: flex; align-items: center; gap: 10px; }
.office-who .worker-svg { width: 48px; height: 56px; }
.office-h3 { font-size: 12px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; margin-top: 4px; }
.office-settings { display: flex; flex-direction: column; gap: 8px; padding: 10px; border-radius: var(--r-md); background: var(--fill); }
.stack-sm { display: flex; flex-direction: column; gap: 4px; }
.feed-row { display: flex; align-items: baseline; gap: 8px; width: 100%; padding: 7px 4px; border: 0; background: none; color: inherit; text-align: left; border-bottom: 1px solid var(--hair); }
.feed-row:last-child { border-bottom: 0; }
button.feed-row:hover { background: var(--fill); }
.feed-row .grow { flex: 1; min-width: 0; }
.feed-row time { white-space: nowrap; }
.feed-row .dot { width: 8px; height: 8px; flex: none; border-radius: 50%; align-self: center; }
.office-feed { display: flex; flex-direction: column; }
.locked-offers { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }

@keyframes w-bob { 50% { transform: translateY(-3px); } }
@keyframes w-breathe { 50% { transform: translateY(-1.5px) scale(1.01); } }
@keyframes w-type { from { transform: rotate(0deg); } to { transform: rotate(-22deg); } }
@keyframes w-wave { 50% { transform: rotate(-130deg); } }
@keyframes w-line { 0% { width: 10%; } 100% { width: 90%; } }
@keyframes w-pulse { 50% { transform: scale(1.18); opacity: .75; } }

@media (max-width: 1100px) {
  .office-wrap { grid-template-columns: 1fr; }
  .office-side { position: static; }
}
@media (max-width: 640px) {
  .office { padding: 14px 8px 10px; }
  .office-floor { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 8px; padding-top: 40px; }
  .desk .bubble, .agent .bubble { max-width: 150px; transform: translate(-50%, 6px) scale(.92); }
  .desk.speaking .bubble, .desk:hover .bubble { transform: translate(-50%, 0) scale(1); }
  .office-brief { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  .desk *, .desk *::after, .live-dot::before { animation: none !important; }
}

/* ---------- Sanal ofis dünyası (izometrik bina) ---------- */
.world {
  position: relative; height: 520px; padding: 0; overflow: hidden; perspective: 1600px;
  background:
    radial-gradient(60% 55% at 55% 55%, rgba(251, 153, 96, .22), transparent 70%),
    radial-gradient(40% 40% at 20% 90%, rgba(255, 106, 0, .12), transparent 70%),
    linear-gradient(180deg, #1a110d, #120c09);
}
.world.compact { height: 360px; }
.world .iso {
  position: absolute; left: 50%; top: 50%; width: 600px; height: 560px; margin: -280px 0 0 -300px;
  transform: scale(var(--s, 1)) rotateX(56deg) rotateZ(-40deg); transform-style: preserve-3d; transition: transform .9s cubic-bezier(.3, .8, .3, 1);
}
.world.flip .iso { transform: scale(var(--s, 1)) rotateX(56deg) rotateZ(40deg); }
.plate {
  position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(4, 1fr); gap: 7px; padding: 10px;
  border-radius: 10px; transform-style: preserve-3d;
  background: linear-gradient(135deg, #382f2a, #241d1a);
  box-shadow: 0 0 0 2px rgba(252, 189, 153, .25), 30px 40px 60px rgba(0, 0, 0, .65), inset 0 0 40px rgba(251, 153, 96, .15);
}
.room {
  position: relative; border-radius: 5px; transform-style: preserve-3d; transition: opacity .4s, filter .4s;
  background:
    linear-gradient(rgb(var(--fg) / .04) 1px, transparent 1px) 0 0 / 18px 18px,
    linear-gradient(90deg, rgb(var(--fg) / .04) 1px, transparent 1px) 0 0 / 18px 18px,
    linear-gradient(135deg, #463c36, #352c27);
  box-shadow: inset 0 0 0 1px rgb(var(--fg) / .06);
}
.room.dim { opacity: .28; filter: grayscale(.8); }
.room.r-working { box-shadow: inset 0 0 0 1px rgb(var(--fg) / .06), inset 0 0 30px rgba(255, 106, 0, .12); }
.room.r-alert { box-shadow: inset 0 0 0 1px var(--bad), inset 0 0 26px rgba(255, 145, 133, .25); }
.room .wall { position: absolute; transform-style: preserve-3d; background: linear-gradient(180deg, rgba(253, 202, 172, .16), rgba(198, 137, 103, .06)); box-shadow: inset 0 0 0 1px rgba(253, 208, 182, .28); pointer-events: none; }
.room .wall.back { left: 0; top: 0; width: 100%; height: 46px; transform-origin: top; transform: rotateX(90deg); border-top: 2px solid rgba(253, 195, 162, .55); }
.room .wall.left { left: 0; top: 0; width: 46px; height: 100%; transform-origin: left; transform: rotateY(-90deg); }
.wall-panel { position: absolute; left: 22%; top: 0; width: 56%; height: 34px; transform-origin: top; transform: translateY(1px) rotateX(90deg) translateZ(1px); border-radius: 3px; display: flex; align-items: flex-end; gap: 3px; padding: 4px; }
.wall-panel.green { background: linear-gradient(#29d37a, #19a85e); box-shadow: 0 0 18px rgba(41, 211, 122, .45); }
.wall-panel.board { background: #f8f3ef; flex-direction: column; justify-content: center; }
.wall-panel.board i { display: block; height: 3px; width: 70%; background: #fcb78f; border-radius: 2px; }
.wall-panel.screens, .wall-panel.big { background: #1f1510; box-shadow: 0 0 16px rgba(110, 160, 255, .35); }
.wall-panel.screens i { flex: 1; height: 100%; border-radius: 2px; background: linear-gradient(#2c5cff, #fb9960); opacity: .8; }
.wall-panel.big i { flex: 1; border-radius: 2px 2px 0 0; background: linear-gradient(#ffb35c, #ff6a00); }
.prop { position: absolute; transform-style: preserve-3d; border-radius: 4px; }
.prop.sofa { right: 10%; bottom: 14%; width: 44%; height: 18%; background: #775e50; transform: translateZ(6px); box-shadow: -3px 4px 0 #4f3d32; }
.prop.mtable { left: 22%; top: 30%; width: 56%; height: 36%; border-radius: 40%; background: #e6dcd3; transform: translateZ(10px); box-shadow: -4px 5px 0 #a29187; }
.prop.chair { width: 12%; height: 12%; background: #877165; border-radius: 50%; transform: translateZ(4px); }
.prop.chair.c1 { left: 12%; top: 40%; }
.prop.chair.c2 { right: 12%; top: 40%; }
.prop.chair.c3 { left: 44%; bottom: 14%; }

/* Ayakta duran her şey kameraya döner (billboard). */
.bb { position: absolute; display: block; transform-origin: 50% 100%; transform: rotateZ(40deg) rotateX(-56deg); transform-style: preserve-3d; transition: transform .9s cubic-bezier(.3, .8, .3, 1); }
.world.flip .bb { transform: rotateZ(-40deg) rotateX(-56deg); }
.bb.room-label { left: 6px; bottom: 6px; font-size: 10px; font-weight: 700; letter-spacing: .04em; color: rgb(var(--fg) / .75); white-space: nowrap; text-shadow: 0 1px 4px #000; pointer-events: none; }
.bb.plant { left: 8%; bottom: 10%; }
.plant-leaf { display: block; width: 16px; height: 22px; border-radius: 50% 50% 40% 40%; background: radial-gradient(circle at 40% 35%, #6fd28e, #2f8a52); box-shadow: 0 6px 0 -2px #6b5a45; }
.bb.light { right: 12%; bottom: 20%; }
.studio-light { display: block; width: 12px; height: 26px; background: linear-gradient(#fffbe8 0 30%, #555 30%); border-radius: 3px; box-shadow: 0 0 22px 6px rgba(255, 245, 200, .35); }

.agent { position: absolute; left: 50%; top: 52%; width: 0; height: 0; padding: 0; border: 0; background: none; transform-style: preserve-3d; color: inherit; }
.desk3 { position: absolute; left: -34px; top: -6px; width: 68px; height: 30px; border-radius: 4px; background: linear-gradient(135deg, #856e60, #5f4d42); transform: translateZ(14px); box-shadow: -4px 6px 0 #382b25; transform-style: preserve-3d; }
.monitor3 { position: absolute; left: 14px; top: 2px; width: 40px; height: 26px; transform-origin: top; transform: rotateX(90deg); border-radius: 3px; background: #241812; box-shadow: inset 0 0 0 2px #45362d; display: flex; flex-direction: column; justify-content: center; gap: 3px; padding: 0 6px; }
.monitor3 i { display: block; height: 2px; border-radius: 1px; background: color-mix(in srgb, var(--w) 70%, #fff); opacity: .3; width: 50%; }
.agent .bb.person { left: -28px; top: -74px; width: 56px; height: 74px; }
.agent .worker { position: absolute; left: 0; bottom: 0; width: 56px; height: 68px; margin: 0; }
.nametag { position: absolute; left: 50%; bottom: -14px; transform: translateX(-50%); font-size: 10px; font-weight: 700; padding: 1px 6px; border-radius: 8px; background: rgb(var(--sf) / .8); color: #fff; white-space: nowrap; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--w) 60%, transparent); }
.agent .bubble { bottom: calc(100% + 4px); left: 50%; }
.agent.speaking .bubble, .agent:hover .bubble, .agent:focus-visible .bubble, .agent.current .bubble { opacity: 1; transform: translate(-30%, 0) scale(1); }
.agent.current .nametag { background: var(--w); color: #111; }
.agent.s-working .worker { animation: w-bob 2.4s ease-in-out infinite; }
.agent.s-working .w-arm.l { animation: w-type .32s ease-in-out infinite alternate; }
.agent.s-working .w-arm.r { animation: w-type .32s .16s ease-in-out infinite alternate; }
.agent.s-working .monitor3 { box-shadow: inset 0 0 0 2px #45362d, 0 0 20px color-mix(in srgb, var(--w) 70%, transparent); }
.agent.s-working .monitor3 i { opacity: .9; animation: w-line 2.6s steps(6) infinite; }
.agent.s-idle .worker { animation: w-breathe 4s ease-in-out infinite; }
.agent.s-waiting .w-arm.r { transform: rotate(-150deg); animation: w-wave 1.2s ease-in-out infinite; }
.agent.s-alert .worker::after, .agent.s-waiting .worker::after {
  content: "!"; position: absolute; top: -8px; right: -6px; width: 16px; height: 16px; border-radius: 50%; display: grid; place-items: center;
  font: 800 11px/1 var(--sans); color: #111; background: var(--warn); animation: w-pulse 1.4s ease-in-out infinite;
}
.agent.s-alert .worker::after { background: var(--bad); }
.agent.s-off { opacity: .4; filter: grayscale(1); }

.walker { position: absolute; left: 0; top: 0; transform-style: preserve-3d; animation: walk1 22s linear infinite; }
.walker.w2 { animation: walk2 28s linear infinite; }
.walker .bb.person { left: -8px; top: -30px; width: 16px; height: 30px; }
.visitor { display: block; width: 16px; height: 30px; border-radius: 8px 8px 5px 5px; background: linear-gradient(#f2d3bf 0 30%, #7d8cff 30%); animation: w-bob .5s ease-in-out infinite; }
.visitor.b { background: linear-gradient(#e8c3a6 0 30%, #ff9a70 30%); }
@keyframes walk1 { 0% { transform: translate(90px, 110px); } 30% { transform: translate(300px, 110px); } 50% { transform: translate(300px, 250px); } 80% { transform: translate(90px, 250px); } 100% { transform: translate(90px, 110px); } }
@keyframes walk2 { 0% { transform: translate(480px, 470px); } 35% { transform: translate(300px, 470px); } 60% { transform: translate(300px, 380px); } 100% { transform: translate(480px, 470px); } }

.floor-panel, .office-status { position: absolute; z-index: 8; display: flex; flex-direction: column; gap: 4px; padding: 12px; border-radius: var(--r-md); font-size: 12.5px; min-width: 150px; }
.floor-panel { left: 14px; top: 14px; }
.office-status { right: 14px; top: 14px; }
.office-status div { display: flex; justify-content: space-between; gap: 18px; color: var(--ink-2); }
.office-status b { color: var(--ink); }
.floor-panel button { border: 0; text-align: left; padding: 6px 10px; border-radius: 10px; background: transparent; color: var(--ink-2); font-weight: 600; }
.floor-panel button[aria-pressed="true"] { background: rgba(251, 153, 96, .45); color: #fff; }
.floor-panel button:hover { background: var(--fill); }
.world .courier { z-index: 9; }

/* ---------- Genel bakış ---------- */
.hero-hello { display: flex; align-items: center; gap: 18px; margin-bottom: 14px; padding: 20px 22px; overflow: hidden;
  background: radial-gradient(60% 140% at 0% 50%, rgba(251, 153, 96, .35), transparent 60%), linear-gradient(150deg, rgb(var(--fg) / .1), rgb(var(--fg) / .02)), rgb(var(--sf) / .5); }
.hero-hello > div:nth-child(2) { flex: 1; min-width: 0; }
.hero-hello h1 { font-size: clamp(22px, 2.4vw, 30px); }
.ai-orb { display: inline-block; width: 34px; height: 34px; flex: none; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #fdc09e 25%, #fa8541 60%, #46291b); box-shadow: 0 0 24px rgba(251, 153, 96, .7); animation: orb 6s ease-in-out infinite; }
.ai-orb.big { width: 64px; height: 64px; }
@keyframes orb { 50% { transform: scale(1.06); filter: hue-rotate(25deg); } }
.kpi-grid { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); margin-bottom: 14px; }
.kpi .kpi-row { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.kpi-change { font-size: 12px; font-weight: 700; }
.kpi-change.up { color: var(--good); }
.kpi-change.down { color: var(--bad); }
.kpi-empty { font-size: 15px; color: var(--ink-3); font-weight: 600; }
.spark { width: 100%; height: 30px; margin-top: 4px; }
.spark polyline { fill: none; stroke: #fdc09e; stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.overview-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 14px; align-items: start; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 10px; }
.world-panel { padding: 14px; }
.world-panel .world { border-radius: var(--r-lg); }
.mini-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.mini-stats div { padding: 10px; border-radius: var(--r-md); background: var(--fill); display: flex; flex-direction: column; }
.mini-stats b { font-size: 20px; }
.mini-stats span { font-size: 11.5px; color: var(--ink-2); }
.quick-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.quick { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 8px; border: 0; border-radius: var(--r-md); background: var(--fill); color: var(--ink); font-size: 12.5px; font-weight: 650; box-shadow: inset 0 0 0 1px var(--hair); }
.quick:hover { background: rgba(251, 153, 96, .3); }
.quick svg { width: 22px; height: 22px; color: #fdc09e; }
.alert-bad, .alert-warn { padding-left: 12px; }
.alert-bad { box-shadow: inset 3px 0 0 var(--bad); }
.alert-warn { box-shadow: inset 3px 0 0 var(--warn); }
.module-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.module-chip { font-size: 11.5px; padding: 4px 9px; border-radius: 20px; background: var(--fill); color: var(--ink-3); box-shadow: inset 0 0 0 1px var(--hair); }
.module-chip.on { color: var(--good); box-shadow: inset 0 0 0 1px rgba(110, 231, 168, .4); }
.ai-bar { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--r-lg); margin-bottom: 14px;
  background: linear-gradient(150deg, rgba(251, 153, 96, .22), rgb(var(--fg) / .03)), rgb(var(--sf) / .5); box-shadow: inset 0 0 0 1px rgba(252, 189, 153, .3); }
.ai-bar .grow { flex: 1; min-width: 0; }
.ai-bar input { display: block; width: 100%; margin-top: 6px; padding: 10px 12px; border: 0; border-radius: 12px; background: rgba(0, 0, 0, .3); box-shadow: inset 0 0 0 1px var(--hair); }

/* ---------- Tüm hizmetler ---------- */
.eco-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 14px; align-items: start; }
.eco-menu { display: flex; flex-direction: column; gap: 2px; padding: 8px; position: sticky; top: 0; max-height: calc(100vh - 140px); overflow: auto; }
.eco-item { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border: 0; border-radius: 12px; background: none; color: var(--ink-2); text-align: left; font-weight: 600; }
.eco-item svg { width: 17px; height: 17px; flex: none; }
.eco-item .grow { flex: 1; }
.eco-item:hover { background: var(--fill); color: var(--ink); }
.eco-item[aria-current="page"] { background: rgba(251, 153, 96, .4); color: #fff; }
.eco-num { font-size: 10.5px; color: var(--ink-3); width: 18px; }
.eco-head { margin-bottom: 12px; }
.eco-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.eco-tool { display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: var(--r-lg); }
.eco-tool button { margin-top: auto; align-self: flex-start; }
.eco-tool-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.eco-tool.s-locked, .eco-tool.s-connect { opacity: .85; }
.eco-note { color: var(--ink-3); }

/* ---------- CRM ---------- */
.crm-board { display: grid; grid-template-columns: repeat(5, minmax(220px, 1fr)); gap: 10px; margin-top: 14px; overflow-x: auto; padding-bottom: 6px; }
.crm-col { padding: 12px; min-height: 160px; display: flex; flex-direction: column; gap: 8px; }
.crm-card { display: flex; flex-direction: column; gap: 6px; padding: 10px; border-radius: var(--r-md); background: var(--fill); box-shadow: inset 0 0 0 1px var(--hair); }
.crm-top { display: flex; justify-content: space-between; gap: 6px; }
.crm-note { font-style: italic; }
.crm-controls { display: grid; grid-template-columns: 1fr 90px; gap: 6px; }
.crm-controls select, .crm-controls input { min-width: 0; padding: 6px 8px; border-radius: 9px; border: 0; background: rgba(0, 0, 0, .3); box-shadow: inset 0 0 0 1px var(--hair); font-size: 12px; }

/* ---------- Otomasyon merkezi ve rapor ---------- */
.mission-row { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--hair); }
.mission-row:last-child { border-bottom: 0; }
.mission-row .grow { flex: 1; min-width: 0; }
.routine-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; align-items: end; }
.run { padding: 8px 0; border-bottom: 1px solid var(--hair); }
.run summary { cursor: pointer; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.run ol, .run-steps { margin: 8px 0 4px; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.run li, .run-steps li { display: flex; flex-direction: column; }
.run li.failed b, .run-steps li.failed b { color: var(--bad); }
.story { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.story-part { padding: 10px 12px; border-radius: var(--r-md); background: var(--fill); }
.story-part h3 { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); margin-bottom: 4px; }
.story-part ul { margin: 0; padding-left: 18px; }
.story-part.bad { box-shadow: inset 3px 0 0 var(--bad); }
.story-part.good { box-shadow: inset 3px 0 0 var(--good); }
.story-part.act { box-shadow: inset 3px 0 0 #fdc09e; }
.memory-form textarea, .memory-form input { width: 100%; }

@media (max-width: 1100px) {
  .overview-grid, .eco-layout { grid-template-columns: 1fr; }
  .eco-menu { position: static; max-height: none; flex-direction: row; overflow-x: auto; }
  .eco-item { flex: none; }
}
@media (max-width: 760px) {
  .world { height: 400px; }
  .world .iso { top: 42%; }
  .world.compact { height: 280px; }
  .floor-panel { flex-direction: row; flex-wrap: wrap; right: 10px; left: 10px; top: auto; bottom: 10px; padding: 8px; min-width: 0; }
  .floor-panel strong { display: none; }
  .office-status { display: none; }
  .hero-hello { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  .agent *, .walker, .visitor, .ai-orb, .agent .worker::after { animation: none !important; }
  .world .iso, .bb { transition: none; }
}

/* =====================================================================
   Yeni tasarım dili: gece mavisi zemin, mor vurgu, net kartlar,
   etiketli geniş kenar menü, banner başlıklar, alt asistan şeridi.
   Önceki kurallar korunur; bu blok yalnız üstüne yazar.
   ===================================================================== */
:root {
  --bg: #1a0f0a;
  --bg-2: #26170f;
  --ink: #fcf8f5;
  --ink-2: rgba(248, 238, 229, .72);
  --ink-3: rgba(244, 226, 211, .5);
  --hair: rgba(252, 183, 143, .15);
  --fill: rgba(252, 170, 123, .08);
  --fill-2: rgba(252, 170, 123, .15);
  --accent: #fb9960;
  --accent-2: #b5501c;
  --accent-text: #fdc7a8;
  --on-accent: #ffffff;
  --good: #3ddc97;
  --warn: #ffc857;
  --bad: #ff7a8a;
  --card: linear-gradient(180deg, rgba(66, 42, 30, .78), rgb(var(--sf) / .88));
  --card-hover: linear-gradient(180deg, rgba(85, 56, 39, .82), rgb(var(--sf) / .9));
  --glow: 0 0 0 1px rgba(251, 153, 96, .35), 0 10px 40px -10px rgba(251, 153, 96, .55);
  --r-xl: 22px;
  --r-lg: 18px;
  --r-md: 14px;
}
body { background: var(--bg); }
.backdrop {
  background:
    radial-gradient(45vw 40vw at 100% 0%, rgba(251, 153, 96, .22), transparent 70%),
    radial-gradient(40vw 40vw at 0% 100%, rgba(240, 130, 66, .18), transparent 70%),
    radial-gradient(30vw 30vw at 55% 45%, rgba(251, 153, 96, .07), transparent 70%),
    var(--bg);
}
.backdrop::after, #ambient { display: none; }

/* Kartlar: cam yerine net, hafif mor kenarlı yüzey */
.glass, .panel, .tile, .post-card, .media, .swipe-card, .hero, .service {
  background: var(--card);
  box-shadow: 0 1px 0 rgb(var(--fg) / .05) inset, 0 18px 40px -22px rgba(0, 0, 0, .8);
  border: 1px solid var(--hair);
}
.glass, .panel, .tile, .swipe-card, .hero { -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.glass::before, .panel::before, .tile::before, .post-card::before, .media::before, .swipe-card::before, .hero::before, .service::before {
  background: linear-gradient(135deg, rgba(252, 189, 153, .35), rgba(252, 189, 153, .04) 40%, rgba(252, 189, 153, .02) 70%, rgba(252, 189, 153, .22));
}
.panel::after, .tile::after, .hero::after, .service::after, .swipe-card::after { background: radial-gradient(320px circle at var(--mx, 50%) var(--my, -40%), rgba(251, 153, 96, .14), transparent 70%); }
.can-refract .refract { backdrop-filter: blur(14px); }
.panel, .tile, .service { border-radius: var(--r-lg); }
.panel h2 { font-size: 15.5px; font-weight: 700; }
button.tile:hover, .service:hover { background: var(--card-hover); }

/* Düğmeler, sekmeler, alanlar */
.primary { background: linear-gradient(135deg, #fba26f, var(--accent-2)); color: #fff; box-shadow: 0 8px 24px -8px rgba(251, 153, 96, .8); border-radius: 12px; }
.primary:hover { filter: brightness(1.08); }
.ghost, .pill { border-radius: 12px; background: var(--fill); box-shadow: inset 0 0 0 1px var(--hair); color: var(--ink); }
.ghost:hover, .pill:hover { background: var(--fill-2); }
.tab { border-radius: 10px; }
.tab[aria-pressed='true'], .sub-item[aria-selected='true'] { background: linear-gradient(135deg, #fba26f, var(--accent-2)); color: #fff; box-shadow: 0 6px 18px -8px rgba(251, 153, 96, .9); }
input:not([type='checkbox']):not([type='radio']):not([type='range']), select, textarea {
  background-color: rgb(var(--sf) / .6);
  border: 1px solid var(--hair);
  border-radius: 12px;
}
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(251, 153, 96, .25); }
input[type='checkbox'] { accent-color: var(--accent); }
.tag.scheduled { color: var(--accent-text); }
.count, .nav-item .count, .tabbar .count { background: #ff4d7d; color: #fff; }
.notice { border-radius: var(--r-md); }
.inline-link { color: var(--accent-text); }
:focus-visible { outline-color: var(--accent-text); }

/* Yerleşim: geniş kenar menü + içerik + (asistan açıksa) sohbet */
.app { grid-template-columns: 252px minmax(0, 1fr) 380px; gap: 18px; padding: 16px; }
.app.no-chat { grid-template-columns: 252px minmax(0, 1fr); }
.app.side-mini { grid-template-columns: 78px minmax(0, 1fr) 380px; }
.app.side-mini.no-chat { grid-template-columns: 78px minmax(0, 1fr); }

.sidebar {
  align-items: stretch; gap: 12px; padding: 16px 12px 12px; border-radius: var(--r-xl);
  background: linear-gradient(180deg, rgb(var(--sf) / .92), rgb(var(--sf) / .95));
  border: 1px solid var(--hair); box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .8);
  overflow: hidden;
}
.side-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 4px 6px; }
.side-logo { display: flex; align-items: center; border: 0; background: none; padding: 4px; height: auto; width: auto; }
.side-logo .logo-full { height: 26px; width: auto; aspect-ratio: 1000 / 278; object-fit: contain; }
.side-logo .logo-mark { display: none; width: 34px; height: 34px; object-fit: contain; }
.side-collapse { width: 30px; height: 30px; border-radius: 10px; background: var(--fill); }
.side-collapse svg { width: 16px; height: 16px; transition: transform .3s; }
.side-mini .side-collapse svg { transform: rotate(180deg); }
.sidebar #navWrap { flex: 1; min-height: 0; overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgba(252, 183, 143, .25) transparent; width: 100%; }
.sidebar .nav-lens { display: none; }
.sidebar #nav { display: flex; flex-direction: column; gap: 2px; }
.sidebar .nav-item {
  flex-direction: row; justify-content: flex-start; gap: 12px; height: 42px; padding: 0 12px; border-radius: 12px;
  font-size: 13.5px; font-weight: 600; color: var(--ink-2); text-align: left;
}
.sidebar .nav-item svg { width: 19px; height: 19px; }
.sidebar .nav-item:hover { background: var(--fill); color: var(--ink); }
.sidebar .nav-item[aria-current='page'] { color: #fff; background: linear-gradient(90deg, rgba(251, 153, 96, .55), rgba(251, 153, 96, .18)); box-shadow: inset 0 0 0 1px rgba(252, 183, 143, .35); }
.sidebar .nav-item .count { position: static; margin-left: auto; }
.nav-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav-subs { display: flex; flex-direction: column; gap: 1px; margin: 4px 0 6px 22px; padding-left: 12px; border-left: 1px solid var(--hair); }
.nav-sub { display: flex; align-items: center; gap: 8px; border: 0; background: none; text-align: left; padding: 7px 10px; border-radius: 9px; font-size: 12.5px; font-weight: 600; color: var(--ink-3); }
.nav-sub:hover { color: var(--ink); background: var(--fill); }
.nav-sub[aria-current='page'] { color: #fff; background: var(--fill-2); }
.nav-sub .count { margin-left: auto; font-size: 10px; padding: 0 6px; border-radius: 10px; line-height: 16px; }
.side-upgrade { display: flex; gap: 10px; align-items: center; padding: 12px; border-radius: var(--r-md); background: linear-gradient(135deg, rgba(251, 153, 96, .25), rgba(240, 130, 66, .08)); border: 1px solid var(--hair); font-size: 12px; }
.side-upgrade div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.side-upgrade b { font-size: 12.5px; }
.side-upgrade span { color: var(--ink-2); line-height: 1.35; }
.side-upgrade .inline-link { align-self: flex-start; font-weight: 700; font-size: 12px; padding: 0; }
.side-me { display: flex; align-items: center; gap: 10px; width: 100%; height: auto; padding: 8px; border-radius: var(--r-md); border: 0; background: var(--fill); text-align: left; overflow: visible; }
.side-me .inf-avatar { width: 38px; height: 38px; flex: none; }
.side-me-text { display: flex; flex-direction: column; min-width: 0; font-size: 13px; }
.side-me-text b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-me-text span { font-size: 11.5px; color: var(--accent-text); }
.side-me.active { box-shadow: inset 0 0 0 1px var(--accent); }

/* Daraltılmış menü */
.side-mini .sidebar { padding: 14px 8px; }
.side-mini .side-top { flex-direction: column; }
.side-mini .side-logo .logo-full, .side-mini .nav-label, .side-mini .nav-subs, .side-mini .side-upgrade, .side-mini .side-me-text, .side-mini .sidebar .nav-item .count { display: none; }
.side-mini .side-logo .logo-mark { display: block; }
.side-mini .sidebar .nav-item { justify-content: center; padding: 0; }
.side-mini .side-me { justify-content: center; background: none; }

/* Üst çubuk */
.topbar { border-radius: 16px; padding: 8px 10px; background: rgb(var(--sf) / .7); border: 1px solid var(--hair); }
.topbar .top-logo { display: none; }
.top-actions { flex: 1; min-width: 0; }
.top-actions .top-search { margin-right: auto; }
.top-search input { width: 300px; padding: 9px 14px 9px 36px; border-radius: 12px; background: rgb(var(--sf) / .6) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b9a6ff' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E") no-repeat 12px 50% / 16px; }
.topbar .subnav { display: none; }
.icon-btn { border-radius: 12px; background: var(--fill); }
.help-btn svg { width: 19px; height: 19px; }
.brand-switch { border-radius: 12px; background: var(--fill); box-shadow: inset 0 0 0 1px var(--hair); order: 9; }
.brand-switch .swatch { background: var(--brand-swatch, var(--accent)) !important; }
.topbar { display: flex; }
.topbar .top-actions { order: 2; }
.topbar .brand-switch { order: 3; }

/* Sayfa başlığı: kürelı banner */
.page-head {
  position: relative; align-items: center; margin: 0 0 16px; padding: 20px 22px 20px 112px; overflow: hidden; min-height: 96px;
  border-radius: var(--r-xl); border: 1px solid var(--hair);
  background:
    radial-gradient(120% 160% at 0% 50%, rgba(251, 153, 96, .4), transparent 55%),
    linear-gradient(90deg, rgba(89, 54, 33, .85), rgb(var(--sf) / .85));
}
.page-head::before {
  content: ''; position: absolute; left: 18px; top: 50%; width: 76px; height: 76px; margin-top: -38px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, #f1dac6 18%, #fb9960 48%, #6e3616 78%);
  box-shadow: 0 0 40px rgba(251, 153, 96, .8), inset -8px -10px 20px rgba(57, 33, 21, .7);
}
.page-head::after {
  content: ''; position: absolute; left: 4px; top: 50%; width: 104px; height: 30px; margin-top: -15px; border-radius: 50%;
  border: 2px solid rgba(253, 202, 172, .45); transform: rotate(-18deg);
}
.page-head h1 { font-size: clamp(22px, 2.2vw, 28px); }
.page-head p { color: var(--ink-2); margin-top: 4px; }
.page-head.compact { padding: 14px 18px 14px 92px; min-height: 72px; }
.page-head.compact::before { width: 56px; height: 56px; margin-top: -28px; }
.page-head.compact::after { width: 80px; }

/* KPI kartı simgesi */
.tile.kpi { padding-left: 74px; position: relative; }
.kpi-icon { position: absolute; left: 16px; top: 16px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: linear-gradient(135deg, rgba(251, 153, 96, .5), rgba(240, 130, 66, .2)); box-shadow: inset 0 0 0 1px rgba(252, 189, 153, .35); }
.kpi-icon svg { width: 22px; height: 22px; color: #f4e3d5; }
.spark polyline { stroke: #fcb68e; filter: drop-shadow(0 0 6px rgba(251, 153, 96, .8)); }
.kpi-change.up { color: var(--good); }

/* Alt asistan şeridi */
.center { position: relative; }
.dock { flex: none; display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 12px; margin-top: 10px; }
.dock[hidden] { display: none; }
.dock > * { border-radius: var(--r-lg); border: 1px solid var(--hair); background: var(--card); padding: 12px 16px; }
.dock-ai { display: flex; align-items: center; gap: 14px; }
.dock-ai .grow { flex: 1; min-width: 0; }
.dock-ai b { font-size: 13.5px; }
.dock-input { display: flex; align-items: center; gap: 8px; margin-top: 6px; padding: 4px 4px 4px 14px; border-radius: 14px; background: rgb(var(--sf) / .7); border: 1px solid var(--hair); }
.dock-input input { flex: 1; min-width: 0; border: 0 !important; background: none !important; box-shadow: none !important; padding: 8px 0; }
.dock-input .send { flex: none; width: 36px; height: 36px; border: 0; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #fba26f, var(--accent-2)); color: #fff; box-shadow: 0 6px 18px -6px rgba(251, 153, 96, .9); }
.dock-input .send svg { width: 17px; height: 17px; }
.dock-ai .ai-orb { width: 46px; height: 46px; }
.dock-modules { display: flex; flex-direction: column; gap: 8px; }
.dock-modules b { font-size: 13px; display: flex; align-items: center; gap: 6px; }
.live-dot-mini { width: 7px; height: 7px; border-radius: 50%; background: var(--good); box-shadow: 0 0 8px var(--good); }
.dock-modules > div { display: flex; flex-wrap: wrap; gap: 6px; }
.mod { width: 36px; height: 36px; border-radius: 11px; border: 1px solid var(--hair); background: rgb(var(--sf) / .6); color: var(--mc, #fff); font-weight: 800; font-size: 12px; position: relative; opacity: .55; }
.mod.on { opacity: 1; box-shadow: 0 0 0 1px var(--mc), 0 0 14px -2px var(--mc); }
.mod.on::after { content: ''; position: absolute; right: -2px; top: -2px; width: 8px; height: 8px; border-radius: 50%; background: var(--good); }
.mod.more { color: var(--ink-2); opacity: 1; font-size: 11px; }

/* Sohbet paneli yeni dilde */
.chat { background: linear-gradient(180deg, rgb(var(--sf) / .92), rgb(var(--sf) / .95)); border: 1px solid var(--hair); }
.composer textarea { border-radius: 14px; }
.send { background: linear-gradient(135deg, #fba26f, var(--accent-2)); color: #fff; }

/* Giriş ekranı */
.auth-screen { background: radial-gradient(60vw 60vw at 0% 0%, rgba(251, 153, 96, .25), transparent 60%), radial-gradient(50vw 50vw at 100% 100%, rgba(240, 130, 66, .2), transparent 60%), var(--bg); }
.auth-shell { width: min(980px, 100%); display: grid; grid-template-columns: 1fr 1.05fr; border-radius: 26px; overflow: hidden; border: 1px solid var(--hair); background: rgb(var(--sf) / .92); box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(251, 153, 96, .15); margin: auto; }
.auth-art { position: relative; min-height: 560px; padding: 40px 36px; display: flex; flex-direction: column; justify-content: center; gap: 14px; overflow: hidden;
  background: radial-gradient(90% 70% at 20% 20%, rgba(251, 153, 96, .45), transparent 60%), linear-gradient(160deg, #412619, #20130c); }
.auth-art img { width: 220px; height: auto; aspect-ratio: 1000 / 278; object-fit: contain; position: relative; z-index: 1; }
.auth-art p { position: relative; z-index: 1; font-size: 17px; line-height: 1.45; color: var(--ink-2); max-width: 26ch; }
.auth-art svg.waves { position: absolute; inset: auto -10% -6% -10%; width: 120%; height: 70%; z-index: 0; opacity: .9; }
.auth-points { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 8px; margin-top: 10px; font-size: 13px; color: var(--ink-2); }
.auth-points span::before { content: '✓'; color: var(--good); font-weight: 800; margin-right: 8px; }
.auth-shell .auth-card { width: 100%; border-radius: 0; border: 0; background: none; box-shadow: none; padding: 40px 38px; margin: 0; backdrop-filter: none; -webkit-backdrop-filter: none; }
.auth-shell .auth-card::before, .auth-shell .auth-card::after { display: none; }
.auth-shell .auth-brand { display: none; }
.auth-card h1 { font-size: 30px; }
.icon-field { position: relative; display: block; }
.icon-field svg { position: absolute; left: 13px; top: 50%; width: 17px; height: 17px; margin-top: -8px; color: var(--ink-3); pointer-events: none; }
.icon-field input { padding-left: 40px !important; width: 100%; }
.icon-field .reveal { position: absolute; right: 8px; top: 50%; margin-top: -15px; width: 30px; height: 30px; border: 0; border-radius: 8px; background: none; color: var(--ink-3); display: grid; place-items: center; }
.icon-field .reveal svg { position: static; margin: 0; }
.auth-row { display: flex; justify-content: flex-end; }
.auth-submit { border-radius: 12px !important; padding: 13px !important; }
.auth-switch { text-align: center; font-size: 13px; color: var(--ink-2); }
.auth-switch button { border: 0; background: none; color: var(--accent-text); font-weight: 700; padding: 0 4px; }

@media (max-width: 1240px) {
  .app { grid-template-columns: 220px minmax(0, 1fr) 330px; gap: 12px; padding: 12px; }
  .app.no-chat { grid-template-columns: 220px minmax(0, 1fr); }
  .top-search input { width: 200px; }
}
@media (max-width: 1100px) {
  .dock { grid-template-columns: 1fr; }
  .dock-modules { display: none; }
}
@media (max-width: 900px) {
  .app, .app.no-chat, .app.side-mini { display: block; }
  .sidebar { display: none; }
  .topbar .subnav { display: flex; }
  .topbar .top-logo { display: block; }
  .dock { display: none !important; }
  .page-head { padding: 16px 16px 16px 84px; min-height: 80px; }
  .page-head::before { width: 54px; height: 54px; margin-top: -27px; left: 14px; }
  .page-head::after { width: 76px; left: 3px; }
  .tabbar { background: rgb(var(--sf) / .92); border: 1px solid var(--hair); }
  .tabbar button[aria-current='page'] { color: #fff; background: linear-gradient(135deg, rgba(251, 162, 111, .7), rgba(240, 130, 66, .5)); }
  .auth-shell { grid-template-columns: 1fr; }
  .auth-art { min-height: 0; padding: 26px 24px; }
  .auth-art svg.waves, .auth-points { display: none; }
  .auth-shell .auth-card { padding: 24px 20px; }
}

/* Arama kutusu masaüstünde her zaman görünür (alt sekmeler artık kenar menüde). */
@media (min-width: 901px) {
  .topbar .top-search, .topbar:has(.subnav:not(:empty)) .top-search { display: block; }
}
.tile.kpi { padding-left: 64px; }
.kpi-icon { left: 14px; width: 38px; height: 38px; }
.kpi-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

/* ===== Görseldeki sol menü (düz liste) ===== */
.app { grid-template-columns: 236px minmax(0, 1fr) 360px; }
.app.no-chat { grid-template-columns: 236px minmax(0, 1fr); }
.sidebar { gap: 10px; padding: 14px 10px 10px; border-radius: 20px; }
.side-top { padding: 2px 6px 8px; }
.side-logo { gap: 10px; }
.side-logo .logo-mark { display: block; width: 34px; height: 34px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.05; text-align: left; }
.logo-text b { font-size: 17px; font-weight: 800; letter-spacing: .02em; color: var(--ink); }
/* 28 Kasım 2026: Fufera marka yazısı (logo fontu görsel olarak) ve ikonu. Açık temada siyah yazı kullanılır. */
.logo-text .logo-word { display: block; height: 21px; width: auto; aspect-ratio: 1000 / 278; object-fit: contain; }
.top-logo { align-items: center; gap: 8px; }
.top-logo .logo-mark-sm { height: 26px; width: 26px; border-radius: 7px; }
:root[data-theme="light"] img[src="/fuvera-logo.png"] { content: url("/fufera-wordmark-dark.png"); }
.logo-text small { font-size: 10.5px; color: var(--ink-3); font-weight: 600; }
.side-collapse { border-radius: 50%; width: 28px; height: 28px; }
.side-collapse svg { transform: rotate(-90deg); }
.side-mini .side-collapse svg { transform: rotate(90deg); }
.sidebar #nav { gap: 1px; }
.sidebar .nav-item { height: 37px; gap: 11px; padding: 0 11px; font-size: 13px; font-weight: 550; border-radius: 11px; }
.sidebar .nav-item svg { width: 18px; height: 18px; opacity: .85; }
.sidebar .nav-item[aria-current='page'] { background: linear-gradient(90deg, rgba(251, 153, 96, .55), rgba(251, 153, 96, .22)); box-shadow: inset 0 0 0 1px rgba(252, 189, 153, .35); }
.sidebar .nav-item[aria-current='page'] svg { opacity: 1; color: #fff; }
.nav-badge { margin-left: auto; font-size: 10.5px; font-weight: 700; padding: 2px 9px; border-radius: 20px; background: rgba(251, 153, 96, .45); color: #f8eee5; }
.nav-badge + .count { margin-left: 6px; }
.side-logo .logo-full { display: none; }
.side-mini .logo-text, .side-mini .nav-badge { display: none; }
.side-upgrade { padding: 12px; align-items: flex-start; }
.side-upgrade .ai-orb { width: 40px; height: 40px; margin-top: 2px; }
.side-upgrade span { font-size: 11.5px; color: var(--ink); }
.side-upgrade .inline-link { color: #fdc09e; font-size: 11.5px; margin-top: 4px; }
.side-me-row { display: flex; align-items: center; gap: 6px; }
.side-me-row .side-me { flex: 1; min-width: 0; background: none; padding: 6px 4px; }
.side-logout { flex: none; width: 34px; height: 34px; background: none; color: var(--ink-2); }
.side-logout svg { width: 19px; height: 19px; }
.side-logout:hover { color: var(--ink); background: var(--fill); }
.is-guest .side-logout { display: none; }
.side-mini .side-me-row { flex-direction: column; }

/* Üst çubuk: görseldeki gibi sade */
.topbar { background: transparent; border: 0; padding: 4px 0; margin-bottom: 14px; box-shadow: none; }
.topbar::before, .topbar::after { display: none; }
.top-search input { width: 340px; background-color: rgb(var(--sf) / .85); border-radius: 12px; }
.icon-btn { background: transparent; }
.icon-btn:hover { background: var(--fill); }
.brand-switch { padding: 6px 8px 6px 12px; background: rgb(var(--sf) / .85); }
.brand-switch .swatch { width: 26px; height: 26px; border-radius: 50%; order: 2; box-shadow: 0 0 0 2px rgba(251, 153, 96, .5); }

/* Modül sekmeleri */
.module-tabs { display: flex; gap: 4px; flex-wrap: wrap; margin: 0 0 14px; padding: 4px; border-radius: 14px; background: rgb(var(--sf) / .7); border: 1px solid var(--hair); width: fit-content; max-width: 100%; }
.module-tabs button { border: 0; background: none; padding: 7px 14px; border-radius: 10px; font-size: 12.5px; font-weight: 650; color: var(--ink-2); display: inline-flex; align-items: center; gap: 6px; }
.module-tabs button:hover { color: var(--ink); background: var(--fill); }
.module-tabs button[aria-current='page'] { color: #fff; background: linear-gradient(135deg, #fba26f, var(--accent-2)); box-shadow: 0 6px 18px -8px rgba(251, 153, 96, .9); }
.module-tabs .count { font-size: 10px; padding: 0 6px; border-radius: 10px; line-height: 16px; }

/* ===== Genel Bakış: görseldeki düzen ===== */
.hero-hello { position: relative; border-radius: 20px; padding: 22px 22px 22px 150px; min-height: 104px; border: 1px solid var(--hair); overflow: hidden;
  background: radial-gradient(70% 160% at 0% 50%, rgba(251, 153, 96, .45), transparent 60%), linear-gradient(90deg, rgba(94, 57, 36, .9), rgb(var(--sf) / .9)); }
.hero-orb { position: absolute; left: 22px; top: 50%; width: 100px; height: 100px; margin-top: -50px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, #f4e1d1 15%, #fba26f 42%, #4a2a1a 72%, #46291a);
  box-shadow: 0 0 50px rgba(251, 153, 96, .9), inset -10px -14px 26px rgba(47, 28, 18, .8); }
.hero-orb::after { content: ''; position: absolute; left: -22px; top: 38px; width: 144px; height: 34px; border-radius: 50%; border: 2px solid rgba(253, 208, 182, .55); transform: rotate(-16deg); }
.hero-hello h1 { font-size: clamp(22px, 2.3vw, 28px); }
.hero-hello p { color: var(--ink-2); margin-top: 4px; }
.today-btn { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; padding: 10px 14px; border-radius: 14px; background: rgb(var(--sf) / .7); }
.today-btn svg { width: 16px; height: 16px; }
.ov-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 14px 0; }
.ov-kpis .tile.kpi { min-height: 92px; }
.ov-main { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 14px; align-items: stretch; }
.ov-world .world { height: 520px; border-radius: 20px; border: 1px solid var(--hair); }
.ov-world-empty { display: flex; flex-direction: column; justify-content: center; min-height: 200px; }
.ov-side { display: flex; flex-direction: column; gap: 14px; }
.ov-status { display: flex; flex-direction: column; gap: 4px; }
.ov-stat { display: flex; align-items: center; gap: 12px; padding: 9px 2px; border-bottom: 1px solid var(--hair); font-size: 13.5px; color: var(--ink-2); }
.ov-stat:last-child { border-bottom: 0; }
.ov-stat svg { width: 20px; height: 20px; color: #fdc09e; }
.ov-stat span { flex: 1; }
.ov-stat b { color: var(--ink); font-size: 16px; }
.ov-side .quick-grid { gap: 10px; }
.ov-side .quick { min-height: 82px; justify-content: center; }
.ov-eco { margin-top: 14px; }
.ov-eco-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 8px; }
.ov-mod { display: grid; grid-template-columns: 22px minmax(0, 1fr) 60px auto; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--hair); border-radius: 14px; background: rgb(var(--sf) / .55); color: inherit; text-align: left; }
.ov-mod:hover { background: var(--fill-2); }
.ov-mod svg { width: 20px; height: 20px; color: #fdc09e; }
.ov-mod .grow { display: flex; flex-direction: column; min-width: 0; }
.ov-mod .grow b { font-size: 13px; }
.ov-mod .grow .small-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ov-mod-count { height: 5px; border-radius: 5px; background: rgb(var(--fg) / .08); overflow: hidden; }
.ov-mod-count i { display: block; height: 100%; background: linear-gradient(90deg, #fba26f, #3ddc97); }
.ov-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }

/* AI Asistan sayfası ve mobil menü */
.ai-bar.big { padding: 16px 18px; }
.ai-bar.big input { font-size: 15px; padding: 12px 14px; }
.ai-line { display: flex; flex-direction: column; gap: 2px; padding: 8px 0; border-bottom: 1px solid var(--hair); font-size: 13px; }
.ai-line b { font-size: 11px; color: var(--accent-text); text-transform: uppercase; letter-spacing: .05em; }
.ai-line.user b { color: var(--ink-3); }
.menu-sheet { max-height: 80dvh; overflow-y: auto; }
.menu-sheet-list { display: flex; flex-direction: column; gap: 12px; margin: 10px 0; }
.menu-sheet-group b { display: flex; align-items: center; gap: 8px; font-size: 13px; margin-bottom: 6px; }
.menu-sheet-group b svg { width: 18px; height: 18px; color: #fdc09e; }
.menu-sheet-group div { display: flex; flex-wrap: wrap; gap: 6px; }
.menu-sheet-group button { border: 1px solid var(--hair); background: var(--fill); border-radius: 10px; padding: 7px 12px; font-size: 12.5px; font-weight: 600; }
.menu-sheet-group button[aria-current='page'] { background: linear-gradient(135deg, #fba26f, var(--accent-2)); color: #fff; }

@media (max-width: 1400px) {
  .ov-main { grid-template-columns: minmax(0, 1fr) 260px; }
  .ov-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1240px) {
  .app { grid-template-columns: 220px minmax(0, 1fr) 320px; }
  .app.no-chat { grid-template-columns: 220px minmax(0, 1fr); }
  .ov-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .top-search input { width: 220px; }
}
@media (max-width: 1100px) {
  .ov-main, .ov-cols { grid-template-columns: 1fr; }
  .ov-side { display: grid; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .module-tabs { display: none; }
  .hero-hello { padding: 16px 16px 16px 100px; flex-wrap: wrap; }
  .hero-orb { width: 64px; height: 64px; margin-top: -32px; left: 18px; }
  .hero-orb::after { width: 96px; left: -16px; top: 24px; }
  .today-btn { margin-left: 0; }
  .ov-kpis { grid-template-columns: 1fr 1fr; gap: 10px; }
  .ov-side { grid-template-columns: 1fr; }
  .ov-world .world { height: 400px; }
  .topbar { background: rgb(var(--sf) / .85); border: 1px solid var(--hair); padding: 7px 10px; }
}

/* Akış: paylaşım türleri */
.sp-kinds { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; border: 0; padding: 0; margin: 8px 0 0; }
.kind-chip { position: relative; }
.kind-chip input { position: absolute; opacity: 0; pointer-events: none; }
.kind-chip span { display: inline-block; padding: 6px 12px; border-radius: 20px; font-size: 12px; font-weight: 650; background: var(--fill); border: 1px solid var(--hair); color: var(--ink-2); cursor: pointer; }
.kind-chip input:checked + span { background: linear-gradient(135deg, #fba26f, var(--accent-2)); color: #fff; border-color: transparent; }
.kind-chip input:focus-visible + span { outline: 2px solid var(--accent-text); outline-offset: 2px; }
.sp-kinds input[name='workClient'] { flex: 1 1 180px; min-width: 0; padding: 6px 10px; font-size: 12.5px; }
.kind-tag { color: var(--accent-text); }
.kind-tag.k-seeking { color: var(--warn); }
.kind-tag.k-hiring { color: var(--good); }
.feed-tabs { margin-bottom: 12px; flex-wrap: wrap; }

/* ---------- Çalışan paneli ---------- */
.staff-panel { display: flex; flex-direction: column; gap: 10px; }
.task-form { display: flex; flex-direction: column; gap: 6px; }
.task-form textarea { width: 100%; resize: vertical; min-height: 58px; }
.task-form button { align-self: flex-end; }
.seg { display: flex; gap: 4px; padding: 3px; border-radius: 12px; background: rgb(var(--sf) / .6); border: 1px solid var(--hair); }
.seg button { flex: 1; border: 0; background: none; padding: 7px 8px; border-radius: 9px; font-size: 11.5px; font-weight: 650; color: var(--ink-2); }
.seg button[aria-pressed='true'] { background: linear-gradient(135deg, #fba26f, var(--accent-2)); color: #fff; }
.levels { display: grid; grid-template-columns: 1fr; gap: 6px; }
.level { display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; text-align: left; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--hair); background: rgb(var(--sf) / .5); color: inherit; }
.level b { font-size: 13px; }
.level .price { font-size: 12px; font-weight: 700; color: var(--accent-text); text-align: right; }
.level .small-text { grid-column: 1 / -1; }
.level .model { grid-column: 1 / -1; font-size: 11px; color: var(--good); }
.level.on { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 8px 24px -12px rgba(251, 153, 96, .9); background: rgba(251, 153, 96, .14); }
.task { border: 1px solid var(--hair); border-radius: 12px; padding: 8px 10px; background: rgb(var(--sf) / .4); }
.task summary { display: flex; align-items: center; gap: 8px; cursor: pointer; list-style: none; }
.task summary::-webkit-details-marker { display: none; }
.task summary .grow { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.talk { margin: 8px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.talk li { display: flex; flex-direction: column; gap: 1px; padding: 6px 8px; border-radius: 9px; background: var(--fill); font-size: 12.5px; }
.talk b { font-size: 11px; color: var(--accent-text); }
.approval { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 6px; padding: 8px 10px; border-radius: 10px; border: 1px solid rgba(255, 200, 87, .35); background: rgba(255, 200, 87, .07); font-size: 12.5px; }
.approval .grow { flex: 1 1 160px; min-width: 0; }
.approval.approved { border-color: rgba(61, 220, 151, .35); background: rgba(61, 220, 151, .06); }
.approval.rejected { border-color: var(--hair); background: none; opacity: .7; }
.office-side { max-height: calc(100dvh - 140px); overflow-y: auto; }

/* 2D görünüm: kuşbakışı kat planı */
.dim-toggle { display: flex; gap: 4px; margin-top: 4px; }
.dim-toggle button { flex: 1; text-align: center !important; }
.world.flat .iso { transform: scale(var(--s, 1)) !important; }
.world.flat .bb { transform: none !important; }
.world.flat .wall, .world.flat .wall-panel, .world.flat .monitor3 { display: none; }
.world.flat .room { box-shadow: inset 0 0 0 2px rgba(253, 195, 162, .35); }
.world.flat .agent .bb.person { top: -44px; }
.world.flat .desk3 { transform: none; }

/* Bağlantı merkezi */
.conn-card { display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: var(--r-lg); }
.conn-err { color: var(--bad); }
.ai-levels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.app-cred { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--hair); }
.conn-modal { max-height: 70dvh; overflow-y: auto; }
#modal:has(.conn-modal) { width: min(1100px, 96vw); }
@media (max-width: 760px) { .ai-levels { grid-template-columns: 1fr; } }

/* Ekip paketi, eleman sayısı, süre */
.team-plan { display: flex; flex-direction: column; gap: 8px; }
.admin-cost { grid-column: 1 / -1; font-size: 11px; color: var(--warn); }
.task-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.crew { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.stepper { display: flex; align-items: center; gap: 8px; }
.stepper button { width: 30px; height: 30px; border-radius: 9px; border: 1px solid var(--hair); background: var(--fill); color: var(--ink); font-size: 16px; font-weight: 700; }
.stepper button:disabled { opacity: .35; }
/* İçerik Yönetimi girişi */
.content-hub { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 14px; align-items: start; }
.hub-side { display: flex; flex-direction: column; gap: 14px; }
@media (max-width: 1100px) { .content-hub { grid-template-columns: 1fr; } }
/* 2D ofis: odalar daha büyük, kat planı gizli */
.world.flat .iso { width: 640px; height: 600px; margin: -300px 0 0 -320px; }
.world.flat .agent { top: 58%; }

/* İşbirliği: doğrulanmış veri, iletişim ve profil detayı */
.verify-line { margin: 2px 0 4px; }
.vbadge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border-radius: 999px; font-size: 11px; font-weight: 700; color: var(--ink-2); background: var(--fill); box-shadow: inset 0 0 0 1px var(--hair); }
.vbadge.ok { color: #0d2a1c; background: var(--good); box-shadow: none; }
.vbadge.part { color: var(--warn); box-shadow: inset 0 0 0 1px rgba(255, 209, 102, .45); }
.social-chip.verified { box-shadow: inset 0 0 0 1px rgba(110, 231, 168, .55); }
.ok-text { color: var(--good); }
.bad-text { color: var(--bad); }
.contact-row { display: flex; flex-wrap: wrap; gap: 5px; margin: 4px 0; }
.contact-chip { display: inline-flex; align-items: center; padding: 4px 10px; border: 0; border-radius: 999px; font-size: 11.5px; font-weight: 650; color: var(--ink); text-decoration: none; background: rgba(251, 164, 114, .2); box-shadow: inset 0 0 0 1px rgba(252, 189, 153, .35); }
.contact-chip:hover { background: rgba(251, 164, 114, .32); }
.party-h { margin-top: 14px; font-size: 12px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; }
.party-detail { display: flex; flex-direction: column; gap: 6px; }
.verify-box { display: flex; flex-direction: column; gap: 6px; padding: 10px 12px; border-radius: 14px; background: var(--fill); }
.verify-box .vbadge { align-self: flex-start; }
.verify-row { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 12.5px; color: var(--ink-2); }
.verify-row b { min-width: 76px; color: var(--ink); }
.verify-row.ok span { color: var(--good); }
.verify-row.err span { color: var(--bad); }
.metric-card { padding: 10px 12px; border-radius: 14px; background: rgba(0, 0, 0, .18); box-shadow: inset 0 0 0 1px var(--hair); }
.metric-card-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; }
.metric-card .trend { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 4px 10px; margin-top: 4px; }
.metric-card .trend .spark { height: 26px; }
.analysis { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 5px; font-size: 13px; }
.analysis li.good::marker { color: var(--good); }
.analysis li.warn::marker { color: var(--warn); }
.analysis li.bad { color: var(--bad); }
.verify-own .grow { display: flex; flex-direction: column; }

/* Profil kartında tüm veriler: platform etkileşimi ve iş geçmişi */
.card-data { display: flex; flex-direction: column; gap: 8px; }
.cd-block { padding: 9px 10px; border-radius: 12px; background: rgb(var(--fg) / .04); box-shadow: inset 0 0 0 1px var(--hair); display: flex; flex-direction: column; gap: 6px; }
.cd-h { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; flex-wrap: wrap; font-size: 12.5px; }
.cd-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 6px 8px; }
.cd-grid div { min-width: 0; }
.cd-grid b { display: block; font-size: 14px; line-height: 1.2; }
.cd-grid span { display: block; font-size: 10.5px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cd-trend { display: flex; align-items: center; gap: 8px; }
.cd-trend svg { flex: 1; height: 26px; }

/* ---------- Yönetim: lisanslar ve motorlar ---------- */
.ctl-code { box-shadow: inset 0 0 0 1px rgba(111, 224, 166, .35); }
.ctl-code-big { font: 700 clamp(20px, 4vw, 30px)/1.2 ui-monospace, "Cascadia Mono", Menlo, monospace; letter-spacing: .08em; padding: 14px; margin: 6px 0 12px; border-radius: 14px; text-align: center; background: rgb(var(--sf) / .6); user-select: all; overflow-wrap: anywhere; }
.ctl-lic { display: flex; flex-direction: column; gap: 10px; margin-bottom: 10px; }
.ctl-row-head { display: flex; gap: 12px; align-items: flex-start; flex-wrap: wrap; }
.ctl-row-head .grow { flex: 1 1 260px; min-width: 0; }
.ctl-devices { display: flex; flex-wrap: wrap; gap: 6px; }
.ctl-device { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 5px 30px 5px 10px; border-radius: 10px; background: var(--fill); font-size: 12.5px; }
.ctl-device .ref-del { top: 50%; transform: translateY(-50%); right: 4px; }
.ctl-form { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; align-items: end; }
.ctl-table-wrap { overflow-x: auto; }
.ctl-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.ctl-table th, .ctl-table td { text-align: left; vertical-align: top; padding: 10px 8px; border-top: 1px solid var(--hair); }
.ctl-table thead th { border-top: 0; color: var(--muted, #c7b1a5); font-weight: 600; }
.ctl-route { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.ctl-route select, .ctl-route input { min-width: 0; flex: 1 1 140px; }
.ctl-route .small-text { flex-basis: 100%; }
.ctl-switch { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; }
.ai-video { width: 100%; display: block; border-radius: 12px; background: #000; }
a.btn-link { display: inline-flex; align-items: center; text-decoration: none; }

.ctl-cred { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 10px 0; }
.ctl-cred > div { display: grid; gap: 2px; padding: 10px 12px; border: 1px dashed var(--line, #ddd); border-radius: 10px; }
.ctl-cred b { font-family: ui-monospace, Consolas, monospace; font-size: 15px; word-break: break-all; }
.ctl-staff { margin-top: 10px; }
.ctl-staff summary { cursor: pointer; font-weight: 600; }
.ctl-staff-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px; margin: 8px 0; }

/* =====================================================================
   Tema: varsayılan koyu mor; kullanıcı açık temaya geçebilir.
   html[data-theme="light"] app.js tarafından konur, seçim tarayıcıda saklanır.
   ===================================================================== */
:root { --fg: 255 255 255; --sf: 14 12 32; --sf2: 42 44 56; --inv: #140f0c; --inv-2: #4b433f; --input: rgba(0, 0, 0, .22); --menu: #301f17; }
:root[data-theme='light'] {
  color-scheme: light;
  --fg: 28 20 72;
  --sf: 255 255 255;
  --sf2: 236 232 250;
  --inv: #ffffff;
  --inv-2: rgba(255, 255, 255, .78);
  --bg: #fbf6f2;
  --bg-2: #ffffff;
  --ink: #372015;
  --ink-2: rgba(55, 32, 21, .72);
  --ink-3: rgba(55, 32, 21, .52);
  --hair: rgba(196, 112, 63, .16);
  --fill: rgba(196, 112, 63, .06);
  --fill-2: rgba(196, 112, 63, .12);
  --accent-text: #b5501c;
  --good: #11935c;
  --warn: #a86b00;
  --bad: #d23a52;
  --card: linear-gradient(180deg, #ffffff, #fefcfb);
  --card-hover: linear-gradient(180deg, #ffffff, #fcf7f3);
  --glow: 0 0 0 1px rgba(251, 153, 96, .35), 0 10px 30px -12px rgba(251, 153, 96, .35);
  --input: #ffffff;
  --menu: #ffffff;
}
:root[data-theme='light'] .backdrop {
  background:
    radial-gradient(45vw 40vw at 100% 0%, rgba(251, 153, 96, .12), transparent 70%),
    radial-gradient(40vw 40vw at 0% 100%, rgba(240, 130, 66, .08), transparent 70%),
    var(--bg);
}
:root[data-theme='light'] option { background: var(--menu); color: var(--ink); }
:root[data-theme='light'] :focus-visible { outline-color: var(--accent); }
:root[data-theme='light'] .field input, :root[data-theme='light'] .field textarea, :root[data-theme='light'] .field select,
:root[data-theme='light'] .top-search input, :root[data-theme='light'] .filter-bar input, :root[data-theme='light'] .filter-bar select { background: var(--input); color: var(--ink); }
:root[data-theme='light'] .glass, :root[data-theme='light'] .panel, :root[data-theme='light'] .tile, :root[data-theme='light'] .post-card,
:root[data-theme='light'] .media, :root[data-theme='light'] .swipe-card, :root[data-theme='light'] .hero, :root[data-theme='light'] .service {
  box-shadow: 0 1px 2px rgba(55, 32, 21, .06), 0 12px 32px -18px rgba(55, 32, 21, .25), inset 0 0 0 1px var(--hair);
}
.theme-btn svg { width: 18px; height: 18px; }
/* Açık temada karşılama şeridi mor kalır, yazısı beyaz olur. */
:root[data-theme='light'] .hero-hello { background: linear-gradient(110deg, #6b3a1e, #b8622e 55%, #e0a070); color: #fff; border-color: transparent; }
:root[data-theme='light'] .hero-hello p, :root[data-theme='light'] .hero-hello .small-text { color: rgba(255, 255, 255, .82); }
:root[data-theme='light'] .hero-hello .ghost, :root[data-theme='light'] .hero-hello button:not(.primary) { color: #fff; background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }
:root[data-theme='light'] .page-head { background: linear-gradient(110deg, #6b3a1e, #b8622e 55%, #e0a070); color: #fff; border-color: transparent; }
:root[data-theme='light'] .page-head p, :root[data-theme='light'] .page-head .small-text { color: rgba(255, 255, 255, .82); }
:root[data-theme='light'] .page-head .ghost { color: #fff; background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }

/* =====================================================================
   Tasarım sistemi v2 (17 Kasım 2026, kullanıcının referans ekranları):
   neredeyse siyah zemin, düz koyu kartlar, ince kenar, büyük sade başlık,
   halka vurgulu sekmeler, sol çizgili menü, dolgulu grafikli gösterge kartı.
   Önceki kurallar korunur; bu blok yalnız üstüne yazar.
   ===================================================================== */
:root {
  --bg: #100c0a;
  --bg-2: #181310;
  --sf: 18 18 28;
  --sf2: 30 30 44;
  --surface: #1d1613;
  --surface-2: #261d19;
  --hair: rgba(255, 255, 255, .07);
  --hair-2: rgba(255, 255, 255, .12);
  --fill: rgba(255, 255, 255, .045);
  --fill-2: rgba(255, 255, 255, .08);
  --ink: #faf6f2;
  --ink-2: rgba(245, 237, 230, .66);
  --ink-3: rgba(240, 228, 218, .45);
  --accent: #f2783c;
  --accent-2: #d9582a;
  --accent-text: #ffb98a;
  --grad: linear-gradient(135deg, #ffb07a 0%, #f08a4b 55%, #c9521f 100%);
  --grad-hot: linear-gradient(135deg, #ffc08f, #f2783c 60%, #d9582a);
  --card: linear-gradient(180deg, rgba(255, 255, 255, .028), rgba(255, 255, 255, .008)), var(--surface);
  --card-hover: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .012)), var(--surface);
  --r-xl: 22px;
  --r-lg: 20px;
  --r-md: 14px;
  --sans: 'Manrope', 'Inter', -apple-system, 'Segoe UI', system-ui, sans-serif;
  --num: 'Inter', 'Manrope', system-ui, sans-serif;
  --input: rgba(255, 255, 255, .04);
}
:root[data-theme='light'] {
  --bg: #f8f5f2;
  --bg-2: #ffffff;
  --surface: #ffffff;
  --surface-2: #fcf8f4;
  --hair: rgba(73, 43, 28, .09);
  --hair-2: rgba(73, 43, 28, .16);
  --fill: rgba(73, 43, 28, .045);
  --fill-2: rgba(73, 43, 28, .08);
  --ink: #372015;
  --ink-2: rgba(55, 32, 21, .7);
  --ink-3: rgba(55, 32, 21, .5);
  --accent-text: #b5501c;
  --card: var(--surface);
  --card-hover: var(--surface-2);
  --input: #ffffff;
}
body { background: var(--bg); font-family: var(--sans); }
.backdrop { background: radial-gradient(60vw 40vw at 100% -10%, rgba(242, 120, 60, .10), transparent 70%), var(--bg); }
:root[data-theme='light'] .backdrop { background: radial-gradient(60vw 40vw at 100% -10%, rgba(242, 120, 60, .08), transparent 70%), var(--bg); }

/* Kartlar: düz yüzey, ince kenar, yumuşak gölge. Cam ışıltısı kaldırıldı. */
.glass, .panel, .tile, .post-card, .media, .swipe-card, .hero, .service {
  background: var(--card); border: 1px solid var(--hair); border-radius: var(--r-lg);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .03) inset, 0 20px 40px -28px rgba(0, 0, 0, .9);
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
.glass::before, .panel::before, .tile::before, .post-card::before, .media::before, .swipe-card::before, .hero::before, .service::before { display: none; }
.panel::after, .tile::after, .hero::after, .service::after, .swipe-card::after { display: none; }
:root[data-theme='light'] .glass, :root[data-theme='light'] .panel, :root[data-theme='light'] .tile, :root[data-theme='light'] .post-card,
:root[data-theme='light'] .media, :root[data-theme='light'] .swipe-card, :root[data-theme='light'] .hero, :root[data-theme='light'] .service {
  box-shadow: 0 1px 2px rgba(54, 31, 20, .05), 0 12px 30px -20px rgba(54, 31, 20, .22);
}
.panel { padding: 20px; }
.panel h2, .panel-head h2 { font-size: 16px; font-weight: 700; letter-spacing: -.01em; }
.panel-head { margin-bottom: 14px; }
button.tile:hover, .service:hover { background: var(--card-hover); }

/* Düğmeler: mor geçişli ana düğme, koyu hap ikincil düğme */
.primary { background: var(--grad); color: #fff; border-radius: 999px; box-shadow: 0 10px 26px -10px rgba(242, 120, 60, .9), inset 0 1px 0 rgba(255, 255, 255, .25); font-weight: 700; }
.primary:hover { filter: brightness(1.08); }
.ghost, .pill { border-radius: 999px; background: var(--fill); box-shadow: inset 0 0 0 1px var(--hair-2); color: var(--ink); font-weight: 650; }
.ghost:hover, .pill:hover { background: var(--fill-2); }
.icon-btn { border-radius: 50%; background: var(--fill); box-shadow: inset 0 0 0 1px var(--hair); }
.icon-btn:hover { background: var(--fill-2); }

/* Sekmeler: koyu hap kap, seçili sekme mor halkalı */
.module-tabs { padding: 5px; gap: 2px; border-radius: 999px; background: var(--surface); border: 1px solid var(--hair); }
.module-tabs button { padding: 8px 18px; border-radius: 999px; font-size: 13px; }
.module-tabs button[aria-current='page'] { color: var(--ink); background: rgba(242, 120, 60, .14); box-shadow: inset 0 0 0 1.5px #f2783c, 0 0 18px -6px rgba(242, 120, 60, .8); }
.tab[aria-pressed='true'], .sub-item[aria-selected='true'] { color: var(--ink); background: rgba(242, 120, 60, .14); box-shadow: inset 0 0 0 1.5px #f2783c; }
.tab, .sub-item { border-radius: 999px; }
.module-tabs .count, .tab .count { background: rgba(242, 120, 60, .25); color: var(--accent-text); }

/* Rozetler: yumuşak renkli hap */
.tag { padding: 3px 10px; font-size: 11.5px; font-weight: 700; border-radius: 999px; background: var(--fill); }
.tag.published, .tag.replied { color: #34d399; background: rgba(52, 211, 153, .12); }
.tag.pending_approval, .tag.open, .tag.awaiting_connection { color: #fbbf24; background: rgba(251, 191, 36, .12); }
.tag.escalated, .tag.rejected { color: #fb7185; background: rgba(251, 113, 133, .12); }
.tag.scheduled { color: var(--accent-text); background: rgba(242, 120, 60, .14); }
:root[data-theme='light'] .tag.published, :root[data-theme='light'] .tag.replied { color: #0f8a5f; }
:root[data-theme='light'] .tag.open, :root[data-theme='light'] .tag.pending_approval, :root[data-theme='light'] .tag.awaiting_connection { color: #9a6700; }
:root[data-theme='light'] .tag.rejected, :root[data-theme='light'] .tag.escalated { color: #c42a4a; }

/* Alanlar */
input:not([type='checkbox']):not([type='radio']):not([type='range']), select, textarea { background-color: var(--input); border: 1px solid var(--hair-2); border-radius: 12px; }
input:focus-visible, select:focus-visible, textarea:focus-visible { border-color: #f2783c; box-shadow: 0 0 0 3px rgba(242, 120, 60, .22); }

/* Kenar menü: düz koyu yüzey, seçili öğede sol mor çizgi */
.sidebar { border-radius: 20px; border: 1px solid var(--hair); background: var(--bg-2); box-shadow: none; padding: 18px 14px 14px; }
.side-top { padding: 0 6px 14px; border-bottom: 1px solid var(--hair); margin-bottom: 8px; }
.sidebar .nav-item { height: 44px; border-radius: 12px; font-size: 14px; position: relative; overflow: visible; }
.sidebar .nav-item[aria-current='page'] { color: var(--ink); background: rgba(242, 120, 60, .13); box-shadow: none; }
.sidebar .nav-item[aria-current='page']::before { content: ''; position: absolute; left: -14px; top: 9px; bottom: 9px; width: 3px; border-radius: 0 3px 3px 0; background: var(--grad-hot); box-shadow: 0 0 12px rgba(242, 120, 60, .9); }
.sidebar .nav-item[aria-current='page'] svg { color: var(--accent-text); }
.side-mini .sidebar .nav-item[aria-current='page']::before { left: -8px; }
.nav-sub[aria-current='page'] { color: var(--ink); background: rgba(242, 120, 60, .1); }
.side-upgrade { background: linear-gradient(135deg, rgba(242, 120, 60, .22), rgba(217, 88, 42, .06)); }

/* Üst çubuk: sade, iç zeminle bütün */
.topbar { background: transparent; border: 0; border-radius: 0; padding: 2px 2px 10px; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.top-search input { width: min(440px, 40vw); border-radius: 999px; background-color: var(--surface); border: 1px solid var(--hair-2); }

/* Sayfa başlığı: büyük sade başlık, açıklama, sağda eylemler. Küre ve şerit kaldırıldı. */
.page-head { background: none !important; border: 0; padding: 4px 2px 6px; min-height: 0; margin: 0 0 18px; border-radius: 0; overflow: visible; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--ink) !important; box-shadow: none; }
.page-head::before, .page-head::after { display: none; }
.page-head h1 { font-size: clamp(26px, 2.6vw, 34px); font-weight: 800; letter-spacing: -.03em; }
.page-head p { color: var(--ink-2) !important; margin-top: 6px; max-width: 760px; font-size: 14.5px; }
.page-head.compact { padding: 4px 2px 6px; min-height: 0; }
.page-head .ghost { color: var(--ink) !important; background: var(--fill) !important; box-shadow: inset 0 0 0 1px var(--hair-2) !important; }

/* Karşılama kartı: mor vurgu kartı (iki temada aynı) */
.hero-hello { background: radial-gradient(120% 140% at 100% 0%, rgba(255, 176, 120, .35), transparent 55%), linear-gradient(135deg, #3a2317, #7a4428 55%, #d9582a) !important; color: #fff !important; border: 0 !important; border-radius: var(--r-xl); box-shadow: 0 24px 50px -24px rgba(217, 88, 42, .8); }
.hero-hello h1 { color: #fff; }
.hero-hello p, .hero-hello .small-text { color: rgba(255, 255, 255, .8) !important; }
.hero-hello .ghost { color: #fff !important; background: rgba(255, 255, 255, .14) !important; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25) !important; }

/* Gösterge kartı: büyük harfli etiket, sağ üstte simge, büyük sayı, rozet, altta dolgulu grafik */
.ov-kpis { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; }
.tile.kpi { padding: 18px 18px 0; min-height: 172px; display: flex; flex-direction: column; overflow: hidden; }
.tile.kpi .label { font-size: 11.5px; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-2); padding-right: 46px; }
.kpi-icon { left: auto; right: 14px; top: 14px; width: 40px; height: 40px; border-radius: 50%; background: var(--fill-2); box-shadow: inset 0 0 0 1px var(--hair-2); }
.kpi-icon svg { width: 19px; height: 19px; color: var(--ink); }
.tile.kpi.hot { background: radial-gradient(120% 120% at 100% 0%, rgba(255, 176, 120, .45), transparent 60%), linear-gradient(140deg, #4a2a1a, #8a4a26 60%, #c0652f); border: 0; color: #fff; }
.tile.kpi.hot .label, .tile.kpi.hot .sub { color: rgba(255, 255, 255, .8); }
.tile.kpi.hot .kpi-icon { background: rgba(255, 255, 255, .2); box-shadow: none; }
.tile.kpi.hot .kpi-icon svg { color: #fff; }
.tile.kpi .kpi-row { margin-top: 10px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.tile.kpi .value { font: 800 30px/1.05 var(--num); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.kpi-change { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 750; padding: 3px 9px; border-radius: 999px; }
.kpi-change.up { color: #34d399; background: rgba(52, 211, 153, .13); }
.kpi-change.down { color: #fb7185; background: rgba(251, 113, 133, .13); }
.tile.kpi.hot .kpi-change { color: #fff; background: rgba(255, 255, 255, .18); }
.tile.kpi .sub { font-size: 12px; color: var(--ink-3); margin-top: 6px; padding-bottom: 14px; }
.tile.kpi .spark-area { display: block; width: calc(100% + 36px); height: 54px; margin: auto -18px 0; }
.spark-area .line { fill: none; stroke: #ffa66b; stroke-width: 2; vector-effect: non-scaling-stroke; }
.tile.kpi.hot .spark-area .line { stroke: #fff; }
.kpi-empty { font-size: 15px; font-weight: 650; color: var(--ink-3); }

/* Bağlantı kartı: uygulama simgesi, açıklama, ayırıcı, durum noktası ve eylem */
.conn-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.conn-card { display: flex; flex-direction: column; padding: 20px; }
.conn-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 18px; }
.app-tile { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; font: 800 17px/1 var(--num); color: #fff; background: var(--c, #d9582a); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 10px 24px -12px var(--c, #d9582a); }
.conn-card h3 { font-size: 17px; font-weight: 750; margin: 0 0 6px; }
.conn-card .conn-does { color: var(--ink-2); font-size: 13.5px; line-height: 1.45; }
.conn-card .eco-note, .conn-card .conn-err { margin-top: 8px; display: block; }
.conn-body { margin-bottom: 16px; }
.conn-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--hair); }
.conn-state { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 650; color: var(--ink-2); }
.conn-state i { width: 8px; height: 8px; border-radius: 50%; background: #7f736c; }
.conn-state.on i { background: #34d399; box-shadow: 0 0 0 4px rgba(52, 211, 153, .15); }
.conn-state.warn i { background: #fbbf24; box-shadow: 0 0 0 4px rgba(251, 191, 36, .15); }
.conn-state.err i { background: #fb7185; }
.conn-foot .btn-row { margin: 0; gap: 6px; }

/* Ayarlar merkezi: simgeli büyük kartlar */
.set-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.set-card { display: flex; gap: 14px; align-items: flex-start; padding: 22px; text-align: left; color: inherit; cursor: pointer; font: inherit; }
.set-card:hover { background: var(--card-hover); border-color: rgba(242, 120, 60, .45); }
.set-card .set-ico { flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: rgba(242, 120, 60, .14); color: var(--accent-text); }
.set-card .set-ico svg { width: 21px; height: 21px; }
.set-card b { display: block; font-size: 17px; font-weight: 750; letter-spacing: -.01em; margin-bottom: 4px; }
.set-card .set-desc { color: var(--ink-2); font-size: 13.5px; line-height: 1.45; }
.set-section { font-size: 12px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin: 26px 2px 12px; }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--fill); box-shadow: inset 0 0 0 1px var(--hair); margin-top: 10px; }
.seg button { border: 0; background: none; color: var(--ink-2); padding: 6px 14px; border-radius: 999px; font-weight: 700; font-size: 12.5px; }
.seg button[aria-pressed='true'] { background: var(--grad); color: #fff; }

/* Pencereler */
dialog { background: var(--surface) !important; border: 1px solid var(--hair-2); border-radius: 22px; }
dialog.glass { box-shadow: 0 40px 90px -20px rgba(0, 0, 0, .8); }
dialog::backdrop { background: rgba(10, 7, 5, .6); }
.modal-simple { padding: 26px; gap: 14px; }

/* ---------- Genel Bakış: canlı 3D ofis + 5 gösterge + Bugünün 3 işi ---------- */
.ov-live { position: relative; border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--hair); background: #16100d; margin-bottom: 16px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9); }
.ov-live .ofc-map, .ov-live .ov-live-3d { height: clamp(320px, 46vh, 520px); min-height: 0; border-radius: 0; box-shadow: none; }
.ov-live .ofc-map.compact { height: clamp(320px, 46vh, 520px); }
.ov-live-hello { position: absolute; right: 18px; top: 18px; max-width: 340px; padding: 16px 18px; border-radius: 18px; color: #fff;
  background: linear-gradient(135deg, rgba(155, 77, 32, .78), rgba(217, 88, 42, .55)); border: 1px solid rgba(255, 255, 255, .16);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 20px 40px -20px rgba(120, 60, 20, .9); pointer-events: none; }
.ov-live-hello h1 { font-size: clamp(18px, 1.6vw, 22px); font-weight: 800; letter-spacing: -.02em; color: #fff; }
.ov-live-hello p { margin-top: 4px; font-size: 13px; color: rgba(255, 255, 255, .82); }
.ov-live-actions { position: absolute; left: 16px; bottom: 16px; display: flex; gap: 8px; flex-wrap: wrap; }
.ov-live-actions .ghost { color: #fff; background: rgba(22, 15, 12, .6); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); display: inline-flex; align-items: center; gap: 6px; }
.ov-live-actions .ghost svg { width: 15px; height: 15px; }
.ov-kpis.five { grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0 0 16px; }
@media (max-width: 1280px) { .ov-kpis.five { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) { .ov-kpis.five { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ov-live-hello { left: 12px; right: 12px; max-width: none; } }
.ov-row3 { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin-bottom: 16px; align-items: start; }
@media (max-width: 1100px) { .ov-row3 { grid-template-columns: 1fr; } }
.today-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.today-item { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; background: var(--fill); border: 1px solid var(--hair); }
.today-item .grow { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.today-item b { font-size: 14px; }
.today-n { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font: 800 13px/1 var(--num); color: #fff; background: var(--grad); box-shadow: 0 6px 16px -6px rgba(242, 120, 60, .9); }
.today-acts { display: flex; gap: 6px; flex: none; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 720px) { .today-item { flex-wrap: wrap; } .today-acts { width: 100%; justify-content: flex-start; } }

/* ---------- Plan: kat planı + departman başına eleman ---------- */
.plan-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 16px; align-items: start; }
@media (max-width: 1100px) { .plan-grid { grid-template-columns: 1fr; } }
.plan-map { position: sticky; top: 0; }
.plan-map .ofc-map.compact { height: clamp(320px, 56vh, 620px); border-radius: 16px; }
.plan-depts { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.plan-dept h2 { display: flex; align-items: center; gap: 8px; }
.plan-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--dc); box-shadow: 0 0 10px var(--dc); }
.plan-role { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--hair); }
.plan-role .grow { display: flex; flex-direction: column; min-width: 0; }
.plan-role .small-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.plan-role.locked { opacity: .55; }
.plan-n { min-width: 28px; text-align: center; }

/* =====================================================================
   Sade dil (17 Kasım 2026, kullanıcının "Overview" referansı):
   büyük sayılı düz kartlar, yuvarlak simge, renkli menü simgeleri,
   öncelik halkaları, mor asistan kartı.
   ===================================================================== */

/* Kenar menü: her bölümün simgesi kendi renginde yuvarlatılmış kare */
.sidebar .nav-item svg { flex: none; width: 32px; height: 32px; padding: 7px; border-radius: 10px; color: #fff; background: var(--ic, linear-gradient(135deg, #f2783c, #d9582a)); box-shadow: 0 6px 14px -6px var(--ic-glow, rgba(242, 120, 60, .8)); }
.sidebar .nav-item[aria-current='page'] svg { color: #fff; }
.sidebar .nav-item[data-view='overview'] { --ic: linear-gradient(135deg, #ffb07a, #d9582a); --ic-glow: rgba(242, 120, 60, .8); }
.sidebar .nav-item[data-view='feed'] { --ic: linear-gradient(135deg, #f472b6, #cf512a); --ic-glow: rgba(235, 112, 74, .7); }
.sidebar .nav-item[data-view='approve'] { --ic: linear-gradient(135deg, #fb923c, #e11d48); --ic-glow: rgba(244, 63, 94, .7); }
.sidebar .nav-item[data-view='ads'] { --ic: linear-gradient(135deg, #a3e635, #16a34a); --ic-glow: rgba(34, 197, 94, .6); }
.sidebar .nav-item[data-view='seo'] { --ic: linear-gradient(135deg, #38bdf8, #2563eb); --ic-glow: rgba(37, 99, 235, .7); }
.sidebar .nav-item[data-view='crm'] { --ic: linear-gradient(135deg, #fde047, #f59e0b); --ic-glow: rgba(245, 158, 11, .6); }
.sidebar .nav-item[data-view='market'] { --ic: linear-gradient(135deg, #fb7185, #db2777); --ic-glow: rgba(219, 39, 119, .7); }
.sidebar .nav-item[data-view='assistant'] { --ic: linear-gradient(135deg, #ffb07a, #c9521f); --ic-glow: rgba(201, 82, 31, .7); }
.sidebar .nav-item[data-view='prefs'], .sidebar .nav-item[data-view='setup'] { --ic: linear-gradient(135deg, #b7a195, #685448); --ic-glow: rgba(104, 84, 72, .6); }
.sidebar .nav-item { gap: 12px; height: 48px; padding: 0 8px; }

/* Gösterge kartı: büyük sayı, normal yazılmış başlık, yuvarlak simge, grafiksiz */
.tile.kpi { min-height: 150px; padding: 20px 20px 18px; border-radius: 22px; }
.tile.kpi .label { text-transform: none; letter-spacing: -.005em; font-size: 16px; font-weight: 650; color: var(--ink); }
.tile.kpi .value { font-size: clamp(30px, 2.6vw, 40px); font-weight: 750; letter-spacing: -.03em; }
.tile.kpi .kpi-row { flex-direction: row; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.tile.kpi .sub { margin-top: auto; padding: 10px 0 0; font-size: 12.5px; color: var(--ink-2); }
.kpi-icon { width: 46px; height: 46px; right: 16px; top: 16px; background: var(--fill-2); box-shadow: inset 0 0 0 1px var(--hair-2), 0 8px 18px -10px rgba(0, 0, 0, .8); }
.tile.kpi.hot { background: radial-gradient(90% 90% at 30% 70%, rgba(255, 255, 255, .06), transparent 60%), radial-gradient(120% 120% at 100% 0%, rgba(255, 176, 120, .5), transparent 60%), linear-gradient(140deg, #7d3d18, #bc5e27 55%, #eb7f41); }
.tile.kpi.hot .label { color: #fff; }
.tile.kpi.hot .kpi-icon { width: 50px; height: 50px; background: linear-gradient(135deg, #fdc09e, #f2783c); box-shadow: 0 0 24px rgba(252, 183, 143, .8); }

/* Ortak kart başlığı ve yuvarlak simge */
.ov-card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.ov-card-head.between { justify-content: space-between; }
.ov-card-head h2 { font-size: 18px; font-weight: 650; }
.ico-round { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 0; color: var(--ink); background: var(--fill-2); box-shadow: inset 0 0 0 1px var(--hair-2), 0 8px 18px -10px rgba(0, 0, 0, .8); }
.ico-round svg { width: 20px; height: 20px; }
.ico-round.sm { width: 38px; height: 38px; box-shadow: inset 0 0 0 1.5px #f2783c, 0 0 16px -4px rgba(242, 120, 60, .8); color: var(--accent-text); }
button.ico-round { cursor: pointer; }
button.ico-round:hover { background: rgba(242, 120, 60, .2); }

/* Yerleşim: solda analiz + grafik + işler, sağda öncelikler + asistan */
.ov-board { display: grid; grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr); gap: 16px; align-items: start; }
.ov-left, .ov-right { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.ov-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 16px; }
@media (max-width: 1180px) { .ov-board { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .ov-pair { grid-template-columns: 1fr; } }

/* Analiz kartı */
.ov-analysis { display: flex; flex-direction: column; }
.legend { display: flex; gap: 18px; font-size: 13.5px; font-weight: 600; margin-bottom: 12px; }
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot.green { background: #a3e635; box-shadow: 0 0 8px #a3e635; }
.dot.pink { background: #f472b6; box-shadow: 0 0 8px #f472b6; }
.ov-insight { font-size: 15px; line-height: 1.6; color: var(--ink); margin-bottom: 18px; }
.primary.wide { width: 100%; margin-top: auto; padding: 14px 18px; font-size: 15px; }

/* Görüntülenme grafiği: sütunlar + kesikli ortalama çizgisi */
.ov-chart { display: flex; flex-direction: column; }
.ov-bars { position: relative; display: flex; align-items: flex-end; gap: 6px; height: 150px; padding: 0 2px; border-bottom: 1px solid var(--hair); }
.ov-bars i { flex: 1; border-radius: 8px 8px 3px 3px; background: linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .03)); min-width: 6px; }
:root[data-theme='light'] .ov-bars i { background: linear-gradient(180deg, rgba(217, 88, 42, .35), rgba(217, 88, 42, .08)); }
.ov-bars i:last-of-type { background: linear-gradient(180deg, #ffb07a, rgba(242, 120, 60, .25)); box-shadow: 0 0 18px -4px rgba(242, 120, 60, .9); }
.ov-bars .avg-line { position: absolute; left: 0; right: 0; bottom: var(--avg); border-top: 1.5px dashed #f2783c; pointer-events: none; }
.ov-bars.empty-bars { align-items: center; justify-content: center; }
.ov-chart-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; }
.ov-chart-foot div { display: flex; flex-direction: column; }
.ov-chart-foot .right { align-items: flex-end; }
.ov-chart-foot b { font: 750 22px/1.2 var(--num); letter-spacing: -.02em; }

/* İşler tablosu */
.ov-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.ov-tabs button { border: 0; background: none; color: var(--ink-2); padding: 9px 18px; border-radius: 999px; font-weight: 650; font-size: 13.5px; }
.ov-tabs button[aria-selected='true'] { color: var(--ink); background: rgba(242, 120, 60, .1); box-shadow: inset 0 0 0 1.5px #f2783c; }
.ov-tabs .n { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; font-size: 10.5px; background: rgba(242, 120, 60, .3); color: #fff; margin-left: 4px; }
.ov-grid-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.ov-grid-table th { text-align: left; font-weight: 600; color: var(--ink-2); padding: 10px 8px; }
.ov-grid-table td { padding: 12px 8px; border-top: 1px solid var(--hair); vertical-align: middle; }
.ov-grid-table .task-cell { color: var(--ink); max-width: 340px; }
.who { display: flex; align-items: center; gap: 10px; }
.who > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.who small { color: var(--ink-3); font-size: 11.5px; }
.ava { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; background: radial-gradient(circle at 30% 30%, color-mix(in srgb, var(--c) 70%, #fff), var(--c)); box-shadow: 0 0 0 2px var(--surface), 0 0 0 3px color-mix(in srgb, var(--c) 60%, transparent); }
@media (max-width: 760px) { .ov-grid-table th:nth-child(3), .ov-grid-table td:nth-child(3), .ov-grid-table th:nth-child(4), .ov-grid-table td:nth-child(4) { display: none; } }

/* Öncelikli işler: halka + başlık + açıklama + küçük eylemler */
.see-all { border: 0; background: none; color: var(--accent-text); font-weight: 700; font-size: 14px; }
.pri-list { list-style: none; margin: 0; padding: 0; }
.pri-item { padding: 14px 0; border-top: 1px solid var(--hair); }
.pri-item:first-child { border-top: 0; padding-top: 4px; }
.pri-top { display: flex; align-items: center; gap: 10px; }
.pri-top b { font-size: 15px; font-weight: 650; }
.pri-ring { flex: none; width: 24px; height: 24px; transform: rotate(-90deg); }
.pri-ring circle { fill: none; stroke-width: 3; }
.pri-ring .bg { stroke: var(--fill-2); }
.pri-ring .fg { stroke: #f2783c; stroke-linecap: round; filter: drop-shadow(0 0 3px rgba(242, 120, 60, .8)); }
.pri-item p { margin: 6px 0 0 34px; line-height: 1.45; }
.pri-acts { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0 0 34px; }
.pri-chip { display: inline-flex; align-items: center; gap: 6px; border: 0; padding: 6px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 650; color: var(--ink-2); background: var(--fill); box-shadow: inset 0 0 0 1px var(--hair-2); }
.pri-chip svg { width: 14px; height: 14px; }
.pri-chip.on { color: #fff; background: var(--grad); box-shadow: 0 6px 14px -6px rgba(242, 120, 60, .9); }
.pri-chip:hover { filter: brightness(1.1); }

/* Asistan kartı: mor degrade, dört hızlı iş, soru alanı */
.ov-assist { position: relative; overflow: hidden; padding: 24px 20px 20px; border-radius: 22px; text-align: center; color: #fff;
  background: radial-gradient(80% 50% at 50% 0%, rgba(253, 202, 172, .45), transparent 70%), linear-gradient(180deg, #d26f35, #9d4f22 60%, #5d2f14); box-shadow: 0 30px 60px -30px rgba(217, 88, 42, .9); }
.ov-assist .hi { font-size: 16px; color: rgba(255, 255, 255, .85); }
.ov-assist h2 { font-size: clamp(22px, 2vw, 28px); font-weight: 800; letter-spacing: -.02em; margin: 4px 0 18px; color: #fff; }
.assist-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.assist-grid button { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 18px; min-height: 108px; padding: 14px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 18px; color: #fff; text-align: left; font-weight: 700; font-size: 14px; background: rgba(255, 255, 255, .1); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.assist-grid button:hover { background: rgba(255, 255, 255, .17); }
.assist-grid svg { width: 36px; height: 36px; padding: 8px; border-radius: 50%; background: rgba(255, 255, 255, .14); }
.assist-ask { display: flex; align-items: center; gap: 8px; margin-top: 14px; padding: 5px 5px 5px 16px; border-radius: 999px; border: 1px solid rgba(242, 221, 203, .5); background: rgba(51, 30, 19, .45); }
.assist-ask input { flex: 1; min-width: 0; border: 0 !important; background: transparent !important; color: #fff; padding: 8px 0; box-shadow: none !important; }
.assist-ask input::placeholder { color: rgba(255, 255, 255, .6); }
.assist-ask .send { width: 42px; height: 42px; border-radius: 50%; border: 0; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #ffc08f, #f08a4b); box-shadow: 0 0 18px rgba(255, 176, 120, .8); }
.assist-ask .send svg { width: 18px; height: 18px; }
/* Düzen içerik alanının genişliğine göre değişir (sağda sohbet açıkken de sıkışmaz). */
.ov-wrap { container-type: inline-size; }
@container (max-width: 1080px) { .ov-board { grid-template-columns: 1fr; } }
@container (max-width: 720px) { .ov-pair { grid-template-columns: 1fr; } }
.ov-kpis.five { grid-template-columns: repeat(auto-fit, minmax(175px, 1fr)); }

/* Stüdyo: üretim ekranı, kartlar, düzenleyici, sürümler */
.st-create, .st-editor { display: flex; flex-direction: column; gap: 14px; }
.st-switch { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgb(var(--sf) / .6); box-shadow: inset 0 0 0 1px var(--hair); align-self: flex-start; }
.st-switch button { border: 0; background: none; color: var(--ink-2); padding: 7px 18px; border-radius: 999px; font-weight: 650; }
.st-switch button[aria-selected='true'] { background: #f2783c; color: #fff; }
.st-create textarea { min-height: 120px; font-size: 15px; line-height: 1.45; }
.st-ideas { display: flex; flex-wrap: wrap; gap: 6px; }
.st-chip { border: 0; padding: 6px 12px; border-radius: 999px; font-size: 12.5px; background: rgba(242, 120, 60, .12); color: var(--ink); box-shadow: inset 0 0 0 1px rgba(242, 120, 60, .3); text-align: left; }
.st-chip:hover { background: rgba(242, 120, 60, .22); }
.st-ratios { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.st-ratio, .st-pill { position: relative; cursor: pointer; }
.st-ratio input, .st-pill input { position: absolute; opacity: 0; pointer-events: none; }
.st-ratio { display: grid; justify-items: center; gap: 4px; width: 84px; padding: 10px 6px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--hair); font-size: 12px; color: var(--ink-2); }
.st-ratio i { display: block; height: 34px; max-width: 60px; border-radius: 4px; border: 2px solid currentColor; opacity: .7; }
.st-ratio b { color: var(--ink); font-size: 13px; }
.st-ratio:has(input:checked), .st-pill:has(input:checked) > span { color: var(--ink); background: rgba(242, 120, 60, .14); box-shadow: inset 0 0 0 1.5px #f2783c; }
.st-ratio:has(input:focus-visible), .st-pill:has(input:focus-visible) > span { outline: 2px solid #f2783c; outline-offset: 2px; }
.st-pill > span { display: inline-block; padding: 7px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--hair); font-size: 13px; color: var(--ink-2); }
.st-ratios.small .st-pill > span { padding: 5px 11px; font-size: 12.5px; }
.st-left { margin-left: auto; align-self: center; }

.st-card .canvas-wrap { overflow: hidden; }
.st-img { display: block; width: 100%; height: auto; }
.st-wait { display: grid; place-items: center; align-content: center; gap: 6px; width: 100%; max-height: 420px; padding: 16px; text-align: center; background: linear-gradient(120deg, rgba(242, 120, 60, .08), rgba(242, 120, 60, .18), rgba(242, 120, 60, .08)); background-size: 200% 100%; animation: st-shine 2.4s linear infinite; }
.st-spin { width: 26px; height: 26px; border-radius: 50%; border: 3px solid rgba(242, 120, 60, .3); border-top-color: #f2783c; animation: st-rot 0.9s linear infinite; }
.st-badge { position: absolute; top: 10px; left: 10px; padding: 4px 10px; border-radius: 999px; background: rgba(0, 0, 0, .65); color: #fff; font-size: 12px; font-weight: 650; }
.st-prompt { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@keyframes st-shine { to { background-position: -200% 0; } }
@keyframes st-rot { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .st-wait, .st-spin { animation: none; } }

.st-edit-row { display: flex; gap: 14px; align-items: flex-start; }
.st-thumb { width: 140px; border-radius: 12px; flex: none; object-fit: cover; }
.st-versions { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.st-ver { margin: 0; display: flex; flex-direction: column; gap: 6px; padding: 8px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--hair); }
.st-ver.on { box-shadow: inset 0 0 0 1.5px #f2783c; }
.st-ver img, .st-ver video { width: 100%; border-radius: 10px; display: block; }
.st-ver figcaption { display: flex; flex-direction: column; gap: 6px; }

dialog.wide:has(.st-editor) { width: min(1100px, calc(100vw - 24px)); }
.st-ed-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.st-ed-tools { min-width: 0; }
.st-ed-tools .switch-row { display: flex; align-items: center; gap: 8px; }
.st-ed-tools .switch-row input { width: auto; flex: none; }
.st-ed-stage { display: grid; place-items: center; min-height: 240px; padding: 12px; border-radius: 16px; background: repeating-conic-gradient(rgba(127, 127, 127, .12) 0 25%, transparent 0 50%) 0 0 / 18px 18px; }
.st-ed-stage canvas { max-width: 100%; max-height: 64vh; width: auto; height: auto; border-radius: 8px; box-shadow: 0 6px 24px rgba(0, 0, 0, .35); }
.st-ed-tools fieldset { display: flex; flex-direction: column; gap: 8px; }
.st-ed-tools input[type='range'] { width: 100%; accent-color: #f2783c; }
.st-ed-tools input[type='color'] { width: 100%; height: 36px; padding: 2px; border-radius: 10px; }

.compose-media { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--hair); }
.compose-media img, .compose-media video { width: 88px; height: 88px; object-fit: cover; border-radius: 10px; flex: none; }

@media (max-width: 900px) {
  .st-ed-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .st-edit-row { flex-direction: column; }
  .st-thumb { width: 100%; }
}

/* Mesajlar: üç sütun (görüşmeler, konuşma, profil kartı) ve ticari kartlar */
.msg3 { display: grid; grid-template-columns: minmax(240px, 300px) minmax(0, 1fr) minmax(230px, 280px); gap: 14px; align-items: stretch; container-type: inline-size; }
.msg-list, .msg-chat, .msg-profile { min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.msg-search { width: 100%; padding: 9px 14px; border: 0; border-radius: 999px; background: var(--input); box-shadow: inset 0 0 0 1px var(--hair); color: var(--ink); }
.msg-rows { display: flex; flex-direction: column; gap: 2px; max-height: 66dvh; overflow-y: auto; scrollbar-width: thin; }
.msg-row { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border: 0; border-radius: 14px; background: none; color: var(--ink); text-align: left; cursor: pointer; }
.msg-row:hover { background: var(--fill); }
.msg-row.current { background: rgba(242, 120, 60, .14); box-shadow: inset 0 0 0 1px rgba(242, 120, 60, .45); }
.msg-row .grow { display: flex; flex-direction: column; min-width: 0; }
.msg-row .grow .small-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.msg-side { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex: none; }
.msg-chat-h { display: flex; align-items: center; gap: 10px; }
.msg-chat-h .grow { display: flex; flex-direction: column; min-width: 0; }
.msg-tools { display: flex; flex-wrap: wrap; gap: 6px; padding-bottom: 8px; border-bottom: 1px solid var(--hair); }
.msg-log { flex: 1; min-height: 320px; max-height: 60dvh; padding-right: 4px; }
.msg-label { display: block; font-size: 10.5px; font-weight: 700; opacity: .7; margin-bottom: 2px; }
.msg-card { align-self: flex-start; width: min(460px, 94%); display: flex; flex-direction: column; gap: 7px; padding: 12px 14px; border-radius: 16px; background: rgb(var(--sf) / .7); box-shadow: inset 0 0 0 1px var(--hair), inset 3px 0 0 #f2783c; }
.msg-card.mine { align-self: flex-end; }
.msg-card.request { box-shadow: inset 0 0 0 1px var(--hair), inset 3px 0 0 #f59e0b; }
.msg-card.meeting { box-shadow: inset 0 0 0 1px var(--hair), inset 3px 0 0 #22c1a4; }
.msg-card-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.msg-card-t { font-size: 15px; }
.msg-card p { margin: 0; white-space: pre-line; }
.msg-card small { font-size: 10.5px; opacity: .7; }
.msg-card .btn-row { gap: 6px; }
.msg-items { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.msg-items th { text-align: left; font-weight: 650; color: var(--ink-2); padding: 4px 6px; border-bottom: 1px solid var(--hair); }
.msg-items td { padding: 5px 6px; border-bottom: 1px solid var(--hair); }
.msg-items td:nth-child(n+2), .msg-items th:nth-child(n+2) { text-align: right; white-space: nowrap; }
.msg-items.edit td:first-child { min-width: 180px; }
.msg-items.edit input { width: 100%; min-width: 60px; }
.msg-items.edit td:nth-child(2) input { width: 70px; }
.msg-totals { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; font-size: 12.5px; color: var(--ink-2); }
.msg-totals b { color: var(--ink); margin-left: 6px; }
.msg-totals .big { font-size: 14px; }
.msg-totals .big b { font-size: 16px; }
.msg-chosen { font-weight: 700; font-size: 14px; padding: 8px 10px; border-radius: 10px; background: rgba(34, 193, 164, .14); }
.msg-slots { margin: 0; padding-left: 18px; font-size: 13px; }
.msg-stars .star { border: 0; background: none; color: #f5b301; font-size: 18px; padding: 0 1px; cursor: pointer; }
.msg-profile { align-items: stretch; }
.msg-pc-top { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.msg-pc-top .tag-row { justify-content: center; }
.msg-bio { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; margin: 0; }
.msg-pc-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.msg-pc-stats div { display: flex; flex-direction: column; padding: 8px 10px; border-radius: 12px; background: var(--fill); }
.msg-pc-stats b { font-size: 16px; }
.msg-pc-stats span { font-size: 11.5px; color: var(--ink-2); }
.msg-offer-form .sx-table-wrap { overflow-x: auto; }

@media (max-width: 1200px) {
  .msg3 { grid-template-columns: minmax(220px, 280px) minmax(0, 1fr); }
  .msg-profile { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .msg3 { grid-template-columns: 1fr; }
  .msg-rows { max-height: 34dvh; }
}

/* Ayarlar → Bildirimler ve Günlük özet kartı */
.nt-form { gap: 14px; }
.nt-sec { display: flex; flex-direction: column; gap: 10px; }
.nt-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.nt-h h2 { margin: 0; }
.nt-h .switch-row { gap: 10px; }
.nt-ch, .nt-types { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.nt-ch .switch-row .small-text { margin-left: 4px; }
.nt-fixed { opacity: .75; }
.nt-push { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px; border-radius: 14px; background: var(--fill); }
.nt-push .grow { display: flex; flex-direction: column; gap: 3px; min-width: 220px; }
.nt-save { padding: 10px 14px; border: 1px solid var(--hair); border-radius: 16px; background: var(--fill); }
.nt-log .row-item { flex-wrap: wrap; }
.nt-today { margin-bottom: 14px; box-shadow: inset 0 0 0 1px rgba(242, 120, 60, .35); }
.nt-lines { margin: 4px 0 6px; padding-left: 18px; display: flex; flex-direction: column; gap: 4px; }

/* İşletmeni tanıyalım sihirbazı */
.onb-wrap { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 16px; background: rgba(17, 10, 7, .62); backdrop-filter: blur(6px); overflow-y: auto; }
body.onb-open { overflow: hidden; }
.onb { width: min(760px, 100%); max-height: calc(100dvh - 32px); overflow-y: auto; display: flex; flex-direction: column; gap: 14px; padding: 22px; border-radius: 24px; background: rgb(var(--sf)); box-shadow: 0 30px 80px rgba(0, 0, 0, .45), inset 0 0 0 1px var(--hair); color: var(--ink); }
.onb-head { display: flex; align-items: flex-start; gap: 12px; }
.onb-head h1 { margin: 2px 0 4px; font-size: 26px; }
.onb-head p { margin: 0; }
.onb-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.onb-steps button { width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 8px 10px; border: 0; border-radius: 12px; background: var(--fill); color: var(--ink-2); font-size: 12px; font-weight: 650; text-align: left; cursor: pointer; }
.onb-steps span { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(242, 120, 60, .18); color: var(--ink); font-size: 11.5px; }
.onb-steps .now button { background: rgba(242, 120, 60, .16); color: var(--ink); box-shadow: inset 0 0 0 1.5px #f2783c; }
.onb-steps .past span { background: #f2783c; color: #fff; }
.onb-steps .skip span { background: rgba(175, 163, 156, .3); color: var(--ink-2); }
.onb-body { gap: 12px; }
.onb-foot { position: sticky; bottom: -22px; margin: 4px -22px -22px; padding: 12px 22px; background: rgb(var(--sf)); border-top: 1px solid var(--hair); }
.onb-skipall { align-self: center; font-size: 12.5px; opacity: .75; }
.ob-chip { position: relative; cursor: pointer; }
.ob-chip input { position: absolute; opacity: 0; pointer-events: none; }
.ob-chip span { display: inline-block; padding: 7px 13px; border-radius: 999px; font-size: 13px; box-shadow: inset 0 0 0 1px var(--hair); color: var(--ink-2); }
.ob-chip input:checked + span { color: var(--ink); background: rgba(242, 120, 60, .16); box-shadow: inset 0 0 0 1.5px #f2783c; }
.ob-chip input:focus-visible + span { outline: 2px solid #f2783c; outline-offset: 2px; }
.ob-logo { display: block; }
.ob-logo .logo-preview { max-height: 70px; margin-bottom: 6px; }
.ob-socials { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.ob-social { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 12px; border-radius: 14px; background: var(--fill); box-shadow: inset 0 0 0 1px var(--hair); }
.ob-social.on { box-shadow: inset 0 0 0 1.5px #22c55e; }
.onb-card { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; box-shadow: inset 0 0 0 1px rgba(242, 120, 60, .45); }
.onb-card .grow { min-width: 220px; }
.onb-card .sx-progress { flex: 1 1 160px; }
@media (max-width: 640px) {
  .onb { padding: 16px; border-radius: 18px; }
  .onb-steps { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .onb-steps button { font-size: 0; padding: 6px; align-items: center; }
  .onb-steps button span { font-size: 11.5px; }
  .onb-foot { bottom: -16px; margin: 4px -16px -16px; padding: 10px 16px; }
}
.onb-head .grow, .onb-foot .grow { flex: 1 1 auto; min-width: 0; }

/* Kredi */
.credit-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin-bottom: 14px; }
.credit-stats .panel { display: grid; gap: 4px; margin: 0; }
.credit-stats b { font-size: 26px; }
.credit-table td .small-text { display: block; }
.credit-table td.pos { color: var(--ok, #3fbf7f); }
.credit-table td.neg { color: var(--bad, #e0566b); }

/* Paket yönetimi */
.pk-card > summary { cursor: pointer; display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; }
.pk-card form { margin-top: 12px; }
.pk-quotas { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; align-items: end; }
.pk-toggles { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 6px 14px; margin: 10px 0; }

/* Belgelerim */
.doc-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line, rgba(127,127,127,.2)); }
.doc-row:last-child { border-bottom: 0; }
.doc-row .small-text { display: block; }
.doc-file-btn { cursor: pointer; display: inline-flex; align-items: center; }
@media (max-width: 600px) { .doc-row .btn-row { width: 100%; } }

/* Ücretsiz metin araçları */
.tt-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); gap: 8px; margin: 10px 0; }
.tt-stats div { display: grid; gap: 2px; padding: 8px 10px; border: 1px solid var(--line, rgba(127,127,127,.2)); border-radius: 10px; }
.tt-stats b { font-size: 18px; }
.tt-stats span { font-size: 12px; opacity: .75; }
.tt-stats .over b { color: var(--bad, #e0566b); }
.tt-topic { flex: 1; min-width: 180px; }
.tt-titles { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 6px; }
.tt-titles li { display: flex; gap: 10px; align-items: center; }

/* Bağlantı kartı: izinler ve gereksinimler */
.conn-more { margin-top: 6px; font-size: 13px; }
.conn-more summary { cursor: pointer; opacity: .8; }
.conn-more ul { margin: 4px 0 8px; padding-left: 18px; }
.conn-more b { display: block; margin-top: 6px; font-size: 12.5px; }

/* Entegrasyon merkezi */
.ic-matrix td, .ic-matrix th { text-align: center; }
.ic-matrix td:first-child, .ic-matrix th:first-child { text-align: left; }
.ic-matrix .ic-group td { text-align: left; font-weight: 700; opacity: .8; padding-top: 12px; }
.ctl-table td .small-text { display: block; }

/* ---------- Fufera sohbet balonu (master doküman 12) ----------
 * Sohbet sayfa sütunu değil, sağ altta yüzen bir paneldir; kapatılınca küçük bir simgeye dönüşür.
 * Mobilde alt menünün üzerinde yüzer ve sayfanın sütunlarını değiştirmez. */
.app.no-chat.chat-open .chat {
  display: flex; position: fixed; z-index: 60; right: 20px; bottom: 20px; top: auto; left: auto;
  width: min(400px, calc(100vw - 40px)); height: min(640px, calc(100dvh - 120px)); margin: 0;
  box-shadow: 0 24px 60px rgb(0 0 0 / .35); animation: chat-pop .18s ease-out;
}
.chat .chat-head .grow { flex: 1; min-width: 0; }
.chat-min { margin-left: auto; }
.chat-fab {
  position: fixed; z-index: 59; right: 20px; bottom: 20px; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; border: 0; cursor: pointer; color: #fff;
  background: linear-gradient(135deg, var(--accent, #fb9960), color-mix(in srgb, var(--accent, #fb9960) 70%, #000));
  box-shadow: 0 12px 30px rgb(0 0 0 / .3); transition: transform .15s ease;
}
.chat-fab:hover { transform: translateY(-2px) scale(1.04); }
.chat-fab:focus-visible { outline: 3px solid var(--accent, #fb9960); outline-offset: 3px; }
.chat-fab svg { width: 26px; height: 26px; }
.chat-fab[hidden] { display: none; }
.chat-fab-dot { position: absolute; top: 8px; right: 8px; width: 11px; height: 11px; border-radius: 50%; background: #ff5a7a; border: 2px solid #fff; }
@keyframes chat-pop { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .app.no-chat.chat-open .chat { animation: none; } .chat-fab { transition: none; } }
@media (max-width: 900px) {
  [data-mobile-view='main'] .app.no-chat.chat-open .chat, .app.no-chat.chat-open[data-mobile-view] .chat { display: flex; }
  .app.no-chat.chat-open .center { display: block; }
}

/* Ekibi Geliştir (sanal ofis içinde) */
.team-grow { margin: 14px 0; }
.grow-levels { display: grid; gap: 6px; }
.grow-levels .plan-role { gap: 10px; flex-wrap: wrap; }

/* Viral Test Skill'i */
.viral-disclaimer { padding: 8px 10px; border-radius: 10px; background: rgb(255 190 80 / .12); border: 1px solid rgb(255 190 80 / .35); }
.crit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.crit { display: grid; gap: 4px; }
.crit-head { display: flex; justify-content: space-between; gap: 8px; font-size: 13.5px; }
.crit.good .bar-fill { background: #3fbf7f; }
.crit.mid .bar-fill { background: #e3b341; }
.crit.low .bar-fill { background: #e0566b; }
.viral-list { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: 14px; }
.viral-list li .grow { flex: 1; }
.persona-say { margin: 4px 0 0; font-size: 13px; font-style: italic; opacity: .85; }
.viral-caption { white-space: pre-wrap; font: inherit; font-size: 14px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--hair, rgba(127,127,127,.2)); margin: 6px 0 8px; }

/* Kârlılık merkezi */
.profit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin-top: 10px; }
.profit-grid td:last-child { text-align: right; white-space: nowrap; }
.profit-grid .neg, .pk-card .neg { color: var(--bad, #e0566b); }
.profit-grid .pos { color: var(--ok, #3fbf7f); }
.advisor { margin-top: 12px; padding: 10px 12px; border-radius: 12px; border: 1px dashed var(--hair, rgba(127,127,127,.3)); }

/* Yayına al */
.launch-row { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; border-bottom: 1px solid var(--hair, rgba(127,127,127,.2)); }
.launch-row:last-child { border-bottom: 0; }
.launch-row .small-text { display: block; }
.launch-ico { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; flex: none; font-size: 13px; }
.launch-row.ok .launch-ico { background: rgb(63 191 127 / .18); color: #3fbf7f; }
.launch-row.bad .launch-ico { background: rgb(224 86 107 / .18); color: #e0566b; }
.launch-row.warn .launch-ico { background: rgb(227 179 65 / .2); color: #e3b341; }

/* ---------- Mobil ve dokunmatik: dokunma alanları en az 40 px (master doküman 16) ---------- */
@media (max-width: 900px), (pointer: coarse) {
  #main .tab, #main [role="tab"], .module-tabs button, .sub-item { min-height: 40px; }
  #main .ochip, #main .state-chip, #main .chip, #main .tag-btn { min-height: 40px; padding-top: 8px; padding-bottom: 8px; }
  #main .inline-link, #main .see-all { display: inline-flex; align-items: center; min-height: 40px; padding-top: 6px; padding-bottom: 6px; }
  #main button.small, #main .ghost.small, #main .primary.small { min-height: 40px; }
  .ctl-table-wrap { -webkit-overflow-scrolling: touch; }
}

/* Ofis rehberi düğmesi sohbet balonunun üstünde durur; mobilde alt menüyü kapatmaz. */
body .ofc-panel-fab { right: 21px; bottom: 92px; }
@media (max-width: 900px) {
  body .ofc-panel-fab { right: 17px; bottom: calc(156px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 900px) {
  /* Dokunmatik görünümde sohbet paneli doğrudan açılır. */
  .app.no-chat.chat-open .chat { animation: none; transform: none; }
}

/* ---------- Kurucu paneli (19 Kasım 2026): sade, müşteri takibi odaklı ---------- */
.fstats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.fstat { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 14px 16px; border: 0; border-radius: var(--r-md); background: var(--fill); box-shadow: inset 0 0 0 1px var(--hair); color: inherit; text-align: left; cursor: pointer; min-height: 40px; }
.fstat:hover { background: var(--fill-2); }
.fstat b { font-size: 24px; font-weight: 750; letter-spacing: -.02em; }
.fstat span { font-size: 12px; color: var(--ink-2); font-weight: 600; }
.fstat.ok b { color: var(--good); } .fstat.warn b { color: var(--warn); } .fstat.bad b { color: var(--bad); }
.fgrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; margin-bottom: 14px; }
.frow { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; border: 0; border-radius: 12px; background: transparent; color: inherit; text-align: left; cursor: pointer; min-height: 44px; }
button.frow:hover { background: var(--fill); }
.frow.static { cursor: default; }
.frow .grow, .freq .grow { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.frow .small-text, .freq .small-text { overflow: hidden; text-overflow: ellipsis; }
.freq { display: flex; gap: 10px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--hair); }
.freq:last-of-type { border-bottom: 0; }
.freq-actions { display: flex; flex-direction: column; gap: 6px; min-width: 150px; }
.freq-actions select { min-height: 36px; }
.fmoney { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; margin-bottom: 12px; }
.fmoney div { display: flex; flex-direction: column; gap: 2px; padding: 12px; border-radius: 12px; background: var(--fill); }
.fmoney b { font-size: 18px; } .fmoney span { font-size: 12px; color: var(--ink-2); }
.cust-filters { margin-bottom: 12px; flex-wrap: wrap; }
.cust-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin-bottom: 14px; }
.cust-layout.has-sel { grid-template-columns: minmax(0, 1.4fr) minmax(280px, 1fr); }
.cust-list { padding: 8px; }
.cust-row[hidden] { display: none; }
.cust-av { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--fill-2); font-weight: 700; }
.cust-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; font-size: 13px; white-space: nowrap; }
.cust-detail { align-self: start; }
.cust-detail .tag { margin-bottom: 10px; }
.setup-steps { display: flex; gap: 8px; list-style: none; padding: 0; margin: 0 0 14px; flex-wrap: wrap; }
.setup-steps li { display: flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border-radius: 30px; background: var(--fill); color: var(--ink-2); font-size: 13px; font-weight: 600; }
.setup-steps li span { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--fill-2); font-size: 12px; }
.setup-steps li.on { color: var(--ink); box-shadow: inset 0 0 0 1px var(--accent); }
.setup-steps li.on span { background: var(--accent); color: var(--on-accent); }
.setup-steps li.done span { background: var(--good); color: #111; }
.setup-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.setup-grid .setup-note { grid-column: 1 / -1; }
.setup-nav { margin-top: 16px; }
.dup-box { margin-top: 12px; padding: 12px; border-radius: 12px; background: rgb(255 209 102 / .1); box-shadow: inset 0 0 0 1px rgb(255 209 102 / .35); display: flex; flex-direction: column; gap: 4px; }
.setup-msg { width: 100%; font-family: inherit; font-size: 14px; line-height: 1.5; padding: 12px; border-radius: 12px; margin-bottom: 10px; }
a.btn { display: inline-flex; align-items: center; text-decoration: none; }
body.founder-mode #sideUpgrade, body.founder-mode #brandSwitch, body.founder-mode #dock, body.founder-mode .ofc-panel-fab { display: none !important; }
@media (max-width: 900px) {
  .fstats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fgrid, .cust-layout.has-sel, .setup-grid { grid-template-columns: minmax(0, 1fr); }
  .cust-detail { position: static; order: -1; max-height: none; overflow: visible; }
  .cust-meta { display: none; }
  .freq { flex-direction: column; } .freq-actions { width: 100%; flex-direction: row; }
}

/* ---------- Sohbet balonu: herkeste, ekranın alt ortasında; tıklanınca yukarı açılır (19 Kasım 2026) ---------- */
.chat-fab {
  left: 0; right: 0; margin: 0 auto; bottom: 18px; width: max-content; height: 52px; border-radius: 30px;
  display: flex; align-items: center; gap: 10px; padding: 0 22px 0 18px; font: 600 15px var(--sans);
}
.chat-fab:hover { transform: translateY(-2px); }
.chat-fab-dot { top: 6px; right: 10px; }
.app.no-chat.chat-open .chat {
  left: 0; right: 0; margin: 0 auto; bottom: 18px;
  width: min(560px, calc(100vw - 32px)); height: min(600px, calc(100dvh - 110px));
}
body.has-dock .chat-fab { bottom: 96px; }
@media (max-width: 900px) {
  .app.no-chat.chat-open .chat {
    inset: auto max(12px, env(safe-area-inset-right, 0px)) calc(72px + env(safe-area-inset-bottom, 0px)) auto;
    width: min(380px, calc(100vw - 24px));
    height: min(440px, 62dvh);
    margin: 0; border-radius: 20px; z-index: 45;
  }
  .app.no-chat.chat-open .chat-log { min-height: 0; padding: 12px; }
  .app.no-chat.chat-open .composer textarea { font-size: 16px; }
  body .chat-fab, body.has-dock .chat-fab {
    left: auto; right: max(12px, env(safe-area-inset-right, 0px)); margin: 0;
    bottom: calc(74px + env(safe-area-inset-bottom, 0px));
    width: 48px; height: 48px; padding: 0; justify-content: center; border-radius: 50%; z-index: 44;
  }
  .chat-fab .chat-fab-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .chat-fab-dot { top: 2px; right: 2px; }
}
body .ofc-panel-fab { bottom: 20px; }
@media (max-width: 900px) { body .ofc-panel-fab { bottom: calc(136px + env(safe-area-inset-bottom, 0px)); } }

/* ---------- Stüdyo: iki sütun (19 Kasım 2026) ---------- */
.st-layout { display: grid; grid-template-columns: minmax(300px, 380px) minmax(0, 1fr); gap: 16px; align-items: start; }
.st-side { position: sticky; top: 12px; }
.st-side .st-create { display: flex; flex-direction: column; gap: 12px; }
.st-side .st-create h2 { margin: 0; }
.st-side textarea { width: 100%; resize: vertical; }
.st-side .st-ideas { display: flex; flex-wrap: wrap; gap: 6px; max-height: 92px; overflow: auto; }
.st-side .st-ratios { display: flex; flex-wrap: wrap; gap: 8px; }
.st-main { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.st-preview .st-card { max-width: 560px; margin: 0 auto; }
.st-preview .st-card img, .st-preview .st-card video, .st-preview .st-card canvas { width: 100%; height: auto; border-radius: 14px; }
.st-history .panel-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.st-history .tabs { margin: 0; }
.st-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.st-grid .st-card .foot .btn-row { flex-wrap: wrap; }
@media (max-width: 1000px) {
  .st-layout { grid-template-columns: minmax(0, 1fr); }
  .st-side { position: static; }
}

/* ---------- Orijinal bağlantı logoları (Simple Icons, CC0) ---------- */
.brand-logo { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; flex: none; color: #fff; overflow: hidden; }
.brand-logo svg { width: 24px; height: 24px; }
.brand-logo.word { font: 800 15px/1 var(--sans); letter-spacing: -.02em; padding: 0 4px; }
.brand-logo.word.long { font-size: 8.5px; letter-spacing: 0; }
.brand-logo.generic { background: var(--fill-2); color: var(--ink); }
.app-tile.brand-logo { box-shadow: 0 6px 16px rgb(0 0 0 / .25); }
.conn-logo { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; margin-right: 8px; vertical-align: middle; color: #fff; overflow: hidden; }
.conn-logo svg { width: 13px; height: 13px; }
.conn-logo.word { font: 800 9px/1 var(--sans); }
.conn-logo.word.long { font-size: 5px; }
.conn-row { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--hair); }
.conn-row .conn-name { flex: 1; display: flex; align-items: center; min-width: 0; }
.conn-group { margin: 10px 0; }

/* ---------- Paket tasarlayıcı ---------- */
.dz-layout { display: grid; grid-template-columns: minmax(300px, 400px) minmax(0, 1fr); gap: 16px; align-items: start; }
.dz-in { position: sticky; top: 12px; display: flex; flex-direction: column; gap: 10px; }
.dz-in textarea { width: 100%; resize: vertical; }
.dz-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.dz-num input { width: 100%; }
.dz-parsed { color: var(--accent-text); min-height: 1em; }
.dz-out { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.dz-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.dz-card { display: flex; flex-direction: column; gap: 8px; }
.dz-card.dz-main { box-shadow: inset 0 0 0 1.5px var(--accent); }
.dz-card.dz-over { opacity: .8; }
.dz-price b { font-size: 28px; font-weight: 800; letter-spacing: -.02em; }
.dz-price span { color: var(--ink-2); font-size: 13px; margin-left: 4px; }
.dz-money { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.dz-money div { display: flex; flex-direction: column; padding: 8px 10px; border-radius: 10px; background: var(--fill); }
.dz-money span { font-size: 11.5px; color: var(--ink-2); }
.dz-money b { font-size: 16px; }
.dz-money .ok b { color: var(--good); } .dz-money .warn b { color: var(--warn); } .dz-money .bad b { color: var(--bad); }
.dz-card .btn-row { flex-wrap: wrap; }
.cust-actions { margin-bottom: 12px; }
.cust-actions h2 { margin-bottom: 8px; }
.cpick { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); align-items: end; gap: 5px 10px; min-width: 0; }
.cpick .field { min-width: 0; }
.cpick .field :is(input, select) { min-height: 44px; font-size: 16px; min-width: 0; }
.cpick-note { grid-column: 1 / -1; min-height: 1.25em; }
.setup-kind { margin-bottom: 14px; }
@media (max-width: 1200px) { .dz-cards { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 900px) { .dz-layout { grid-template-columns: minmax(0, 1fr); } .dz-in { position: static; } .dz-grid { grid-template-columns: 1fr 1fr; } }

/* Karar merkezi (21 Kasım 2026) */
.kd-band { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.kd-warn { color: var(--warn, #d9a400); font-weight: 600; font-size: 13px; }
.kd-warn-box { border-left: 3px solid var(--warn, #d9a400); }
.kd-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.kd-card.best { box-shadow: inset 0 0 0 2px var(--accent, #fb9960); }
.kd-tag { font-size: 11px; padding: 2px 8px; border-radius: 99px; background: var(--accent, #fb9960); color: #fff; vertical-align: middle; }
.kd-kv { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; }
.kd-kv b.bad { color: var(--bad); }
.kd-prices { display: grid; gap: 6px; margin-bottom: 12px; }
.kd-price { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 8px 10px; border-radius: 10px; background: var(--surface-2, rgba(255,255,255,.03)); }
.kd-price.stale { box-shadow: inset 3px 0 0 var(--warn, #d9a400); }
.kd-price .grow { flex: 1 1 260px; display: flex; flex-direction: column; }
.kd-pin { width: 110px; }
.kd-list { margin: 0 0 12px 18px; display: grid; gap: 6px; }
.kd-bar { display: grid; grid-template-columns: 90px 1fr 90px; align-items: center; gap: 10px; margin: 4px 0; font-size: 13px; }
.kd-bar-track { height: 10px; border-radius: 99px; background: var(--surface-2, rgba(255,255,255,.06)); overflow: hidden; }
.kd-bar-fill { height: 100%; background: var(--accent, #fb9960); }
@media (max-width: 640px) { .kd-bar { grid-template-columns: 70px 1fr 70px; } }

/* ===== Kompozisyon kuralları (21 Kasım 2026): her cihazda ferah ve nizami =====
   1) Alt alta formlar (.stack) gerçekten alt alta dizilir; ızgara formlarda bölüm, açıklama ve düğme satırı tam genişlik alır.
   2) Düğme satırları sabit aralıkla dizilir, sığmazsa alt satıra geçer; düğme yazısı kesilmez.
   3) Sekmeler arasında nefes payı bırakılır. */
.ctl-form.stack { display: flex; flex-direction: column; align-items: stretch; gap: 14px; }
.ctl-form > .btn-row, .ctl-form > p, .ctl-form > .pk-quotas, .ctl-form > .pk-toggles, .ctl-form > h3, .ctl-form > .small-text { grid-column: 1 / -1; }
.pk-quotas.ctl-form > button, .pk-quotas.ctl-form > .btn-row { grid-column: 1 / -1; justify-self: start; }
.btn-row, .row-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.btn-row > .small-text { flex: 1 1 220px; min-width: 0; }
.btn-row > button, .row-actions > button, .ctl-form > button { white-space: nowrap; flex-shrink: 0; max-width: 100%; }
.pk-card form + form, .pk-card .pk-toggles { margin-top: 4px; }
.pk-toggles .ctl-switch { align-items: flex-start; line-height: 1.35; }
.module-tabs { gap: 6px; }
@media (max-width: 640px) {
  .btn-row > button, .row-actions > button { white-space: normal; text-align: center; }
  .module-tabs button { padding: 8px 14px; }
}
/* Telefonda sayfa sonu alt menünün altında kalmaz. */
@media (max-width: 640px) {
  main.main { padding-bottom: calc(150px + env(safe-area-inset-bottom, 0px)); }
}

/* Kurulum sihirbazı: hızlı kurulum ve sağlanacaklar (21 Kasım 2026) */
.setup-quick { display: grid; gap: 12px; }
.setup-quick-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.setup-quick-head h2 { margin: 0; }
.setup-quick-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; align-items: end; }
.setup-quick-form > button { justify-self: start; white-space: nowrap; }
.setup-or { display: flex; align-items: center; gap: 12px; margin: 18px 0 14px; color: var(--ink-3); font-size: 12.5px; }
.setup-or::before, .setup-or::after { content: ''; flex: 1; height: 1px; background: var(--hair); }
.setup-provide { border: 1px solid var(--hair); border-radius: 14px; padding: 14px 16px 6px; margin: 16px 0 0; display: grid; gap: 12px; min-width: 0; }
.setup-provide legend { padding: 0 6px; font-weight: 700; }
@media (max-width: 640px) { .setup-quick-form > button { justify-self: stretch; } .setup-provide { padding: 12px 12px 4px; } }

/* Müşteri onayı (21 Kasım 2026) */
.approvals { margin-bottom: 16px; border-left: 3px solid var(--accent, #f2783c); }
.approval-row { gap: 12px; flex-wrap: wrap; }
.approval-row { display: flex; align-items: center; }
.approval-row .grow { flex: 1 1 220px; min-width: 0; }
.approval-actions { margin-left: auto; }
.approval-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.approval-note { margin: 0 0 14px; border-left: 3px solid var(--accent, #f2783c); }
.approval-note.bad { border-left-color: var(--bad, #e0566b); }

/* Paket yönetimi: yan yana paket kartları + kısa özet (21 Kasım 2026) */
.pk-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; margin-bottom: 16px; }
.pk-tile { display: flex; flex-direction: column; gap: 10px; padding: 18px; border-radius: 18px; background: var(--surface); border: 1px solid var(--hair); min-width: 0; transition: border-color .15s, box-shadow .15s; }
.pk-tile:hover { border-color: rgba(242, 120, 60, .45); }
.pk-tile.editing { border-color: #f2783c; box-shadow: inset 0 0 0 1px #f2783c, 0 0 22px -10px rgba(242, 120, 60, .9); }
.pk-tile.off { opacity: .72; }
.pk-tile-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 22px; }
.pk-fam { font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); }
.pk-tile h3 { margin: 0; font-size: 18px; }
.pk-price { display: flex; align-items: baseline; gap: 6px; }
.pk-price b { font-size: 26px; line-height: 1.1; }
.pk-price span, .pk-meta { color: var(--ink-3); font-size: 13px; }
.pk-quota-list, .pk-feats { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 13px; }
.pk-quota-list { padding: 10px 0; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.pk-quota-list li { display: flex; justify-content: space-between; gap: 10px; }
.pk-quota-list span { color: var(--ink-2); }
.pk-feats li { position: relative; padding-left: 18px; color: var(--ink-2); }
.pk-feats li::before { content: ''; position: absolute; left: 2px; top: 6px; width: 8px; height: 8px; border-radius: 50%; background: #f2783c; }
.pk-feats li.more, .pk-feats li.none { color: var(--ink-3); }
.pk-feats li.more::before, .pk-feats li.none::before { background: var(--hair); }
.pk-edit { margin-top: auto; align-self: flex-start; }
.pk-editor { margin-bottom: 16px; }
@media (max-width: 640px) { .pk-tiles { grid-template-columns: 1fr 1fr; gap: 10px; } .pk-tile { padding: 14px; } .pk-price b { font-size: 21px; } }
@media (max-width: 420px) { .pk-tiles { grid-template-columns: 1fr; } }
.pk-group { margin: 6px 0 10px; font-size: 13px; font-weight: 700; color: var(--ink-3); letter-spacing: .02em; }

/* Paket hizmetleri ve hizmet bazlı maliyet (21 Kasım 2026) */
.svc-brief, .svc-all ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 13px; }
.svc-brief li { position: relative; padding-left: 18px; color: var(--ink-2); line-height: 1.35; }
.svc-brief li::before { content: ''; position: absolute; left: 2px; top: 6px; width: 8px; height: 8px; border-radius: 50%; background: #f2783c; }
.svc-brief li.none { color: var(--ink-3); }
.svc-all { display: grid; gap: 12px; }
.svc-group h4 { margin: 0 0 6px; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); }
.svc-all li { display: flex; align-items: baseline; gap: 8px; line-height: 1.35; }
.svc-all li.off { color: var(--ink-3); }
.svc-mark { width: 14px; flex: 0 0 14px; font-weight: 700; color: #f2783c; }
.svc-all li.off .svc-mark { color: var(--ink-3); }
.svc-no { font-size: 11px; color: var(--ink-3); white-space: nowrap; }
.svc-soon { font-size: 10px; padding: 0 6px; }
.svc-toggle { margin-top: 8px; align-self: flex-start; background: none; border: 0; padding: 4px 0; font-size: 12px; font-weight: 650; color: #ffb98a; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.svc-toggle:hover { color: #fbd0b7; }
.pk-svc { display: flex; flex-direction: column; }
.kd-svc { display: flex; flex-direction: column; gap: 6px; padding: 12px; border-radius: 12px; border: 1px solid var(--hair); margin: 4px 0 8px; }
.kd-sub { margin: 10px 0 4px; font-size: 14px; }
.kd-svc-cost h3 { margin: 0 0 10px; }
.kd-svc-cost tr.off td { color: var(--ink-3); }
.kd-svc-cost tr.total td { border-top: 1px solid var(--hair); }
.kd-svc-cost td:nth-child(2), .kd-svc-cost td:nth-child(3), .kd-svc-cost th:nth-child(2), .kd-svc-cost th:nth-child(3) { text-align: right; white-space: nowrap; }
.pk-tiles { align-items: start; }
.svc-text { min-width: 0; }
.svc-text .svc-no { white-space: normal; }
#kdSvc .kd-svc-cost { margin-top: 16px; }
.kd-svc-cost .table-wrap { width: 100%; overflow-x: auto; }
.kd-svc-cost table { width: 100%; border-collapse: collapse; table-layout: auto; }
.kd-svc-cost th, .kd-svc-cost td { padding: 9px 10px; border-bottom: 1px solid var(--hair); text-align: left; vertical-align: top; }
.kd-svc-cost th { font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-3); font-weight: 700; }
.kd-svc-cost td:first-child { width: 60%; }
@media (max-width: 640px) { .kd-svc-cost td:first-child { width: auto; } .kd-svc-cost th, .kd-svc-cost td { padding: 8px 6px; font-size: 13px; } }

/* Sistem sağlığı */
.fstat.static { cursor: default; }
.halt-on { box-shadow: inset 0 0 0 2px var(--bad); }
.bad { color: var(--bad); }

/* Yayın modu kartı (Onaylar) */
.pilot-card { display: flex; flex-direction: column; gap: 8px; }
.pilot-opt { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; width: 100%; padding: 12px 14px; border: 0; border-radius: 14px; background: var(--fill); box-shadow: inset 0 0 0 1px var(--hair); color: inherit; text-align: left; cursor: pointer; min-height: 44px; }
.pilot-opt:hover { background: var(--fill-2); }
.pilot-opt.on { box-shadow: inset 0 0 0 2px var(--accent); background: var(--fill-2); }
.pilot-opt.on b::after { content: ' ✓'; color: var(--accent-text); }

/* Gelen mesajlar (21 Kasım 2026) */
.thread .msg-list { display: flex; flex-direction: column; gap: 6px; margin: 8px 0; max-height: 320px; overflow: auto; }
.thread .msg { max-width: min(78%, 520px); padding: 8px 12px; border-radius: 12px; background: var(--surface-2, #f4f2f1); border: 1px solid rgba(159, 139, 128, .18); }
.thread .msg p { margin: 0 0 2px; overflow-wrap: anywhere; }
.thread .msg.out { align-self: flex-end; background: rgba(242, 120, 60, .16); border-color: rgba(242, 120, 60, .35); }
.thread form { display: flex; gap: 8px; flex-wrap: wrap; }
.thread form input[name="text"] { flex: 1 1 200px; min-width: 0; }
.thread form.stack { flex-direction: column; align-items: stretch; }
.copy-row { display: flex; gap: 8px; }
.copy-row input { flex: 1 1 auto; min-width: 0; }
.thread label.check { display: flex; gap: 8px; align-items: center; }

/* Müşteri kurulumu */
.ob-social-action { margin-top: auto; padding-top: 4px; }
.ob-publish-field { min-width: 0; margin: 0; padding: 0; border: 0; }
.ob-publish-field legend { margin-bottom: 8px; font-weight: 650; color: var(--ink); }
.ob-publish-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ob-publish-option { position: relative; display: block; min-width: 0; cursor: pointer; }
.ob-publish-option > input {
  position: absolute; width: 1px; height: 1px; opacity: 0; margin: 0;
}
.ob-publish-card {
  display: grid; height: 100%; grid-template-columns: 38px minmax(0, 1fr) 18px; align-items: start;
  gap: 10px; padding: 14px; border: 1px solid var(--hair); border-radius: 15px; background: var(--fill);
}
.ob-publish-card strong, .ob-plan-option strong { display: block; color: var(--ink); font-size: 14px; }
.ob-publish-card .small-text, .ob-plan-option .small-text { display: block; margin-top: 3px; line-height: 1.4; }
.ob-publish-icon {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px;
  background: rgb(139 92 246 / .16); color: color-mix(in srgb, var(--accent) 70%, var(--ink));
}
.ob-publish-icon svg { width: 21px; height: 21px; }
.ob-radio-mark { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--ink-3); margin-top: 1px; }
.ob-publish-option input:checked + .ob-publish-card { border-color: var(--accent); background: rgb(139 92 246 / .12); }
.ob-publish-option input:checked + .ob-publish-card .ob-radio-mark { border-color: var(--accent); }
.ob-publish-option input:checked + .ob-publish-card .ob-radio-mark::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.ob-publish-option input:focus-visible + .ob-publish-card { outline: 2px solid var(--accent); outline-offset: 2px; }
.ob-plan-option {
  display: flex; align-items: flex-start; gap: 11px; padding: 12px 14px; border: 1px solid var(--hair);
  border-radius: 14px; background: var(--fill); cursor: pointer;
}
.onb .ob-plan-option input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--accent); }
.integration-callbacks { padding-inline-start: 18px; overflow-wrap: anywhere; }
.integration-callbacks code { display: block; white-space: normal; }
#ecoSelection { scroll-margin-block-start: 12px; }
.credit-usage { display: grid; gap: 12px; }
.credit-usage > div { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.credit-usage h2, .credit-usage p { margin: 0; }
.credit-usage progress { width: 100%; height: 14px; accent-color: var(--accent); border: 0; }
@media (max-width: 640px) {
  .ob-publish-grid, .ob-socials { grid-template-columns: minmax(0, 1fr); }
  .onb-body .field input:not([type=color]), .onb-body .field textarea, .onb-body .field select { font-size: 16px; }
  .onb-head > button { flex: none; }
  .onb-foot { flex-wrap: nowrap; gap: 6px; }
  .onb-foot > button { min-height: 42px; padding-inline: 10px; }
  .eco-menu { max-width: 100%; scrollbar-width: thin; }
  .eco-grid { grid-template-columns: minmax(0, 1fr); }
  .nt-h { flex-wrap: wrap; gap: 8px; }
  .nt-save > button { flex: 0 1 auto; }
  .page-head h1, .row-item > .grow, .notif > .grow { min-width: 0; overflow-wrap: anywhere; }
}


/* Stüdyo çalışma alanı */
.st-workspace {
  background: #201916;
  color: #f7f3ef;
  border: 1px solid #463931;
  border-radius: 18px;
  min-width: 0;
  overflow: hidden;
}
.st-workspace { --ink: #f7f3ef; --ink-2: #dfd2cb; --muted: #b9aca5; --hair: #4e413a; }
.st-workbar, .st-project-head, .st-project-actions {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}
.st-workbar { padding: 12px 16px; background: #2c221d; border-bottom: 1px solid var(--hair); }
.st-workbar .st-switch { border-radius: 10px; background: #1e1713; }
.st-workbar .st-switch button { display: inline-flex; align-items: center; gap: 8px; border-radius: 7px; padding: 8px 12px; }
.st-workbar .st-switch button[aria-pressed='true'] { background: #915a3a; color: white; }
.st-workbar svg { width: 17px; height: 17px; }
.st-import { display: inline-flex; position: relative; overflow: hidden; align-items: center; cursor: pointer; }
.st-import input { position: absolute; inset: 0; opacity: 0; width: 100%; cursor: pointer; }
.st-import:focus-within, .st-clip:focus-visible { outline: 2px solid #fdc6a6; outline-offset: 2px; }
.st-workgrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(255px, 305px); }
.st-workstage { min-width: 0; }
.st-workinspector { min-width: 0; padding: 16px; border-left: 1px solid var(--hair); background: #2c221d; }
.st-workinspector h2, .st-library h2, .st-project h2 { font-size: 15px; margin: 0; }
.st-workinspector textarea { width: 100%; resize: vertical; }
.st-workinspector .st-create { display: grid; gap: 12px; }
.st-workinspector .st-ideas { display: flex; flex-wrap: wrap; gap: 6px; max-height: 82px; overflow: auto; }
.st-project { padding: 12px; min-width: 0; }
.st-project-head { margin: 0 0 10px; overflow-wrap: anywhere; }
.st-monitor, .st-workstage .st-ed-stage {
  display: grid; place-items: center; min-height: 320px; position: relative; padding: 12px; border-radius: 10px;
  background: radial-gradient(circle at 49% 36%, #392b24, #17110e 78%);
}
.st-monitor :is(video, img, canvas), .st-workstage .st-ed-stage canvas { max-width: 100%; max-height: min(52vh, 550px); width: auto; height: auto; object-fit: contain; border-radius: 6px; }
.st-monitor video { width: 100%; }
.st-monitor .st-wait { width: min(100%, 255px); max-height: 350px; }
.st-empty-stage { text-align: center; min-height: 100%; padding: 36px 18px; background-image: radial-gradient(#614a3c 1px, transparent 1px), radial-gradient(circle, #3f2a20, #1d1612 76%); background-size: 16px 16px, 100% 100%; }
.st-empty-stage span { display: block; color: #f5bd9c; font-size: 32px; }
.st-empty-stage p { color: #d3c6be; margin: 8px 0 0; }
.st-workstage .st-ed-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
.st-workstage .st-ed-tools { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; gap: 10px; }
.st-workstage .st-ed-tools > :is(.btn-row,p) { grid-column: 1 / -1; }
.st-workstage .st-ed-tools fieldset { margin: 0; padding: 9px; border: 1px solid var(--hair); border-radius: 10px; }
.st-workstage .form-grid.three { grid-template-columns: repeat(2,minmax(0,1fr)); }
.st-project-actions { margin-top: 10px; justify-content: flex-start; }
.st-library, .st-timeline { padding: 12px 16px; border-top: 1px solid var(--hair); background: #2b201b; }
.st-timeline { border: 1px solid var(--hair); border-radius: 10px; margin-top: 8px; }
.st-timeline p:empty { display: none; }
.st-range-controls { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; border: 0; padding: 0; margin: 8px 0; min-width: 0; }
.st-range-controls output { color: #f1dbc8; font-variant-numeric: tabular-nums; }
.st-range-controls input[type='range'] { width: 100%; padding: 0; accent-color: #fcb68d; }
.st-track { height: 14px; position: relative; overflow: hidden; margin: 4px 0 10px; border-radius: 5px; background: repeating-linear-gradient(90deg, #44372f 0 1px, #382922 1px 12px); }
.st-track i { display: block; height: 100%; margin-left: var(--start, 0%); width: calc(var(--end, 0%) - var(--start, 0%)); background: #eda073; border-inline: 3px solid #f5e4d5; box-sizing: border-box; }
.st-clips { display: flex; gap: 8px; margin-top: 8px; padding: 3px 3px 7px; overflow-x: auto; }
.st-clip { display: grid; text-align: left; gap: 4px; flex: 0 0 106px; min-width: 0; padding: 5px; background: #372a23; color: #f7f3ef; border: 1px solid var(--hair); border-radius: 8px; }
.st-clip[aria-pressed='true'] { border-color: #f7b48d; background: #563d2e; }
.st-clip-thumb { height: 52px; display: grid; place-items: center; overflow: hidden; background: #1f1713; border-radius: 5px; color: #fac4a4; }
.st-clip-thumb :is(img, canvas) { width: 100%; height: 52px; object-fit: cover; }
.st-clip strong, .st-clip small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-clip small { color: #d6c8c0; }
@media (max-width: 950px) {
  .st-workgrid { grid-template-columns: minmax(0,1fr); }
  .st-workinspector { border-left: 0; border-top: 1px solid var(--hair); }
  .st-empty-stage { min-height: 240px; }
}
@media (max-width: 540px) {
  .st-workbar { padding: 8px; }
  .st-workbar .st-switch { width: 100%; justify-content: space-between; }
  .st-workbar .st-switch button { padding: 7px; font-size: 12px; }
  .st-workstage .st-ed-tools { grid-template-columns: minmax(0,1fr); }
  .st-monitor, .st-workstage .st-ed-stage { min-height: 200px; }
}

/* n8n köprüsü kartı (22 Kasım 2026) */
.n8n-types { display: grid; gap: 8px; }
.n8n-types legend { margin-bottom: 6px; }
.switch-row input[type="checkbox"] { width: auto; flex: 0 0 auto; margin: 0; }

/* Bağlı hesap verisi (22 Kasım 2026) */
.ai-ins { margin-bottom: 14px; }
.ai-ins .grid.tiles { margin-top: 10px; }
.section-title { font-size: 15px; margin: 6px 0 10px; color: var(--muted, #afa29b); }

/* Mobil düzeltmeler (22 Kasım 2026, otomatik taramayla bulundu) */
/* iPhone 16 pikselden küçük form alanına dokununca sayfayı büyütür ("sürekli büyüme"); dokunmatik ekranlarda alanlar 16 px. */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (max-width: 900px), (pointer: coarse) {
  input:not([type='checkbox']):not([type='radio']):not([type='range']), select, textarea { font-size: 16px !important; }
}
/* Onaylar: kart destesi ızgara içinde kendi içerik genişliğine göre büyüyüp ekrandan taşıyordu. */
.content-hub > * { min-width: 0; }
.hub-deck, .deck, .swipe-card { max-width: 100%; }
.swipe-card .caption, .swipe-card h2, .swipe-card .hashes { overflow-wrap: anywhere; }
/* Genel bakış tablosu dar ekranda kutuya sığar. */
@media (max-width: 760px) {
  .ov-grid-table { table-layout: fixed; }
  .ov-grid-table td, .ov-grid-table th { overflow-wrap: anywhere; }
}
/* Yayına al: uzun dosya yolu ve adresler dar ekranda satır kırar. */
.launch-row .grow, .launch-row .small-text, .frow .grow, .frow .small-text { min-width: 0; overflow-wrap: anywhere; }

/* Onay ve yetki kuralları (22 Kasım 2026) */
.pilot-rules { margin-top: 10px; }
.pilot-rules summary, .ctl-policy summary { cursor: pointer; font-weight: 600; }
.pilot-rules ul { margin: 8px 0; padding-left: 18px; }
.ctl-policy { margin-top: 12px; }

/* İşletmeni tanıyalım (22 Kasım 2026) */
.ob-choice { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.ob-choice-card { display: grid; gap: 6px; text-align: left; padding: 16px; border-radius: 16px; border: 1px solid var(--hair-2, rgba(255,255,255,.12)); background: var(--fill, rgba(255,255,255,.03)); color: inherit; cursor: pointer; }
.ob-choice-card:hover, .ob-choice-card:focus-visible { border-color: var(--accent); }
.ob-research-wait { display: flex; align-items: center; gap: 10px; padding: 14px; }
.ob-research-wait .spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--hair-2, #555); border-top-color: var(--accent); animation: obspin .8s linear infinite; }
@keyframes obspin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .ob-research-wait .spinner { animation: none; } }
.ob-review { display: grid; gap: 10px; max-height: min(52vh, 520px); overflow: auto; padding-right: 4px; }
.ob-row { display: grid; gap: 4px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--hair, rgba(255,255,255,.08)); }
.ob-row.sug { border-style: dashed; }
.ob-opt { display: flex; gap: 8px; align-items: flex-start; overflow-wrap: anywhere; }
.ob-opt input { flex: 0 0 auto; margin-top: 4px; width: auto; }
.ob-swatch { display: inline-block; width: 14px; height: 14px; border-radius: 4px; margin-right: 6px; vertical-align: -2px; border: 1px solid rgba(0,0,0,.2); }
.ob-candidate { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--hair, rgba(255,255,255,.08)); cursor: pointer; }
.ob-candidate input { width: auto; flex: 0 0 auto; margin-top: 4px; }
.ob-candidate span { display: grid; gap: 2px; min-width: 0; overflow-wrap: anywhere; }

.workflow-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0 0 14px; }
.workflow-column { min-width: 0; overflow-wrap: anywhere; }
.workflow-column .task + .task { margin-top: 8px; }
.workflow-review { display: flex; flex-wrap: wrap; gap: 8px; align-items: end; margin: 8px 0 14px; }
.workflow-review .field { flex: 1 1 130px; min-width: 0; }
.launch-steps { list-style: decimal; padding-inline-start: 22px; margin-block: 12px; }
.launch-steps .launch-row { display: flex; margin-block: 6px; align-items: center; flex-wrap: wrap; }
.launch-steps .launch-row .grow { min-width: min(100%, 200px); overflow-wrap: anywhere; }
@media (max-width: 760px) {
  .workflow-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Satış hazırlık raporu (22 Kasım 2026) */
.readiness .launch-row .grow { display: grid; gap: 2px; }
.readiness-how { margin: 6px 0 10px; padding-left: 20px; display: grid; gap: 4px; }

/* Keep section identity consistent between the sidebar, tabs and the mobile menu. */
[data-nav-section] { --nav-cue: #f8b893; }
[data-nav-section]:is([data-nav-section="studio"], [data-nav-section="tools"], [data-nav-section="fintegrations"]) { --nav-cue: #f3c3a7; }
[data-nav-section]:is([data-nav-section="reports"], [data-nav-section="fteam"], [data-nav-section="social"]) { --nav-cue: #8fc5f4; }
[data-nav-section]:is([data-nav-section="ads"], [data-nav-section="crm"], [data-nav-section="fcustomers"], [data-nav-section="ffinance"]) { --nav-cue: #80d8bb; }
[data-nav-section]:is([data-nav-section="approvals"], [data-nav-section="influencer"], [data-nav-section="jobs"], [data-nav-section="fpackages"]) { --nav-cue: #efba8c; }
[data-nav-section]:is([data-nav-section="settings"], [data-nav-section="fsettings"]) { --nav-cue: #ccbfb7; }

.menu-sheet-group {
  padding: 11px 12px 12px;
  border: 1px solid var(--hair);
  border-inline-start: 3px solid color-mix(in srgb, var(--nav-cue) 68%, transparent);
  border-radius: 12px;
  background: color-mix(in srgb, var(--nav-cue) 7%, rgb(var(--sf)));
}
.menu-sheet-group b { color: var(--ink); }
.menu-sheet-group b svg { color: color-mix(in srgb, var(--nav-cue) 75%, var(--ink)); }
.menu-sheet-group button { min-height: 40px; color: var(--ink); }
.sidebar .nav-item[aria-current="page"],
.tabbar button[aria-current="page"],
.menu-sheet-group button[aria-current="page"],
.module-tabs button[aria-current="page"],
.sub-item[aria-selected="true"] {
  color: var(--ink);
  font-weight: 750;
  background: color-mix(in srgb, var(--nav-cue, #f8b893) 23%, rgb(var(--sf)));
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--nav-cue, #f8b893) 75%, var(--ink));
}
.sidebar .nav-item[aria-current="page"]::before { background: var(--nav-cue); box-shadow: none; }
.subnav { gap: 5px; }
.sub-item:not([aria-selected="true"]), .module-tabs button:not([aria-current="page"]) { box-shadow: inset 0 0 0 1px var(--hair); }
.sub-item:focus-visible, .module-tabs button:focus-visible, .menu-sheet-group button:focus-visible,
.tabbar button:focus-visible, .sidebar .nav-item:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: -3px;
}

/* =====================================================================
   Sıcak cam (23 Kasım 2026, kullanıcının akıllı ev referansı):
   koyu espresso zemin üzerinde kehribar ışık, buzlu cam yüzeyler,
   seçili öğe krem hap, vurgu kor turuncu, ince ve ferah başlıklar.
   Kartlar saydamlıkla "buzlu" görünür (zemin zaten yumuşak ışık);
   gerçek bulanıklık yalnız yüzen katmanlarda: menü, pencere, sohbet, bildirim.
   ===================================================================== */
:root {
  --bg: #1d1410;
  --bg-2: rgba(46, 32, 25, .62);
  --fg: 255 244 236;
  --sf: 44 31 24;
  --sf2: 66 47 37;
  --surface: rgba(255, 240, 228, .07);
  --surface-2: rgba(255, 240, 228, .11);
  --menu: #2b1e17;
  --ink: #fbf4ee;
  --ink-2: rgba(251, 244, 238, .68);
  --ink-3: rgba(251, 244, 238, .46);
  --hair: rgba(255, 236, 220, .12);
  --hair-2: rgba(255, 236, 220, .2);
  --fill: rgba(255, 236, 220, .06);
  --fill-2: rgba(255, 236, 220, .12);
  --accent: #f2783c;
  --accent-2: #d9582a;
  --accent-text: #ffb98a;
  --on-accent: #2a1c15;
  --cream: #f6ede4;
  --cream-ink: #2a1c15;
  --grad: linear-gradient(135deg, #ff9a5c, #f2783c 55%, #d9582a);
  --grad-hot: linear-gradient(135deg, #ffb07a, #f2783c 60%, #d9582a);
  --card: linear-gradient(160deg, rgba(255, 240, 228, .11), rgba(255, 240, 228, .04));
  --card-hover: linear-gradient(160deg, rgba(255, 240, 228, .15), rgba(255, 240, 228, .06));
  --input: rgba(255, 240, 228, .06);
  --glass-float: rgba(44, 31, 24, .66);
  --r-xl: 30px;
  --r-lg: 26px;
  --r-md: 18px;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --display: 'Outfit', 'Inter', -apple-system, 'Segoe UI', system-ui, sans-serif;
  --sans: 'Inter', -apple-system, 'Segoe UI', system-ui, sans-serif;
  --num: 'Outfit', 'Inter', system-ui, sans-serif;
  color-scheme: dark;
}
:root[data-theme='light'] {
  --bg: #efe4d9;
  --bg-2: rgba(255, 252, 248, .6);
  --fg: 42 28 21;
  --sf: 250 244 238;
  --sf2: 236 224 212;
  --surface: rgba(255, 255, 255, .55);
  --surface-2: rgba(255, 255, 255, .72);
  --menu: #fbf6f1;
  --ink: #2a1c15;
  --ink-2: rgba(42, 28, 21, .7);
  --ink-3: rgba(42, 28, 21, .5);
  --hair: rgba(90, 55, 30, .12);
  --hair-2: rgba(90, 55, 30, .2);
  --fill: rgba(90, 55, 30, .05);
  --fill-2: rgba(90, 55, 30, .1);
  --accent: #e0662c;
  --accent-text: #b5501c;
  --cream: #2a1c15;
  --cream-ink: #fbf4ee;
  --card: linear-gradient(160deg, rgba(255, 255, 255, .78), rgba(255, 255, 255, .5));
  --card-hover: linear-gradient(160deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .62));
  --input: rgba(255, 255, 255, .7);
  --glass-float: rgba(255, 250, 245, .72);
  color-scheme: light;
}

/* Zemin: espresso üzerinde kehribar lamba ışığı (durağan) */
.backdrop {
  background:
    radial-gradient(55vw 55vh at 12% 8%, rgba(214, 150, 98, .42), transparent 62%),
    radial-gradient(50vw 60vh at 92% 28%, rgba(128, 76, 46, .55), transparent 66%),
    radial-gradient(70vw 60vh at 55% 112%, rgba(242, 140, 80, .22), transparent 62%),
    linear-gradient(180deg, #2a1c15, #1a110d);
}
:root[data-theme='light'] .backdrop {
  background:
    radial-gradient(55vw 55vh at 12% 8%, rgba(255, 214, 178, .9), transparent 62%),
    radial-gradient(50vw 60vh at 92% 28%, rgba(222, 176, 140, .7), transparent 66%),
    radial-gradient(70vw 60vh at 55% 112%, rgba(255, 196, 150, .55), transparent 62%),
    linear-gradient(180deg, #f6ede4, #eadccf);
}
body { background: var(--bg); font-family: var(--sans); }

/* Tipografi: başlıklar ferah ve orta kalınlıkta */
h1, .page-head h1, .ov-live-hello h1 { font-family: var(--display); font-weight: 500; letter-spacing: -.02em; }
h2, .panel h2, .panel-head h2 { font-family: var(--display); font-weight: 500; letter-spacing: -.005em; }
.tile.kpi .value { font-family: var(--num); font-weight: 500; }
.tile.kpi .label { font-weight: 500; }

/* Cam kartlar */
.glass, .panel, .tile, .post-card, .media, .swipe-card, .hero, .service,
:root[data-theme='light'] .glass, :root[data-theme='light'] .panel, :root[data-theme='light'] .tile, :root[data-theme='light'] .post-card,
:root[data-theme='light'] .media, :root[data-theme='light'] .swipe-card, :root[data-theme='light'] .hero, :root[data-theme='light'] .service {
  background: var(--card); border: 1px solid var(--hair); border-radius: var(--r-lg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 26px 50px -32px rgba(12, 6, 3, .75);
}
:root[data-theme='light'] :is(.glass, .panel, .tile, .post-card, .media, .swipe-card, .hero, .service) {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 22px 44px -30px rgba(90, 50, 25, .35);
}
.panel { padding: 22px; }

/* Düğmeler: ana eylem krem hap, ikincil cam hap, simge düğmesi yuvarlak cam */
.primary, :root[data-theme='light'] .primary { background: var(--cream); color: var(--cream-ink); border-radius: 999px; font-weight: 650; box-shadow: 0 10px 26px -14px rgba(0, 0, 0, .7); }
.primary:hover { filter: none; background: #fff; }
:root[data-theme='light'] .primary:hover { background: #3a281f; }
.ghost, .pill { background: var(--fill); color: var(--ink); box-shadow: inset 0 0 0 1px var(--hair-2); border-radius: 999px; }
.ghost:hover, .pill:hover { background: var(--fill-2); }
.icon-btn { border-radius: 50%; background: var(--fill); box-shadow: inset 0 0 0 1px var(--hair); }

/* Seçili öğe: her yerde aynı dil — krem hap, koyu yazı */
[data-nav-section] { --nav-cue: var(--cream); }
.module-tabs { background: var(--fill); border: 1px solid var(--hair); }
.module-tabs button[aria-current='page'], .tab[aria-pressed='true'], .sub-item[aria-selected='true'],
.menu-sheet-group button[aria-current='page'], .seg button[aria-pressed='true'], .sx-tabs button.on,
.tabbar button[aria-current='page'], .sidebar .nav-item[aria-current='page'] {
  background: var(--cream); color: var(--cream-ink); box-shadow: 0 8px 22px -14px rgba(0, 0, 0, .8); font-weight: 650;
}
.module-tabs .count, .tab .count { background: rgba(242, 120, 60, .22); color: var(--accent-text); }
.module-tabs button[aria-current='page'] .count { background: var(--accent); color: #fff; }
.menu-sheet-group { background: var(--fill); border-inline-start-color: var(--accent); }

/* Kenar menü: buzlu panel, tek renkli yuvarlak simgeler */
.sidebar { background: var(--bg-2); border: 1px solid var(--hair); border-radius: var(--r-xl); -webkit-backdrop-filter: blur(24px) saturate(1.3); backdrop-filter: blur(24px) saturate(1.3); }
.sidebar .nav-item svg { background: var(--fill-2); color: var(--ink); box-shadow: none; border-radius: 50%; }
.sidebar .nav-item[aria-current='page'] svg { background: rgba(42, 28, 21, .1); color: var(--cream-ink); }
:root[data-theme='light'] .sidebar .nav-item[aria-current='page'] svg { background: rgba(255, 255, 255, .14); }
.sidebar .nav-item[aria-current='page']::before { display: none; }
.side-upgrade { background: linear-gradient(135deg, rgba(242, 120, 60, .26), rgba(255, 240, 228, .04)); }

/* Alanlar */
input:not([type='checkbox']):not([type='radio']):not([type='range']), select, textarea { background-color: var(--input); border: 1px solid var(--hair-2); border-radius: 14px; }
input:focus-visible, select:focus-visible, textarea:focus-visible { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(242, 120, 60, .24); }
.top-search input { background-color: var(--fill); border-color: var(--hair); }
option, optgroup { background: var(--menu); color: var(--ink); }
:focus-visible { outline-color: var(--accent); }

/* Anahtar ve seçim kutuları: referanstaki gibi kor turuncu */
.switch[aria-checked='true'] { background: var(--accent); }
input[type='checkbox'], input[type='radio'], input[type='range'] { accent-color: var(--accent); }

/* Vurgulu kartlar: cam üzerinde kor ışığı */
.hero-hello { background: radial-gradient(120% 140% at 100% 0%, rgba(242, 120, 60, .45), transparent 58%), linear-gradient(140deg, #4a2c1c, #7a4428 60%, #a5552b) !important; }
.today-n { background: var(--cream); color: var(--cream-ink); box-shadow: none; }

/* Yüzen katmanlar: gerçek buzlu cam */
.tabbar, .chat, dialog, .toast, .ov-live-hello {
  -webkit-backdrop-filter: blur(26px) saturate(1.35); backdrop-filter: blur(26px) saturate(1.35);
}
dialog, :root[data-theme='light'] dialog { background: var(--glass-float) !important; border: 1px solid var(--hair-2); border-radius: 28px; color: var(--ink); }
dialog::backdrop { background: rgba(20, 12, 8, .55); }
.toast { background: var(--surface, rgb(var(--sf2))); border: 1px solid var(--hair-2); border-radius: 16px; }
.chat { background: var(--glass-float); border: 1px solid var(--hair-2); border-radius: 28px; }
.chat-fab { background: var(--cream); color: var(--cream-ink); box-shadow: 0 16px 36px -16px rgba(0, 0, 0, .8); border: 0; }
.ov-live-hello { background: linear-gradient(135deg, rgba(58, 36, 24, .72), rgba(120, 66, 36, .5)); }
@media (max-width: 900px) {
  .tabbar, :root[data-theme='light'] .tabbar { background: var(--glass-float); border: 1px solid var(--hair-2); padding: 6px; }
  .tabbar button { border-radius: 999px; }
}

/* ---------- Hareket: kullanıcının yaptığı işe cevap veren yumuşak geçişler ---------- */
button, .row-item, .set-card, .sx-sector, .nav-item, .tabbar button, .module-tabs button, .sub-item, .tab {
  transition: background-color .22s var(--ease), color .22s var(--ease), box-shadow .22s var(--ease), transform .18s var(--ease), opacity .22s var(--ease);
}
@media (prefers-reduced-motion: no-preference) {
  .main.view-enter > * { animation: fv-enter .42s var(--ease) both; }
  .main.view-enter > :nth-child(2) { animation-delay: .04s; }
  .main.view-enter > :nth-child(n+3) { animation-delay: .08s; }
  @keyframes fv-enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
  button:not(:disabled):active, .row-item:active, .sx-sector:active { transform: scale(.97); }
  button.tile:hover, .set-card:hover, .sx-sector:hover { transform: translateY(-2px); }
  dialog[open] { animation: fv-pop .34s var(--ease); }
  dialog[open]::backdrop { animation: fv-fade .3s ease; }
  @keyframes fv-pop { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }
  @keyframes fv-fade { from { opacity: 0; } to { opacity: 1; } }
  .app.chat-open .chat { animation: fv-pop .32s var(--ease); }
  details[open] > :not(summary) { animation: fv-fade .28s ease; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* 3D ofis zemini sıcak espresso (sahne rengiyle aynı) */
.ov-live { background: #211610; }

/* Okunurluk düzeltmeleri (otomatik kontrast denetimi, 23 Kasım 2026): her metin en az 4,5:1 */
:root { --ink-3: rgba(251, 244, 238, .6); }
:root[data-theme='light'] { --ink-3: rgba(42, 28, 21, .68); }
/* Kor turuncu açık bir renk: üzerindeki yazı koyu kahve olur */
.count, .nav-item .count, .tabbar .count, .fab-badge, .module-tabs button[aria-current='page'] .count { background: var(--accent); color: #2a1c15; }
.pri-chip.on, .kind-chip input:checked + span, .seg button[aria-pressed='true'] { background: var(--cream); color: var(--cream-ink); box-shadow: none; }
.eco-item[aria-current='page'] { background: var(--cream); color: var(--cream-ink); }
.eco-item[aria-current='page'] .small-text, .eco-item[aria-current='page'] .eco-num { color: rgba(42, 28, 21, .72); }
.sx-steps li.ok span { background: #1f7a52; color: #fff; }
/* Baş harf rozetleri: beyaz harf koyu zeminde okunur */
.ava, .inf-avatar { text-shadow: 0 1px 2px rgba(0, 0, 0, .35); }
.ava { background: color-mix(in srgb, var(--c, #f2783c) 58%, #1a110d); }

/* Açık tema okunurluğu (otomatik kontrast denetimi) */
.eco-item[aria-current='page'] .small-text, .eco-item[aria-current='page'] .eco-num { color: currentColor; opacity: .78; }
.section-title { color: var(--ink-2); }
:root[data-theme='light'] .type-influencer { color: #a3245f; }
:root[data-theme='light'] .type-agency { color: #1d5d99; }
:root[data-theme='light'] .type-freelancer { color: #1d7a45; }
:root[data-theme='light'] .type-business { color: #8a5300; }
:root[data-theme='light'] .tag.published, :root[data-theme='light'] .tag.replied { color: #0b6b49; }
:root[data-theme='light'] .tag.open, :root[data-theme='light'] .tag.pending_approval, :root[data-theme='light'] .tag.awaiting_connection { color: #7a5200; }
:root[data-theme='light'] .tag.scheduled { color: #93401a; }
:root[data-theme='light'] .notice.warn { color: #7a5200; }
:root[data-theme='light'] .side-upgrade a, :root[data-theme='light'] .side-upgrade button, :root[data-theme='light'] .side-upgrade span { color: var(--ink); }
:root[data-theme='light'] { --accent-text: #93401a; }

/* Vurgulu gösterge kartı: genel cam kuralı bunu ezmesin (iki temada aynı sıcak kor kartı) */
.tile.kpi.hot, :root[data-theme='light'] .tile.kpi.hot {
  background: radial-gradient(120% 120% at 100% 0%, rgba(255, 176, 120, .42), transparent 60%), linear-gradient(140deg, #4a2c1c, #7a4428 60%, #a5552b);
  border: 0; color: #fff;
}
.tile.kpi.hot .label, .tile.kpi.hot .value, .tile.kpi.hot .kpi-empty { color: #fff; }
.tile.kpi.hot .sub { color: rgba(255, 255, 255, .86); }
/* Sekme sayaçları: zemin açık turuncu, yazı temanın yazı rengi */
.ov-tabs .n, .sx-tabs button span { color: var(--ink); }

/* Kurucu paneli okunurluğu (otomatik kontrast denetimi) */
.table, :root[data-theme='light'] .table { background: var(--fill); }
.ctl-table thead th, .table th { color: var(--ink-2); }
.svc-toggle { color: var(--accent-text); }
.svc-toggle:hover { color: var(--ink); }
.kd-tag { background: var(--accent); color: #2a1c15; }
.tab[aria-pressed='true'] .count, .sub-item[aria-selected='true'] .count, .module-tabs button[aria-current='page'] .count { background: var(--accent); color: #2a1c15; }
:root[data-theme='light'] .credit-table td.pos, :root[data-theme='light'] .profit-grid .pos { color: #0b6b49; }
:root[data-theme='light'] .launch-row.ok .launch-ico { color: #0b6b49; }
:root[data-theme='light'] .launch-row.bad .launch-ico { color: #a3243a; }
:root[data-theme='light'] .launch-row.warn .launch-ico { color: #7a5200; }
:root[data-theme='light'] .kd-warn { color: #7a5200; }
.launch-row.bad .launch-ico { color: #ff8a9a; }
.st-switch button[aria-selected='true'], .st-workbar .st-switch button[aria-pressed='true'] { background: var(--cream); color: var(--cream-ink); }
.st-switch, .st-workbar .st-switch { background: var(--fill); }
.social-chip { color: var(--ink); }

/* ---------- 25 Kasım 2026: kota sonu, ek kredi, Enterprise, Stüdyo tüketim barı ---------- */
.quota-gate { max-width: 520px; }
.quota-gate p { color: var(--ink-2, var(--ink)); }
.quota-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; font-size: 20px; color: var(--accent-text); background: rgba(251, 153, 96, .14); box-shadow: inset 0 0 0 1px rgba(251, 153, 96, .32); }
.credit-packs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; }
.credit-pack { display: grid; gap: 2px; padding: 12px 10px; border: 0; border-radius: 14px; text-align: left; color: var(--ink); background: var(--fill, rgba(255,255,255,.04)); box-shadow: inset 0 0 0 1px var(--hair); cursor: pointer; }
.credit-pack b { font-size: 15px; }
.credit-pack span { color: var(--accent-text); font-weight: 600; }
.credit-pack i { font-style: normal; font-size: 11px; color: var(--good); }
.credit-pack:hover, .credit-pack:focus-visible { box-shadow: inset 0 0 0 2px var(--accent); }
.credit-pack.best { box-shadow: inset 0 0 0 1px var(--accent); }
@media (max-width: 520px) { .credit-packs { grid-template-columns: 1fr; } }
.plan-contact { box-shadow: inset 0 0 0 1px rgba(251, 153, 96, .45); background: linear-gradient(160deg, rgba(251, 153, 96, .10), transparent 60%); }
.plan-contact .plan-price b { font-size: 22px; }
.plan-contact .plan-price .small-text { display: block; }

.st-usage { display: grid; gap: 8px; margin: 0 0 12px; padding: 12px 16px; border-radius: 14px; background: #2b201b; box-shadow: inset 0 0 0 1px var(--hair); }
.st-usage h2 { font-size: 13px; margin: 0; color: var(--ink-2, var(--ink)); font-weight: 600; }
.st-usage-row { display: grid; grid-template-columns: 56px minmax(80px, 1fr) auto; grid-template-areas: "name track val" ". left btn"; align-items: center; gap: 4px 12px; }
.st-usage-name { grid-area: name; font-weight: 600; font-size: 13px; }
.st-usage-track { grid-area: track; height: 10px; border-radius: 999px; overflow: hidden; background: rgba(255, 255, 255, .08); }
.st-usage-track i { display: block; height: 100%; border-radius: inherit; background: var(--good); transition: width .4s ease; }
.st-usage-row.warn .st-usage-track i { background: var(--warn); }
.st-usage-row.full .st-usage-track i { background: var(--bad); }
.st-usage-val { grid-area: val; font-variant-numeric: tabular-nums; font-size: 13px; white-space: nowrap; }
.st-usage-val b { font-size: 15px; }
.st-usage-left { grid-area: left; }
.st-usage-row button { grid-area: btn; justify-self: end; }
.st-usage-row.full .st-usage-left { color: var(--bad); }
.st-library-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }

/* Hazır öneriler: kaydırma kutusu yerine tam görünen, kolay tıklanan liste */
.st-workinspector .st-ideas, .st-side .st-ideas { display: grid; grid-template-columns: 1fr; gap: 6px; max-height: none; overflow: visible; }
.st-workinspector .st-chip, .st-side .st-chip { width: 100%; padding: 8px 12px; border-radius: 10px; line-height: 1.35; }

/* ---------- Asistan balonu sağda ve sürüklenebilir (25 Kasım 2026) ---------- */
@media (min-width: 901px) {
  .chat-fab, body.has-dock .chat-fab { left: auto; right: 22px; bottom: 110px; margin: 0; }
  .app.no-chat.chat-open .chat {
    left: auto; right: 20px; top: 20px; bottom: 20px; margin: 0;
    width: min(440px, calc(100vw - 40px)); height: auto; max-height: calc(100dvh - 40px);
  }
  .app.no-chat.chat-open.chat-left .chat { right: auto; left: 20px; }
}
.chat-fab { touch-action: none; cursor: grab; user-select: none; }
.chat-fab.dragging { cursor: grabbing; transition: none; transform: scale(1.04); box-shadow: 0 22px 44px -14px rgba(0, 0, 0, .85); }
.chat-hello { text-align: center; padding: 18px 8px 6px; }
.chat-hello .hi { margin: 0; font-size: 15px; color: var(--ink-2, var(--ink)); }
.chat-hello h2 { margin: 4px 0 6px; font-size: 22px; letter-spacing: -.01em; }
.chat-quick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.chat-quick button { padding: 11px 10px; border: 0; border-radius: 14px; color: var(--ink); font-weight: 600; background: rgb(var(--fg, 255 255 255) / .06); box-shadow: inset 0 0 0 1px var(--hair); cursor: pointer; }
.chat-quick button:hover, .chat-quick button:focus-visible { box-shadow: inset 0 0 0 2px var(--accent); }

/* Mesaj ve yorumlar komut çubuğu (25 Kasım 2026) */
.inbox-cmd { display: grid; gap: 10px; margin-bottom: 14px; }
.inbox-cmd-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; }
.inbox-cmd .check { display: flex; align-items: center; gap: 8px; font-size: 13px; }

/* Uyarı merkezi (25 Kasım 2026) */
.alert-btn { position: relative; color: var(--warn); }
.alert-btn.bad { color: var(--bad); }
.alert-btn .count { position: absolute; top: -2px; right: -2px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px; font-size: 10px; line-height: 16px; color: #1a0f0a; background: currentColor; }
.alert-btn .count { color: #1a0f0a; background: var(--warn); }
.alert-btn.bad .count { background: var(--bad); }
.alerts-modal { max-width: 560px; }
.alert-list { display: grid; gap: 8px; }
.alert-row { display: flex; align-items: center; gap: 10px; width: 100%; padding: 11px 12px; border: 0; border-radius: 12px; text-align: left; color: var(--ink); background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--hair); cursor: pointer; font: inherit; }
.alert-row:hover, .alert-row:focus-visible { box-shadow: inset 0 0 0 2px var(--accent); }
.alert-row .grow { flex: 1; min-width: 0; }
.alert-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--warn); flex: none; }
.alert-row.bad .alert-dot { background: var(--bad); }
.alert-go { font-size: 12px; font-weight: 700; color: var(--accent-text); white-space: nowrap; }

/* İstatistik filtresi (25 Kasım 2026) */
.stats-bar { display: grid; gap: 8px; margin-bottom: 12px; }
.stats-bar-row { display: flex; flex-wrap: wrap; align-items: end; gap: 10px 14px; }
.stats-account { min-width: 220px; margin: 0; }
.stats-account select { width: 100%; }
.stats-ranges { display: flex; flex-wrap: wrap; gap: 6px; }
.stats-custom { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; }
.stats-custom .field { margin: 0; }
.stats-source { margin: 0; }
.stats-error { color: var(--bad); }
.stats-notes { margin: 0; padding-left: 18px; font-size: 12px; color: var(--ink-2, var(--ink)); }
.stats-kpis { margin-bottom: 14px; }

/* Rapor yorumu ve rakip takibi (25 Kasım 2026) */
.advice, .rivals { margin-bottom: 14px; display: grid; gap: 10px; }
.advice h3, .rivals h3 { font-size: 14px; margin: 6px 0 4px; }
.advice-list { display: grid; gap: 8px; }
.advice-item { display: grid; gap: 4px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--hair); }
.advice-item p { margin: 0; }
.advice-item button { justify-self: start; text-align: left; white-space: normal; }
.rival-add { align-items: end; }
.rival-report { display: grid; gap: 10px; padding-top: 6px; border-top: 1px solid var(--hair); }
.rival-text p { margin: 0 0 8px; line-height: 1.5; }

/* Sürükle-bırak (25 Kasım 2026) */
[data-drag-post], [data-drag-contact] { cursor: grab; }
.dragging { opacity: .5; }
.drop-over { box-shadow: inset 0 0 0 2px var(--accent) !important; background: rgba(251, 153, 96, .08) !important; }
.move-post { max-width: 420px; display: grid; gap: 12px; }

/* Trendler ve haberler: bölge ve çeviri (25 Kasım 2026) */
.region-switch { margin: 8px 0 12px; }
.news-lang { display: block; margin-top: 4px; opacity: .75; }

/* Dil bayrağı (25 Kasım 2026) */
.lang-btn { font-size: 18px; line-height: 1; }

.flag { width: 20px; height: 14px; border-radius: 2px; vertical-align: -2px; flex: none; }
.lang-btn .flag { width: 22px; height: 15px; box-shadow: 0 0 0 1px rgba(255,255,255,.25); }
.region-switch .tab { display: inline-flex; align-items: center; gap: 6px; }

/* Ret geri bildirimi ve öğrenilenler (25 Kasım 2026) */
.reject-why { max-width: 480px; display: grid; gap: 12px; }
.reason-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.reason-chip { position: relative; }
.reason-chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.reason-chip span { display: inline-block; padding: 8px 12px; border-radius: 999px; font-size: 13px; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px var(--hair); }
.reason-chip input:checked + span { background: rgba(251,153,96,.18); box-shadow: inset 0 0 0 2px var(--accent); }
.reason-chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.lessons { margin-bottom: 12px; }
.lessons summary { cursor: pointer; display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: baseline; }
.lesson-list { margin: 10px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.lesson-list li { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; background: rgba(255,255,255,.04); }

/* Viral testi: yeni gösterge ve izleyici yorumu (25 Kasım 2026) */
.viral-gauge { position: relative; width: 132px; height: 132px; flex: none; display: grid; place-items: center; }
.viral-gauge svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.vg-track { fill: none; stroke: rgba(255,255,255,.08); stroke-width: 10; }
.vg-fill { fill: none; stroke-width: 10; stroke-linecap: round; stroke-dasharray: 100; animation: vg-in 1.4s cubic-bezier(.2,.8,.2,1) both; }
.viral-gauge.cool .vg-fill { stroke: #7cc4ff; }
.viral-gauge.warm .vg-fill { stroke: var(--warn); }
.viral-gauge.hot .vg-fill { stroke: var(--accent); filter: drop-shadow(0 0 6px rgba(251,153,96,.6)); }
.viral-gauge > div { position: relative; display: grid; text-align: center; }
.viral-gauge b { font-size: 28px; letter-spacing: -.02em; animation: vg-pop .6s .9s both; }
.viral-gauge span { font-size: 11px; color: var(--ink-2, var(--ink)); max-width: 90px; }
@keyframes vg-in { from { stroke-dashoffset: 100; } }
@keyframes vg-pop { from { opacity: 0; transform: scale(.8); } }
.viral-tiles .tile { animation: take-in .5s both; }
.viral-tiles .tile:nth-child(2) { animation-delay: .05s; } .viral-tiles .tile:nth-child(3) { animation-delay: .1s; } .viral-tiles .tile:nth-child(4) { animation-delay: .15s; }
.viral-tiles .tile:nth-child(5) { animation-delay: .2s; } .viral-tiles .tile:nth-child(6) { animation-delay: .25s; } .viral-tiles .tile:nth-child(7) { animation-delay: .3s; } .viral-tiles .tile:nth-child(8) { animation-delay: .35s; }
.viral-take { margin-top: 14px; display: grid; gap: 10px; }
.take-list { display: grid; gap: 10px; }
.take { display: flex; gap: 12px; padding: 12px; border-radius: 14px; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px var(--hair); animation: take-in .5s calc(var(--i) * .12s) both; }
.take p { margin: 4px 0 0; }
.take-ava { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; flex: none; color: #1a0f0a; background: linear-gradient(135deg, #fdc7a8, #fb9960); }
.take-verdict { margin: 0; padding: 10px 12px; border-radius: 12px; background: rgba(251,153,96,.1); }
@keyframes take-in { from { opacity: 0; transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) { .vg-fill, .viral-gauge b, .take, .viral-tiles .tile { animation: none; } }

/* Reklam sihirbazı soruları (25 Kasım 2026) */
.ad-quiz { display: grid; gap: 12px; max-width: 560px; }
.ad-q { display: grid; gap: 8px; margin: 0; }
.ad-q legend { font-weight: 600; margin-bottom: 6px; }

/* İçerik yazma ve Stüdyo istemi (25 Kasım 2026) */
.compose-ai, .st-enhance { align-items: center; margin-top: -4px; }

/* Logolu platform düğmeleri (26 Kasım 2026) */
.platform-quick { display: flex; flex-wrap: wrap; gap: 8px; }
.pq { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px 7px 8px; border: 0; border-radius: 999px; font: inherit; font-size: 13px; font-weight: 600; color: var(--ink); background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px var(--hair); cursor: pointer; }
.pq:hover, .pq:focus-visible { box-shadow: inset 0 0 0 2px var(--accent); }
.pq.active { background: rgba(251,153,96,.16); box-shadow: inset 0 0 0 2px var(--accent); }
.pq.off { opacity: .55; }
.pq .pq-logo { width: 24px; height: 24px; border-radius: 7px; }
.pq .pq-logo svg { width: 14px; height: 14px; }
.pq .pq-logo { display: inline-grid; place-items: center; flex: none; }

/* ---------- Stüdyo düzenleyicisi v2 (27 Kasım 2026): yazı katmanları, güvenli alan, ayarlar ---------- */
.st-canvas-wrap { position: relative; display: inline-block; max-width: 100%; line-height: 0; }
.st-canvas-wrap > canvas[data-st-canvas], .st-canvas-wrap > video { display: block; }
.st-overlay { position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-width: none !important; max-height: none !important; box-shadow: none !important; border-radius: 8px; cursor: move; touch-action: none; }
.st-overlay.passive { pointer-events: none; }
.st-stage-hint { margin: 8px 0 0; text-align: center; line-height: 1.4; }
.st-ed-stage { flex-direction: column; }
.st-tools2 { display: flex !important; flex-direction: column; gap: 12px; }
.st-workstage .st-tools2 { display: flex !important; }
.st-ed-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.st-tabs { display: flex; flex-wrap: wrap; gap: 4px; padding: 3px; border-radius: 12px; background: var(--soft, rgba(127,127,127,.1)); }
.st-tabs button { border: 0; background: transparent; padding: 7px 11px; border-radius: 9px; font-size: 13px; font-weight: 600; color: inherit; cursor: pointer; }
.st-tabs button[aria-selected="true"] { background: var(--card, #fff); box-shadow: 0 1px 4px rgba(0,0,0,.15); color: #f2783c; }
.st-history { display: flex; gap: 4px; }
.st-history button { min-width: 34px; }
.st-panel { display: flex; flex-direction: column; gap: 10px; padding: 12px; border: 1px solid var(--hair, rgba(127,127,127,.25)); border-radius: 12px; }
.st-panel[hidden] { display: none; }
.st-panel .form-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.st-layers { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.st-layer-list { display: flex; flex-wrap: wrap; gap: 6px; flex: 1 1 100%; }
.st-layer-chip { border: 1px solid var(--hair, rgba(127,127,127,.3)); background: transparent; color: inherit; border-radius: 999px; padding: 5px 12px; font-size: 12.5px; cursor: pointer; max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-layer-chip[aria-pressed="true"] { border-color: #f2783c; background: rgba(242,120,60,.14); color: #f2783c; font-weight: 700; }
.st-presets { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 6px; }
.st-preset { border: 1px solid var(--hair, rgba(127,127,127,.3)); background: var(--soft, rgba(127,127,127,.08)); color: inherit; border-radius: 10px; padding: 8px 6px; font-size: 12.5px; font-weight: 700; cursor: pointer; }
.st-preset:hover, .st-preset:focus-visible { border-color: #f2783c; color: #f2783c; }
.st-toggles { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.st-align { display: inline-flex; gap: 4px; }
.st-swatches { display: flex; flex-wrap: wrap; gap: 6px; }
.st-swatch { width: 26px; height: 26px; border-radius: 50%; border: 2px solid rgba(127,127,127,.4); background: var(--c); cursor: pointer; padding: 0; }
.st-swatch:hover, .st-swatch:focus-visible { transform: scale(1.12); border-color: #f2783c; }
.st-export { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.st-vtools { display: flex; flex-direction: column; gap: 10px; margin: 10px 0; }
@media (max-width: 720px) {
  .st-panel .form-grid.three, .st-export { grid-template-columns: minmax(0, 1fr); }
  .st-tabs button { padding: 6px 8px; font-size: 12px; }
}
.st-captions { display: flex; flex-wrap: wrap; align-items: end; gap: 8px 12px; }
.st-captions .field { min-width: 140px; }
.post-card .post-card-tools { margin-top: 6px; }
.danger-text { color: var(--bad) !important; }
/* 28 Kasım 2026: yüzdeli ilerleme, video tam ekranı ve sürüklenen yazı, montaj paneli, platform önizlemesi */
.st-progress { display: grid; gap: 6px; width: min(100%, 320px); margin: 8px auto 0; text-align: left; }
.st-progress-track { height: 8px; border-radius: 99px; background: rgba(255,255,255,.12); overflow: hidden; }
.st-progress-track i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--accent, #f2783c); transition: width .6s ease; }
.st-progress-label { font-size: 12px; color: var(--muted, #b9aca5); }
.st-progress-label b { color: var(--ink, #f7f3ef); font-variant-numeric: tabular-nums; }
.st-clip .st-progress { margin-top: 4px; width: 100%; }
.st-clip .st-progress-label { display: none; }
.st-wait .st-progress { width: 80%; }
.st-fs { position: relative; display: inline-block; max-width: 100%; }
.st-fs-btn { position: absolute; top: 10px; right: 10px; z-index: 3; width: 38px; height: 38px; border-radius: 10px; border: 0; background: rgba(0,0,0,.55); color: #fff; font-size: 18px; cursor: pointer; }
.st-fs-btn:hover, .st-fs-btn:focus-visible { background: rgba(0,0,0,.8); }
.st-fs:fullscreen { display: grid; place-items: center; width: 100vw; height: 100vh; max-width: none; background: #000; }
.st-fs:fullscreen .st-canvas-wrap { max-height: 100vh; }
.st-fs:fullscreen .st-canvas-wrap > video { max-height: 100vh; max-width: 100vw; width: auto !important; height: auto; }
.st-canvas-wrap.dragging, .st-canvas-wrap.dragging * { cursor: grabbing !important; user-select: none; }
.st-drag-hint { margin: 6px 0 0; }
.st-head-sp { flex: 1; }
.st-project-head { display: flex; align-items: center; gap: 8px; }
.st-montage { margin-top: 14px; border-top: 1px solid var(--hair, rgba(255,255,255,.12)); padding-top: 14px; }
.st-montage .switch-row { margin: 4px 0; }
.st-export-opts { margin-top: 8px; }
.hud-modal { display: grid; gap: 12px; }
.hud-tabs { flex-wrap: wrap; }
.hud-stage { display: grid; place-items: center; padding: 8px 0; }
.hud-phone { position: relative; width: min(320px, 82vw); border-radius: 28px; overflow: hidden; background: #000; color: #fff; border: 6px solid #111; box-shadow: 0 18px 50px rgba(0,0,0,.45); font: 13px/1.35 system-ui, -apple-system, "Segoe UI", sans-serif; }
.hud-phone svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.hud-media { position: relative; overflow: hidden; background: #111; }
.hud-media.r916 { aspect-ratio: 9 / 16; }
.hud-media.r45 { aspect-ratio: 4 / 5; }
.hud-media img, .hud-media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hud-phone.feed { background: #fff; color: #111; }
.hud-phone.feed.fb_feed { background: #fff; }
.hud-top-bar, .hud-row { display: flex; align-items: center; gap: 10px; padding: 8px 10px; }
.hud-sp { flex: 1; }
.hud-cap { margin: 0; padding: 0 10px 12px; font-size: 12.5px; }
.hud-avatar { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, #f2783c, #c13584); color: #fff; font-weight: 800; font-size: 12px; flex: none; }
.hud-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35) 0, transparent 18%, transparent 58%, rgba(0,0,0,.6) 100%); pointer-events: none; }
.hud-top { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; gap: 8px; align-items: center; font-weight: 700; }
.hud-top.center { justify-content: center; gap: 16px; font-weight: 600; }
.hud-top.center span { opacity: .7; }
.hud-top small { opacity: .75; font-weight: 400; }
.hud-story-bars { position: absolute; top: 6px; left: 10px; right: 10px; height: 3px; border-radius: 2px; background: rgba(255,255,255,.35); }
.hud-story-bars i { display: block; width: 40%; height: 100%; background: #fff; border-radius: inherit; }
.hud-side { position: absolute; right: 8px; bottom: 96px; display: grid; gap: 14px; justify-items: center; }
.hud-act { display: grid; justify-items: center; gap: 2px; }
.hud-act svg { width: 28px; height: 28px; filter: drop-shadow(0 1px 2px rgba(0,0,0,.5)); }
.hud-act small { font-size: 11px; font-weight: 600; }
.hud-bottom { position: absolute; left: 10px; right: 56px; bottom: 14px; display: grid; gap: 6px; text-shadow: 0 1px 2px rgba(0,0,0,.6); }
.hud-bottom .hud-cap { padding: 0; }
.hud-user { display: flex; align-items: center; gap: 8px; }
.hud-follow { border: 1px solid rgba(255,255,255,.8); border-radius: 6px; padding: 1px 8px; font-size: 12px; font-weight: 600; }
.hud-phone.tiktok .hud-follow { background: #fe2c55; border-color: #fe2c55; }
.hud-phone.yt_shorts .hud-follow { background: #fff; color: #000; border-color: #fff; border-radius: 99px; }
.hud-music { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 12px; }
.hud-music svg { width: 14px; height: 14px; }
.hud-story-reply { position: absolute; left: 10px; right: 10px; bottom: 12px; display: flex; align-items: center; gap: 12px; }
.hud-story-reply span { flex: 1; border: 1px solid rgba(255,255,255,.7); border-radius: 99px; padding: 8px 14px; }
.st-fs.st-fs-fake { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; width: 100vw; height: 100vh; max-width: none; background: #000; }
.st-fs.st-fs-fake .st-canvas-wrap > video { max-height: 100vh; max-width: 100vw; width: auto !important; height: auto; }
*:has(> .st-fs-fake), *:has(.st-fs-fake) { transform: none !important; animation: none !important; filter: none !important; contain: none !important; }
.compose-upload { display: grid; gap: 8px; }
.compose-drop { text-align: center; }
.compose-thumbs { display: flex; flex-wrap: wrap; gap: 8px; }
.compose-thumb { position: relative; width: 84px; height: 84px; margin: 0; border-radius: 10px; overflow: hidden; background: rgba(0,0,0,.25); }
.compose-thumb img, .compose-thumb video { width: 100%; height: 100%; object-fit: cover; display: block; }
.compose-thumb .icon-btn { position: absolute; top: 3px; right: 3px; width: 24px; height: 24px; min-width: 0; padding: 0; border-radius: 50%; background: rgba(0,0,0,.65); color: #fff; font-size: 12px; }
.compose-thumb figcaption { position: absolute; left: 4px; bottom: 3px; font-size: 11px; font-weight: 700; color: #fff; text-shadow: 0 1px 2px #000; }
.hud-dialog { max-width: 760px; }
.deck-view { display: grid; gap: 12px; }
.deck-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.deck-kpis div { display: grid; gap: 2px; padding: 12px; border-radius: 12px; background: rgba(255,255,255,.06); }
.deck-kpis b { font-size: 22px; }
.deck-kpis span { font-size: 12px; opacity: .75; }
.deck-sec h2 { font-size: 16px; margin: 4px 0 6px; }
.deck-sec ul { margin: 0; padding-left: 18px; display: grid; gap: 4px; }
.deck-actions { flex-wrap: wrap; }
.top-logo img { display: inline-block; vertical-align: middle; }
.top-logo .logo-mark-sm + img { margin-left: 8px; }
