/* HTA company workspace. Original identity; compact, accessible, responsive controls. */
.htap>main{max-width:1700px;padding:30px clamp(18px,3vw,48px) 70px}.htap>header{position:relative;padding:19px clamp(18px,3vw,48px)}
.htap .portal-layout{grid-template-columns:218px minmax(0,1fr);gap:36px}.portal-menu{position:sticky;top:24px;min-width:0}.portal-menu>summary{display:none}.htap .portal-menu>.portal-nav{display:flex;flex-direction:column;gap:5px;margin:0;padding:0;border:0;overflow:visible}.htap .portal-nav>a{font-size:12px;min-height:46px;padding:12px;border-radius:6px}.portal-nav .nav-footnote{display:block}.htap .toolbar{padding-bottom:18px;margin-bottom:24px}.htap .panel{border-radius:9px;box-shadow:0 4px 16px #152b3503}.htap .button,.htap button{border-radius:5px}.htap input,.htap select,.htap textarea{border-radius:5px;max-width:100%}.htap :focus-visible{outline:3px solid #a78642;outline-offset:3px}.htap [hidden]{display:none!important}
.workspace-heading{display:flex;align-items:center;justify-content:space-between;gap:28px;margin:16px 0 30px}.workspace-heading>div:first-child{max-width:700px}.workspace-heading h1{font:clamp(38px,4.5vw,62px)/1.1 'HTA Serif',serif;margin:8px 0 16px}.workspace-heading p:not(.eyebrow){font-size:14px;color:#566971;max-width:64ch;margin:0}.workspace-heading .actions{flex-shrink:0;flex-direction:column;align-items:stretch;margin:0}.knowledge-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid var(--line);background:#fffdf8;border-radius:9px;margin-bottom:25px;overflow:hidden}.knowledge-metrics>div{padding:22px;border-right:1px solid var(--line)}.knowledge-metrics>div:last-child{border:0}.knowledge-metrics span{display:block;font-size:12px;color:#65737a}.knowledge-metrics strong{display:block;font-size:34px;line-height:1.2;font-weight:400;margin-top:10px}.knowledge-metrics strong.storage-metric{font-size:18px;margin-top:18px}.workspace-panel{padding:27px}.library-tools{display:grid;grid-template-columns:minmax(0,1fr) 230px;gap:18px;margin-bottom:8px}.library-tools label{font-size:12px;margin:0}.library-tools input,.library-tools select{margin:7px 0 0}.workspace-panel [role=status]{font-size:12px;color:#61747c;min-height:20px}.library-file,.transfer-row{display:flex;gap:18px;padding:23px 0;border-top:1px solid var(--line);align-items:flex-start}.file-extension{display:flex;align-items:center;justify-content:center;min-width:48px;width:48px;height:58px;background:#eef1ed;border:1px solid #d5ded8;border-radius:5px;color:#284d49;font-size:11px;font-weight:bold;letter-spacing:.04em}.file-details{flex:1;min-width:0}.file-title{display:block;text-decoration:none;font-size:15px;line-height:1.6;overflow-wrap:anywhere;font-weight:600}.file-details>small{display:block;color:#68767c;font-size:11px;margin:5px 0 11px;overflow-wrap:anywhere}.knowledge-badge{display:inline-flex;align-items:center;padding:4px 9px;font-size:10px;border-radius:20px;border:1px solid #dbe1dc;background:#f0f4ef;color:#335f4c;line-height:1.5}.state-attention,.state-partial,.state-failed,.state-interrupted{color:#89522f;background:#fbf0e5;border-color:#e7ceb5}.state-queued,.state-processing,.state-uploading,.state-finishing{color:#405f78;background:#edf2f6;border-color:#d8e3ea}.state-cancelled{color:#68747a;background:#f1f1ee}.file-reason{font-size:12px;color:#805438;margin:10px 0 0;max-width:65ch}.pin-label{font-size:10px;margin-left:10px;color:#8a6f38}.file-actions{display:flex;flex-direction:column;gap:4px;align-items:stretch;min-width:118px}.file-actions .button,.file-actions button{font-size:11px;min-height:40px;padding:9px 13px;text-align:center;margin:0}.htap .text-button{background:transparent;color:#596c74;border:0;text-decoration:underline;text-underline-offset:4px}.htap .text-button:hover{background:#f0eee7;color:#1b3948}.library-upload{border-top:3px solid #c7ab73}.library-upload form{max-width:none}.library-upload input[type=file]{padding:24px;background:#f8f6ef;border:1px dashed #9ba9a9}.knowledge-explainer{padding:3px 8px 20px;max-width:960px}.knowledge-explainer h2{font:27px 'HTA Serif',serif}.knowledge-explainer p{font-size:12px;color:#647279}.knowledge-summary{display:flex;align-items:center;justify-content:space-between;gap:18px;border:1px solid #d4ded8;border-radius:8px;background:#eef3ed;padding:17px 20px;margin:0 0 23px;font-size:12px}.knowledge-summary>div{display:flex;gap:13px;align-items:center}.knowledge-summary small{display:block;font-size:11px;margin-top:4px;color:#617166}.knowledge-summary .htap-icon{width:25px;flex-shrink:0}.knowledge-summary>a{white-space:nowrap}.transfer-row progress{display:block;width:100%;height:7px;margin:14px 0}.transfer-row strong{overflow-wrap:anywhere}.upload-queue a{display:inline-flex;min-height:32px;align-items:center}.upload-queue li{overflow-wrap:anywhere}.htap .upload-queue li small{max-width:none}.htap .upload-status a{margin-top:10px}
.htap .ai-page-header{padding:5px 0 15px}.htap .ai-page-header h1{font-family:'HTA Serif',serif;font-size:48px}.htap .ai-layout{border-radius:9px;overflow:hidden;grid-template-columns:210px minmax(0,1fr);box-shadow:0 8px 40px #142b3606}.htap .ai-welcome h2{font:clamp(32px,3.4vw,48px)/1.14 'HTA Serif',serif;max-width:590px}.ai-welcome p{font-size:13px;color:#64747b}.htap .ai-workspace{padding:28px;min-width:0}.htap .ai-task-grid{gap:10px}.htap .ai-task-grid button{border-radius:6px;background:#f8f6ef;min-height:94px}.htap .ai-sidebar{padding:18px 14px;background:#eeebe2}.htap .ai-sidebar h2{font:22px 'HTA Serif',serif}.ai-extra-context{border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:18px 0;padding:12px 0}.ai-extra-context summary{font:12px/1.6 'HTA Sans',sans-serif;cursor:pointer;min-height:30px}.ai-extra-context[open]>summary{margin-bottom:15px}.ai-citations{border-top:1px solid #d8dfdb;margin-top:18px;padding-top:10px}.ai-citations summary{font:11px 'HTA Sans',sans-serif;min-height:30px;cursor:pointer}.ai-citations>a{display:block;font-size:11px;padding:9px 0;overflow-wrap:anywhere}.htap .ai-log{min-height:230px;max-height:65vh}.htap .ai-bubble{border-radius:8px}.htap .ai-answer>p{font-size:14px;line-height:1.85}.htap .ai-compose textarea{min-height:95px}.htap .ai-compose{border-radius:8px;box-shadow:0 4px 20px #11293607}.htap .ai-data-note{font-size:11px}.htap .ai-settings{font-size:12px;padding:14px 20px}
@media(max-width:1180px){.htap .portal-layout{grid-template-columns:minmax(0,1fr);gap:0}.portal-menu{position:static;background:#fffdf8;border:1px solid var(--line);border-radius:7px;margin-bottom:18px}.portal-menu>summary{display:flex;justify-content:space-between;align-items:center;padding:12px 17px;font-size:13px;min-height:48px;cursor:pointer}.htap .portal-menu>.portal-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:10px;border-top:1px solid var(--line);max-height:65vh;overflow:auto}.portal-menu .nav-caption,.portal-menu .nav-footnote{display:none}.htap .toolbar{margin-bottom:18px}.workspace-heading{margin-top:4px}.htap .portal-nav>a{white-space:normal;min-width:0}}
@media(max-width:720px){.htap>main{padding:16px 14px 45px}.htap>header{padding:13px 15px;gap:12px;flex-wrap:wrap}.htap .htap-identity{transform:none}.htap .htap-header-wordmark{font-size:13px!important;letter-spacing:.06em!important}.htap .htap-header-wordmark>span{font-size:6px!important}.htap .htap-header-crest{width:35px;height:44px}.htap .portal-language{margin-left:auto}.htap .portal-language>summary{min-width:54px;min-height:44px}.htap>header .site-return{font-size:10px;min-height:44px;display:flex;align-items:center;margin-left:0;padding:7px 10px}.htap .portal-menu>.portal-nav{grid-template-columns:repeat(2,minmax(0,1fr))}.htap .portal-nav>a{font-size:12px;min-height:48px}.workspace-heading{display:block;margin-bottom:23px}.workspace-heading h1{font-size:42px}.workspace-heading .actions{flex-direction:row;flex-wrap:wrap;margin-top:20px}.workspace-heading .button{font-size:12px;flex:1;min-width:135px;text-align:center}.workspace-heading p:not(.eyebrow){font-size:13px}.knowledge-metrics{grid-template-columns:1fr 1fr}.knowledge-metrics>div{padding:16px;border-bottom:1px solid var(--line)}.knowledge-metrics>div:nth-child(2){border-right:0}.knowledge-metrics>div:nth-child(3){border-bottom:0}.knowledge-metrics strong{font-size:30px}.knowledge-metrics span{font-size:11px}.knowledge-metrics strong.storage-metric{font-size:15px}.htap .workspace-panel{padding:20px 16px}.library-tools{grid-template-columns:1fr;gap:12px}.library-file{gap:12px;flex-wrap:wrap;padding:20px 0}.file-extension{width:36px;min-width:36px;height:46px;font-size:9px}.file-details{flex:1;min-width:0}.file-title{font-size:13px}.file-details>small{font-size:10px}.file-actions{flex-direction:row;flex-wrap:wrap;width:100%;padding-left:48px;gap:6px}.file-actions .button,.file-actions button{min-height:44px;padding:10px}.transfer-row{flex-wrap:wrap}.transfer-row .file-details{min-width:100%}.transfer-row .file-actions{padding-left:0}.knowledge-summary{padding:14px;align-items:flex-start;flex-wrap:wrap;gap:10px}.knowledge-summary>a{margin-left:38px}.htap .ai-layout{display:flex;flex-direction:column}.htap .ai-sidebar{width:auto;border-right:0;padding:14px}.htap .ai-sidebar h2{font-size:19px;margin:13px 0 8px}.htap .ai-conversations{display:flex;gap:7px;overflow:auto;max-height:100px}.htap .ai-history-item{flex:0 0 190px;min-width:0}.htap .ai-sidebar>.button{min-height:44px;width:100%}.htap .ai-workspace{padding:20px 15px}.htap .ai-welcome h2{font-size:36px}.htap .ai-task-grid{grid-template-columns:1fr 1fr}.htap .ai-task-grid button{font-size:11px;padding:12px;min-height:96px}.htap .ai-page-header h1{font-size:39px}.htap .ai-log{max-height:60vh;padding:0}.htap .ai-bubble{max-width:100%;padding:17px 14px}.htap .ai-answer>p{font-size:13px}.htap .ai-compose{padding:12px}.htap .ai-compose textarea{font-size:16px}.htap .ai-document-card .button{display:block;width:100%;margin:8px 0}.htap .upload-queue li{display:block}.htap .upload-queue li small{display:block;text-align:left;margin-top:8px}.htap input[type=file]{font-size:12px;padding:15px}.htap .panel[id]{scroll-margin-top:16px}}
@media(max-width:390px){.htap>header .site-return{flex-basis:100%;justify-content:center}.htap .htap-header-wordmark{font-size:12px!important}.file-actions{padding-left:0}.htap .ai-task-grid{grid-template-columns:1fr}.knowledge-metrics>div{padding:12px}}
@media(prefers-reduced-motion:reduce){.htap *{scroll-behavior:auto!important}}
