/* Approved Home language, scoped to Documents and Chat. */
html body#nx-area-root.documents-mode.documents-folder-open #documentsModule{display:block!important;}
html body#nx-area-root.documents-mode .docs-upload-copy .badge{display:none!important;}
html body#nx-area-root.documents-mode .docs-upload-copy h3{font-size:17px!important;margin:0 0 4px!important;}
html body#nx-area-root.documents-mode .docs-upload-copy p{margin:0!important;}
html body#nx-area-root.documents-mode .docs-folder-search{max-width:none!important;}
html body#nx-area-root.documents-mode .docs-folder-search .docs-search{max-width:none!important;}
html body#nx-area-root.documents-mode .docs-folder-search input{border:0!important;box-shadow:none!important;background:transparent!important;}
.nd-table th{white-space:nowrap;}
.nx-camera-tools{padding:0 0 18px;}.nx-camera-tools button{width:100%;min-height:44px;padding:10px;border:1px solid var(--nx-line);border-radius:10px;background:var(--nx-surface-2);color:var(--nx-text);font-size:13px;font-weight:650;cursor:pointer;}
.nx-camera-test{width:min(560px,calc(100vw - 28px));max-height:90dvh;overflow:auto;padding:24px;border:1px solid var(--nx-line);border-radius:18px;background:var(--nx-surface);color:var(--nx-text);box-shadow:0 20px 80px #0004;}
.nx-camera-test::backdrop{background:#13334488;backdrop-filter:blur(5px);}.nx-camera-test header{display:flex;align-items:center;gap:20px;justify-content:space-between;}.nx-camera-test h2{font-size:23px;margin:0;}.nx-camera-test p{font-size:15px;line-height:1.6;}.nx-camera-test video{width:100%;max-height:300px;border-radius:12px;background:#163747;}.nx-camera-test button{min-height:44px;padding:10px 15px;border:1px solid var(--nx-line);border-radius:10px;background:var(--nx-surface-2);color:var(--nx-text);font-size:15px;cursor:pointer;}.nx-camera-test .nx-camera-start{background:var(--nx-gradient);color:white;}.nx-camera-test .nx-camera-close{font-size:25px;}
html body#nx-area-root:is(.documents-mode,.chat-page){--nx-header-height:82px;}
html body#nx-area-root:is(.documents-mode,.chat-page) .nx-topbar{height:var(--nx-header-height);padding-inline:24px;}
html body#nx-area-root:is(.documents-mode,.chat-page) .nx-logo-frame{width:104px;height:69px;}
html body#nx-area-root:is(.documents-mode,.chat-page) .nx-primary-nav{padding:4px;border-radius:12px;}
html body#nx-area-root:is(.documents-mode,.chat-page) .nx-primary-nav a{padding:10px 15px;font-size:15px;border-radius:9px;}
html body#nx-area-root.documents-mode #mainContent.docs-workspace{width:min(1500px,calc(100% - 40px))!important;padding:20px 0 30px!important;}
html body#nx-area-root.documents-mode #documentsFolderOverview{display:block!important;background:transparent!important;border:0!important;padding:0!important;box-shadow:none!important;margin:0 0 16px!important;}
html body#nx-area-root.documents-mode .docs-folder-overview-head{display:flex!important;align-items:center;justify-content:space-between;gap:20px;min-height:175px!important;border:1px solid #b7dfe8!important;border-bottom:3px solid #35b4bf!important;border-radius:17px!important;padding:25px 30px!important;margin-bottom:16px!important;background:#ecf9fa url('home-landscape.svg') center/cover no-repeat!important;}
html body#nx-area-root.documents-mode .docs-folder-overview-head h1{font-size:34px!important;line-height:1.2!important;color:#133d59!important;margin:8px 0!important;}
html body#nx-area-root.documents-mode .docs-folder-overview-head p{font-size:15px!important;color:#365e71!important;max-width:520px;}
html body#nx-area-root.documents-mode .docs-folder-total{background:#f4ffffe8!important;border:1px solid #fff!important;border-radius:12px!important;padding:16px 23px!important;min-width:140px;box-shadow:0 5px 20px #16657d10;}
html body#nx-area-root.documents-mode .docs-folder-total b{color:#124761!important;font-size:30px!important;}
html body#nx-area-root.documents-mode .docs-folder-total small{color:#426979!important;}
html body#nx-area-root.documents-mode .docs-folder-grid{display:flex!important;flex-wrap:wrap;gap:8px!important;}
html body#nx-area-root.documents-mode .docs-folder-card{display:flex!important;align-items:center;flex:1 1 135px!important;gap:9px!important;padding:10px 12px!important;min-height:52px!important;border-radius:10px!important;background:var(--nx-surface)!important;box-shadow:0 3px 12px #0b64700a!important;}
html body#nx-area-root.documents-mode .docs-folder-icon{width:28px!important;height:30px!important;min-width:28px!important;border:0!important;background:transparent!important;padding:2px!important;}
html body#nx-area-root.documents-mode .docs-folder-copy b{font-size:12px!important;}
html body#nx-area-root.documents-mode .docs-folder-copy small,html body#nx-area-root.documents-mode .docs-folder-arrow,html body#nx-area-root.documents-mode .docs-folder-count small{display:none!important;}
html body#nx-area-root.documents-mode .docs-folder-count{margin-left:auto!important;padding:3px 6px!important;border-radius:6px;background:var(--nx-surface-2);}
html body#nx-area-root.documents-mode .docs-folder-count b{font-size:12px!important;}
html body#nx-area-root.documents-mode .docs-upload-panel{margin-bottom:16px!important;padding:15px 20px!important;border-radius:13px!important;}
html body#nx-area-root.documents-mode .docs-upload-panel h2{font-size:18px!important;}
html body#nx-area-root.documents-mode .docs-upload-panel p{font-size:13px!important;}
html body#nx-area-root.documents-mode .docs-documents-content{display:block!important;margin-top:0!important;background:transparent!important;border:0!important;padding:0!important;box-shadow:none!important;}
html body#nx-area-root.documents-mode .docs-folder-content-head{display:flex!important;align-items:center;gap:15px;margin-bottom:12px!important;}
html body#nx-area-root.documents-mode .docs-folder-content-head p,html body#nx-area-root.documents-mode .docs-folder-current .badge{display:none!important;}
html body#nx-area-root.documents-mode #documentsTitle{font-size:22px!important;}
html body#nx-area-root.documents-mode .docs-folder-back{font-size:12px!important;}
html body#nx-area-root.documents-mode .docs-folder-search{display:block!important;margin:0 0 14px!important;padding:0!important;border:0!important;}
html body#nx-area-root.documents-mode .docs-search{width:100%!important;border:1px solid var(--nx-line)!important;border-radius:10px!important;}
html body#nx-area-root.documents-mode.nx-docs-ready #documentsGrid{display:none!important;}
.nd-workspace{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(300px,1fr);gap:16px;align-items:start;}
.nd-list{border:1px solid var(--nx-line);border-radius:14px;overflow:hidden;background:var(--nx-surface);}
.nd-table{width:100%;border-collapse:collapse;table-layout:fixed;color:var(--nx-text);font-size:13px;}
.nd-table th{text-align:left;padding:13px 12px;background:var(--nx-surface-2);border-bottom:1px solid var(--nx-line);color:var(--nx-muted);font-size:11px;font-weight:650;}
.nd-table th:first-child{width:65%;}.nd-table th:last-child{width:40px;}.nd-table th:nth-child(2){width:65px;}
.nd-table td{padding:0 10px;border-bottom:1px solid var(--nx-line);vertical-align:middle;overflow-wrap:anywhere;}
.nd-table tr:last-child td{border-bottom:0;}.nd-table tr.is-selected{background:var(--nx-surface-2);box-shadow:inset 3px 0 #0faaaa;}
.nd-document{display:flex;align-items:center;gap:11px;width:100%;min-height:72px;padding:13px 0;border:0;background:transparent;color:var(--nx-text);text-align:left;cursor:pointer;}
.nd-document>span:last-child{min-width:0;}.nd-document b{display:block;font-size:14px;line-height:1.4;font-weight:650;overflow-wrap:anywhere;}.nd-document small{display:block;font-size:11px;line-height:1.4;color:var(--nx-muted);margin-top:5px;}
.nd-file-icon{display:grid;place-items:center;flex:0 0 33px;height:39px;border:1px solid #b8dfe6;border-radius:7px;background:linear-gradient(145deg,#e7f5ff,#d5f4ef);color:#086881;font-size:9px;font-weight:800;}
.nd-open{color:var(--nx-accent);text-decoration:none;font-size:20px;padding:10px 0;display:block;}
.nd-preview{position:sticky;top:100px;border:1px solid var(--nx-line);border-radius:14px;overflow:hidden;background:var(--nx-surface);color:var(--nx-text);}
.nd-preview>header{padding:18px;background:linear-gradient(110deg,var(--nx-surface),var(--nx-surface-2));border-bottom:1px solid var(--nx-line);}
.nd-preview>header>span{font-size:10px;font-weight:750;letter-spacing:.12em;color:var(--nx-accent);}
html body #mainContent .nd-preview h3{margin:9px 0 0;font-size:19px!important;line-height:1.35;overflow-wrap:anywhere;}
.nd-preview-body{padding:14px;background:var(--nx-surface-2);}
.nd-preview iframe{display:block;width:100%;height:360px;border:1px solid var(--nx-line);border-radius:6px;background:white;}
.nd-workspace [hidden],.nx-camera-test [hidden]{display:none!important;}
.nd-preview-meta{padding:4px 18px;}.nd-preview-meta p{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid var(--nx-line);padding:10px 0;margin:0;}.nd-preview-meta b,.nd-preview-meta span{font-size:12px;line-height:1.5;}
.nd-preview-actions{display:flex;flex-wrap:wrap;gap:8px;padding:15px;}
.nd-action{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:9px 12px;border:1px solid var(--nx-line);border-radius:9px;color:var(--nx-text);text-decoration:none;font-size:12px;font-weight:650;}
.nd-primary{background:var(--nx-gradient);color:#fff;border-color:transparent;}
.nd-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);}
html body#nx-area-root.chat-page .chat-workspace{gap:14px!important;}
html body#nx-area-root.chat-page .chat-messages{padding:20px!important;}
html body#nx-area-root.chat-page .chat-message-bubble{padding:12px 15px!important;}
html body#nx-area-root.chat-page .chat-messages{background-image:linear-gradient(#f4faffb8,#ecf9f4d0),url('home-landscape.svg')!important;background-size:cover!important;background-position:center!important;}
html body#nx-area-root.chat-page .nx-chat-contact-rail-head,html body#nx-area-root.chat-page .nx-chat-details-heading{background:linear-gradient(115deg,var(--chat-panel),var(--chat-panel-2));border-bottom:1px solid var(--chat-line);}
html body#nx-area-root.chat-page .nx-chat-contact-rail-head{padding-bottom:18px;}
html body#nx-area-root.chat-page .nx-chat-contact-list{padding-top:10px;}
html body#nx-area-root.chat-page .nx-chat-details-heading{margin:-20px -16px 20px;padding:20px 16px;}
html body#nx-area-root.chat-page .chat-message-bubble{box-shadow:0 4px 12px #0f586a0a!important;}
html:not(.light-theme) body#nx-area-root.chat-page .chat-messages{background-image:linear-gradient(#123648ed,#15414deb),url('home-landscape.svg')!important;}
html:not(.light-theme) body#nx-area-root.documents-mode .docs-folder-overview-head{background-image:linear-gradient(90deg,#143649f5,#1b535c90),url('home-landscape.svg')!important;}
html:not(.light-theme) body#nx-area-root.documents-mode .docs-folder-overview-head :is(h1,p){color:#eafaff!important;}
@media(max-width:1000px){.nd-workspace{grid-template-columns:minmax(0,1.3fr) minmax(280px,1fr);}.nd-table th:nth-child(3),.nd-table td:nth-child(3){display:none;}.nd-table th:first-child{width:auto;}}
@media(max-width:850px){html body#nx-area-root:is(.documents-mode,.chat-page){--nx-header-height:144px;}html body#nx-area-root:is(.documents-mode,.chat-page) .nx-topbar{padding-inline:16px;}html body#nx-area-root:is(.documents-mode,.chat-page) .nx-primary-nav a{padding:10px 5px;font-size:13px;}.nd-workspace{grid-template-columns:1fr;}.nd-preview{position:static;}.nd-preview iframe{height:400px;}html body#nx-area-root.documents-mode #mainContent.docs-workspace{width:calc(100% - 28px)!important;padding:15px 0 25px!important;}}
@media(max-width:560px){html body#nx-area-root.documents-mode .docs-folder-overview-head{padding:23px 20px!important;min-height:190px!important;}html body#nx-area-root.documents-mode .docs-folder-overview-head h1{font-size:30px!important;}html body#nx-area-root.documents-mode .docs-folder-total{display:none!important;}html body#nx-area-root.documents-mode .docs-folder-card{flex-basis:calc(50% - 8px)!important;}html body#nx-area-root.documents-mode .docs-folder-content-head{flex-wrap:wrap;}.nd-table th:nth-child(2),.nd-table td:nth-child(2){display:none;}.nd-document b{font-size:13px;}.nd-preview iframe{height:340px;}}
@media(max-width:900px){
  html body#nx-area-root.settings-mode #mainContent.docs-workspace{padding-bottom:108px!important;}
  html body#nx-area-root.settings-mode #mainContent .docs-settings-card{display:flex!important;flex-direction:column!important;gap:16px!important;padding:16px!important;}
  html body#nx-area-root.settings-mode #mainContent .docs-settings-actions{margin-top:0!important;position:relative;z-index:2;}
  html body#nx-area-root.settings-mode #mainContent .docs-settings-actions .btn{min-height:52px!important;width:100%;}
}
@media(max-width:760px){
  html body#nx-area-root.documents-mode{--nx-header-height:88px!important;}
  html body#nx-area-root.documents-mode .nx-topbar{height:88px!important;grid-template-rows:46px 36px!important;gap:0 8px!important;padding:2px 12px 4px!important;}
  html body#nx-area-root.documents-mode .nx-logo-frame{width:64px!important;height:40px!important;}
  html body#nx-area-root.documents-mode .nx-primary-nav{padding:2px!important;border-radius:10px!important;}
  html body#nx-area-root.documents-mode .nx-primary-nav a{padding:4px!important;font-size:12px!important;gap:3px!important;min-height:0!important;}
  html body#nx-area-root.documents-mode .nx-primary-nav svg{width:15px!important;height:15px!important;}
  html body#nx-area-root.documents-mode .nx-user-menu .nx-avatar{width:32px!important;height:32px!important;flex-basis:32px!important;font-size:13px!important;}
  html body#nx-area-root.documents-mode .docs-folder-overview-head{min-height:0!important;height:auto!important;padding:10px 14px!important;margin:0 0 10px!important;gap:8px!important;border-radius:14px!important;border-bottom-width:1px!important;background:#f4fafc!important;background-image:none!important;box-shadow:none!important;}
  html body#nx-area-root.documents-mode .docs-folder-overview-head h1{margin:0!important;font-size:18px!important;line-height:1.2!important;}
  html body#nx-area-root.documents-mode .docs-folder-overview-head p{display:none!important;}
  html:not(.light-theme) body#nx-area-root.documents-mode .docs-folder-overview-head{background:#102833!important;background-image:none!important;}
}
