/* ===== Raporlar · modül kutuları ===== */
.rg-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); grid-auto-rows:minmax(250px,auto); gap:16px; margin-bottom:26px; }
.rg-tile { background:#fff; border-radius:26px; padding:22px 24px; display:flex; flex-direction:column; overflow:hidden; cursor:pointer; outline:none;
  box-shadow:0 1px 2px rgba(20,20,40,.04); transition:box-shadow .25s ease; will-change:transform; }
.view.active:not(.settled) .rg-tile { animation:rgIn .5s cubic-bezier(.2,.9,.3,1) both; animation-delay:calc(var(--i)*40ms); }
@keyframes rgIn { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:none; } }
.rg-tile:hover { box-shadow:0 10px 30px rgba(40,40,90,.09); } .rg-tile:focus-visible { box-shadow:0 0 0 3px rgba(108,92,231,.35); }
.rg-tile { height:250px; }
.rg-tile.open { grid-column:1/-1; height:auto; min-height:250px; cursor:default; }
.rg-grid.has-open { grid-auto-flow:row; }   /* dense yok: açılan modülden sonra kutular yukarı zıplamasın */
.rg-tile header { display:flex; align-items:flex-start; gap:10px; }
/* Numaralı modül kutusu: büyük numara üstte, başlık hemen altında, kısa açıklama; aç düğmesi sağ altta küçük kare */
.rg-tile.num { position:relative; }
.rg-num { font-size:64px; font-weight:400; letter-spacing:-2px; line-height:1; color:#1C1D22; font-variant-numeric:tabular-nums; }
.rg-title { margin-top:10px; font-size:19px; font-weight:500; letter-spacing:-.2px; color:#1C1D22; overflow-wrap:anywhere; hyphens:auto; }
.rg-tile.num .rg-x { position:absolute; right:16px; bottom:16px; width:34px; height:34px; border-radius:10px; background:#fff; box-shadow:0 1px 4px rgba(23,26,38,.12); }
@media (max-width:600px){ .rg-tile.num { padding:16px; } .rg-num { font-size:40px; letter-spacing:-1px; } .rg-title { font-size:15px; margin-top:8px; } .rg-tile.num .rg-desc { display:none; } .rg-tile.num .rg-x { right:12px; bottom:12px; width:30px; height:30px; } }
.rg-desc { margin:6px 46px 0 0; font-size:13px; line-height:1.45; color:var(--subtext); display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
.rg-tile.open .hs-grid { margin-top:6px; }
.rg-tile header > div { flex:1; display:flex; flex-direction:column; gap:3px; min-width:0; } .rg-tile header b { font-size:16px; font-weight:600; color:#1C1D22; } .rg-tile header small { font-size:14px; color:#8E909A; }
.rg-x { flex:none; width:28px; height:28px; border-radius:50%; display:grid; place-items:center; background:#F3F3F8; color:#6B6E76; font-size:17px; transition:background .2s, transform .3s; }
.rg-tile:hover .rg-x { background:#ECEBFB; color:#6C5CE7; } .rg-tile.open .rg-x { cursor:pointer; }
.rg-tag { font-size:13px; color:#8E909A; padding-top:2px; }
.rg-body { flex:1; display:flex; flex-direction:column; justify-content:flex-end; margin-top:12px; min-height:0; }
.rg-tile.open .rg-body { justify-content:flex-start; margin-top:20px; }
.rg-big { font-size:clamp(40px,4vw,58px); font-weight:400; letter-spacing:-.04em; line-height:1; color:#1C1D22; font-variant-numeric:tabular-nums; margin-bottom:12px; }
.rg-chip { display:inline-flex; align-items:center; gap:8px; font-size:13.5px; font-weight:600; color:#1FA855; }
.rg-chip i { font-style:normal; width:24px; height:24px; border-radius:50%; display:grid; place-items:center; background:#20C05C; color:#fff; font-size:13px; }
.rg-chip.rg-down { color:#D9483B; } .rg-chip.rg-down i { background:#E0533D; } .rg-chip.rg-mute { color:#9A9CA6; font-weight:500; }
.rg-bars { display:flex; align-items:flex-end; gap:10px; }
.rg-bar { flex:1; height:100%; display:flex; flex-direction:column; justify-content:flex-end; align-items:center; gap:8px; }
.rg-bar span { width:100%; max-width:38px; height:var(--h); border-radius:10px; background:#DCD8F7; transform-origin:bottom; animation:rgGrow .7s cubic-bezier(.2,.9,.3,1) both; animation-delay:var(--d); }
.rg-bar.on span { background:#6C5CE7; } .rg-bar small { font-size:12px; color:#A3A5AE; } .rg-bar.on small { color:#6C5CE7; font-weight:600; }
@keyframes rgGrow { from { transform:scaleY(0); } to { transform:scaleY(1); } }
.rg-ringrow { display:flex; justify-content:center; align-items:center; flex:1; }
.rg-ring { position:relative; } .rg-ring svg { width:100%; height:100%; transform:rotate(-90deg); }
.rg-ring circle { fill:none; stroke-width:14; stroke-linecap:round; } .rg-ring-bg { stroke:#F1F1F5; }
.rg-ring-fg { transition:stroke-dashoffset 1s cubic-bezier(.2,.9,.3,1) .1s; }
.rg-ring-in { position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; }
.rg-ring-in b { font-weight:600; color:#1C1D22; letter-spacing:-.02em; }
.rg-ringw { display:flex; flex-direction:column; align-items:center; gap:10px; }
.rg-ring-cap { font-size:13px; color:#8E909A; text-align:center; }
@media (max-width:1050px){ .rg-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:640px){ .rg-grid { grid-template-columns:1fr; } }
.rg-progs { display:flex; flex-direction:column; gap:14px; }
.rg-prog > div { display:flex; justify-content:space-between; gap:10px; font-size:14.5px; color:#2A2C33; margin-bottom:7px; } .rg-prog > div span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; } .rg-prog b { font-weight:500; }
.rg-track { display:block; height:8px; border-radius:99px; background:#F1F1F5; overflow:hidden; }
.rg-track i { display:block; height:100%; width:var(--w); border-radius:99px; animation:rgW .8s cubic-bezier(.2,.9,.3,1) both .1s; } @keyframes rgW { from { width:0; } }
.rg-cols { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.3fr); gap:36px; align-items:start; }
@media (max-width:800px){ .rg-cols { grid-template-columns:1fr; } }
.rg-h2 { font-size:13px; font-weight:600; color:#8E909A; margin-bottom:12px; }
.rg-kv { display:flex; justify-content:space-between; gap:12px; padding:11px 0; border-bottom:1px solid #F1F1F5; font-size:14.5px; color:#4A4D55; } .rg-kv b { color:#1C1D22; font-weight:600; } .rg-kv .rg-warn { color:#D9483B; }
.rg-link { margin-top:14px; border:0; background:none; font:inherit; font-size:14px; font-weight:600; color:#6C5CE7; cursor:pointer; padding:0; text-align:left; }
.rg-badge { align-self:flex-start; display:inline-flex; align-items:center; gap:6px; font-size:12px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:#C77F10; background:#FFF4E2; border-radius:999px; padding:6px 11px; }
.rg-soon, .rg-note, .rg-empty { font-size:14px; color:#8E909A; line-height:1.45; margin-top:10px; }
.view.settled .rg-tile, .view.settled .rg-bar span, .view.settled .rg-track i { animation:none; }
.rg-tile.open .rg-bar span, .rg-tile.open .rg-track i { animation:rgGrow .7s cubic-bezier(.2,.9,.3,1) both; animation-delay:var(--d,0ms); } .rg-tile.open .rg-track i { animation-name:rgW; }
@media (prefers-reduced-motion:reduce){ .rg-tile, .rg-bar span, .rg-track i { animation:none !important; } .rg-ring-fg { transition:none; } }
.truvai-sg { position:relative; border-radius:20px; padding:16px 18px; margin-bottom:6px; color:#1C1D22; background:linear-gradient(135deg,#EEF0FF 0%,#F4ECFF 55%,#E9F3FF 100%); box-shadow:inset 0 0 0 1px rgba(108,92,231,.14); overflow:hidden; }
.truvai-sg::before { content:''; position:absolute; inset:-40% -10% auto auto; width:180px; height:180px; border-radius:50%; background:radial-gradient(circle,rgba(108,92,231,.18),transparent 70%); pointer-events:none; }
.truvai-sg-h { display:flex; align-items:center; gap:8px; color:#5B4FD6; font-size:12px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; }
.truvai-sg-h svg { width:22px; height:22px; padding:4px; border-radius:8px; background:linear-gradient(135deg,#6C5CE7,#5AA9E6); color:#fff; box-sizing:border-box; }
.truvai-sg-h em { font-style:normal; font-weight:500; text-transform:none; letter-spacing:0; color:#8E8AC4; }
.truvai-sg p { position:relative; margin:10px 0 0; font-size:15px; line-height:1.5; }
.truvai-sg-f { display:flex; gap:8px; align-items:center; margin-top:12px; }
.truvai-sg-ask { border:0; background:rgba(255,255,255,.7); border-radius:999px; padding:8px 14px; font:inherit; font-size:13px; font-weight:600; color:#5B4FD6; cursor:pointer; }
.truvai-sg-sk { display:block; height:12px; border-radius:6px; margin-top:12px; background:linear-gradient(90deg,rgba(108,92,231,.10),rgba(108,92,231,.22),rgba(108,92,231,.10)); background-size:200% 100%; animation:truvaiSk 1.2s linear infinite; }
.truvai-sg-sk.short { width:60%; margin-top:8px; } @keyframes truvaiSk { to { background-position:-200% 0; } }
.truvai-sg.loading .truvai-sg-h em { animation:odyBl 1.2s ease-in-out infinite; } @keyframes odyBl { 50% { opacity:.4; } }
.truvai-in { animation:odyIn .45s cubic-bezier(.2,.9,.3,1) both; } @keyframes odyIn { from { opacity:0; transform:translateY(6px); } }
.truvai-slot { margin-bottom:14px; }
.rg-need { background:#FFF8EC; border-radius:16px; padding:14px 16px; display:flex; flex-direction:column; gap:8px; } .rg-need p { margin:0; font-size:14px; color:#6B4A10; line-height:1.45; }
.en-q { border-left:4px solid var(--c); } .en-q b { color:var(--c); } .en-dot { display:inline-block; width:8px; height:8px; border-radius:50%; margin-right:8px; vertical-align:middle; }
.hm { display:grid; gap:3px; align-items:center; margin:8px 0 4px; } .hm small { font-size:10.5px; color:#9A9CA6; text-align:center; } .hm i { display:block; height:18px; border-radius:4px; } .hm i.hm-x { background:#F6F6F9; }
.ec-list { max-height:52vh; overflow:auto; display:flex; flex-direction:column; } .ec-row { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:9px 2px; border-bottom:1px solid #F1F1F5; }
.ec-row > span:first-child { display:flex; flex-direction:column; min-width:0; } .ec-row small { font-size:12px; color:#8E909A; } .ec-in { display:flex; align-items:center; gap:6px; color:#6B6E76; }
.ec-in input { width:110px; height:36px; border:1px solid #E3E5EA; border-radius:10px; padding:0 10px; font:inherit; text-align:right; }
.rg-sec { margin-top:22px; padding-top:18px; border-top:1px solid #F1F1F5; } .rg-sec-l { font-size:12px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:#6C5CE7; margin-bottom:10px; }
.rg-minis3 { display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:10px; margin-bottom:12px; }
.rg-act { margin-top:18px; border-radius:18px; padding:14px 16px; background:linear-gradient(135deg,#F3F1FF,#EEF4FF); display:flex; flex-direction:column; gap:6px; }
.rg-act.ok { background:#F2FAF5; } .rg-act-l { font-size:11.5px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:#6C5CE7; } .rg-act.ok .rg-act-l { color:#1E9E5A; }
.rg-act p { font-size:14.5px; line-height:1.45; color:#1C1D22; margin:0; }
.rg-act-b { align-self:flex-start; border:0; border-radius:999px; background:#14151A; color:#fff; font:inherit; font-size:13px; font-weight:600; padding:8px 14px; cursor:pointer; margin-top:4px; transition:transform .15s; } .rg-act-b:hover { transform:translateY(-1px); }
.rg-segs { display:inline-flex; align-self:flex-start; gap:2px; padding:4px; border-radius:999px; background:#F3F3F8; margin-bottom:18px; }
.rg-seg { border:0; background:none; font:inherit; font-size:13px; font-weight:600; color:#6B6E76; padding:7px 14px; border-radius:999px; cursor:pointer; transition:background .2s,color .2s; }
.rg-seg.on { background:#fff; color:#1C1D22; box-shadow:0 1px 3px rgba(20,20,40,.12); }
.rg-minis { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; margin-bottom:26px; }
.rg-mini { background:#F7F7FB; border-radius:18px; padding:14px 16px; display:flex; flex-direction:column; gap:3px; } .rg-mini small { font-size:12.5px; color:#8E909A; }
.rg-mini b { font-size:24px; font-weight:500; letter-spacing:-.02em; color:#1C1D22; } .rg-mini span { font-size:12px; color:#8E909A; }

.rg-kv.rg-tot { border-bottom:0; } .rg-kv.rg-tot span, .rg-kv.rg-tot b { font-weight:700; color:#1C1D22; }
@media (max-width:1100px){ .rg-minis { grid-template-columns:repeat(2,minmax(0,1fr)); } }
.tbl-efis { display:inline-flex; align-items:center; gap:7px; height:34px; padding:0 14px; border:1px solid var(--line); border-radius:999px; background:rgba(255,255,255,.8); font:inherit; font-size:13px; font-weight:600; color:var(--text); cursor:pointer; transition:transform .15s,box-shadow .2s; }
.tbl-efis:hover { transform:translateY(-1px); box-shadow:0 6px 16px rgba(30,40,90,.1); }
.efp-ov { position:fixed; inset:0; z-index:880; background:rgba(15,15,25,.28); display:flex; justify-content:flex-end; animation:efpBg .25s ease both; }
.efp { width:min(560px,100%); height:100%; background:#F7F8FB; box-shadow:-20px 0 60px rgba(20,20,50,.18); padding:22px 22px 30px; overflow-y:auto; animation:efpIn .35s cubic-bezier(.2,.9,.3,1) both; }
.efp-ov.out { animation:efpBg .25s ease reverse both; } .efp-ov.out .efp { animation:efpIn .25s ease reverse both; }
@keyframes efpBg { from { opacity:0; } } @keyframes efpIn { from { transform:translateX(40px); opacity:0; } }
.efp-h { display:flex; align-items:flex-start; gap:12px; margin-bottom:16px; } .efp-h > div { flex:1; display:flex; flex-direction:column; gap:3px; } .efp-h b { font-size:20px; } .efp-h small { font-size:13px; color:#8E909A; }
.efp .rg-x { cursor:pointer; border:0; font-size:18px; }
.efp .tb-bar { flex-direction:column; align-items:stretch; gap:10px; } .efp .tb-tools { flex-wrap:wrap; justify-content:flex-start; gap:8px; } .efp .tb-find { flex:1; min-width:180px; }
@media (prefers-reduced-motion:reduce){ .efp-ov, .efp { animation:none !important; } }
/* ===== Bahşiş kumbarası ===== */
/* Bahşiş kumbarası: diğer kartlarla aynı dil — başlık satırı, sola hizalı büyük rakam, ince ayraçlı bölümler, standart düğmeler */
.tbx { display:flex; flex-direction:column; }
.tbx-h { display:flex; align-items:center; justify-content:space-between; gap:10px; } .tbx-h > span { font-size:15px; font-weight:600; color:var(--text); }
.tbx-top { padding:14px 0 16px; }
.tbx-amt { font-size:36px; font-weight:700; letter-spacing:-1px; color:var(--text); line-height:1.05; font-variant-numeric:tabular-nums; }
.tbx-sub { margin-top:6px; font-size:12.5px; color:var(--subtext); }
.tbx-avs { display:flex; margin-top:12px; } .tbx-avs span { width:30px; height:30px; margin-right:-6px; border-radius:50%; display:grid; place-items:center; font-size:11px; font-weight:700; border:2px solid #fff; box-sizing:content-box; }
.tbx-avs .more { background:#F1F3F8; color:var(--subtext); }
.tbx-in .tbx-avs span { animation:tbxPop .4s cubic-bezier(.2,.9,.3,1.2) both; animation-delay:calc(.15s + var(--d)); } @keyframes tbxPop { from { opacity:0; transform:scale(.6); } }
.tbx-in { animation:tbxIn .45s cubic-bezier(.2,.9,.3,1) both; } @keyframes tbxIn { from { opacity:0; transform:translateY(8px); } }
.tbx-sec { padding:14px 0; border-top:1px solid rgba(23,26,38,.07); }
.tbx-sec-h { display:flex; align-items:center; justify-content:space-between; gap:8px; flex-wrap:wrap; font-size:13px; color:var(--subtext); } .tbx-sec-h .rg-segs { margin:0; }
.tbx-flow-v { display:flex; align-items:baseline; gap:8px; margin-top:8px; } .tbx-flow-v b { font-size:22px; font-weight:700; letter-spacing:-.4px; color:var(--text); } .tbx-flow-v small { font-size:12.5px; color:var(--subtext); }
.tbx-link { border:0; background:none; padding:0; font:inherit; font-size:13px; font-weight:600; color:var(--accent); cursor:pointer; }
.tbx-row { display:flex; align-items:center; gap:12px; margin-top:10px; } .tbx-ic { width:38px; height:38px; flex:none; border-radius:12px; display:grid; place-items:center; font-weight:700; font-size:13px; background:#F1F3F8; color:var(--text); }
.tbx-tx { flex:1; min-width:0; display:flex; flex-direction:column; } .tbx-tx b { font-size:14.5px; color:var(--text); } .tbx-tx small { font-size:12.5px; color:var(--subtext); }
.tbx-row > b { font-size:16px; font-weight:700; color:var(--text); }
.tbx-empty { font-size:13px; color:var(--subtext); margin:8px 0 0; }
.tbx-acts { display:flex; align-items:center; gap:10px; padding-top:14px; border-top:1px solid rgba(23,26,38,.07); }
.tbx-state { flex:1; font-size:13px; color:var(--subtext); }
.tbx-go { flex:none; height:40px; padding:0 18px; border:0; border-radius:99px; background:var(--text); color:#fff; font:inherit; font-size:14px; font-weight:600; cursor:pointer; transition:transform .15s, opacity .15s; }
.tbx-go:hover { opacity:.9; } .tbx-go:active { transform:scale(.97); }
@media (prefers-reduced-motion:reduce){ .tbx-in, .tbx-in .tbx-avs span { animation:none !important; } }


@keyframes tbxBob { 50% { transform:translateY(-5px) rotate(-2deg); } }

 
@keyframes tbxDrop { 0% { transform:translateY(-14px) rotateY(0); opacity:0; } 12% { opacity:1; } 55% { transform:translateY(26px) rotateY(540deg); opacity:1; } 62%,100% { transform:translateY(30px) scale(.4); opacity:0; } }
  box-shadow:0 12px 24px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.18); transition:transform .2s cubic-bezier(.2,.9,.3,1), box-shadow .2s; }
/* ===== Personel profil kartları ===== */
.sp-top { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; margin-bottom:10px; }
.sp-tipbtn { height:38px; padding:0 18px; border:0; border-radius:999px; background:#14151A; color:#fff; font:inherit; font-size:13.5px; font-weight:600; cursor:pointer; transition:transform .15s; }
.sp-tipbtn:hover { transform:translateY(-1px); }
.sp-period { font-size:12.5px; color:#8E909A; margin:0 0 12px; }
.sp-pop { width:min(380px,100%); animation:spPop .35s cubic-bezier(.2,.9,.3,1) both; } .sp-pop .sp-card { box-shadow:0 30px 70px rgba(0,0,0,.22); }
@keyframes spPop { from { opacity:0; transform:translateY(10px) scale(.97); } }
.sp-pop-ed { width:min(460px,100%); }
.sp-roles { display:inline-flex; gap:4px; padding:4px; border-radius:999px; background:#F1F1F5; }
.sp-rolebtn { border:0; background:none; font:inherit; font-size:12.5px; font-weight:600; color:#7A7D86; padding:6px 12px; border-radius:999px; cursor:pointer; transition:background .2s,color .2s; }
.sp-rolebtn.on.sp-r-mudur { background:#EEEDFB; color:#5B4FD6; } .sp-rolebtn.on.sp-r-ana_garson { background:#EFF8D6; color:#4A6410; } .sp-rolebtn.on.sp-r-komi { background:#E4F0FF; color:#2C5BA8; }
.sp-rolebtn.on { box-shadow:0 1px 3px rgba(20,20,40,.1); }
.sp-close { width:36px; height:36px; border:0; border-radius:50%; background:#fff; box-shadow:0 4px 14px rgba(20,20,40,.1); font-size:20px; color:#6B6E76; cursor:pointer; }
.sp-meter small:last-child { margin-left:auto; color:#6B6E76; font-weight:600; }
.sp-name-in { margin:12px 16px 0; padding:4px 6px; border:1px solid transparent; border-radius:12px; background:transparent; font:inherit; font-size:26px; font-weight:500; letter-spacing:-.02em; color:#1C1D22; outline:none; transition:border-color .2s, background .2s; }
.sp-name-in:hover { background:#F4F4F7; } .sp-name-in:focus { border-color:#6C5CE7; background:#fff; box-shadow:0 0 0 4px rgba(108,92,231,.12); }
.sp-week { display:grid; grid-template-columns:repeat(7,1fr); gap:6px; padding:16px 22px 0; }
.sp-day { border:1.5px solid #ECEDF1; background:#fff; border-radius:14px; padding:8px 2px; font:inherit; cursor:pointer; display:flex; flex-direction:column; align-items:center; gap:3px; min-height:62px; transition:all .2s; }
.sp-day b { font-size:12.5px; color:#4A4D55; } .sp-day small { font-size:10.5px; line-height:1.25; color:#A3A5AE; text-align:center; }
.sp-day.on { background:#EEEDFB; border-color:#D9D5F7; } .sp-day.on b { color:#5B4FD6; } .sp-day.on small { color:#5B4FD6; }
.sp-day.sel { border-color:#6C5CE7; box-shadow:0 0 0 3px rgba(108,92,231,.15); }
.sp-shiftbar { display:flex; align-items:center; gap:6px; flex-wrap:wrap; padding:12px 22px 0; }
.sp-pre-l { font-size:12.5px; color:#8E909A; margin-right:2px; }
.sp-pre { border:1px solid #ECEDF1; background:#fff; border-radius:999px; padding:5px 11px; font:inherit; font-size:12.5px; font-weight:600; color:#2A2C33; cursor:pointer; display:inline-flex; gap:6px; align-items:baseline; transition:border-color .2s; }
.sp-pre small { font-weight:500; color:#8E909A; font-size:11.5px; } .sp-pre:hover { border-color:#6C5CE7; }
.sp-time { display:flex; align-items:flex-end; gap:10px; margin:12px 22px 0; padding:12px 14px; border-radius:16px; background:#F7F7FB; animation:spPop .25s ease both; }
.sp-time > b { font-size:14px; color:#5B4FD6; min-width:34px; padding-bottom:9px; } .sp-time > span { color:#A3A5AE; padding-bottom:9px; }
.sp-time label { display:flex; flex-direction:column; gap:3px; flex:1; } .sp-time small { font-size:11.5px; color:#8E909A; }
.sp-time input { height:38px; border:1px solid #E3E5EA; border-radius:10px; padding:0 10px; font:inherit; font-size:15px; background:#fff; }
.sp-pop-ed .sp-stats { margin-top:18px; }
.sp-savebar { display:flex; align-items:center; gap:8px; padding:12px 16px; border-top:1px solid #ECEDF1; background:#fff; animation:spPop .25s ease both; }
.sp-savebar [data-err] { flex:1; font-size:12.5px; color:#C1272D; }
.sp-cancel { border:0; background:none; font:inherit; font-size:14px; color:#6B6E76; cursor:pointer; padding:8px 12px; }
.sp-save { border:0; border-radius:999px; background:#14151A; color:#fff; font:inherit; font-size:14px; font-weight:600; padding:10px 22px; cursor:pointer; }
.sp-acts.sp-acts2 { grid-template-columns:repeat(2,1fr); } .sp-acts.sp-acts2 button { display:flex; gap:8px; align-items:center; justify-content:center; font:inherit; font-size:13.5px; height:50px; }
.sp-rolebtn:not(.on) { background:none !important; color:#7A7D86 !important; }
.sp-pop-ed { max-height:92vh; overflow:auto; border-radius:30px; }

.sp-card { background:#FBFBFC; border:1px solid #ECEDF1; border-radius:30px; overflow:hidden; box-shadow:0 14px 30px rgba(20,20,40,.06); display:flex; flex-direction:column; transition:transform .25s ease, box-shadow .25s ease; }
.view.active:not(.settled) .sp-card { animation:rgIn .45s cubic-bezier(.2,.9,.3,1) both; animation-delay:var(--d); }
.sp-card:hover { transform:translateY(-2px); box-shadow:0 20px 40px rgba(20,20,40,.09); }
.sp-head { display:flex; align-items:center; justify-content:space-between; padding:18px 18px 0 22px; }
.sp-role { font-size:12px; font-weight:600; padding:5px 11px; border-radius:999px; }
.sp-r-mudur { background:#EEEDFB; color:#5B4FD6; } .sp-r-ana_garson { background:#EFF8D6; color:#4A6410; } .sp-r-komi { background:#E4F0FF; color:#2C5BA8; }
.sp-edit { height:40px; padding:0 18px; border:0; border-radius:999px; background:#fff; box-shadow:0 4px 14px rgba(20,20,40,.1), inset 0 0 0 1px rgba(20,20,40,.05); font:inherit; font-size:14.5px; font-weight:500; color:#1C1D22; cursor:pointer; transition:transform .15s; }
.sp-edit span { font-size:18px; margin-left:4px; } .sp-edit:hover { transform:translateY(-1px); }
.sp-meter { display:flex; align-items:center; gap:8px; padding:16px 22px 0; } .sp-meter small { font-size:13px; color:#8E909A; }
.sp-meter span { display:flex; gap:2px; } .sp-meter i { width:3px; height:12px; border-radius:2px; background:#E4E5EA; }
.sp-meter i.on { background:hsl(var(--h) 75% 62%); }
.sp-name { font-size:24px; font-weight:500; letter-spacing:-.02em; color:#1C1D22; margin:14px 22px 0; }
.sp-sub { flex:1; font-size:14px; color:#7A7D86; line-height:1.5; margin:6px 22px 18px; }
.sp-stats { display:grid; grid-template-columns:repeat(3,1fr); border-top:1px solid #ECEDF1; }
.sp-stats > div { display:flex; flex-direction:column; align-items:center; gap:3px; padding:16px 6px; } .sp-stats > div + div { border-left:1px solid #ECEDF1; }
.sp-stats b { font-size:19px; font-weight:600; color:#1C1D22; } .sp-stats small { font-size:13px; color:#8E909A; }
.sp-acts { display:grid; grid-template-columns:repeat(3,1fr); border-top:1px solid #ECEDF1; background:#F5F5F7; }
.sp-acts button { height:50px; border:0; background:none; color:#2A2C33; cursor:pointer; display:grid; place-items:center; transition:background .15s; } .sp-acts button + button { border-left:1px solid #ECEDF1; }
.sp-acts button:hover { background:#ECECF2; } .sp-acts .danger { color:#C1272D; }
.sp-modal { width:min(520px,100%); max-height:88vh; overflow:auto; background:#fff; border-radius:24px; padding:22px; box-shadow:0 30px 70px rgba(0,0,0,.2); display:flex; flex-direction:column; gap:12px; }
.sp-modal .rg-segs { margin:0; }
.sp-total span { font-size:12px; color:#8E909A; margin-top:2px; }
.sp-total { background:#F7F7FB; border-radius:18px; padding:14px 16px; display:flex; flex-direction:column; } .sp-total small { font-size:12.5px; color:#8E909A; } .sp-total b { font-size:28px; font-weight:500; letter-spacing:-.02em; }
.sp-rows { display:flex; flex-direction:column; } .sp-row { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:10px 2px; border-bottom:1px solid #F1F1F5; }
.sp-row span { display:flex; flex-direction:column; } .sp-row small { font-size:12px; color:#8E909A; } .sp-row input { width:110px; height:36px; border:1px solid #E3E5EA; border-radius:10px; padding:0 10px; font:inherit; text-align:right; }
.sp-sum { font-size:13px; color:#6B6E76; } .sp-sum.bad { color:#C1272D; }
@media (prefers-reduced-motion:reduce){ .sp-card { animation:none !important; transition:none; } }
/* ===== Sadakat ve Kampanyalar ===== */
@keyframes pgIn { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:none; } }
@keyframes pgPop { 0% { transform:scale(.4); opacity:0; } 70% { transform:scale(1.12); } 100% { transform:scale(1); opacity:1; } }
@keyframes pgGrow { from { width:0; } to { width:var(--w); } }
.pg-tabs { position:relative; display:inline-flex; gap:2px; padding:4px; border-radius:999px; background:rgba(255,255,255,.7); box-shadow:inset 0 0 0 1px rgba(20,20,40,.06); margin-bottom:18px; max-width:100%; overflow-x:auto; }
.pg-tab { position:relative; z-index:1; border:0; background:none; font:inherit; font-size:14px; font-weight:600; color:#6B6E76; padding:9px 18px; border-radius:999px; cursor:pointer; white-space:nowrap; transition:color .25s ease; }
.pg-tab.on { color:#fff; } .pg-tab i { font-style:normal; font-size:11.5px; opacity:.7; margin-left:3px; }
.pg-ind { position:absolute; z-index:0; top:4px; bottom:4px; left:4px; border-radius:999px; background:#14151A; transition:transform .35s cubic-bezier(.2,.9,.3,1), width .35s cubic-bezier(.2,.9,.3,1); }
.pg-anim > * { animation:pgIn .4s cubic-bezier(.2,.9,.3,1) both; }
.pg-anim > *:nth-child(2){animation-delay:.05s} .pg-anim > *:nth-child(3){animation-delay:.1s} .pg-anim > *:nth-child(4){animation-delay:.15s}
.pg-card { background:#fff; border-radius:24px; padding:20px 22px; box-shadow:0 1px 2px rgba(20,20,30,.04); margin-bottom:14px; }
.pg-h { font-size:15px; font-weight:700; margin-bottom:12px; display:flex; align-items:center; gap:10px; } .pg-h small { font-weight:500; color:#8A8D96; font-size:13px; }
.pg-kpis { display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:12px; margin-bottom:14px; }
.pg-kpi { background:#fff; border-radius:22px; padding:18px 20px; display:flex; flex-direction:column; gap:4px; box-shadow:0 1px 2px rgba(20,20,30,.04); }
.pg-anim .pg-kpi { animation:pgIn .45s cubic-bezier(.2,.9,.3,1) both; }
.pg-kpi:nth-child(2){animation-delay:.05s} .pg-kpi:nth-child(3){animation-delay:.1s} .pg-kpi:nth-child(4){animation-delay:.15s}
.pg-kpi small { font-size:13px; color:#7A7D86; } .pg-kpi b { font-size:30px; letter-spacing:-.025em; font-variant-numeric:tabular-nums; } .pg-kpi span { font-size:12.5px; color:#7A7D86; }
.pg-two { display:grid; grid-template-columns:repeat(auto-fit,minmax(320px,1fr)); gap:14px; } .pg-two .pg-card { margin-bottom:14px; }
.pg-link { border:0; background:none; font:inherit; font-size:13.5px; font-weight:600; color:#4F52E8; cursor:pointer; padding:10px 0 0; }
.pg-link:hover { text-decoration:underline; text-underline-offset:3px; }
.pg-cl { display:flex; align-items:center; gap:10px; padding:9px 0; border-bottom:1px solid #F1F2F5; } .pg-cl b { flex:1; font-size:14px; font-weight:600; } .pg-cl small { color:#8A8D96; font-size:12.5px; }
.pg-pill { display:inline-flex; align-items:center; gap:5px; font-style:normal; font-size:11.5px; font-weight:600; padding:4px 9px; border-radius:999px; white-space:nowrap; }
.pg-pill::before { content:''; width:6px; height:6px; border-radius:50%; background:currentColor; }
.pg-live { background:#E7F6EC; color:#1E7B45; } .pg-waiting { background:#EAF1FF; color:#2C5BD8; } .pg-scheduled { background:#F1EDFF; color:#6440D8; }
.pg-paused { background:#F1F2F5; color:#6B6E76; } .pg-budget { background:#FFF1E6; color:#C25A00; } .pg-done { background:#F1F2F5; color:#9A9CA6; }
.pg-live::before { animation:pgPulse 1.8s ease-in-out infinite; } @keyframes pgPulse { 50% { opacity:.35; } }
.pg-next { display:flex; flex-direction:column; gap:8px; }
.pg-nx { display:flex; align-items:center; gap:12px; width:100%; text-align:left; border:1px solid #EEF0F3; background:#FBFBFD; border-radius:16px; padding:12px 14px; font:inherit; cursor:pointer; transition:transform .2s ease, border-color .2s ease, background .2s ease; }
.pg-nx:hover { transform:translateX(3px); border-color:#D9DBE2; background:#fff; } .pg-nx > span:nth-child(2) { flex:1; display:flex; flex-direction:column; gap:2px; } .pg-nx b { font-size:14px; } .pg-nx small { font-size:12.5px; color:#7A7D86; }
.pg-arr { font-size:20px; color:#B4B6BE; }
.pg-ic { flex:none; width:38px; height:38px; border-radius:12px; display:grid; place-items:center; background:#F1F1FC; color:#4F52E8; font-size:20px; font-weight:500; }
.pg-tpls { display:grid; grid-template-columns:repeat(auto-fill,minmax(190px,1fr)); gap:10px; margin-bottom:22px; }
.pg-tpl { display:flex; flex-direction:column; align-items:flex-start; gap:6px; text-align:left; border:1px solid transparent; background:#fff; border-radius:20px; padding:16px; font:inherit; cursor:pointer; box-shadow:0 1px 2px rgba(20,20,30,.04);
  transition:transform .25s cubic-bezier(.2,.9,.3,1), box-shadow .25s ease, border-color .25s ease; }
.pg-tpl:hover { transform:translateY(-3px); box-shadow:0 12px 28px rgba(40,40,90,.12); border-color:#E1E2F5; } .pg-tpl:active { transform:translateY(-1px) scale(.99); }
.pg-tpl b { font-size:14.5px; } .pg-tpl small { font-size:12.5px; color:#7A7D86; line-height:1.4; }
.pg-tpl-blank { background:transparent; border:1.5px dashed #D5D8E0; box-shadow:none; } .pg-tpl-blank .pg-ic { background:#fff; color:#6B6E76; }
.pg-edit { display:grid; grid-template-columns:minmax(0,1fr) 340px; gap:16px; align-items:start; }
@media (max-width:1100px){ .pg-edit { grid-template-columns:1fr; } }
.pg-prevw { position:sticky; top:12px; background:linear-gradient(160deg,#EEF0FF,#F8F4FF); border-radius:24px; padding:18px; }
.pg-prev-l { font-size:12px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:#6B6E9C; margin-bottom:12px; }
.pg-stamp { background:linear-gradient(150deg,#FFFFFF 0%,#F3F5FF 55%,#E9EEFF 100%); color:#14151A; border:1px solid rgba(79,82,232,.12); border-radius:22px; padding:18px; box-shadow:0 14px 34px rgba(60,70,160,.12); transition:transform .3s ease; }
.pg-stamp.sm { box-shadow:none; }
.pg-st-h { display:flex; align-items:center; gap:8px; } .pg-st-h b { flex:1; font-size:14px; } .pg-st-h small { font-size:11px; color:#6B6E9C; }
.pg-st-logo { width:28px; height:28px; border-radius:9px; display:grid; place-items:center; background:#E6E8FF; color:#4F52E8; }
.pg-st-say { font-size:17px; font-weight:600; line-height:1.35; margin:14px 0; letter-spacing:-.01em; }
.pg-st-dots { display:grid; grid-template-columns:repeat(auto-fill,minmax(30px,1fr)); gap:8px; }
.pg-st-dots i { aspect-ratio:1; border-radius:50%; border:1.5px dashed #C9CDEB; display:grid; place-items:center; color:#4F52E8; background:#fff; }
.pg-anim .pg-st-dots i { animation:pgPop .45s cubic-bezier(.2,.9,.3,1) both; animation-delay:var(--d); }
.pg-st-dots i.on { background:linear-gradient(135deg,#6E72F0,#4F52E8); border:0; box-shadow:0 3px 8px rgba(79,82,232,.3); } .pg-st-dots i.last { border-style:solid; border-color:#4F52E8; color:#4F52E8; background:#EEF0FF; }
.pg-st-f { font-size:12px; color:#6B6E9C; margin-top:12px; }
.pg-st-bar { height:8px; border-radius:99px; background:#E3E6F8; overflow:hidden; } .pg-st-bar i { display:block; height:100%; background:linear-gradient(90deg,#6E72F0,#4F52E8); border-radius:99px; }
.pg-form .rk-fields { margin-top:4px; }
.pg-types { display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:8px; margin-bottom:14px; }
.pg-type { display:flex; flex-direction:column; align-items:flex-start; gap:5px; text-align:left; border:1.5px solid #ECEDF1; background:#fff; border-radius:16px; padding:12px; font:inherit; cursor:pointer; transition:border-color .2s ease, background .2s ease, transform .2s ease; }
.pg-type:hover { transform:translateY(-1px); } .pg-type.on { border-color:#4F52E8; background:#F6F6FF; } .pg-type b { font-size:13.5px; } .pg-type small { font-size:11.5px; color:#7A7D86; } .pg-type .pg-ic { width:32px; height:32px; border-radius:10px; }
.pg-rows { display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:14px 18px; margin-bottom:14px; } .pg-rows small { display:block; font-size:12px; color:#8A8D96; margin-bottom:3px; } .pg-rows b { font-size:15px; }
.pg-meter { display:grid; grid-template-columns:auto 1fr auto; gap:12px; align-items:center; font-size:13px; color:#6B6E76; margin-bottom:6px; }
.pg-bar { height:10px; border-radius:99px; background:#EFF0F4; overflow:hidden; } .pg-bar.sm { height:6px; }
.pg-bar i { display:block; height:100%; width:var(--w); border-radius:99px; background:linear-gradient(90deg,#4F52E8,#8E8CF0); transition:width .5s cubic-bezier(.2,.9,.3,1); }
.pg-anim .pg-bar i { animation:pgGrow .9s cubic-bezier(.2,.9,.3,1) both .15s; } .pg-bar i.hot { background:linear-gradient(90deg,#F08A24,#E04B2B); }
.pg-warn { font-size:13px; color:#9A5300; background:#FFF6EA; border-radius:12px; padding:10px 12px; margin:10px 0 0; }
.pg-listh { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; margin-bottom:12px; } .pg-listh .pg-h { margin:0; }
.pg-camps { display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); gap:12px; }
.pg-camp { background:#fff; border-radius:22px; padding:16px 18px; display:flex; flex-direction:column; gap:6px; box-shadow:0 1px 2px rgba(20,20,30,.04); transition:transform .25s ease, box-shadow .25s ease; }
.pg-camp:hover { transform:translateY(-2px); box-shadow:0 12px 28px rgba(40,40,90,.1); }
.pg-camp-h { display:flex; align-items:center; justify-content:space-between; }
.pg-offer { font-size:24px; font-weight:700; letter-spacing:-.02em; margin-top:4px; } .pg-cn { font-size:14.5px; } .pg-cw { font-size:12.5px; color:#7A7D86; line-height:1.4; }
.pg-cstats { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; margin:8px 0 4px; padding-top:10px; border-top:1px solid #F1F2F5; } .pg-cstats small { display:block; font-size:11.5px; color:#8A8D96; } .pg-cstats b { font-size:14px; }
.pg-camp-f { display:flex; align-items:center; justify-content:space-between; margin-top:8px; }
.pg-sw { display:inline-flex; align-items:center; gap:8px; font-size:13px; font-weight:600; color:#4A4D55; cursor:pointer; }
.pg-sw input { display:none; } .pg-sw span { width:36px; height:22px; border-radius:99px; background:#D5D8DE; position:relative; transition:background .25s ease; }
.pg-sw span::after { content:''; position:absolute; left:3px; top:3px; width:16px; height:16px; border-radius:50%; background:#fff; box-shadow:0 1px 3px rgba(0,0,0,.2); transition:transform .25s cubic-bezier(.2,.9,.3,1); }
.pg-sw input:checked + span { background:#1E9E5A; } .pg-sw input:checked + span::after { transform:translateX(14px); }
.pg-menu { position:relative; } .pg-dots { border:0; background:none; font-size:20px; line-height:1; color:#8A8D96; cursor:pointer; padding:2px 6px; border-radius:8px; } .pg-dots:hover { background:#F1F2F5; }
.pg-dd { position:absolute; right:0; top:28px; z-index:5; background:#fff; border-radius:14px; box-shadow:0 14px 34px rgba(20,20,40,.16); padding:6px; min-width:140px; display:flex; flex-direction:column;
  opacity:0; transform:translateY(-4px) scale(.98); pointer-events:none; transition:opacity .18s ease, transform .18s ease; }
.pg-menu.open .pg-dd { opacity:1; transform:none; pointer-events:auto; }
.pg-dd button { border:0; background:none; font:inherit; font-size:13.5px; text-align:left; padding:8px 10px; border-radius:9px; cursor:pointer; } .pg-dd button:hover { background:#F4F5F8; } .pg-dd .danger { color:#C1272D; }
.pg-emptyc { background:#fff; border-radius:22px; padding:28px; text-align:center; color:#7A7D86; font-size:14px; }
.pg-step { border-top:1px solid #F1F2F5; padding-top:14px; margin-top:14px; }
.pg-step-h { display:flex; align-items:center; gap:10px; font-size:14px; font-weight:700; margin-bottom:8px; } .pg-step-h span { width:24px; height:24px; border-radius:50%; background:#14151A; color:#fff; display:grid; place-items:center; font-size:12px; }
.pg-daysel { display:flex; gap:6px; flex-wrap:wrap; } .pg-daysel .rk-day { padding:0; border:0; background:none; }
.pg-daysel input { display:none; } .pg-daysel span { display:inline-block; padding:8px 14px; border-radius:999px; border:1.5px solid #E3E5EA; font-size:13px; font-weight:600; color:#4A4D55; cursor:pointer; transition:all .2s ease; }
.pg-daysel input:checked + span { background:#14151A; border-color:#14151A; color:#fff; }
.pg-guest { background:#fff; border-radius:20px; padding:16px; box-shadow:0 18px 40px rgba(20,20,50,.14); display:flex; flex-direction:column; gap:6px; }
.pg-g-top { display:flex; align-items:center; gap:8px; } .pg-g-top .pg-st-logo { background:#F1F1FC; color:#4F52E8; } .pg-g-top small { font-size:12px; color:#7A7D86; }
.pg-g-off { font-size:26px; font-weight:700; letter-spacing:-.02em; margin-top:6px; } .pg-guest b { font-size:15px; } .pg-guest > small { font-size:12.5px; color:#7A7D86; }
.pg-g-btn { margin-top:10px; text-align:center; background:#14151A; color:#fff; border-radius:999px; padding:11px; font-size:14px; font-weight:600; }
.pg-mems { display:flex; flex-direction:column; gap:8px; }
.pg-mem { display:grid; grid-template-columns:40px minmax(150px,1.2fr) minmax(0,1.4fr) 150px 80px; gap:12px; align-items:center; background:#fff; border-radius:18px; padding:10px 14px; }
@media (max-width:900px){ .pg-mem { grid-template-columns:40px 1fr; } .pg-mem-tags, .pg-mem-p, .pg-mem-m { grid-column:2; } }
.pg-mem-t { display:flex; flex-direction:column; } .pg-mem-t b { font-size:14px; } .pg-mem-t small { font-size:12px; color:#8A8D96; }
.pg-mem-tags { display:flex; flex-wrap:wrap; gap:4px; } .pg-mem-p { display:flex; flex-direction:column; gap:5px; } .pg-mem-p small { font-size:12px; color:#6B6E76; }
.pg-anim .pg-tpl, .pg-anim .pg-camp, .pg-anim .pg-mem { animation:pgIn .4s cubic-bezier(.2,.9,.3,1) both; animation-delay:var(--d); }
@media (prefers-reduced-motion:reduce){ .pg-anim > *, .pg-anim .pg-tpl, .pg-anim .pg-camp, .pg-anim .pg-mem, .pg-anim .pg-kpi, .pg-anim .pg-st-dots i, .pg-anim .pg-bar i, .pg-kpi, .pg-tpl, .pg-camp, .pg-mem, .pg-step, .pg-st-dots i, .pg-bar i { animation:none !important; } .pg-ind, .pg-tpl, .pg-camp, .pg-nx { transition:none !important; } }


  

.fn-card { background:#fff; border-radius:22px; padding:16px 18px; box-shadow:0 1px 2px rgba(20,20,30,.04); }
.fn-h { font-size:14px; font-weight:700; margin-bottom:10px; }

 
 

.ef-list { display:flex; flex-direction:column; gap:10px; }
.ef-row { display:flex; align-items:center; gap:16px; width:100%; text-align:left; padding:18px 22px; border:0; border-radius:26px; background:#fff; font:inherit; cursor:pointer; box-shadow:0 1px 2px rgba(20,20,30,.04); }
.ef-row:hover { box-shadow:0 4px 18px rgba(20,20,30,.08); }
.ef-ic { flex:none; width:52px; height:52px; border-radius:50%; background:#F0F0F2; display:grid; place-items:center; color:#6B6E76; }
.ef-ic svg { width:20px; height:20px; }
.ef-t { flex:1; display:flex; flex-direction:column; gap:3px; min-width:0; } .ef-t b { font-size:17px; color:#14151A; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; } .ef-t small { font-size:14px; color:#7A7D86; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.ef-r { flex:none; display:flex; flex-direction:column; align-items:flex-end; gap:3px; } .ef-amt { font-size:17px; font-weight:700; color:#14151A; white-space:nowrap; } .ef-r small { font-size:14px; color:#7A7D86; white-space:nowrap; }
.ef-tag { color:#1F7A4D; font-weight:600; }
.ef-ov { position:fixed; inset:0; background:rgba(10,10,12,.35); z-index:5000; display:grid; place-items:center; padding:16px; overflow:auto; }
.ef-sheet { width:100%; max-width:400px; max-height:calc(100vh - 32px); max-height:calc(100dvh - 32px); display:flex; flex-direction:column; }
.ef-sheet > .ef-rc { flex:1 1 auto; min-height:0; overflow-y:auto; overscroll-behavior:contain; }
.ef-sheet > div:last-child { flex:none; }
.ef-rc { background:#fff; border-radius:8px; overflow:hidden; box-shadow:0 20px 60px rgba(0,0,0,.2); font-family:'SF Mono',Menlo,Consolas,monospace; color:#1A1C24; }
.ef-rh { background:#2E2F33; color:#fff; display:flex; align-items:center; justify-content:space-between; padding:16px 20px; font-size:13px; } .ef-rh img { height:22px; }
.ef-rb { padding:18px 20px 20px; display:flex; flex-direction:column; gap:3px; } .ef-rb > small { font-size:12px; color:#8A8F9C; }
.ef-no { font-size:12px; letter-spacing:.06em; margin:10px 0 8px; padding-bottom:8px; border-bottom:1px solid #E3E5EA; }
.ef-ln { display:flex; justify-content:space-between; gap:12px; font-size:13px; padding:4px 0; } .ef-ln small { display:block; color:#8A8F9C; font-size:11px; }
.ef-tot { font-weight:700; border-top:1px dashed #C9CCD3; margin-top:8px; padding-top:10px; }
.ef-note { font-size:11px; color:#8A8F9C; margin-top:8px; text-align:center; }
@media print { body.ef-printing > *:not(.ef-ov) { display:none !important; } body.ef-printing .ef-ov { position:static; background:none; padding:0; } body.ef-printing .ef-sheet > div:last-child { display:none; } body.ef-printing .ef-rc { box-shadow:none; overflow:visible; } body.ef-printing .ef-sheet { max-height:none; } }




.tc-btn {
  flex: 1; border: 1px solid var(--border); background: rgba(255,255,255,0.6);
  color: var(--text); font-family: inherit; font-size: 12.5px; font-weight: 600;
  padding: 11px 0; border-radius: 999px; cursor: pointer;
  transition: background .2s, transform .16s var(--ease-out-strong), box-shadow .2s;
}
.tc-btn:hover { background: #fff; }
.tc-btn:active { transform: scale(0.97); }
.tc-btn.primary {
  background: #0F1117; color: #fff; border-color: transparent;
  box-shadow: 0 6px 16px rgba(15,17,23,0.20);
}
.tc-btn.primary:hover { background: #23273A; }
.connbar { position: fixed; left: 50%; bottom: 18px; transform: translate(-50%, 160%); z-index: 9999; background: #1C1D22; color: #fff; font-size: 13px; font-weight: 600; padding: 9px 16px; border-radius: 999px; box-shadow: 0 10px 26px rgba(0,0,0,.25); transition: transform .35s cubic-bezier(.2,.9,.3,1.2), background .3s; pointer-events: none; }
.obbar { position: fixed; left: 50%; bottom: 64px; transform: translateX(-50%); z-index: 9997; background: #B7791F; color: #fff; font-size: 13px; font-weight: 600; padding: 9px 16px; border-radius: 999px; box-shadow: 0 10px 26px rgba(0,0,0,.2); max-width: calc(100vw - 32px); text-align: center; }
.prbar { position: fixed; left: 50%; top: 14px; transform: translateX(-50%); z-index: 9998; background: #C1272D; color: #fff; font: inherit; font-size: 13px; font-weight: 700; padding: 10px 18px; border: 0; border-radius: 999px; box-shadow: 0 10px 26px rgba(193,39,45,.35); cursor: pointer; animation: prIn .4s cubic-bezier(.2,.9,.3,1.2); max-width: calc(100vw - 32px); }
@keyframes prIn { from { transform: translate(-50%, -160%); } }
.prt-list { display: grid; gap: 10px; max-height: 60vh; overflow: auto; }
.prt { border: 1px solid var(--line, #E6E8EE); border-radius: 14px; padding: 12px 14px; display: grid; gap: 4px; } .prt.cancel { border-color: #C1272D; }
.prt-h { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; } .prt-h small, .prt-l small { color: var(--sub, #6B7080); }
.prt-a { display: flex; gap: 8px; margin-top: 6px; }
.connbar.show { transform: translate(-50%, 0); } .connbar.ok { background: #1E9E5A; }
#staffRec { margin-bottom:14px; } #staffRec:empty { display:none; }
.fb-wk-p { margin:10px 0 0; font-size:15px; line-height:1.6; color:var(--text); padding-left:14px; border-left:3px solid #E4E7EF; }
.fb-wk-p.bad { border-left-color:#E0533D; } .fb-wk-p.good { border-left-color:#20C05C; }
.fb-wk-p b { font-weight:600; } .fb-wk-p small { color:var(--subtext); font-size:13px; }
.st-src { display:flex; flex-direction:column; gap:3px; padding:14px 16px; border-radius:14px; background:rgba(120,120,128,.08); margin-bottom:14px; font-size:13px; }
.st-src span { color:var(--subtext); } .st-src.api { background:rgba(18,161,80,.1); }
.st-kpis { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:10px; margin-bottom:14px; }
@media (max-width:900px){ .st-kpis { grid-template-columns:repeat(2,minmax(0,1fr)); } }
.st-kpi { background:var(--surface,#fff); border-radius:14px; padding:12px 14px; display:flex; flex-direction:column; gap:4px; } .st-kpi small { color:var(--subtext); font-size:12px; } .st-kpi b { font-size:18px; } .st-kpi.warn b { color:#B42318; }
.st-low { margin-left:0; font-style:normal; font-size:11px; font-weight:700; color:#B42318; background:rgba(193,39,45,.1); padding:2px 6px; border-radius:999px; }
.st-rlist { display:flex; flex-direction:column; gap:6px; margin-top:12px; max-height:60vh; overflow:auto; }
.st-rrow { display:flex; justify-content:space-between; align-items:center; gap:12px; text-align:left; border:0; border-radius:12px; padding:12px 14px; background:rgba(120,120,128,.07); font:inherit; cursor:pointer; color:inherit; }
.st-rrow small { display:block; color:var(--subtext); font-size:12px; } .st-rrow .n { text-align:right; white-space:nowrap; }
.st-rline { display:grid; grid-template-columns:1fr 120px 40px 34px; gap:6px; align-items:center; margin-top:8px; }
.st-rline select, .st-rline input { height:36px; border-radius:10px; border:1px solid var(--line, rgba(20,30,60,.14)); padding:0 10px; font:inherit; font-size:14px; background:#fff; min-width:0; } .st-ru { font-size:12px; color:var(--subtext); }
.st-form { display:flex; flex-direction:column; gap:10px; margin-top:12px; } .st-form label { display:flex; flex-direction:column; gap:4px; font-size:12.5px; color:var(--subtext); flex:1; }
.st-form input, .st-form select { height:38px; border-radius:10px; border:1px solid var(--line, rgba(20,30,60,.14)); padding:0 10px; font:inherit; font-size:14px; color:var(--text, #111); background:#fff; }
.st-row { display:flex; gap:10px; flex-wrap:wrap; } .st-err { color:#B42318; font-size:13px; min-height:1em; margin:8px 0 0; } .st-del { color:#B42318; align-self:flex-start; }
.st-lh, .st-line { display:grid; grid-template-columns:2fr 1.6fr .8fr .8fr .9fr 18px 34px; gap:6px; align-items:center; } .st-lh { font-size:11.5px; color:var(--subtext); }
.st-line { margin-top:6px; } .st-line input, .st-line select { height:34px; min-width:0; font-size:13px; } .st-lowc { color:#B7791F; font-weight:700; text-align:center; }
@media (max-width:640px){ .st-lh { display:none; } .st-line { grid-template-columns:1fr 1fr; } }
.sub-now { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-bottom:6px; }
.sub-now-name { font-size:20px; font-weight:700; letter-spacing:-.01em; margin-top:2px; }
.sub-st { font-size:12px; font-weight:600; padding:5px 10px; border-radius:999px; background:rgba(18,161,80,.12); color:#0F7A3D; }
.sub-st.demo { background:rgba(47,111,235,.1); color:#2F6FEB; } .sub-st.paused, .sub-st.cancelled { background:rgba(193,39,45,.1); color:#B42318; }
.sub-plans { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin:16px 0 4px; }
@media (max-width:760px){ .sub-plans { grid-template-columns:1fr; } }
.sub-plan { border:1px solid var(--line, rgba(20,30,60,.12)); border-radius:16px; padding:16px; background:var(--surface, #fff); }
.sub-plan.cur { border-color:#111827; box-shadow:0 0 0 1px #111827 inset; }
.sub-plan-h { display:flex; justify-content:space-between; align-items:center; gap:8px; }
.sub-badge { font-size:11px; font-weight:700; background:#111827; color:#fff; border-radius:999px; padding:3px 8px; }
.sub-price { font-size:22px; font-weight:700; margin-top:8px; } .sub-price small { font-size:12px; font-weight:500; color:var(--subtext); }
.sub-annual { font-size:12px; margin-top:2px; }
.sub-ul { margin:10px 0 0; padding-left:18px; font-size:13px; line-height:1.6; } .sub-ul li.no { color:var(--subtext); text-decoration:line-through; }
.sub-sec { margin-top:16px; font-size:13.5px; }
.sub-fees { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; margin-top:8px; }
.sub-fees div { border-radius:12px; background:rgba(120,120,128,.08); padding:10px 12px; display:flex; flex-direction:column; gap:2px; font-size:12px; } .sub-fees b { font-size:16px; }




@media (max-width: 1180px) {  .tb-find { width: 200px; } }
@media (prefers-reduced-motion: reduce) {
  
  .tc-btn:active { transform: none; }
}

/* --- detay paneli: yalnız masa seçilince yer kaplıyor --- */
#view-masalar .right {
  width: 0; padding: 0; border-left: none !important; overflow: hidden;
  transition: width .34s var(--ease-in-out-strong), padding .34s var(--ease-in-out-strong);
}
#view-masalar.sel-open .right {
  width: 340px; padding: 22px; overflow-y: auto;
  border-left: 1px solid var(--border) !important;
}
#view-masalar .right-close { display: none; }
#view-masalar.sel-open .right-close {
  display: flex; align-items: center; justify-content: center;
  position: sticky; top: 0; margin-left: auto; margin-bottom: -6px;
  width: 32px; height: 32px; border-radius: 50%; z-index: 2;
  background: rgba(255,255,255,0.8); border: 1px solid var(--border);
  color: var(--subtext); cursor: pointer; flex-shrink: 0;
  transition: background .2s, color .2s, transform .16s var(--ease-out-strong);
}
#view-masalar.sel-open .right-close:hover { background: #fff; color: var(--text); }
#view-masalar.sel-open .right-close:active { transform: scale(0.94); }
#view-masalar.sel-open .right-close svg { width: 15px; height: 15px; }
/* seçim açıkken ızgara 2 kolona düşüyor — kart genişliği okunur kalsın */


.rg-lead { font-size:15px; line-height:1.5; color:#3A3D48; margin:2px 0 16px; } .rg-lead b { color:#1B1D26; font-weight:700; }
.rg-wrow { padding:10px 0; } .rg-wrow-h { display:flex; justify-content:space-between; gap:12px; font-size:14px; margin-bottom:6px; } .rg-wrow-h span { color:#8E909A; }

/* Stok ve Maliyet: dikkat kartı, sekmeler, kategori grupları */
.sx-att { display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:22px; padding:18px 22px; margin-bottom:14px; }
.sx-att-c > b { display:block; font-size:14.5px; } .sx-att-c > small { display:block; font-size:12.5px; color:var(--subtext); margin-bottom:6px; } .sx-att-c .rg-kv { font-size:13.5px; padding:6px 0; }
.sx-tabs { margin:4px 0 12px; } .sx-tabs small { opacity:.6; font-weight:500; }
.sx-body { padding:12px 16px 16px; }
.sx-tools { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin:4px 0 12px; } .sx-tools .rv-search { flex:1; min-width:220px; }
.sx-grp { border-radius:16px; margin-top:8px; background:rgba(120,120,128,.045); overflow:hidden; } .sx-grp.open { background:rgba(120,120,128,.06); }
.sx-gh { width:100%; display:flex; align-items:center; gap:12px; padding:14px 16px; border:0; background:none; font:inherit; color:var(--text); text-align:left; cursor:pointer; }
.sx-gh.static { cursor:default; } .sx-gh b { font-size:15px; } .sx-gh small { font-size:13px; color:var(--subtext); } .sx-gh small em { font-style:normal; }
.sx-gv { margin-left:auto; font-weight:700; font-size:14.5px; }
.sx-chev { width:9px; height:9px; border-right:2px solid var(--subtext); border-bottom:2px solid var(--subtext); transform:rotate(45deg); margin:-4px 4px 0 6px; transition:transform .2s; } .sx-grp.open .sx-chev { transform:rotate(-135deg); margin-top:4px; }
.sx-head, .sx-row { display:grid; grid-template-columns:minmax(0,1.6fr) minmax(130px,1fr) 120px 110px minmax(170px,auto); gap:12px; align-items:center; padding:10px 16px; }
.sx-head { font-size:12px; color:var(--subtext); padding-top:0; } .sx-head span:nth-child(n+3) { text-align:right; }
.sx-row { background:#fff; border-top:1px solid rgba(23,26,38,.05); font-size:14px; } .sx-row[onclick] { cursor:pointer; } .sx-row[onclick]:hover { background:#FAFBFD; }
.sx-row.low .sx-q b { color:#B42318; }
.sx-n b { display:block; font-weight:600; } .sx-n small, .sx-q small, .sx-c small { display:block; font-size:12px; color:var(--subtext); } .sx-n em { font-style:normal; font-weight:600; } .sx-n em.up { color:#B42318; }
.sx-q b { font-weight:600; } .sx-bar { display:block; height:4px; border-radius:99px; background:rgba(23,26,38,.08); margin:5px 0 3px; max-width:120px; } .sx-bar i { display:block; height:100%; border-radius:99px; background:var(--pop,#1FA463); } .sx-row.low .sx-bar i { background:#E0533D; }
.sx-c, .sx-v { text-align:right; white-space:nowrap; } .sx-v { font-weight:600; } .sx-v.neg { color:#B42318; }
.sx-a { display:flex; justify-content:flex-end; gap:6px; opacity:0; transition:opacity .15s; } .sx-row:hover .sx-a, .sx-row:focus-within .sx-a { opacity:1; }
.sx-a .tc-btn { width:auto; height:30px; padding:0 11px; border-radius:999px; font-size:12px; border:1px solid var(--line, rgba(20,30,60,.12)); background:#fff; }
.sx-row.inv { grid-template-columns:minmax(0,1.6fr) 1fr 120px; } .sx-row.mv { grid-template-columns:minmax(0,1.6fr) 110px 120px 70px; }
.sx-t { justify-self:start; font-size:12px; font-weight:600; padding:3px 10px; border-radius:99px; background:rgba(120,120,128,.1); } .sx-t.t-purchase { background:rgba(31,164,99,.12); color:#137A47; } .sx-t.t-waste { background:rgba(224,83,61,.12); color:#B42318; } .sx-t.t-count { background:rgba(61,123,239,.12); color:#2F5FC4; }
.sx-tm { text-align:right; font-size:12.5px; color:var(--subtext); }
@media (hover:none){ .sx-a { opacity:1; } }
@media (max-width:900px){ .sx-head { display:none; } .sx-row { grid-template-columns:1fr auto; } .sx-c { display:none; } .sx-a { grid-column:1/-1; justify-content:flex-start; opacity:1; } .sx-row.inv, .sx-row.mv { grid-template-columns:1fr auto; } .sx-row.mv .sx-tm { display:none; } }
.sx-more { display:block; width:100%; padding:11px; border:0; border-top:1px solid rgba(23,26,38,.05); background:#fff; font:inherit; font-size:13.5px; font-weight:600; color:var(--text); cursor:pointer; } .sx-more:hover { background:#FAFBFD; }

/* Kadro önerisi: 4 sayı, türe göre gruplu öneriler, açıklama katlanır */
.sr-top { display:flex; align-items:center; gap:8px; flex-wrap:wrap; } .sr-top .fn-h { margin-right:auto !important; }
.sr-pill { font-size:12.5px; font-weight:700; padding:4px 12px; border-radius:99px; } .sr-pill.ok { background:rgba(31,164,99,.12); color:#137A47; } .sr-pill.warn { background:rgba(214,167,67,.16); color:#8A5A00; } .sr-pill.bad { background:rgba(224,83,61,.12); color:#B42318; }
.sr-tiles { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; margin:14px 0 4px; } @media (max-width:900px){ .sr-tiles { grid-template-columns:repeat(2,minmax(0,1fr)); } }
.sr-t { padding:12px 14px; border-radius:14px; background:#F7F8FB; } .sr-t small, .sr-t span { display:block; font-size:12.5px; color:var(--subtext); } .sr-t b { display:block; font-size:20px; font-weight:700; margin:4px 0 2px; color:var(--text); }
.sr-t.warn b { color:#8A5A00; } .sr-t.bad b { color:#B42318; }
.sr-groups { columns:2 340px; column-gap:12px; margin-top:14px; } .sr-g { break-inside:avoid; margin-bottom:12px; }   /* kart yükseklikleri farklı: sütunlara akar, boşluk kalmaz */
.sr-g { border-radius:16px; border:1px solid rgba(23,26,38,.07); padding:12px 14px; background:#fff; }
.sr-gh { display:flex; align-items:center; gap:8px; font-size:14px; font-weight:700; margin-bottom:6px; } .sr-gh small { margin-left:auto; font-size:12px; color:var(--subtext); font-weight:600; }
.sr-gh i { width:8px; height:8px; border-radius:50%; background:#8E93A8; } .sr-g.hire .sr-gh i, .sr-g.add .sr-gh i { background:#E0533D; } .sr-g.move .sr-gh i { background:#3D7BEF; } .sr-g.law .sr-gh i { background:#D97706; } .sr-g.role .sr-gh i { background:#7C5CE0; } .sr-g.idle .sr-gh i { background:#8E93A8; } .sr-g.cut .sr-gh i { background:var(--pop,#1FA463); }
.sr-g ol { list-style:none; margin:0; padding:0; } .sr-it { display:flex; gap:10px; align-items:flex-start; padding:9px 0; border-top:1px solid #F1F1F5; font-size:13.5px; line-height:1.5; } .sr-it:first-child { border-top:0; }
.sr-day { flex:none; min-width:82px; font-size:12px; font-weight:700; padding:3px 9px; border-radius:99px; background:#F1F3F8; text-align:center; }
.sr-more { margin-top:12px; font-size:13px; color:var(--subtext); } .sr-more summary { cursor:pointer; font-weight:600; color:var(--text); } .sr-more p { margin:8px 0 0; line-height:1.55; }

/* ===== Sadakat kartı önizlemesi: Truva Club'daki kartın aynısı ===== */
.plc{--lc:#3D7BEF;--lc-ink:#1E1A17;display:grid;gap:12px;}
.plc-title{font-size:16px;font-weight:700;line-height:1.35;color:var(--text);text-wrap:balance;}
.plc-card{position:relative;margin-top:20px;color:#fff;border-radius:20px;box-shadow:0 20px 36px -24px rgba(30,20,10,.6);}
.plc-card::before,.plc-card::after{content:"";position:absolute;height:28px;border-radius:18px 18px 0 0;z-index:0;}
.plc-card::before{top:-18px;left:14%;right:14%;background:color-mix(in srgb,var(--lc) 40%,#F3E9DC);}
.plc-card::after{top:-9px;left:8%;right:8%;background:color-mix(in srgb,var(--lc) 75%,#fff);}
.plc-top,.plc-mid,.plc-bot{position:relative;z-index:1;}
.plc-top,.plc-bot{background:var(--lc-ink);display:flex;align-items:center;gap:10px;padding:12px 14px;}
.plc-top{border-radius:20px 20px 0 0;}
.plc-bot{border-radius:0 0 20px 20px;flex-direction:column;align-items:stretch;gap:10px;padding:14px;}
.plc-logo{flex:0 0 32px;height:32px;border-radius:50%;background:#E9DCC9 center/cover no-repeat;color:var(--lc-ink);display:flex;align-items:center;justify-content:center;font-weight:800;font-size:14px;}
.plc-name{flex:1;min-width:0;font-size:14.5px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.plc-cnt{display:grid;justify-items:end;line-height:1.1;}
.plc-cnt small{font-size:9px;font-weight:700;letter-spacing:.14em;opacity:.75;}
.plc-cnt b{font-size:17px;font-weight:800;font-variant-numeric:tabular-nums;display:flex;}
.plc-mid{background:var(--lc);padding:16px 14px;}
.plc-stamps{display:grid;grid-template-columns:repeat(var(--cols,5),minmax(0,38px));justify-content:center;gap:9px 10px;}
.plc-st{aspect-ratio:1;border-radius:50%;background:rgba(255,255,255,.25);display:flex;align-items:center;justify-content:center;color:var(--lc-ink);}
.plc-st svg{width:52%;height:52%;}
.plc-st.on{background:#fff;box-shadow:0 4px 10px -4px rgba(0,0,0,.35);}
.plc-st.gift:not(.on){color:#fff;border:1.5px dashed rgba(255,255,255,.7);background:transparent;}
.plc-spend{display:grid;grid-template-columns:auto 1fr;align-items:baseline;gap:4px 8px;}
.plc-spend b{font-size:26px;font-weight:800;} .plc-spend span{font-size:14px;opacity:.85;}
.plc-spend i{grid-column:1/-1;display:block;height:8px;border-radius:99px;background:rgba(255,255,255,.3);overflow:hidden;}
.plc-spend em{display:block;height:100%;background:#fff;border-radius:99px;}
.plc-auto{font-size:14px;font-weight:600;text-align:center;opacity:.95;}
.plc-bot-r{display:flex;align-items:center;gap:10px;}
.plc-rw{flex:1;min-width:0;display:grid;gap:2px;}
.plc-rw small{font-size:9px;font-weight:700;letter-spacing:.14em;opacity:.7;}
.plc-rw b{font-size:15px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.plc-rw em{font-style:normal;font-size:12px;opacity:.7;}
.plc-qr{flex:0 0 52px;height:52px;border-radius:10px;background:#fff;color:var(--lc-ink);display:flex;align-items:center;justify-content:center;}
.plc-qr svg{width:32px;height:32px;}
.plc-pw{display:flex;align-items:center;justify-content:center;gap:6px;font-size:11px;opacity:.7;}
.plc-pw img{height:13px;width:auto;} .plc-pw b{font-weight:700;}
.plc.sm .plc-title{font-size:14px;} .plc.sm .plc-stamps{grid-template-columns:repeat(var(--cols,5),minmax(0,30px));gap:7px;}
.plc.sm .plc-qr{flex-basis:42px;height:42px;} .plc.sm .plc-qr svg{width:26px;height:26px;}

/* Önizleme kartı: Club'daki gibi açık üst ve alt şerit */
.plc{--lc-paper:#FBF8F3;}
.plc-card{color:var(--lc-ink);box-shadow:0 20px 36px -24px rgba(30,20,10,.45),0 0 0 1px rgba(30,20,10,.07);}
.plc-top,.plc-bot{background:var(--lc-paper);}
.plc-mid{color:#fff;}
.plc-logo{background-color:#fff;box-shadow:0 0 0 1px rgba(30,20,10,.08);}
.plc-cnt small,.plc-rw small{opacity:.55;} .plc-rw em{opacity:.6;}
.plc-qr{background:var(--lc-ink);color:#fff;}
.plc-pw{opacity:.6;}

.plc-rw b{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.25;}
