/* 1.99997 — wider, larger, easier to read. Overrides only sizes and spacing, no logic. */
.sidebar nav a,.grouped-nav a{font-size:16.5px;padding:12px 14px}
.with-nav{padding-left:clamp(20px,2.4vw,44px);padding-right:clamp(20px,2.4vw,44px)}
h1{font-size:2.15rem}
button,.button{font-size:15.5px;min-height:46px}
input,select,textarea{font-size:16px;min-height:46px}
label{font-size:.9375rem}
table{font-size:.9375rem}

/* Входящие: bigger rows, the letter uses the whole width, roomier action column */
.feed-page .feed-item>summary{grid-template-columns:minmax(220px,320px) minmax(0,1fr) auto;padding:18px 22px;gap:22px}
.feed-page .approval-sender strong{font-size:17.5px}
.feed-page .feed-src{font-size:12.5px}
.feed-page .feed-subject strong{font-size:16.5px}
.feed-page .feed-subject small{font-size:15px}
.feed-page .feed-detail{grid-template-columns:minmax(0,1fr) clamp(300px,24vw,380px);gap:28px;padding:6px 22px 22px}
.feed-msg{max-width:96%}
.feed-chain{max-height:76vh;gap:12px}
.feed-chain .approval-message.feed-msg{padding:12px 16px}
.feed-msg .feed-text{font-size:16.5px;line-height:1.6;max-height:none}
.feed-msg small{font-size:13.5px}
.feed-actions .fa-primary,.feed-actions .fa-three button,.feed-actions .fa-three .button{min-height:52px;font-size:16.5px}
.feed-tabs a{font-size:17px}

/* Suggestions in the panel: INN found in the letter, AI summary */
.fa-inn{display:flex;flex-direction:column;gap:8px;margin:0;padding:12px 14px;border-radius:10px;background:#f2f8ef;border:1px solid #cfe5c3;font-size:14.5px;text-align:left}
.fa-inn button{margin:0}
.fa-ai{display:flex;flex-direction:column;gap:8px}
.fa-ai button{margin:0}
.fa-ai .pre,.mail-compose .ai-result .pre{margin:0;padding:12px 14px;border-radius:10px;background:#f6f3ff;border:1px solid #ddd3fb;font-size:15px;line-height:1.55;text-align:left}

/* Письмо клиенту: AI bar above the text, larger writing area */
.mail-compose .ai-bar{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:4px 0 12px;padding:10px 12px;border-radius:12px;background:#f6f3ff;border:1px solid #ddd3fb}
.mail-compose .ai-bar button{margin:0;min-height:40px}
.mail-compose .ai-bar input{flex:1 1 220px;min-height:40px;margin:0}
.ai-bar-title{font-weight:700;color:#4b3a9a;margin-right:4px}
.mail-compose .ai-result{display:flex;flex-direction:column;gap:8px;margin-bottom:14px}
.mail-compose .ai-result button{align-self:flex-start;margin:0}
.mail-compose-body textarea{min-height:300px;font-size:16.5px;line-height:1.6}

@media(min-width:1700px){
  html{font-size:17px}
  .feed-page .feed-detail{grid-template-columns:minmax(0,1fr) 400px}
}
@media(max-width:900px){
  .feed-page .feed-item>summary{grid-template-columns:1fr;padding:14px 16px;gap:8px}
  .feed-page .feed-detail{grid-template-columns:1fr;padding:4px 12px 14px}
  .feed-msg{max-width:100%}
}
/* Login: an empty form is not an error */
.power-login-page input:required:invalid,.power-login-page input:required:invalid:focus{background:#fff!important;border-color:#cfd8d3!important}
