/* Thinkora V23.26 — one document-first full-screen workspace for every document type.
   Secondary actions remain present in the Edit/AI/Export sheets, not over the paper. */
.t26-block-menu-trigger{display:none}
.t26-document-viewer{position:fixed;inset:0;z-index:7500;background:#eef3f4;overflow:hidden;isolation:isolate}
.t26-document-viewer *{box-sizing:border-box}
.t26-document-viewer-inner{width:100%;height:100dvh;display:flex;flex-direction:column;min-width:0;min-height:0;overflow:hidden;background:#eef3f5;color:#183e45}
.t26-document-header{min-height:72px;flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px max(14px,env(safe-area-inset-right,0px)) 11px max(14px,env(safe-area-inset-left,0px));padding-top:max(11px,env(safe-area-inset-top,0px));background:#fff;border-bottom:1px solid #dce7eb;box-shadow:0 2px 9px #0a30410b}
.t26-document-header>div{min-width:0;flex:1}
.t26-document-header small{display:block;color:#42776e;font-weight:800;font-size:10px;letter-spacing:.075em}
.t26-document-header h2{font-size:clamp(16px,2.5vw,21px);color:#123b45;font-weight:850;letter-spacing:-.4px;line-height:1.25;margin:2px 0 3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.t26-document-header span{display:block;color:#6b7b88;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.t26-viewer-close,.t26-bank-close{width:43px;height:43px;min-width:43px;display:grid;place-items:center;flex:0 0 auto;border:1px solid #e1e9ed;border-radius:14px;color:#365667;background:#f8fafb;font:700 22px/1 system-ui;box-shadow:0 2px 4px #15333b17;cursor:pointer}
.t26-document-scroll{flex:1 1 auto;min-height:0;min-width:0;width:100%;overflow-y:auto;overflow-x:hidden;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;scrollbar-gutter:stable;padding:12px 10px 26px}
.t26-document-paper-wrap{width:min(100%,900px);min-width:0;max-height:none!important;height:auto!important;overflow:visible!important;position:relative!important;inset:auto!important;transform:none!important;contain:none!important;box-shadow:none!important;margin:0 auto!important;padding:clamp(0px,.8vw,10px)!important;background:transparent!important}
.t26-document-paper-wrap #paper{margin:0 auto!important;max-width:100%!important;min-width:0!important;overflow:visible!important;box-shadow:0 4px 23px #173b501c!important;position:relative!important;top:auto!important}
.t26-document-paper-wrap .doc-table-wrapper,.t26-document-paper-wrap .matrix-wrapper{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
.t26-document-bottom{flex:0 0 auto;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:stretch;min-height:62px;width:100%;padding:4px 6px calc(5px + env(safe-area-inset-bottom,0px));background:#fff;border-top:1px solid #dce7e8;box-shadow:0 -4px 14px #123a4b12;z-index:2}
.t26-doc-tab{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border:0;border-radius:12px;background:transparent;color:#73838d;font:700 11px/1.15 system-ui;cursor:pointer;min-height:51px;padding:5px 3px}
.t26-doc-tab span{font-size:19px;line-height:1}
.t26-doc-tab.is-active{background:#e5f5ef;color:#146a59}
.t26-doc-tab:focus-visible,.t26-viewer-close:focus-visible,.t26-bank-tabs button:focus-visible,.t26-bank-close:focus-visible{outline:3px solid #39a5a1;outline-offset:2px}
.t26-doc-sheet{position:absolute;z-index:5;left:0;right:0;bottom:calc(63px + env(safe-area-inset-bottom,0px));width:min(100%,860px);margin:0 auto;max-height:min(64dvh,650px);min-height:120px;display:flex;flex-direction:column;overflow:hidden;background:#ffffff;border:1px solid #d6e5e1;border-radius:23px 23px 0 0;box-shadow:0 -12px 50px #082b2f40}
.t26-doc-sheet>header{display:flex;align-items:center;justify-content:space-between;padding:14px 15px 10px;border-bottom:1px solid #e6eeeb;flex:0 0 auto}
.t26-doc-sheet>header strong{font-size:15px;color:#164d47}
.t26-doc-sheet>header button{width:36px;height:36px;border:1px solid #d8e7e3;background:#f4f8f6;border-radius:12px;color:#285c53;font-weight:800;font-size:17px}
.t26-doc-sheet-body{overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;padding:12px 14px calc(24px + env(safe-area-inset-bottom,0px));flex:1 1 auto;min-height:0}
.t26-doc-sheet-body>.card,.t26-doc-sheet-body .card{max-width:100%;box-shadow:none!important;margin:0!important;border:0!important;padding:0!important}
.t26-doc-sheet-body .property h3{font-size:14px;margin:0 0 8px}
.t26-doc-sheet-body .property .stack{display:grid;grid-template-columns:repeat(auto-fit,minmax(142px,1fr));gap:9px}
.t26-doc-sheet-body .property .stack>.btn{width:100%!important;min-width:0;white-space:normal;min-height:45px;font-size:12px}
.t26-doc-sheet-body .property>p.muted{font-size:11px}
.t26-doc-sheet-body .v2312-mode-panel{display:block!important;position:static!important;height:auto!important;max-height:none!important;overflow:visible!important;padding:0!important;margin:0!important}
.t26-doc-sheet-body .v2312-mode-title h3{font-size:14px}
.t26-doc-sheet-body .v2312-mode-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:7px}
.t26-doc-sheet-body .v2312-mode-option{min-width:0;text-align:left}
.t26-action-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(132px,1fr));gap:9px;margin:10px 0}
.t26-action-group .btn{width:100%;min-width:0;min-height:45px!important;font-size:12px}
.t26-doc-label{display:block;margin-bottom:12px}
.t26-doc-label .field{margin-top:7px}
.t26-ai-options .v2312-mode-title .eyebrow{font-size:10px}
.t26-document-viewer #paper .doc-block{position:relative}
.t26-document-viewer #paper .t26-block-menu-trigger{display:grid;place-items:center;position:absolute;right:2px;top:1px;z-index:3;min-width:29px;min-height:29px;padding:1px 5px;border:1px solid #cad8df;border-radius:9px;background:#f9fcfcde;color:#50737b;font-size:20px;font-weight:700;line-height:1;opacity:.72;cursor:pointer}
.t26-document-viewer #paper .t26-block-menu-wrap .v19-block-actions{display:none!important}
.t26-document-viewer #paper .t26-block-menu-wrap.is-open .v19-block-actions{display:flex!important;position:relative!important;margin:0 0 8px!important;width:100%!important;max-width:100%!important;overflow-x:auto;flex-wrap:nowrap!important;gap:4px!important;box-shadow:none!important}
.t26-document-viewer #paper .t26-block-menu-wrap.is-open .v19-block-actions button{flex-shrink:0;min-height:36px!important;font-size:11px!important}
.t26-document-viewer #paper .editable:focus{outline:2px solid #52ab9f;outline-offset:2px;border-radius:4px}
/* Bank Butir Asesmen has its own full-height workspace; no tall row of primary buttons. */
.modal-shade:has(.t26-bank-workspace){z-index:9200!important;position:fixed!important;inset:0!important;padding:0!important;display:flex!important;align-items:stretch!important;justify-content:center!important;overflow:hidden!important}
.modal-shade:has(.t26-bank-workspace)>.modal{width:min(100%,1060px)!important;max-width:1060px!important;height:100dvh!important;max-height:100dvh!important;min-height:0!important;padding:0!important;margin:0!important;border-radius:0!important;overflow:hidden!important;background:#f2f7f7!important}
.t26-bank-workspace{display:flex;flex-direction:column;width:100%;height:100%;min-width:0;min-height:0;background:#f5f8f9;color:#183a47}
.t26-bank-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px max(15px,env(safe-area-inset-left,0px)) 10px;background:#fff;flex:0 0 auto;min-width:0}
.t26-bank-header>div{min-width:0;flex:1}
.t26-bank-header small{font-size:10px;letter-spacing:.07em;color:#378578;font-weight:850}
.t26-bank-header h2{margin:3px 0 2px;font-size:clamp(18px,2.8vw,24px);color:#153d51;line-height:1.2;font-weight:850;letter-spacing:-.4px}
.t26-bank-header p{margin:0;color:#617989;font-size:11px}
.t26-bank-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;padding:4px 10px 9px;background:#fff;border-bottom:1px solid #dce8ea;flex:0 0 auto}
.t26-bank-tabs button{display:flex;align-items:center;justify-content:center;gap:6px;min-height:42px;border:1px solid transparent;border-radius:10px;color:#537280;background:#f0f5f6;cursor:pointer;font-weight:800;font-size:12px}
.t26-bank-tabs button.is-active{background:#e3f7ef;color:#196e5e;border-color:#bae5d4}
.t26-bank-tabs span{font-size:16px}
.t26-bank-scroll{flex:1 1 auto;min-height:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;padding:11px clamp(10px,2.4vw,28px) max(20px,env(safe-area-inset-bottom,0px))}
.t26-bank-notice{font-size:11px;color:#725728;padding:8px 12px;background:#fff8e8;border:1px solid #f1dfb6;border-radius:12px;margin-bottom:10px}
.t26-bank-notice details{display:inline-block;margin-left:9px}
.t26-bank-notice summary{font-weight:700;cursor:pointer}
.t26-bank-notice details p{max-width:600px;margin:8px 0 0;line-height:1.5}
.t26-question-list{display:grid;gap:10px;max-width:100%;}
.t26-question{padding:14px;border:1px solid #dce7ea;border-radius:17px;background:#fff;box-shadow:0 2px 7px #0838490a;min-width:0;max-width:100%;height:auto!important;min-height:0!important}
.t26-question-title{display:flex;align-items:flex-start;gap:8px;min-width:0;line-height:1.55}
.t26-question-number{flex:none;color:#167d72;background:#edf9f5;border-radius:8px;padding:2px 7px;font-size:12px;font-weight:900}
.t26-question-text{min-width:0;white-space:normal;overflow-wrap:anywhere;line-height:1.55;font-size:14px;color:#183d4c}
.t26-question-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 18px;font-size:12px;line-height:1.5;padding:5px 0 6px 28px;margin:8px 0}
.t26-question-choices li{padding:1px 3px;overflow-wrap:anywhere}
.t26-question-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:7px;margin-top:10px;padding-top:8px;border-top:1px solid #eef2f4}
.t26-question-actions .btn{min-height:36px!important;width:auto!important;flex:0 0 auto!important;padding:7px 10px!important;font-size:11px!important}
.t26-question-index{flex:1 1 auto;color:#778a90;font-size:11px}
.t26-tab-panel{padding:16px;background:#fff;border:1px solid #dde9e9;border-radius:17px}
.t26-tab-panel h3{margin:0 0 8px;font-size:17px;color:#18465b}
.t26-tab-panel p{line-height:1.5}
.t26-tab-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(185px,1fr));gap:10px;margin:16px 0 0}
.t26-tab-actions>.btn{min-height:47px;font-size:13px;white-space:normal}
@media(max-width:900px){
 body.doc-page .t26-document-route>.hero,
 body.doc-page .t26-document-route>.t26-desktop-mode-section,
 body.doc-page .t26-document-route>.t26-desktop-assessment-bar{display:none!important}
 .t26-document-viewer #paper{width:100%!important;min-height:0!important;overflow:visible!important;font-size:clamp(10px,2.8vw,12px)!important}
 .t26-document-viewer #paper .letterhead{min-width:0;max-width:100%}
 .t26-document-viewer #paper .letterhead>div:nth-child(2){min-width:0;overflow-wrap:anywhere}
 .t26-document-viewer #paper .doc-header h2{overflow-wrap:anywhere}
 .t26-document-viewer #paper .doc-id{grid-template-columns:1fr!important;gap:5px!important}
 .t26-document-viewer #paper .doc-table{max-width:100%}
 .t26-document-paper-wrap{padding:0!important}
 .t26-document-scroll{padding:10px 9px 15px}
 .t26-bank-scroll{padding:10px 9px max(15px,env(safe-area-inset-bottom,0px))}
 .t26-question-choices{grid-template-columns:1fr;gap:2px}
 .t26-bank-header h2{font-size:19px}
 .t26-document-viewer .t23-mobile-doc-toolbar,.t26-document-viewer .t23-mobile-doc-actions{display:none!important}
}
@media (min-width:901px){
 .t26-document-viewer-inner{width:min(100%,1120px);margin:0 auto;box-shadow:0 0 80px #062c3c25}
 .t26-document-scroll{padding:18px}
 .t26-doc-sheet{bottom:62px}
}
@media print{
 .t26-document-viewer{position:static!important;display:block!important;overflow:visible!important;height:auto!important;inset:auto!important;background:#fff!important}
 body:has(.t26-document-viewer #paper)>.t-desktop-shell,body:has(.t26-document-viewer #paper) #app>.t-desktop-shell{display:none!important}
 .t26-document-viewer-inner,.t26-document-scroll,.t26-document-paper-wrap{display:block!important;position:static!important;overflow:visible!important;max-height:none!important;height:auto!important;width:100%!important;background:#fff!important;padding:0!important;margin:0!important;box-shadow:none!important}
 .t26-document-header,.t26-document-bottom,.t26-doc-sheet,.t26-block-menu-trigger,.t26-block-menu-wrap{display:none!important}
 .t26-document-viewer #paper{padding:0!important;margin:0!important;max-width:100%!important;width:100%!important;box-shadow:none!important}
}
/* Hide the old six-section document header on phones: directly show the selector + Open. */
@media(max-width:900px){
 body.doc-page .v19-module:has(.t26-document-route)>.v19-hero,
 body.doc-page .v19-module:has(.t26-document-route)>.v19-context,
 body.doc-page .v19-module:has(.t26-document-route)>.v19-module-tabs,
 body.doc-page .v19-module:has(.t26-document-route)>.v19-stat-row,
 body.doc-page .v19-module:has(.t26-document-route)>.v19-toolstrip{display:none!important}
 body.doc-page .v19-module:has(.t26-document-route){min-height:0!important;height:auto!important;overflow:visible!important;padding:0!important;margin:0!important}
 body.doc-page .v19-module:has(.t26-document-route)>.v19-module-body{display:block!important;min-height:0!important;height:auto!important;max-height:none!important;overflow:visible!important;padding:8px 3px 10px!important;margin:0!important}
 body.doc-page .t26-document-route .listpane .panelheading{margin:0 0 7px!important}
 body.doc-page .t26-document-route .listpane .panelheading small{display:none!important}
 body.doc-page .t26-document-route .t23-mobile-doc-summary{padding:13px!important}
 body.doc-page .t26-document-route .t23-mobile-doc-summary .panelheading small{display:none!important}
 body.doc-page .t26-document-route .t23-mobile-doc-summary>p{display:none!important}
 body.doc-page .t26-document-route .t23-mobile-doc-meta{margin:7px 0!important}
 body.doc-page .t26-document-route .t23-mobile-doc-summary .panelheading{flex-wrap:wrap!important}
 body.doc-page .t26-open-full{min-height:54px!important;font-size:14px!important}
}
/* Dialogs launched while a full-screen document is open must appear ABOVE it. */
body.thinkora-mobile-doc-viewer-open .modal-shade{z-index:9400!important}
body.thinkora-mobile-doc-viewer-open .thinkora-ai-shade{z-index:9450!important}
body.thinkora-mobile-doc-viewer-open .db35-backdrop{z-index:9440!important}
body.thinkora-mobile-doc-viewer-open .db35-panel{z-index:9445!important}
@media(max-width:900px){
 .modal-shade:has(.qb38-editor){position:fixed!important;inset:0!important;z-index:9450!important;padding:0!important;display:block!important;overflow:hidden!important}
 .modal-shade:has(.qb38-editor)>.modal{width:100%!important;max-width:100%!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important;padding:14px!important;overflow-y:auto!important;overscroll-behavior:contain!important;background:#f7fafb!important}
 .modal-shade:has(.qb38-editor)>.modal>.topline{position:sticky;top:-14px;z-index:2;background:#fff;padding:8px 4px 12px;margin:-8px -4px 12px;border-bottom:1px solid #e0e7ec}
 .modal-shade:has(.qb38-editor) .qb38-editor>.btn:last-child{position:sticky;bottom:calc(6px + env(safe-area-inset-bottom,0px));box-shadow:0 -5px 19px #0d3e4320;min-height:52px!important}
}
/* True document reading vs inline editing, including Promes/Prota tool overlays. */
.t26-document-viewer.t26-reading-mode #paper .no-print{display:none!important}
.t26-document-viewer.t26-reading-mode #paper .t26-block-menu-trigger{display:none!important}
.t26-document-viewer.t26-reading-mode #paper [contenteditable]{cursor:text}
.t26-inline-done{margin-left:auto;flex:none;min-height:41px;padding:9px 12px;background:#e2f5ee;color:#146a59;border:1px solid #baddcd;border-radius:12px;font-size:12px;font-weight:800}
.t26-document-viewer.t26-inline-editor-active #paper .no-print{display:revert}
.t26-start-inline-edit{min-height:48px;margin-bottom:7px}
