
/* ÖZAY GRUP V11 • Personel Harcama Girişi */
#expenseEntryPage{display:none}
body.expense-entry-user .sidebar{display:none!important}
body.expense-entry-user .layout{display:block!important}
body.expense-entry-user .content{max-width:900px;margin:0 auto;padding:24px}
body.expense-entry-user .content>.page:not(#expenseEntryPage){display:none!important}
body.expense-entry-user #expenseEntryPage{display:block!important}
body.expense-entry-user .oz-mobile-nav{display:none!important}
body.expense-entry-user .oz-install-btn{display:none!important}
.exp-entry-head{margin-bottom:18px}.exp-entry-head h2{margin:0;font-size:26px}.exp-entry-head p{color:#6e7a8f;margin:6px 0 0}
.exp-entry-welcome{background:linear-gradient(135deg,#12385f,#1c5d96);color:#fff;border-radius:18px;padding:20px;margin-bottom:16px;box-shadow:0 12px 30px rgba(18,56,95,.14)}
.exp-entry-welcome strong{display:block;font-size:19px;margin-bottom:5px}.exp-entry-welcome span{font-size:13px;opacity:.88}
.exp-entry-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.exp-entry-card{background:#fff;border:1px solid #dce3ed;border-radius:16px;padding:18px;box-shadow:0 8px 25px rgba(18,56,95,.07)}
.exp-entry-card-head{display:flex;gap:12px;align-items:center;margin-bottom:16px}.exp-entry-icon{width:44px;height:44px;border-radius:12px;display:grid;place-items:center;background:#edf4fb;color:#1c5d96;flex:0 0 44px}.exp-entry-icon svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.exp-entry-card h3{margin:0;font-size:18px}.exp-entry-card .sub{color:#6e7a8f;font-size:12px;margin-top:3px}
.exp-entry-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px}.exp-entry-fields label{margin:0}.exp-entry-fields .full{grid-column:1/-1}.exp-entry-fields textarea{width:100%;min-height:72px;border:1px solid #dce3ed;border-radius:8px;padding:10px;font:inherit;resize:vertical}.exp-entry-save{width:100%;margin-top:14px;min-height:46px}.exp-entry-status{display:none;margin-top:10px;padding:10px;border-radius:9px;font-size:13px}.exp-entry-status.ok{display:block;background:#ecfdf3;color:#067647}.exp-entry-status.err{display:block;background:#fff1f0;color:#b42318}
@media(max-width:820px){body.expense-entry-user .content{padding:14px 12px calc(18px + env(safe-area-inset-bottom,0px))}.exp-entry-grid{grid-template-columns:1fr}.exp-entry-head h2{font-size:23px}.exp-entry-fields{grid-template-columns:1fr}.exp-entry-fields .full{grid-column:auto}.exp-entry-card{padding:15px}.exp-entry-welcome{padding:17px}}

/* V12 • Fiş fotoğrafı */
.exp-file-field{
  border:1px dashed #b9c8d8;
  border-radius:13px;
  padding:13px!important;
  background:#f8fbfe;
}
.exp-file-field>span{display:block;font-weight:800;margin-bottom:7px;color:#25364a}
.exp-file-field input[type=file]{
  width:100%;
  min-height:46px;
  padding:8px;
  background:#fff;
  border:1px solid #d9e2ec;
  border-radius:10px;
}
.exp-file-field small{display:block;color:#6e7a8f;margin-top:7px;line-height:1.35}
.exp-file-preview{min-height:0}
.exp-file-preview img{
  display:block;
  width:min(100%,360px);
  max-height:250px;
  object-fit:contain;
  border-radius:12px;
  border:1px solid #dce3ed;
  background:#fff;
  padding:5px;
  margin-top:4px;
}
.exp-file-selected{margin-top:6px;font-size:12px;color:#42526a;font-weight:700}
.exp-file-error{display:block;color:#b42318;font-weight:700;margin-top:6px}
.exp-entry-save:disabled{opacity:.65;cursor:wait}

/* V15 */
.exp-fuel-price{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;border:1px solid #cfe0ee;background:#f4f9fd;border-radius:12px}
.exp-fuel-price b{display:block;margin-bottom:4px;color:#244b6c}
.exp-fuel-price div div{font-size:12px;color:#66798c}
.exp-fuel-price button{border:1px solid #bdd2e3;border-radius:9px;background:#fff;padding:10px 12px;font-weight:700;color:#2b5f88}

input.exp-auto-price[readonly]{
  background:#eef6fc!important;
  color:#174c73!important;
  font-weight:800;
}

/* V15.5 • Personel Araç Yakıtı otomatik fiyat */
#peFuelUnitPrice[readonly]{
  background:#eef6fc!important;
  color:#174c73!important;
  font-weight:800;
}
#peVehicleFuelPriceInfo{
  margin-top:2px;
}

/* V15.6 • Personel ekranı sadeleştirme */
body.expense-entry-user #peFuelForm{
  display:none!important;
}
body.expense-entry-user .exp-entry-grid{
  grid-template-columns:1fr!important;
  max-width:920px;
  margin-left:auto;
  margin-right:auto;
}
body.expense-entry-user #peExpenseForm{
  width:100%;
}

.pe-trip-section{max-width:920px;margin:18px auto 0;background:#fff;border:1px solid #dce5ee;border-radius:16px;padding:16px}
.pe-trip-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.pe-trip-head h3{margin:0 0 3px;color:#24435f}.pe-trip-head p{margin:0;color:#7b8999;font-size:12px}.pe-trip-head-actions{display:flex;gap:8px;flex-wrap:wrap}
.pe-trip-summary{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:10px 0 14px}.pe-trip-summary>div{border:1px solid #e1e8ef;border-radius:11px;padding:10px 12px;background:#f8fafc;display:flex;justify-content:space-between}.pe-trip-summary span{font-size:12px;color:#6b7d90}.pe-trip-summary b{color:#214e72}
.pe-trip-subhead{display:flex;justify-content:space-between;gap:10px;margin:14px 0 7px;font-size:12px;color:#64748b}.pe-trip-subhead b{color:#2c4359}
.pe-trip-list{display:grid;gap:7px}.pe-trip-row{display:grid;grid-template-columns:minmax(180px,1fr) auto auto;align-items:center;gap:10px;border:1px solid #e1e7ed;border-radius:11px;padding:10px;background:#fff}.pe-trip-row.done{opacity:.72;background:#fafbfc}
.pe-trip-main b,.pe-trip-days b{display:block;color:#233f59;font-size:13px}.pe-trip-main span,.pe-trip-days span{display:block;color:#7b8999;font-size:11px;margin-top:2px}.pe-trip-days{text-align:right;white-space:nowrap}
.pe-trip-actions{display:flex;gap:5px;flex-wrap:wrap;justify-content:flex-end}.pe-action{border:1px solid #d3dce5;background:#fff;border-radius:8px;padding:6px 8px;font-size:11px;font-weight:700;color:#35536e;cursor:pointer}.pe-action.finish{background:#edf9f2;border-color:#bde4cc;color:#137448}.pe-action.danger{background:#fff5f5;border-color:#efcaca;color:#b42318}.pe-trip-empty{padding:14px;text-align:center;color:#8a98a8;border:1px dashed #d8e0e8;border-radius:10px;font-size:12px}
.pe-mini-modal{position:fixed;inset:0;background:rgba(18,31,44,.42);z-index:9999;display:grid;place-items:center;padding:16px}.pe-mini-modal.hidden{display:none!important}.pe-mini-box{width:min(520px,100%);max-height:90vh;overflow:auto;background:#fff;border-radius:16px;padding:16px}
.pe-mini-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.pe-mini-head h3{margin:0;color:#243f59}.pe-mini-head button{border:0;background:transparent;font-size:26px;cursor:pointer}
.pe-mini-box label{display:block;font-size:12px;font-weight:700;color:#43566a;margin:8px 0}.pe-mini-box input,.pe-mini-box select{width:100%;min-height:42px;border:1px solid #d4dee8;border-radius:9px;padding:8px}.pe-mini-box small{display:block;color:#8896a6;font-weight:400}.pe-mini-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.pe-mini-preview{padding:9px 11px;background:#f1f7fb;border-radius:9px;color:#45637c;font-size:12px;margin-top:10px}.pe-mini-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:14px}
@media(max-width:720px){.pe-trip-head{align-items:flex-start;flex-direction:column}.pe-trip-head-actions{width:100%}.pe-trip-head-actions .btn{flex:1}.pe-trip-row{grid-template-columns:1fr}.pe-trip-days{text-align:left}.pe-trip-actions{justify-content:flex-start}.pe-trip-subhead{display:block}.pe-trip-subhead span{display:block;margin-top:2px}.pe-mini-grid{grid-template-columns:1fr}}

/* V16.3 • Personel hesabında silme butonu kesinlikle görünmez */
body.expense-entry-user [data-pe-trip-delete],
body.expense-entry-user [data-pe-contractor-delete],
body.expense-entry-user .pe-trip-actions .danger{
  display:none!important;
}

/* V16.4 • Profesyonel personel arayüzü */
body.expense-entry-user .pe-legacy-fuel-form{display:none!important}

.pe-section-tabs{
  max-width:920px;
  margin:0 auto 16px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}
.pe-section-tab{
  display:flex;align-items:center;gap:12px;text-align:left;
  border:1px solid #d8e3ed;background:#fff;border-radius:14px;
  padding:13px 15px;cursor:pointer;color:#25435f;transition:.18s ease;
}
.pe-section-tab:hover{border-color:#a9c3d8;background:#f8fbfd}
.pe-section-tab.active{background:#173b5f;border-color:#173b5f;color:#fff}
.pe-section-tab b{display:block;font-size:14px}
.pe-section-tab small{display:block;margin-top:2px;font-size:11px;color:#7d8ea0}
.pe-section-tab.active small{color:#d7e4ee}
.pe-tab-icon{
  width:38px;height:38px;border-radius:10px;display:grid;place-items:center;
  flex:0 0 auto;background:#edf4fa;color:#1d5f8e;font-size:20px;font-weight:900;
}
.pe-section-tab.active .pe-tab-icon{background:rgba(255,255,255,.15);color:#fff}

body.expense-entry-user .pe-section-panel{max-width:920px;margin-left:auto;margin-right:auto}
body.expense-entry-user .pe-section-panel.hidden{display:none!important}

body.expense-entry-user .pe-trip-section{
  padding:18px;border-radius:16px;border:1px solid #d9e4ed;background:#fff;
}
body.expense-entry-user .pe-trip-list{grid-template-columns:repeat(2,minmax(0,1fr))}
body.expense-entry-user .pe-trip-row{
  grid-template-columns:1fr;align-items:stretch;padding:13px;border-radius:12px;background:#fbfcfd;
}
body.expense-entry-user .pe-trip-days{text-align:left;padding-top:7px;border-top:1px solid #e6ecf1}
body.expense-entry-user .pe-trip-actions{justify-content:flex-start}
body.expense-entry-user .pe-trip-summary{grid-template-columns:1fr 1fr}
body.expense-entry-user .pe-trip-subhead{margin-top:18px;padding-bottom:6px;border-bottom:1px solid #e7edf2}

.pe-mobile-nav{display:none}

@media(max-width:720px){
  body.ozay-authenticated.expense-entry-user{padding-bottom:82px}
  body.expense-entry-user .pe-section-tabs{display:none}
  body.expense-entry-user .pe-trip-list{grid-template-columns:1fr}
  body.expense-entry-user .pe-trip-section,
  body.expense-entry-user .pe-section-expense{margin-top:0!important;border-radius:13px}
  body.expense-entry-user .pe-trip-summary{grid-template-columns:1fr 1fr;gap:8px}
  body.expense-entry-user .pe-trip-head-actions{display:grid;grid-template-columns:1fr 1fr;width:100%}

  body.ozay-authenticated.expense-entry-user .pe-mobile-nav{
    position:fixed;left:10px;right:10px;
    bottom:calc(10px + env(safe-area-inset-bottom,0px));
    z-index:9998;display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:6px;
    border:1px solid #d9e3eb;border-radius:16px;background:rgba(255,255,255,.96);
    box-shadow:0 10px 28px rgba(21,53,83,.16);backdrop-filter:blur(12px);
  }
  body.expense-entry-user .pe-mobile-nav button{
    min-height:54px;border:0;background:transparent;color:#637689;border-radius:11px;
    font-size:11px;font-weight:800;display:flex;align-items:center;justify-content:center;gap:7px;
  }
  body.expense-entry-user .pe-mobile-nav button.active{background:#173b5f;color:#fff}
  .pe-mobile-icon{font-size:18px;font-weight:900}
}

/* V29 • Personel mobil il / ilçe seçici */
#peCity,#peDistrict{width:100%;min-height:44px;background:#fff}
#peDistrict:disabled{opacity:.65;background:#f3f6f9}
@media(max-width:720px){
  #peExpenseForm .exp-entry-fields label:has(#peCity),
  #peExpenseForm .exp-entry-fields label:has(#peDistrict){grid-column:1/-1}
  #peCity,#peDistrict{min-height:48px;font-size:16px}
}

/* V30 • Fiş/Fatura Kamera veya Galeri seçimi */
.exp-file-choice-field input[type=file]{display:none!important}
.exp-file-choice-trigger{
  width:100%;min-height:48px;border:1px solid #c9d8e6;border-radius:11px;
  background:#fff;color:#1e527d;font:inherit;font-weight:800;cursor:pointer;
  display:flex;align-items:center;justify-content:center;gap:8px;padding:10px 14px;
}
.exp-file-choice-trigger:active{transform:scale(.99);background:#f3f8fc}
.pe-receipt-choice-modal{
  position:fixed;inset:0;z-index:12050;background:rgba(8,25,42,.58);
  display:flex;align-items:flex-end;justify-content:center;padding:18px;
  backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)
}
.pe-receipt-choice-box{
  width:min(520px,100%);background:#fff;border-radius:22px;padding:18px;
  box-shadow:0 24px 70px rgba(3,22,38,.28);animation:peReceiptSheetIn .22s ease-out
}
@keyframes peReceiptSheetIn{from{transform:translateY(22px);opacity:.4}to{transform:translateY(0);opacity:1}}
.pe-receipt-choice-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:14px}
.pe-receipt-choice-head b{display:block;font-size:18px;color:#193d5d}
.pe-receipt-choice-head span{display:block;margin-top:3px;font-size:12px;color:#77889a}
.pe-receipt-choice-head>button{border:0;background:#eef4f8;color:#536a7d;border-radius:50%;width:34px;height:34px;font-size:24px;line-height:30px;cursor:pointer}
.pe-receipt-choice-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.pe-receipt-choice-btn{
  min-height:118px;border:1px solid #d8e3ec;border-radius:16px;background:#f9fbfd;
  display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;
  gap:9px;padding:14px;cursor:pointer;color:#24445f
}
.pe-receipt-choice-btn:active{transform:scale(.985)}
.pe-receipt-choice-btn.gallery{background:#f5f9fd}
.pe-receipt-choice-btn.camera{background:#f3faf6}
.pe-receipt-choice-icon{width:42px;height:42px;border-radius:13px;background:#e8f1f8;color:#1d5b88;display:grid;place-items:center;font-size:24px;font-weight:900}
.pe-receipt-choice-btn.camera .pe-receipt-choice-icon{background:#e6f5eb;color:#16804e}
.pe-receipt-choice-btn b{display:block;font-size:14px}
.pe-receipt-choice-btn small{display:block;margin-top:3px;color:#7c8a98;font-size:11px;line-height:1.35;font-weight:500}
.exp-file-selected-card{display:flex!important;align-items:center;gap:9px;padding:9px 11px;border:1px solid #dfe8ef;border-radius:10px;background:#f8fbfd}
.exp-file-selected-card>span{font-size:18px}.exp-file-selected-card b{display:block;color:#304b61;font-size:12px;word-break:break-word}.exp-file-selected-card small{display:block;margin-top:2px;color:#7b8b99;font-size:10px}
@media(max-width:560px){.pe-receipt-choice-modal{padding:10px}.pe-receipt-choice-box{border-radius:20px}.pe-receipt-choice-actions{grid-template-columns:1fr}.pe-receipt-choice-btn{min-height:86px;flex-direction:row;justify-content:flex-start;text-align:left}.pe-receipt-choice-icon{flex:0 0 42px}}


/* V38 • Mobil harcama gönderim stabilitesi */
@media(max-width:720px){
  body.expense-entry-user #peExpenseForm{position:relative;z-index:1;padding-bottom:18px}
  body.expense-entry-user #peExpenseForm .exp-entry-save{
    position:relative;z-index:2;width:100%;min-height:52px;margin-top:14px;
    touch-action:manipulation;-webkit-tap-highlight-color:transparent;
  }
  body.expense-entry-user #peExpenseForm .exp-entry-status{min-height:24px;margin-top:8px}
}

/* V48 • Personel mobil kurumsal kategori görünümü + responsive fix */
@media(max-width:720px){
  body.expense-entry-user{width:100%;max-width:100%;overflow-x:hidden;background:linear-gradient(180deg,#f3f6fa 0%,#f8fafc 100%)}
  body.expense-entry-user .content{width:100%;max-width:100%;padding:12px 10px calc(92px + env(safe-area-inset-bottom,0px))}
  body.expense-entry-user #expenseEntryPage,
  body.expense-entry-user .pe-section-panel,
  body.expense-entry-user .exp-entry-grid,
  body.expense-entry-user .exp-entry-card,
  body.expense-entry-user .exp-entry-fields{width:100%;max-width:100%;min-width:0}

  .exp-entry-welcome{
    border-radius:20px;padding:18px 16px;
    background:linear-gradient(145deg,#0f2f4f 0%,#174f7e 72%,#1f6599 100%);
    box-shadow:0 15px 35px rgba(13,49,80,.18);position:relative;overflow:hidden
  }
  .exp-entry-welcome::after{
    content:"";position:absolute;width:130px;height:130px;right:-36px;top:-50px;border-radius:50%;
    border:24px solid rgba(255,255,255,.06)
  }
  .exp-entry-welcome strong{font-size:18px;position:relative;z-index:1}
  .exp-entry-welcome span{position:relative;z-index:1;line-height:1.45}

  .exp-entry-card{border-radius:20px;padding:15px 13px;border-color:#dbe5ee;box-shadow:0 10px 28px rgba(18,56,95,.07)}
  .exp-entry-card-head{gap:10px;margin-bottom:14px}
  .exp-entry-icon{width:46px;height:46px;flex-basis:46px;border-radius:14px;background:linear-gradient(145deg,#eaf3fb,#f6f9fc);box-shadow:inset 0 0 0 1px #dce8f2}
  .exp-entry-card h3{font-size:17px}
  .exp-entry-fields{gap:9px}
  .exp-entry-fields label{width:100%;min-width:0;font-size:12px}
  .exp-entry-fields input,.exp-entry-fields select,.exp-entry-fields textarea{width:100%;max-width:100%;min-width:0;font-size:16px;border-radius:11px}
  .exp-entry-save{min-height:52px;border-radius:13px;font-size:14px;font-weight:800;box-shadow:0 8px 18px rgba(18,56,95,.14)}

  body.ozay-authenticated.expense-entry-user .pe-mobile-nav{
    left:8px;right:8px;bottom:calc(8px + env(safe-area-inset-bottom,0px));
    grid-template-columns:1fr 1fr;gap:7px;padding:7px;border-radius:20px;
    border:1px solid rgba(18,56,95,.12);background:rgba(255,255,255,.97);
    box-shadow:0 18px 45px rgba(10,35,61,.17)
  }
  body.expense-entry-user .pe-mobile-nav button{
    min-width:0;min-height:60px;border-radius:14px;gap:8px;font-size:11px;line-height:1.15;
    padding:7px 8px;transition:transform .18s ease,background .18s ease,color .18s ease
  }
  body.expense-entry-user .pe-mobile-nav button:active{transform:scale(.97)}
  body.expense-entry-user .pe-mobile-nav button.active{
    background:linear-gradient(145deg,#12385f,#1c5d96);color:#fff;box-shadow:0 7px 16px rgba(18,56,95,.18)
  }
  .pe-mobile-icon{
    width:34px;height:34px;display:grid;place-items:center;border-radius:11px;
    background:#edf4fb;color:#1c5d96;font-size:18px;flex:0 0 34px
  }
  body.expense-entry-user .pe-mobile-nav button.active .pe-mobile-icon{background:rgba(255,255,255,.15);color:#fff}

  .exp-file-choice-trigger{min-height:52px;border-radius:13px}
  .exp-file-preview img{width:100%;max-height:220px}
  .pe-receipt-choice-box{width:100%;max-width:100%}
  .pe-trip-summary{grid-template-columns:1fr 1fr}
}

@media(max-width:390px){
  body.expense-entry-user .content{padding-left:8px;padding-right:8px}
  .exp-entry-card{padding:13px 10px}
  .exp-entry-card-head{align-items:flex-start}
  .exp-entry-icon{width:42px;height:42px;flex-basis:42px}
  body.expense-entry-user .pe-mobile-nav button{font-size:10px;padding:6px}
  .pe-mobile-icon{width:31px;height:31px;flex-basis:31px;font-size:16px}
}

@media(max-width:340px){
  .pe-trip-summary{grid-template-columns:1fr}
  body.ozay-authenticated.expense-entry-user .pe-mobile-nav{left:5px;right:5px;gap:5px;padding:5px}
  body.expense-entry-user .pe-mobile-nav button{font-size:9px;gap:5px}
}

@media(max-width:720px){.pe-mobile-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}}


/* V72 • Mobil Hesabım / alt kategori çakışma fix */
@media(max-width:720px){
  body.modal-open .pe-mobile-nav{
    opacity:0 !important;
    pointer-events:none !important;
    transform:translateY(calc(100% + 32px));
    transition:opacity .18s ease, transform .22s ease;
  }
  body.modal-open .modal{
    z-index:12020;
    align-items:flex-start;
    padding:calc(env(safe-area-inset-top,0px) + 12px) 12px calc(env(safe-area-inset-bottom,0px) + 12px);
  }
  body.modal-open .modal .modal-box{
    width:100%;
    max-width:560px;
    max-height:calc(100dvh - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px) - 24px);
    margin:0 auto;
    border-radius:22px;
    padding-bottom:22px;
  }
  body.modal-open .password-modal-box .modal-actions{
    position:sticky;
    bottom:0;
    background:#fff;
    padding-top:12px;
    margin-top:14px;
  }
}

/* V94 • Personel Proje Galerisi */
.pe-section-tabs{grid-template-columns:repeat(4,minmax(0,1fr))}
.pe-gallery-upload-field{margin-top:2px}
.pe-gallery-preview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-top:2px}
.pe-gallery-thumb{position:relative;aspect-ratio:1/1;border-radius:12px;overflow:hidden;background:#edf2f6;border:1px solid #dce5ec}
.pe-gallery-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.pe-gallery-thumb button{position:absolute;right:5px;top:5px;width:27px;height:27px;border:0;border-radius:50%;background:rgba(13,34,54,.82);color:#fff;font-size:18px;line-height:1;display:grid;place-items:center;cursor:pointer}
.pe-gallery-thumb>span{position:absolute;left:6px;bottom:6px;min-width:23px;height:23px;padding:0 6px;border-radius:8px;background:rgba(13,34,54,.78);color:#fff;font-size:10px;font-weight:800;display:grid;place-items:center}
#peProjectGalleryForm textarea{resize:vertical;min-height:96px}
#peProjectGalleryForm .exp-entry-status.ok{color:#187447}
#peProjectGalleryForm .exp-entry-status.bad{color:#b23b3b}
@media(max-width:720px){
  body.ozay-authenticated.expense-entry-user .pe-mobile-nav{grid-template-columns:repeat(4,minmax(0,1fr))}
  body.expense-entry-user .pe-mobile-nav button{padding:6px 3px;gap:5px;font-size:10px}
  body.expense-entry-user .pe-mobile-nav button>span:last-child{max-width:78px}
  .pe-gallery-preview{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
  #peProjectGalleryForm .exp-entry-fields label:has(#peGalleryCity),
  #peProjectGalleryForm .exp-entry-fields label:has(#peGalleryDistrict){grid-column:1/-1}
}
@media(max-width:390px){
  body.expense-entry-user .pe-mobile-nav button{font-size:9px}
  .pe-mobile-icon{width:30px;height:30px}
  .pe-gallery-preview{grid-template-columns:repeat(2,minmax(0,1fr))}
}


/* V97 - personel@ozaygruptr.com sadece Harcama Giderleri */
body.expense-only-user [data-pe-section="trips"],
body.expense-only-user [data-pe-section="gallery"],
body.expense-only-user [data-pe-mobile-section="trips"],
body.expense-only-user [data-pe-mobile-section="gallery"],
body.expense-only-user .pe-section-trips,
body.expense-only-user .pe-section-gallery,
body.expense-only-user #peTripModal,
body.expense-only-user #peContractorModal{display:none!important}
body.expense-only-user .pe-section-tabs{grid-template-columns:repeat(2,minmax(0,1fr))!important}
@media(max-width:820px){
  body.ozay-authenticated.expense-entry-user.expense-only-user .pe-mobile-nav{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.expense-only-user .pe-mobile-nav button{max-width:none!important}
}

/* V99 • Mobil kategori barını ekranın gerçek altına sabitle */
@media(max-width:720px){
  body.ozay-authenticated.expense-entry-user{
    padding-bottom:calc(88px + env(safe-area-inset-bottom,0px))!important;
  }

  body.expense-entry-user .content{
    padding-bottom:calc(112px + env(safe-area-inset-bottom,0px))!important;
  }

  body.ozay-authenticated.expense-entry-user .pe-mobile-nav{
    position:fixed!important;
    left:0!important;
    right:0!important;
    bottom:0!important;
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    box-sizing:border-box!important;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:6px!important;
    padding:6px max(8px,env(safe-area-inset-right,0px)) calc(6px + env(safe-area-inset-bottom,0px)) max(8px,env(safe-area-inset-left,0px))!important;
    border-left:0!important;
    border-right:0!important;
    border-bottom:0!important;
    border-radius:20px 20px 0 0!important;
    background:rgba(255,255,255,.985)!important;
    box-shadow:0 -10px 30px rgba(10,35,61,.14)!important;
    -webkit-backdrop-filter:blur(16px);
    backdrop-filter:blur(16px);
    z-index:2147483000!important;
    transform:translate3d(0,0,0);
    -webkit-transform:translate3d(0,0,0);
  }

  body.expense-entry-user .pe-mobile-nav button{
    min-height:58px!important;
    margin:0!important;
  }

  body.expense-entry-user.expense-only-user .pe-mobile-nav{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }

  body.modal-open.ozay-authenticated.expense-entry-user .pe-mobile-nav{
    opacity:0!important;
    pointer-events:none!important;
    transform:translate3d(0,120%,0)!important;
    -webkit-transform:translate3d(0,120%,0)!important;
  }
}


/* V106 • Mobil Fiş/Fotoğraf seçim modalı alt kategori çakışma fix */
@media(max-width:720px){
  body.pe-receipt-choice-open .pe-mobile-nav{
    opacity:0 !important;
    visibility:hidden !important;
    pointer-events:none !important;
    transform:translateY(calc(100% + 48px)) !important;
  }
  body.pe-receipt-choice-open{
    overflow:hidden;
    overscroll-behavior:none;
  }
  .pe-receipt-choice-modal{
    z-index:2147483000 !important;
    padding:calc(env(safe-area-inset-top,0px) + 12px) 12px calc(env(safe-area-inset-bottom,0px) + 12px) !important;
    min-height:100dvh;
    max-height:100dvh;
    box-sizing:border-box;
    overflow:hidden;
  }
  .pe-receipt-choice-box{
    width:100%;
    max-width:560px;
    max-height:calc(100dvh - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px) - 24px);
    overflow-y:auto;
    overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch;
    box-sizing:border-box;
    padding-bottom:calc(18px + env(safe-area-inset-bottom,0px));
  }
  .pe-receipt-choice-actions{padding-bottom:2px}
}

/* V111 • Personel QR zimmet sekmesi */
@media(max-width:720px){body.expense-entry-user .pe-mobile-nav button>span:last-child{max-width:68px!important;font-size:9px}body.expense-entry-user .pe-mobile-nav button{min-width:0!important}}
