/* v3.29.36 — Sistem geneli kompakt ve tutarlı form ölçüleri */
:root{
  --ui-control-height:36px;
  --ui-button-height:34px;
  --ui-radius:8px;
  --ui-section-gap:12px;
  --ui-label-size:11px;
}

/* Yönlendirmeli formlarda açıklama, asıl işlem alanının önüne geçmez. */
.content-frame .structured-form .form-section{
  grid-template-columns:160px minmax(0,1fr)!important;
  gap:16px!important;
  padding:15px 18px!important;
}
.content-frame .structured-form .form-section-head{
  gap:8px!important;
  padding:0!important;
  background:transparent!important;
}
.content-frame .structured-form .form-section-head>span{
  width:24px!important;
  height:24px!important;
  border-radius:7px!important;
  font-size:9px!important;
}
.content-frame .structured-form .form-section-head h2{
  margin:1px 0 3px!important;
  font-size:12px!important;
  line-height:1.25!important;
}
.content-frame .structured-form .form-section-head p{
  margin:0!important;
  font-size:9px!important;
  line-height:1.4!important;
}
.content-frame .structured-form .form-grid{
  gap:11px 14px!important;
  padding:0!important;
}
.content-frame .structured-form .form-grid label{
  gap:4px!important;
  font-size:var(--ui-label-size)!important;
  line-height:1.25!important;
}
.content-frame .structured-form .form-grid :is(input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),select){
  height:var(--ui-control-height)!important;
  min-height:var(--ui-control-height)!important;
  margin-top:4px!important;
  padding:6px 9px!important;
  border-radius:var(--ui-radius)!important;
  font-size:11px!important;
}
.content-frame .structured-form .form-grid textarea{
  min-height:72px!important;
  max-height:150px;
  margin-top:4px!important;
  padding:8px 9px!important;
  border-radius:var(--ui-radius)!important;
  font-size:11px!important;
  line-height:1.4!important;
}
.content-frame .structured-form .form-actions{
  gap:8px!important;
  padding:10px 18px!important;
}
.content-frame .structured-form .form-actions .button,
.content-frame .member-report-actions .button{
  min-height:var(--ui-button-height)!important;
  padding:7px 11px!important;
  border-radius:var(--ui-radius)!important;
  font-size:10px!important;
}

/* Görev ekranı aynı bilgi yoğunluğunu daha kısa bir çalışma yüzeyinde sunar. */
.content-frame .task-form-compact{max-width:1180px;margin-inline:auto}
.content-frame .task-form-compact .form-section:first-of-type .form-grid{align-items:start}
.content-frame .task-form-compact textarea[name="description"]{min-height:78px!important;height:78px!important}

/* Üst yazı formu: şablonsuz, kısa numara satırlı çalışma düzeni. */
html body .content-frame .compact-letter-form-v3297{
  padding:12px!important;
}
html body .content-frame .compact-letter-form-v3297 .form-grid{
  grid-auto-flow:dense!important;
  gap:8px 10px!important;
}
html body .content-frame .compact-letter-form-v3297 .letter-field-branch{grid-column:1!important;grid-row:1!important}
html body .content-frame .compact-letter-form-v3297 .letter-field-document_date{grid-column:2!important;grid-row:1!important}
html body .content-frame .compact-letter-form-v3297 .letter-field-sender_recipient{grid-column:3!important;grid-row:1!important}
html body .content-frame .compact-letter-form-v3297 .letter-field-number_mode{
  grid-column:1/-1!important;
  grid-row:2!important;
  display:grid!important;
  grid-template-columns:105px minmax(300px,520px) minmax(0,1fr)!important;
  align-items:center!important;
  gap:6px 10px!important;
  min-height:42px!important;
  padding:4px 8px!important;
  border-radius:7px!important;
}
html body .content-frame .compact-letter-form-v3297 .correspondence-manual-number-v3204[hidden]{display:none!important}
html body .content-frame .compact-letter-form-v3297 .letter-field-number_mode>div{
  display:flex!important;
  align-items:center!important;
  gap:14px!important;
  margin:0!important;
}
html body .content-frame .compact-letter-form-v3297 .letter-field-number_mode>div label{
  display:flex!important;
  align-items:center!important;
  gap:5px!important;
  min-height:28px!important;
  height:28px!important;
  padding:3px 6px!important;
  border:0!important;
  background:transparent!important;
  white-space:nowrap;
}
html body .content-frame .compact-letter-form-v3297 .letter-field-number_mode input{
  width:15px!important;
  height:15px!important;
  min-height:15px!important;
  margin:0!important;
}
html body .content-frame .compact-letter-form-v3297 .letter-field-number_mode>small{
  grid-column:3!important;
  font-size:8px!important;
}
html body .content-frame .compact-letter-form-v3297 .letter-field-description textarea{
  height:94px!important;
  min-height:94px!important;
}
html body .content-frame .compact-letter-form-v3297 .letter-field-attachments_note textarea,
html body .content-frame .compact-letter-form-v3297 .letter-field-distribution textarea{
  height:54px!important;
  min-height:54px!important;
}

/* Üye raporundaki uzun alan listesi küçük, kaydırılabilir bir seçicide kalır. */
.content-frame .member-report-field-form{gap:10px!important}
.content-frame .member-report-controls{
  grid-template-columns:minmax(180px,230px) minmax(0,1fr)!important;
  gap:10px!important;
  align-items:start!important;
}
.content-frame .member-report-status-filter{
  gap:5px!important;
  padding:9px 10px!important;
  border-radius:10px!important;
  font-size:var(--ui-label-size)!important;
  align-self:start!important;
  min-height:0!important;
  height:auto!important;
}
.content-frame .member-report-status-filter select{
  min-height:var(--ui-control-height)!important;
  height:var(--ui-control-height)!important;
  padding:6px 9px!important;
  font-size:11px!important;
}
.content-frame .member-report-field-picker{
  align-self:start!important;
  min-height:0!important;
  height:auto!important;
  border-radius:10px!important;
}
.content-frame .member-report-field-picker summary{
  min-height:50px!important;
  gap:10px!important;
  padding:8px 40px 8px 11px!important;
}
.content-frame .member-report-field-picker summary::after{
  right:13px!important;
  font-size:18px!important;
}
.content-frame .member-report-picker-copy{gap:1px!important}
.content-frame .member-report-picker-copy strong{font-size:11px!important}
.content-frame .member-report-picker-copy small{font-size:9px!important}
.content-frame .member-report-selected-count{
  padding:4px 7px!important;
  font-size:9px!important;
}
.content-frame .member-report-presets{
  display:flex;
  flex-wrap:wrap;
  gap:5px;
  padding:7px 9px;
  border-top:1px solid var(--border);
  background:var(--surface);
}
.content-frame .member-report-presets button{
  min-height:28px;
  padding:4px 8px;
  border:1px solid var(--border);
  border-radius:7px;
  background:var(--surface-soft);
  color:var(--text);
  font-family:inherit;
  font-size:9px;
  font-weight:700;
  line-height:1.2;
  cursor:pointer;
}
.content-frame .member-report-presets button:hover,
.content-frame .member-report-presets button:focus-visible{
  border-color:var(--primary);
  color:var(--primary);
  outline:none;
}
.content-frame .member-report-field-grid{
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  grid-auto-rows:30px!important;
  align-content:start!important;
  gap:2px 8px!important;
  min-height:0!important;
  height:auto!important;
  max-height:164px!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  padding:6px 8px!important;
}
.content-frame .member-report-field{
  align-self:start!important;
  gap:6px!important;
  min-height:30px!important;
  height:30px!important;
  max-height:30px!important;
  padding:4px 5px!important;
  border:0!important;
  border-radius:5px!important;
  background:transparent!important;
  font-size:9px!important;
  line-height:1.2!important;
}
.content-frame .member-report-field:hover{background:var(--surface-soft)!important}
.content-frame .member-report-field input{
  width:14px!important;
  height:14px!important;
  flex:none;
}

@media(max-width:900px){
  .content-frame .structured-form .form-section{grid-template-columns:140px minmax(0,1fr)!important}
  .content-frame .member-report-field-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
  html body .content-frame .compact-letter-form-v3297 .letter-field-sender_recipient{grid-column:1/-1!important}
  html body .content-frame .compact-letter-form-v3297 .letter-field-branch,
  html body .content-frame .compact-letter-form-v3297 .letter-field-document_date{grid-row:1!important}
  html body .content-frame .compact-letter-form-v3297 .letter-field-sender_recipient{grid-row:2!important}
  html body .content-frame .compact-letter-form-v3297 .letter-field-number_mode{grid-row:3!important}
  html body .content-frame .compact-letter-form-v3297 .letter-field-number_mode{grid-template-columns:105px minmax(280px,1fr)!important}
  html body .content-frame .compact-letter-form-v3297 .letter-field-number_mode>small{display:none!important}
}
@media(max-width:720px){
  .content-frame .structured-form .form-section{grid-template-columns:1fr!important;gap:9px!important;padding:12px!important}
  .content-frame .structured-form .form-section-head p{display:none}
  .content-frame .member-report-controls{grid-template-columns:1fr!important}
  .content-frame .member-report-field-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  html body .content-frame .compact-letter-form-v3297 .letter-field-branch,
  html body .content-frame .compact-letter-form-v3297 .letter-field-document_date,
  html body .content-frame .compact-letter-form-v3297 .letter-field-sender_recipient{grid-column:1!important;grid-row:auto!important}
  html body .content-frame .compact-letter-form-v3297 .letter-field-number_mode{grid-row:auto!important;grid-template-columns:1fr!important;gap:3px!important}
}
@media(max-width:460px){
  .content-frame .member-report-field-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .content-frame .member-report-field-picker summary{align-items:center!important;flex-direction:row!important}
  .content-frame .member-report-selected-count{margin-left:auto!important}
}
