/* НаСвязи 2.8 — navy, white and blue from the supplied visual reference. */
:root{--navy:#102b3d;--navy2:#183d57;--teal:#1683fa;--teal2:#096bd8;--bg:#f2f5f9;--bubble:#fff;--ink:#1e3247;--muted:#718198;--stroke:#dce5ee}
body{background:#eaf0f6;color:var(--ink)}
.topbar{background:#102b3d}.topbar .icon-control{background:#ffffff10!important;border-color:#ffffff18!important;color:#f4f8fd!important}
.primary,.send,.cloud-plus,.private-compose #privateSend,.app-action-box button.primary{background:#1683fa!important;color:#fff!important}
.secondary{background:#edf4fd;color:#175d9f;border-color:#d7e4f2}
.messages,.private-screen{background-color:#f3f5f9}.bubble.mine,.private-entry{background:#e4f0ff}
.text-link,.ticks.read{color:#147de8}.private-avatar{background:#e6effa;color:#2469a3}
.bottom-tabs{box-shadow:0 -2px 12px #17355008;border-top:1px solid #dfe7ef}
.bottom-tabs button{color:#5c7187!important}.bottom-tabs button.active{color:#147df0!important;background:#edf5ff!important}.bottom-tabs button.active span{color:#147df0!important}
.chat-home{background:#f5f7fa!important}.chat-home-contact{border:1px solid #e8edf3!important;box-shadow:none!important}.chat-home-contact .avatar{background:#e4edf7!important;color:#315b80!important}
.chat-home-title button{background:#1683fa}.private-room-row{border-left:3px solid #5688be!important}
.profile-hero{background:linear-gradient(120deg,#edf5ff,#f7faff)}.planner-day.selected{background:#1683fa}.planner-day.today{box-shadow:inset 0 0 0 1px #1683fa}.planner-dot{color:#1683fa}.planner-selected button{background:#eaf3ff;color:#1768bf}
.organizer-head,.private-screen .organizer-head{background:#fff}.organizer-screen{background:#f4f7fb}.organizer-card{border-color:#e3eaf2}
.private-screen .organizer-head button,.private-compose button{background:#edf3fa;color:#2c608e}.private-compose textarea{border-color:#dce6f0}
.app-action-box{border-radius:18px}.app-action-box button{background:#eff4fa;color:#284966}.app-action-box textarea{width:100%;font:inherit;font-size:15px;line-height:1.5;padding:12px;border:1px solid #c9d8e7;border-radius:12px;resize:vertical;min-height:130px}
.entry-edit{background:transparent;border:0;color:#4b7093;min-width:36px;min-height:36px;font-size:17px;border-radius:8px}
.cloud-header{background:#102b3d}.cloud-screen{background:#f5f7fa}.cloud-title strong{font-size:17px!important}
.cloud-categories{padding-bottom:8px!important}.cloud-categories button{border-color:#dde6ef;color:#566c82;background:#fff}.cloud-categories button.active{background:#eaf3ff;color:#136fd4;border-color:#a6c9f5}
.cloud-top{gap:6px;flex-wrap:wrap}.cloud-breadcrumb{flex:1}.cloud-scan-button{border:1px solid #c8dcf4;border-radius:10px;background:#edf5ff;color:#1568c2;min-height:34px;font-size:11px;padding:6px 9px;white-space:nowrap}
.cloud-create-folder{color:#315d83}.cloud-breadcrumb button{color:#245a91}.cloud-footer button{color:#246ab4}
#cloudList.cloud-desktop{display:flex!important;flex-direction:column;gap:8px!important;padding:8px 10px 84px!important}
.cloud-row{display:flex;align-items:center;background:#fff;border:1px solid #dfe7f0;border-radius:13px;min-height:72px;box-shadow:0 2px 7px #17355004;flex-shrink:0;overflow:hidden}
.cloud-row-open{display:flex;align-items:center;gap:11px;flex:1;min-width:0;border:0;background:transparent;text-align:left;padding:12px 10px;color:#243b50;min-height:70px}
.cloud-row-icon{width:42px;height:42px;flex:0 0 42px;border-radius:12px;background:#edf3fa;display:grid;place-items:center;font-size:25px}
.cloud-row-icon.folder{background:#fff7dd}.cloud-row-icon.photos{background:#eef4ff}.cloud-row-icon.audio{background:#ebf8f1}.cloud-row-icon.videos{background:#fff0f2}.cloud-row-icon.docs{background:#eaf3ff}
.cloud-row-copy{display:flex;flex-direction:column;gap:5px;flex:1;min-width:0}.cloud-row-copy strong{font-size:13px;line-height:1.35;overflow-wrap:anywhere;font-weight:650}.cloud-row-copy small{font-size:10px;color:#8190a3}
.cloud-row-more,.cloud-row-delete{border:0;background:transparent;min-width:40px;min-height:44px;color:#55718e;font-size:23px;padding:4px 8px}
.cloud-row-delete{font-size:19px;color:#b95b68;margin-right:3px}.cloud-row-more:focus-visible,.cloud-row-delete:focus-visible{outline:2px solid #1683fa;outline-offset:-4px;border-radius:8px}
.cloud-loading{background:#edf5ff;color:#2267ab}
.scanflow-screen{position:fixed;inset:0 0 var(--bottom-nav-height);z-index:95;background:#0f1c2b;display:flex;flex-direction:column}
.scanflow-screen>header{display:flex;align-items:center;gap:9px;min-height:62px;padding:9px 10px;background:#102b3d;color:white;border-bottom:1px solid #ffffff12;flex-shrink:0}
.scanflow-screen>header>div{flex:1;min-width:0}.scanflow-screen header strong{display:block;font-size:16px}.scanflow-screen header small{display:block;font-size:10px;color:#b5cadc;margin-top:3px}
.scanflow-screen header button{border:0;border-radius:10px;background:#ffffff10;color:white;width:42px;height:42px;font-size:27px}
.scanflow-screen iframe{flex:1;width:100%;min-height:0;border:0;background:#0f1c2b}
@media(min-width:900px){.scanflow-screen{left:50%;transform:translateX(-50%);width:min(780px,100%)}}
