/* OdiHire çalışan portalı — mobil öncelikli stil sistemi. Tüm kurallar #workforceApp altında kapsamlıdır. */
.wf-portal-body{margin:0;background:#F8FAFC}
.wf-portal-body.wf-sheet-open{overflow:hidden}
#workforceApp{--wf-bg:#F8FAFC;--wf-surface:#fff;--wf-ink:#0A1A2B;--wf-muted:#65788a;--wf-line:#e2e8ee;--wf-teal:#1F5FAE;--wf-teal-dark:#0f3c75;--wf-teal-soft:#e8f0fb;--wf-teal-ink:#174a86;--wf-amber-soft:#fff3d6;--wf-amber-ink:#7d5a10;--wf-red-soft:#fdeceb;--wf-red-ink:#a4333c;--wf-blue-soft:#dff9f9;--wf-blue-ink:#0b6f70;--wf-grey-soft:#eef2f5;--wf-radius:16px;--wf-radius-sm:10px;--wf-nav-h:64px;--wf-shadow:0 4px 6px -1px rgba(0,0,0,.05);
  font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;color:var(--wf-ink);line-height:1.5;font-size:15px;-webkit-font-smoothing:antialiased}
#workforceApp *{box-sizing:border-box}
#workforceApp h1,#workforceApp h2,#workforceApp h3,#workforceApp h4,#workforceApp p{margin:0}
#workforceApp h1{font-size:28px;letter-spacing:-.6px;font-weight:750;line-height:1.15}
#workforceApp h2{font-size:17px;font-weight:700;letter-spacing:-.2px}
#workforceApp h3{font-size:15px;font-weight:650}
#workforceApp h4{font-size:14px;font-weight:650}
#workforceApp p{color:var(--wf-muted)}
#workforceApp a{color:var(--wf-teal)}
#workforceApp [hidden]{display:none!important}
#workforceApp svg{flex:none}

/* Düğmeler ve alanlar */
#workforceApp button,#workforceApp .wf-button{font:inherit;font-size:15px;padding:10px 16px;cursor:pointer;border:1px solid var(--wf-line);border-radius:50px;background:var(--wf-surface);color:var(--wf-ink);text-decoration:none;font-weight:600;line-height:1.35;min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:8px;transition:background .15s,border-color .15s,transform .05s}
#workforceApp button:active:not(:disabled){transform:scale(.985)}
#workforceApp button.primary,#workforceApp .wf-button.primary{background:var(--wf-teal);color:#fff;border-color:var(--wf-teal)}
#workforceApp button.primary:hover:not(:disabled){background:var(--wf-teal-dark)}
#workforceApp button.danger{color:var(--wf-red-ink);border-color:#efc9cd;background:#fff}
#workforceApp button.ghost,#workforceApp .wf-button.ghost{background:transparent;border-color:transparent;color:var(--wf-teal-ink);padding-left:10px;padding-right:10px}
#workforceApp button.subtle{background:var(--wf-grey-soft);border-color:transparent}
#workforceApp button.icon{min-width:44px;padding:0;width:44px;border-radius:50%}
#workforceApp button.icon svg{width:20px;height:20px}
#workforceApp button.block,#workforceApp .wf-button.block{display:flex;width:100%}
#workforceApp button.big{min-height:56px;font-size:17px;border-radius:50px}
#workforceApp button:disabled{opacity:.45;cursor:not-allowed}
#workforceApp button:focus-visible,#workforceApp input:focus-visible,#workforceApp select:focus-visible,#workforceApp textarea:focus-visible,#workforceApp a:focus-visible,#workforceApp summary:focus-visible{outline:3px solid #00d2d3;outline-offset:2px}
#workforceApp label{display:block;font-size:13px;font-weight:650;margin:14px 0 6px;color:#2a3c4e}
#workforceApp label:first-child{margin-top:0}
#workforceApp input:not([type=checkbox]):not([type=radio]),#workforceApp select,#workforceApp textarea{font:inherit;font-size:16px;color:inherit;background:#fff;border:1px solid #cad4dd;border-radius:12px;width:100%;padding:11px 13px;min-height:48px;min-width:0;max-width:100%;-webkit-appearance:none;appearance:none}
#workforceApp select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2365788a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;padding-right:40px}
#workforceApp select[multiple]{background-image:none;padding-right:13px;min-height:120px}
#workforceApp textarea{resize:vertical;min-height:88px}
#workforceApp input[type=checkbox],#workforceApp input[type=radio]{accent-color:var(--wf-teal);height:20px;width:20px;margin:0;flex:none}
#workforceApp input[type=date],#workforceApp input[type=time],#workforceApp input[type=datetime-local]{min-width:0}
#workforceApp input[type=file]{padding:9px 12px;font-size:14px}
#workforceApp .wf-check{display:flex;gap:10px;align-items:center;font-weight:500;min-height:44px;cursor:pointer}
#workforceApp .wf-check.multi{align-items:flex-start;padding:10px 0}
#workforceApp .wf-check.multi input{margin-top:4px}
#workforceApp .wf-filters{display:grid;gap:10px;margin:10px 0 12px}
#workforceApp .wf-select-row{display:grid;grid-template-columns:32px minmax(0,1fr);gap:8px;align-items:start}
#workforceApp .wf-select-row.checked .wf-request{border-color:var(--wf-teal);box-shadow:0 0 0 2px var(--wf-teal-soft)}
#workforceApp .wf-select-box{display:flex;align-items:center;justify-content:center;min-height:56px;margin:0;padding:0}
#workforceApp .wf-select-box input{width:22px;height:22px;accent-color:var(--wf-teal);cursor:pointer}
#workforceApp .wf-select-box input:disabled{opacity:.25;cursor:default}
#workforceApp .wf-select-body{min-width:0}
#workforceApp .wf-bulk-reason{flex-basis:100%}
#workforceApp .wf-anon{margin:10px 0;padding:10px 12px;border-radius:10px;background:var(--wf-teal-soft);color:var(--wf-teal-ink);font-size:14px;font-weight:600}
#workforceApp fieldset{border:0;padding:0;margin:0;min-width:0}
#workforceApp legend{font-weight:700;font-size:16px;margin-bottom:8px}
#workforceApp .wf-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px}
#workforceApp .wf-fields>*{min-width:0}
#workforceApp .wf-actions{display:flex;gap:10px;margin-top:18px;flex-wrap:wrap}
#workforceApp .wf-actions.stack>button,#workforceApp .wf-actions.stack>.wf-button{flex:1 1 140px}
#workforceApp .wf-row{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
#workforceApp .wf-row.between{justify-content:space-between}
#workforceApp .wf-fine{font-size:12.5px;color:var(--wf-muted)}
#workforceApp .wf-top-gap{margin-top:18px}
#workforceApp .wf-file{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
#workforceApp .wf-file input[type=file]{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
#workforceApp .wf-file span{font-size:13px;color:var(--wf-muted);overflow-wrap:anywhere;min-width:0}
#workforceApp .wf-pills{display:flex;gap:8px;flex-wrap:wrap}
#workforceApp .wf-pills button{min-height:40px;padding:6px 14px;border-radius:999px;font-size:14px;font-weight:600}
#workforceApp .wf-pills button[aria-pressed=true]{background:var(--wf-ink);color:#fff;border-color:var(--wf-ink)}

#workforceApp .wf-msg-icon,#workforceApp .wf-empty-icon{width:18px;height:18px}
#workforceApp .wf-empty-icon{width:28px;height:28px;display:block;margin:0 auto 6px}
#workforceApp .wf-chevron{width:18px;height:18px;transition:transform .15s}
#workforceApp .wf-chevron.open{transform:rotate(90deg)}
#workforceApp button .wf-nav-icon{width:18px;height:18px}
#workforceApp .wf-nav nav button .wf-nav-icon{width:21px;height:21px}

/* Kabuk */
#workforceApp .wf-shell{display:grid;grid-template-columns:248px minmax(0,1fr);min-height:100vh}
#workforceApp .wf-nav{padding:26px 16px;background:var(--wf-surface);border-right:1px solid var(--wf-line);display:flex;flex-direction:column;gap:22px;position:sticky;top:0;height:100vh}
#workforceApp .wf-brand{font-size:24px;font-weight:800;letter-spacing:-.9px;color:#0A1A2B;line-height:1.05}
#workforceApp .wf-brand small{display:block;font-size:10.5px;letter-spacing:1.6px;text-transform:uppercase;color:#7b929e;margin-top:4px;font-weight:700}
#workforceApp .wf-nav nav{display:flex;flex-direction:column;gap:4px}
#workforceApp .wf-nav nav button{text-align:left;border:0;background:transparent;padding:11px 14px;justify-content:flex-start;font-weight:600;color:#33475a;border-radius:12px;position:relative}
#workforceApp .wf-nav nav button[aria-current=page]{background:var(--wf-teal-soft);color:var(--wf-teal-ink)}
#workforceApp .wf-nav-icon{width:21px;height:21px}
#workforceApp .wf-badge{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:#d8443f;color:#fff;font-size:11px;font-weight:700;line-height:1}
#workforceApp .wf-nav nav .wf-badge{margin-left:auto}
#workforceApp .wf-user{margin-top:auto;border-top:1px solid var(--wf-line);padding-top:16px;display:flex;flex-direction:column;gap:8px}
#workforceApp .wf-user-card{display:flex;align-items:center;gap:10px;min-width:0}
#workforceApp .wf-user-card>div{min-width:0}
#workforceApp .wf-user-card strong{display:block;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#workforceApp .wf-user-card small{display:block;color:var(--wf-muted);font-size:12px}
#workforceApp .wf-user .wf-actions{margin-top:4px}
#workforceApp .wf-user .wf-actions button{flex:1;min-height:40px;font-size:14px;padding:6px 10px}
#workforceApp .wf-topbar{display:none}
#workforceApp .wf-avatar{width:36px;height:36px;border-radius:50%;background:var(--wf-teal-soft);color:var(--wf-teal-ink);display:inline-flex;align-items:center;justify-content:center;font-weight:700;font-size:13px;letter-spacing:.3px;flex:none}
#workforceApp .wf-avatar.lg{width:56px;height:56px;font-size:19px}
#workforceApp button.wf-avatar{padding:0;border:0;min-width:0}
#workforceApp .wf-content{width:100%;max-width:1200px;margin:0 auto;padding:32px 36px 64px;min-width:0}
#workforceApp .wf-content:focus{outline:none}
#workforceApp .wf-eyebrow{font-size:11px;letter-spacing:1.3px;text-transform:uppercase;color:var(--wf-teal-ink);font-weight:750;margin-bottom:6px}
#workforceApp .wf-pagehead{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:20px}
#workforceApp .wf-pagehead>div{min-width:0;overflow-wrap:anywhere}
#workforceApp .wf-pagehead p{margin-top:4px;font-size:14px}
#workforceApp .wf-pagehead .wf-actions{margin:0;flex-wrap:nowrap}

/* Kartlar */
#workforceApp .wf-card{background:var(--wf-surface);border:1px solid var(--wf-line);border-radius:var(--wf-radius);padding:20px;margin-bottom:14px;box-shadow:var(--wf-shadow);min-width:0;overflow-wrap:anywhere}
#workforceApp .wf-card>p{margin-top:6px;font-size:13.5px}
#workforceApp .wf-card-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}
#workforceApp .wf-card-head h2{min-width:0}
#workforceApp .wf-card-head .wf-eyebrow{margin-bottom:2px}
#workforceApp .wf-card-head button.ghost{min-height:36px;padding:4px 8px;font-size:14px}
#workforceApp .wf-card.hero{background:linear-gradient(160deg,#0A1A2B 0%,#0f3c75 55%,#1F5FAE 100%);color:#fff;border:0;padding:22px}
#workforceApp .wf-card.hero .wf-eyebrow,#workforceApp .wf-card.hero p,#workforceApp .wf-card.hero .wf-fine,#workforceApp .wf-card.hero small{color:#bcd3f0}
#workforceApp .wf-card.hero h2{font-size:22px;color:#fff;letter-spacing:-.4px}
#workforceApp .wf-card.hero h3{color:#fff}
#workforceApp .wf-card.hero button{border-color:rgba(255,255,255,.3);background:rgba(255,255,255,.12);color:#fff}
#workforceApp .wf-card.hero button.primary{background:#fff;color:var(--wf-teal-dark);border-color:#fff}
#workforceApp .wf-card.hero button.primary:hover:not(:disabled){background:#eaf2fd}
#workforceApp .wf-card.hero button.ghost{background:transparent;border-color:transparent;color:#dbe8fb;text-decoration:underline;text-underline-offset:3px}
#workforceApp .wf-card.hero select{background-color:rgba(255,255,255,.12);color:#fff;border-color:rgba(255,255,255,.3);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")}
#workforceApp .wf-card.hero select option{color:var(--wf-ink)}
#workforceApp .wf-card.hero label{color:#dbe8fb}
#workforceApp .wf-hero-shift{display:flex;align-items:center;gap:12px;padding:12px 14px;background:rgba(255,255,255,.1);border-radius:12px;margin:14px 0 0}
#workforceApp .wf-hero-shift svg{width:22px;height:22px;color:#bcd3f0}
#workforceApp .wf-hero-shift div{min-width:0}
#workforceApp .wf-hero-shift strong{display:block;font-size:16px}
#workforceApp .wf-hero-shift small{display:block;font-size:12.5px}
#workforceApp .wf-hero-status{margin-top:16px;display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}
#workforceApp .wf-hero-status b{font-size:30px;letter-spacing:-.8px;font-weight:750}
#workforceApp .wf-hero-status span{font-size:14px;color:#bcd3f0}
#workforceApp .wf-chips{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
#workforceApp .wf-chip{display:inline-flex;align-items:center;gap:6px;padding:6px 11px;border-radius:999px;background:rgba(255,255,255,.14);font-size:13px;font-weight:600;color:#fff}
#workforceApp .wf-chip svg{width:15px;height:15px}
#workforceApp .wf-chip.live::before{content:"";width:8px;height:8px;border-radius:50%;background:#00d2d3;box-shadow:0 0 0 3px rgba(0,210,211,.3)}
#workforceApp .wf-clock-actions{margin-top:18px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
#workforceApp .wf-clock-actions>button{min-height:56px;font-size:16px}
#workforceApp .wf-clock-actions>button:only-child{grid-column:1/-1}
#workforceApp .wf-hero-foot{margin-top:12px;display:flex;justify-content:center}

/* Durum rozetleri */
#workforceApp .wf-status{font-size:12px;font-weight:650;border-radius:999px;padding:4px 10px;background:var(--wf-amber-soft);color:var(--wf-amber-ink);display:inline-flex;align-items:center;gap:6px;white-space:nowrap;line-height:1.3}
#workforceApp .wf-status::before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor;opacity:.7}
#workforceApp .wf-status.approved,#workforceApp .wf-status.paid,#workforceApp .wf-status.repaid,#workforceApp .wf-status.completed{background:#dff9f9;color:#0b6f70}
#workforceApp .wf-status.rejected,#workforceApp .wf-status.stopped{background:var(--wf-red-soft);color:var(--wf-red-ink)}
#workforceApp .wf-status.withdrawn,#workforceApp .wf-status.cancelled,#workforceApp .wf-status.neutral{background:var(--wf-grey-soft);color:#5d6f80}
#workforceApp .wf-status.part_paid{background:#fff0dc;color:#7a4b0c}
#workforceApp .wf-status.info{background:var(--wf-blue-soft);color:var(--wf-blue-ink)}

/* Listeler ve kayıt kartları */
#workforceApp .wf-list{display:flex;flex-direction:column;gap:10px;margin-top:14px}
#workforceApp .wf-card-head+.wf-list,#workforceApp .wf-segments+.wf-list{margin-top:0}
#workforceApp .wf-request{border:1px solid var(--wf-line);padding:14px 16px;border-radius:14px;background:#fff;min-width:0;overflow-wrap:anywhere}
#workforceApp .wf-request-head{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}
#workforceApp .wf-request-head>div{min-width:0}
#workforceApp .wf-request-head h3{font-size:15.5px}
#workforceApp .wf-request-head p{font-size:13.5px;margin-top:2px}
#workforceApp .wf-request-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:10px}
#workforceApp .wf-request-meta .wf-fine{min-width:0}
#workforceApp .wf-request p{font-size:13.5px}
#workforceApp .wf-request>p{margin-top:8px}
#workforceApp .wf-request .wf-hint{margin-top:8px;padding:8px 10px;background:var(--wf-blue-soft);color:var(--wf-blue-ink);border-radius:10px;font-size:13px}
#workforceApp .wf-detail{border-top:1px solid var(--wf-line);margin-top:14px;padding-top:14px}
#workforceApp .wf-detail .wf-actions{margin-top:14px}
#workforceApp .wf-quote{padding:10px 12px;background:var(--wf-grey-soft);border-radius:10px;color:var(--wf-ink);font-size:14px}
#workforceApp .wf-steps{list-style:none;padding:0;margin:14px 0;display:flex;flex-direction:column;gap:0}
#workforceApp .wf-steps li{position:relative;padding:4px 0 12px 28px;font-size:13.5px;color:var(--wf-muted)}
#workforceApp .wf-steps li::before{content:"";position:absolute;left:7px;top:9px;width:9px;height:9px;border-radius:50%;background:#fff;border:2px solid #b8c5d0}
#workforceApp .wf-steps li::after{content:"";position:absolute;left:11px;top:22px;bottom:-2px;width:2px;background:var(--wf-line)}
#workforceApp .wf-steps li:last-child::after{display:none}
#workforceApp .wf-steps li.done{color:#0b6f70}
#workforceApp .wf-steps li.done::before{background:#00d2d3;border-color:#00d2d3}
#workforceApp .wf-steps li.current{color:var(--wf-ink);font-weight:600}
#workforceApp .wf-steps li.current::before{border-color:var(--wf-amber-ink);background:var(--wf-amber-soft)}
#workforceApp .wf-steps li.rejected{color:var(--wf-red-ink)}
#workforceApp .wf-steps li.rejected::before{border-color:var(--wf-red-ink);background:var(--wf-red-soft)}
#workforceApp .wf-history{display:flex;flex-direction:column;gap:8px;margin-top:8px}
#workforceApp .wf-history p{font-size:13px;padding-left:12px;border-left:2px solid var(--wf-line)}
#workforceApp .wf-history strong{color:var(--wf-ink)}
#workforceApp .wf-empty{padding:22px 16px;text-align:center;background:#f8fafb;border:1px dashed #d5dee6;border-radius:12px;color:var(--wf-muted);margin-top:12px;font-size:14px}
#workforceApp .wf-empty svg{width:28px;height:28px;color:#a6b6c3;margin-bottom:6px}
#workforceApp .wf-empty strong{display:block;color:#3a4d5f;margin-bottom:2px}
#workforceApp .wf-empty .wf-actions{justify-content:center;margin-top:12px}
#workforceApp .wf-rows{display:flex;flex-direction:column}
#workforceApp .wf-rowitem{display:flex;align-items:center;gap:12px;padding:12px 0;border-top:1px solid var(--wf-line);min-width:0;text-align:left;width:100%;background:transparent;border-left:0;border-right:0;border-bottom:0;border-radius:0;font-weight:500;min-height:56px}
#workforceApp .wf-rowitem:first-child{border-top:0}
#workforceApp .wf-rowitem>div{min-width:0;flex:1}
#workforceApp .wf-rowitem strong{display:block;font-size:14.5px;overflow-wrap:anywhere}
#workforceApp .wf-rowitem small{display:block;font-size:12.5px;color:var(--wf-muted)}
#workforceApp .wf-rowitem .wf-chevron{width:18px;height:18px;color:#a6b6c3}
#workforceApp .wf-rowitem .wf-ico{width:38px;height:38px;border-radius:12px;background:var(--wf-grey-soft);display:inline-flex;align-items:center;justify-content:center;color:#4a6072;flex:none}
#workforceApp .wf-rowitem .wf-ico svg{width:19px;height:19px}
#workforceApp .wf-rowitem .wf-ico.teal{background:var(--wf-teal-soft);color:var(--wf-teal-ink)}
#workforceApp .wf-rowitem .wf-ico.amber{background:var(--wf-amber-soft);color:var(--wf-amber-ink)}
#workforceApp .wf-rowitem .wf-ico.blue{background:var(--wf-blue-soft);color:var(--wf-blue-ink)}
#workforceApp button.wf-rowitem:hover{background:#f8fafb}

/* İstatistik kutuları */
#workforceApp .wf-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin-top:12px}
#workforceApp .wf-stat{background:#f8fafb;border:1px solid var(--wf-line);padding:14px 16px;border-radius:12px;min-width:0;overflow-wrap:anywhere}
#workforceApp .wf-stat b{display:block;font-size:26px;letter-spacing:-.6px;margin:4px 0 2px;font-weight:750}
#workforceApp .wf-stat span{font-size:12.5px;color:#4a6072;font-weight:600}
#workforceApp .wf-stat small{color:var(--wf-muted);font-size:12px}
#workforceApp .wf-stat:only-child{grid-column:1/-1}

/* Mesaj */
#workforceApp .wf-message{padding:12px 14px;border:1px solid #9fe3e4;border-radius:12px;background:#e6f7f8;color:#0b6f70;margin-bottom:16px;white-space:pre-line;font-size:14px;scroll-margin:18px;overflow-wrap:anywhere;display:flex;gap:10px;align-items:flex-start}
#workforceApp .wf-message svg{width:18px;height:18px;margin-top:2px}
#workforceApp .wf-message.error{background:#fdf0f0;color:#9a2f3a;border-color:#f0cdd2}
#workforceApp .wf-message:focus{outline:none}
#workforceApp .wf-loading{padding:60px 20px;text-align:center;color:var(--wf-muted)}

/* Hızlı işlemler */
#workforceApp .wf-quick-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px}
#workforceApp .wf-quick-actions button{flex-direction:column;gap:8px;min-height:88px;padding:12px 6px;font-size:13px;line-height:1.25;white-space:normal;text-align:center;border-radius:14px;background:#f8fafb}
#workforceApp .wf-quick-actions button:hover:not(:disabled){background:var(--wf-teal-soft);border-color:#bcd3f0}
#workforceApp .wf-quick-actions .wf-ico{width:36px;height:36px;border-radius:12px;background:#fff;border:1px solid var(--wf-line);display:inline-flex;align-items:center;justify-content:center;color:var(--wf-teal-ink)}
#workforceApp .wf-quick-actions .wf-ico svg{width:19px;height:19px}

/* Segmentler */
#workforceApp .wf-segments{display:flex;gap:4px;padding:4px;background:#e7edf1;border-radius:14px;margin-bottom:16px}
#workforceApp .wf-segments button{flex:1;min-height:40px;min-width:0;border:0;background:transparent;border-radius:11px;font-size:14px;padding:6px 8px;color:#4a6072}
#workforceApp .wf-segments button[aria-pressed=true]{background:#fff;color:var(--wf-ink);box-shadow:0 1px 3px rgba(21,37,54,.12)}
#workforceApp .wf-mode-fieldset{border:0;margin:0;padding:0;min-width:0}

/* Hafta şeridi ve vardiya günleri */
#workforceApp .wf-week-controls{display:flex;align-items:center;gap:6px;margin-bottom:12px}
#workforceApp .wf-week-controls>div{flex:1;min-width:0;text-align:center}
#workforceApp .wf-week-controls strong{display:block;font-size:15px}
#workforceApp .wf-week-controls small{display:block;color:var(--wf-muted);font-size:12.5px}
#workforceApp .wf-week-controls>button{flex:none}
#workforceApp .wf-week-strip{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;margin-bottom:6px}
#workforceApp .wf-week-strip button{flex-direction:column;gap:2px;padding:8px 2px;min-height:64px;border-radius:12px;font-size:12px;font-weight:600;color:var(--wf-muted);border-color:transparent;background:transparent;min-width:0}
#workforceApp .wf-week-strip button b{font-size:17px;color:var(--wf-ink);font-weight:700;line-height:1.1}
#workforceApp .wf-week-strip button i{width:5px;height:5px;border-radius:50%;background:transparent;display:block;margin-top:2px}
#workforceApp .wf-week-strip button.working i{background:#00d2d3}
#workforceApp .wf-week-strip button.today b{color:var(--wf-teal-ink)}
#workforceApp .wf-week-strip button.today{color:var(--wf-teal-ink)}
#workforceApp .wf-week-strip button[aria-pressed=true]{background:var(--wf-ink);color:#d7e2ec}
#workforceApp .wf-week-strip button[aria-pressed=true] b{color:#fff}
#workforceApp .wf-week-strip button[aria-pressed=true].working i{background:#00d2d3}
#workforceApp .wf-week-days{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
#workforceApp .wf-shift-day{display:flex;flex-direction:column;gap:3px;padding:12px 14px;border:1px solid var(--wf-line);border-radius:12px;overflow-wrap:anywhere;background:#fafbfc}
#workforceApp .wf-shift-day.working{background:#fff;border-color:#bcd3f0}
#workforceApp .wf-shift-day.today{box-shadow:inset 0 0 0 2px var(--wf-teal)}
#workforceApp .wf-shift-day>strong{font-size:13px;color:var(--wf-muted);font-weight:650;text-transform:capitalize}
#workforceApp .wf-shift-day.working>strong{color:var(--wf-teal-ink)}
#workforceApp .wf-shift-day>b{font-size:19px;letter-spacing:-.4px}
#workforceApp .wf-shift-day>span{font-size:13.5px;color:#3a4d5f}
#workforceApp .wf-shift-day>small{color:var(--wf-muted);font-size:12.5px}
#workforceApp .wf-shift-editor{padding:15px 0;border-bottom:1px solid var(--wf-line)}
#workforceApp .wf-time-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
#workforceApp .wf-plan-editor{scroll-margin-top:20px}

/* Kayıt satırları (giriş-çıkış, avans defteri) */
#workforceApp .wf-ledger-row{padding:12px 0;border-bottom:1px solid var(--wf-line)}
#workforceApp .wf-ledger-row:last-child{border-bottom:0}
#workforceApp .wf-ledger-row p{margin:3px 0;overflow-wrap:anywhere;font-size:13.5px}

/* Alt sayfa (sheet) */
#workforceApp .wf-sheet-backdrop{position:fixed;inset:0;background:rgba(15,28,40,.45);z-index:200;display:flex;align-items:center;justify-content:center;padding:20px;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}
#workforceApp .wf-sheet{background:#fff;border-radius:18px;width:100%;max-width:560px;max-height:calc(100vh - 40px);max-height:calc(100dvh - 40px);display:flex;flex-direction:column;box-shadow:0 20px 60px rgba(15,28,40,.3);outline:none}
#workforceApp .wf-sheet-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:16px 18px 12px;border-bottom:1px solid var(--wf-line)}
#workforceApp .wf-sheet-head h2{font-size:18px}
#workforceApp .wf-sheet-body{padding:6px 18px 20px;overflow:auto;-webkit-overflow-scrolling:touch}
#workforceApp .wf-sheet-body .wf-card{border:0;box-shadow:none;padding:0;margin:0}
#workforceApp .wf-sheet-grip{display:none;width:40px;height:4px;border-radius:2px;background:#cfd8e0;margin:8px auto 0}

/* Giriş */
#workforceApp .wf-login{min-height:100vh;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
#workforceApp .wf-login-story{background:linear-gradient(160deg,#0A1A2B,#1F5FAE);color:#fff;padding:11vh 8vw;display:flex;flex-direction:column;justify-content:center}
#workforceApp .wf-login-story h1{font-size:42px;line-height:1.12;margin:40px 0 18px;max-width:420px;letter-spacing:-1.2px;color:#fff}
#workforceApp .wf-login-story .wf-brand{color:#fff}
#workforceApp .wf-login-story .wf-brand small{color:#9fc0ea}
#workforceApp .wf-login-story p{color:#bcd3f0;max-width:380px}
#workforceApp .wf-login-form{display:flex;align-items:center;justify-content:center;padding:35px}
#workforceApp .wf-login-form>.wf-card{width:100%;max-width:420px;padding:28px}
#workforceApp .wf-login-form h2{font-size:23px;letter-spacing:-.4px}
#workforceApp .wf-login-form .wf-card>p{margin-top:6px}
#workforceApp .wf-login-form .wf-button{margin-top:14px}
#workforceApp .wf-divider{display:flex;align-items:center;gap:12px;color:var(--wf-muted);font-size:12.5px;margin:18px 0 4px}
#workforceApp .wf-divider::before,#workforceApp .wf-divider::after{content:"";flex:1;height:1px;background:var(--wf-line)}
#workforceApp .wf-code{letter-spacing:10px;font-size:26px!important;text-align:center;font-variant-numeric:tabular-nums}

/* Profil */
#workforceApp .wf-profile-head{display:flex;align-items:center;gap:14px;margin-bottom:6px}
#workforceApp .wf-profile-head>div{min-width:0}
#workforceApp .wf-profile-head h2{font-size:20px}
#workforceApp .wf-dl{margin:14px 0 0;display:grid;gap:0}
#workforceApp .wf-dl div{display:flex;justify-content:space-between;gap:12px;padding:11px 0;border-top:1px solid var(--wf-line);font-size:14px}
#workforceApp .wf-dl dt{color:var(--wf-muted);flex:none}
#workforceApp .wf-dl dd{margin:0;text-align:right;font-weight:600;min-width:0;overflow-wrap:anywhere}

/* Bildirimler */
#workforceApp .wf-notice{position:relative}
#workforceApp .wf-notice.unread strong{font-weight:700}
#workforceApp .wf-notice.unread .wf-ico{background:var(--wf-teal-soft);color:var(--wf-teal-ink)}
#workforceApp .wf-notice .wf-dot{width:9px;height:9px;border-radius:50%;background:#d8443f;flex:none}
#workforceApp .wf-notice.wf-read{opacity:.7}

/* İK operasyon ekranı (base.html içinde) */
#workforceApp .wf-admin{max-width:1250px;margin:auto;padding:27px 20px}
#workforceApp .wf-columns{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:20px}
#workforceApp .wf-columns>*{min-width:0}
#workforceApp .wf-person-select{margin-bottom:22px}
#workforceApp .wf-day{padding:12px 0;border-bottom:1px solid #edf0f3}
#workforceApp .wf-day label{margin:0 0 7px}
#workforceApp .wf-time-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 44px;gap:8px;margin:7px 0}
#workforceApp .wf-time-row input{padding:7px;min-width:0}
#workforceApp .wf-type{padding:13px;border:1px solid var(--wf-line);border-radius:10px;margin-top:12px}
#workforceApp .wf-read{opacity:.6}
#workforceApp .wf-holiday{display:inline-flex;padding:7px 10px;margin:7px 6px 0 0;background:#f2f6f8;border-radius:8px;gap:8px;align-items:center}
#workforceApp .wf-holiday button{padding:0 5px}
#workforceApp .wf-invite-link{overflow-wrap:anywhere;font-size:13px;display:block;margin:12px 0}
.wf-demo-banner{padding:9px 16px;background:#fff2cd;color:#68521d;text-align:center;font:12px/1.5 system-ui,sans-serif;border-bottom:1px solid #e8d7a7}.wf-demo-banner a{color:inherit;text-decoration:underline;margin:0 5px}

/* Şube ataması */
.wf-employee-picks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:14px 0;max-height:390px;overflow:auto}
.wf-employee-pick{display:flex!important;align-items:center;gap:12px;border:1px solid #d7e1e7;border-radius:12px;padding:10px 12px;min-height:60px;cursor:pointer;background:#fff;margin:0!important}
.wf-employee-pick.selected,.wf-day-pick.selected{background:#e8f0fb;border-color:#1F5FAE}
.wf-employee-pick input,.wf-day-pick input{width:20px!important;min-width:20px!important;max-width:20px!important;height:20px!important;min-height:20px!important;margin:0;flex:none}
.wf-employee-pick span{display:grid;gap:2px;min-width:0;overflow-wrap:anywhere}.wf-employee-pick small{color:#607383;font-weight:400;font-size:12.5px}
.wf-selection-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:12px 14px;background:#f0f5f7;border-radius:12px;position:sticky;bottom:calc(var(--wf-nav-h) + 8px);z-index:5;box-shadow:0 -2px 12px rgba(21,37,54,.06)}
.wf-day-picks{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.wf-day-pick{display:flex!important;align-items:center;gap:8px;min-height:48px;padding:10px;border:1px solid #d7e1e7;border-radius:10px;cursor:pointer;margin:0!important;font-size:14px}
.wf-assignment-day{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;border:1px solid #d7e1e7;border-radius:12px}.wf-assignment-day>div{min-width:0;overflow-wrap:anywhere}.wf-assignment-day p{margin:4px 0}.wf-assignment-day button{flex:none}
.wf-assignment-form{scroll-margin-top:16px}.wf-assignment-form h3{margin-top:22px}.wf-assignment-form select{width:100%;max-width:100%;text-overflow:ellipsis}
.wf-plan-person{border:1px solid #d7e1e7;border-radius:12px;padding:10px 12px}.wf-plan-person summary{cursor:pointer;min-height:44px;display:flex;justify-content:space-between;align-items:center;gap:10px;list-style:none}.wf-plan-person summary::-webkit-details-marker{display:none}.wf-plan-person summary span{font-size:13px;color:#607383}.wf-plan-person .wf-week-days{margin-top:12px}
.wf-job progress{width:100%;height:10px;accent-color:#1F5FAE;border-radius:5px;margin-top:6px}
.wf-job-person{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:10px 0;border-bottom:1px solid #e3eaf0;overflow-wrap:anywhere}
.wf-job-person p{grid-column:1/-1;margin:0}
.wf-job-error{color:#a02c35;overflow-wrap:anywhere}
.wf-job h3{min-width:0;overflow-wrap:anywhere}
.wf-job-pagination{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:16px}
.wf-job-pagination>span{grid-column:1/-1;text-align:center}
.wf-job-pagination>button{min-width:0;padding:10px 8px}

@media(prefers-reduced-motion:reduce){#workforceApp *,#workforceApp *::before,#workforceApp *::after{scroll-behavior:auto!important;transition:none!important}}

/* Tablet */
@media(max-width:1000px){
  #workforceApp .wf-shell{grid-template-columns:200px minmax(0,1fr)}
  #workforceApp .wf-content{padding:26px 22px 60px}
  #workforceApp .wf-columns{grid-template-columns:1fr}
  #workforceApp .wf-login-story{padding:50px}
  #workforceApp .wf-login-story h1{font-size:34px}
}

/* Telefon */
@media(max-width:700px){
  .wf-portal-body{padding-bottom:env(safe-area-inset-bottom)}
  #workforceApp{font-size:15px}
  #workforceApp h1{font-size:23px}
  #workforceApp .wf-shell{display:block;min-height:100dvh}
  #workforceApp .wf-nav{position:static;height:auto;padding:0;border:0;gap:0;display:block;background:transparent}
  #workforceApp .wf-nav>.wf-brand{display:none}
  #workforceApp .wf-topbar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 16px calc(10px);background:var(--wf-surface);border-bottom:1px solid var(--wf-line);position:sticky;top:0;z-index:50;padding-top:calc(10px + env(safe-area-inset-top))}
  #workforceApp .wf-topbar .wf-brand{font-size:20px;letter-spacing:-.7px}
  #workforceApp .wf-topbar .wf-brand small{display:none}
  #workforceApp .wf-topbar .wf-company{font-size:12px;color:var(--wf-muted);font-weight:600;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1;text-align:right}
  #workforceApp .wf-nav nav{position:fixed;bottom:0;left:0;right:0;z-index:100;display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:0;padding:6px max(6px,env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom)) max(6px,env(safe-area-inset-left));background:rgba(255,255,255,.96);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-top:1px solid var(--wf-line);box-shadow:0 -4px 18px rgba(21,37,54,.06)}
  #workforceApp .wf-nav nav button{flex-direction:column;gap:3px;justify-content:center;text-align:center;font-size:11px;line-height:1.25;padding:6px 1px;min-height:var(--wf-nav-h);border-radius:12px;overflow-wrap:anywhere;min-width:0;color:#5d6f80;font-weight:600}
  #workforceApp .wf-nav nav button[aria-current=page]{background:transparent;color:var(--wf-teal-ink)}
  #workforceApp .wf-nav nav button[aria-current=page] .wf-nav-icon{background:var(--wf-teal-soft)}
  #workforceApp .wf-nav-icon{width:24px;height:24px;padding:0;border-radius:10px;box-sizing:content-box;padding:3px 10px}
  #workforceApp .wf-nav nav .wf-badge{position:absolute;top:6px;left:calc(50% + 6px);margin:0;min-width:16px;height:16px;font-size:10px}
  #workforceApp .wf-user{display:none}
  #workforceApp .wf-content{padding:16px 14px calc(var(--wf-nav-h) + 28px + env(safe-area-inset-bottom));scroll-margin-top:12px}
  #workforceApp .wf-content button,#workforceApp .wf-content input,#workforceApp .wf-content select,#workforceApp .wf-content textarea{scroll-margin-bottom:calc(var(--wf-nav-h) + 30px + env(safe-area-inset-bottom))}
  #workforceApp .wf-pagehead{margin-bottom:14px;align-items:center}
  #workforceApp .wf-pagehead .wf-eyebrow{display:none}
  #workforceApp .wf-pagehead p{font-size:13px;margin-top:2px}
  #workforceApp .wf-card{padding:16px;border-radius:14px;margin-bottom:12px}
  #workforceApp .wf-card.hero{padding:18px}
  #workforceApp .wf-card.hero h2{font-size:20px}
  #workforceApp .wf-hero-status b{font-size:28px}
  #workforceApp .wf-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  #workforceApp .wf-stat{padding:12px 13px}
  #workforceApp .wf-stat b{font-size:22px}
  #workforceApp .wf-quick-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
  #workforceApp .wf-quick-actions button{flex-direction:row;justify-content:flex-start;text-align:left;min-height:60px;padding:10px 12px;font-size:14px}
  #workforceApp .wf-week-days{grid-template-columns:minmax(0,1fr)}
  #workforceApp .wf-time-fields{grid-template-columns:repeat(2,minmax(0,1fr))}
  #workforceApp .wf-time-fields>div:last-child{grid-column:1/-1}
  #workforceApp .wf-login{display:block;min-height:100dvh}
  #workforceApp .wf-login-story{padding:22px 20px 26px}
  #workforceApp .wf-login-story h1{font-size:26px;margin:16px 0 0}
  #workforceApp .wf-login-story>p{display:none}
  #workforceApp .wf-login-form{padding:14px 12px 30px}
  #workforceApp .wf-login-form>.wf-card{padding:20px 18px}
  #workforceApp .wf-login-form .wf-actions button{width:100%}
  #workforceApp .wf-detail .wf-actions>button{flex:1}
  #workforceApp .wf-detail>a{display:inline-flex;align-items:center;min-height:44px}
  #workforceApp .wf-holiday{display:flex;margin-right:0;justify-content:space-between}
  #workforceApp .wf-holiday button{flex:none}
  #workforceApp .wf-loading{padding:35px 20px}
  #workforceApp .wf-admin{padding:20px 10px}
  #workforceApp .wf-admin .wf-pagehead{flex-direction:column;align-items:flex-start}
  #workforceApp .wf-admin .wf-pagehead .wf-eyebrow{display:block}
  #workforceApp .wf-sheet-backdrop{align-items:flex-end;padding:0}
  #workforceApp .wf-sheet{max-width:none;border-radius:20px 20px 0 0;max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);padding-bottom:env(safe-area-inset-bottom)}
  #workforceApp .wf-sheet-grip{display:block}
  #workforceApp .wf-sheet-head{padding:10px 16px 10px}
  #workforceApp .wf-sheet-body{padding:4px 16px 18px}
  #workforceApp .wf-segments button{font-size:13.5px;padding:6px 4px}
  .wf-employee-picks{grid-template-columns:1fr;max-height:330px}.wf-day-picks{grid-template-columns:repeat(2,minmax(0,1fr))}.wf-employee-pick{min-height:58px}.wf-selection-summary{align-items:stretch}.wf-selection-summary button{width:100%}
}
@media(max-width:420px){
  #workforceApp .wf-fields{grid-template-columns:minmax(0,1fr);gap:0}
  #workforceApp .wf-card{padding:14px}
  #workforceApp .wf-admin{padding:20px 6px}
  #workforceApp .wf-week-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  #workforceApp .wf-week-controls>div{grid-column:1/-1;grid-row:1}
  #workforceApp .wf-week-controls>button{width:100%}
  #workforceApp .wf-week-strip button b{font-size:15px}
}
