/* Thinkora V23.30 — focus-first document viewer for laptop/desktop.
   Restores the document as the primary surface; tools are icon-only and contextual. */
.t30-hidden-upload{display:none!important}
.t30-logo-trigger{position:relative;display:flex;align-items:center;justify-content:center;width:100%;min-width:0;min-height:44px;max-width:100%;max-height:100%;padding:3px;border:1px dashed #b9d2dd;border-radius:9px;background:#f8fcfe;color:#1c4e62;cursor:pointer}
.t30-logo-trigger img{max-width:100%!important;max-height:62px!important;width:auto!important;height:auto!important;object-fit:contain;display:block}
.t30-seal-box{position:relative;min-width:0}
.t30-logo-trigger .t30-seal-edit{display:grid;position:absolute;right:-5px;bottom:-5px;width:19px;height:19px;place-items:center;border:1px solid #b3d9cb;border-radius:50%;background:#e6f8ef;color:#135d50;font:800 11px/1 system-ui;box-shadow:0 1px 4px #153f3a20}
.t30-logo-trigger:hover,.t30-logo-trigger:focus-visible{border-color:#1e9d82;background:#ecfff8;outline:2px solid #1e9d8222}
.t30-identity-inline{display:inline-flex;gap:4px;align-items:center;flex-wrap:wrap;max-width:100%;vertical-align:middle}
.t30-micro-edit{display:inline-grid;place-items:center;flex:none;width:20px!important;height:20px!important;min-width:20px!important;min-height:20px!important;border:1px solid transparent;border-radius:6px!important;padding:0!important;background:#e6f5ef88!important;color:#186652!important;font:700 12px/1 system-ui!important;box-shadow:none!important}
.t30-micro-edit:is(:hover,:focus-visible){border-color:#b2e2d0!important;background:#d4f1e6!important}
.t30-identity-field{display:inline-block!important;flex:1 1 150px;max-width:100%!important;min-width:100px!important;width:auto!important;margin:2px 0!important;border:1px solid #199476!important;padding:5px 8px!important;border-radius:6px!important;font-size:inherit!important;line-height:1.4!important;background:white!important;color:#153a33!important}
.t30-advanced-tools{margin-top:10px;padding:9px;border-radius:12px;background:#f8fbfa;border:1px solid #e1ece8}
.t30-advanced-tools summary{cursor:pointer;font-size:12px;font-weight:750;color:#285e57}
.t30-advanced-tools[open] .property{margin-top:12px!important}
.t30-viewer-switch{flex:0 1 225px;min-width:0}
.t30-viewer-switch label{display:flex;align-items:center;gap:9px;margin:0;font:700 11px/1.25 system-ui;color:#507366}
.t30-viewer-switch select{width:100%;min-width:0;min-height:39px!important;padding:7px 27px 7px 10px!important;font:700 12px/1.25 system-ui;border:1px solid #d2e4dd;border-radius:10px;background:#f7fcf9;color:#174c42;cursor:pointer}
.t30-viewer-switch label span{white-space:nowrap}
.t30-desktop-quickbar{display:flex;align-items:center;justify-content:flex-end;gap:7px;padding:7px;background:#f7faf9;border:1px solid #dce9e3;border-radius:12px;margin:0 0 10px}
.t30-desktop-quickbar button{min-height:36px;min-width:36px;padding:6px 10px;border:1px solid #d8e9e1;border-radius:10px;color:#19594c;background:white;font-size:13px;font-weight:850}
.t30-desktop-quickbar button:first-child{margin-right:auto}
.t30-desktop-quickbar .t30-doc-selector{max-width:250px}
/* Inline block editing icons also appear in fallback desktop preview, not only fullscreen. */
.t23-desktop-doc-editor #paper .v19-doc-block{position:relative;min-width:0}
.t23-desktop-doc-editor #paper .t29-block-icons{display:flex!important;position:absolute;z-index:5;top:3px;right:3px;align-items:center;gap:3px;border:1px solid #d7e8df;border-radius:9px;padding:2px;background:#fbfffeeb;opacity:.65}
.t23-desktop-doc-editor #paper .v19-doc-block:is(:hover,:focus-within) .t29-block-icons{opacity:1}
.t23-desktop-doc-editor #paper .t29-icon-btn{width:29px;height:29px;min-height:29px;min-width:29px;padding:0;border:0;border-radius:7px;background:transparent;color:#176353;font:700 14px/1 system-ui}
.t23-desktop-doc-editor #paper .t29-ai-inline{display:grid;gap:8px;margin:8px 0;padding:11px;background:#eefcf6;border:1px solid #b6e2cc;border-radius:12px}
.t23-desktop-doc-editor #paper .t29-ai-inline textarea{width:100%;min-height:98px}
.t23-desktop-doc-editor #paper .t26-block-menu-wrap{display:none}
.t23-desktop-doc-editor #paper .t26-block-menu-wrap.is-open{display:flex}
@media(min-width:901px){
 /* The standalone document modal is intentionally edge-to-edge on desktop too. */
 .t26-document-viewer-inner{width:100%!important;max-width:none!important;margin:0!important;box-shadow:none!important}
 .t26-document-viewer{background:#e7eef0!important}
 .t26-document-header{height:62px!important;min-height:62px!important;padding:8px max(20px,2vw)!important;gap:16px!important}
 .t26-document-header small{font-size:9px!important}
 .t26-document-header h2{font-size:18px!important;margin:1px 0!important}
 .t26-document-header span{font-size:11px!important}
 .t26-document-scroll{padding:14px 72px 60px!important;scrollbar-gutter:stable!important;background:#eaf1f3!important}
 .t26-document-paper-wrap{width:min(100%,1020px)!important;margin:0 auto!important;max-width:none!important;padding:0!important}
 .t26-document-paper-wrap #paper{width:794px!important;max-width:100%!important;min-height:1040px!important;margin:0 auto!important;box-shadow:0 3px 25px #112f4515!important}
 .t26-document-bottom{display:flex!important;position:absolute;right:12px;left:auto;top:50%;bottom:auto;transform:translateY(-50%);flex-direction:column;align-items:center;justify-content:center;gap:6px;width:48px!important;min-height:0!important;padding:6px!important;border:1px solid #d4e3df;border-radius:16px;background:#ffffffea!important;box-shadow:0 7px 20px #0c423316!important}
 .t26-doc-tab{width:36px!important;height:38px!important;min-width:36px!important;min-height:38px!important;padding:2px!important;border-radius:10px!important}
 .t26-doc-tab b{display:none!important}
 .t26-doc-tab span{font-size:19px!important}
 .t26-doc-sheet{right:64px!important;left:auto!important;bottom:15px!important;width:min(370px,calc(100vw - 115px))!important;max-height:min(75dvh,700px)!important;border-radius:18px!important;box-shadow:0 9px 32px #063e4d40!important}
 .t26-doc-sheet-body{padding:12px!important}
 .t26-document-viewer #paper .t29-block-icons{opacity:.56!important;transition:opacity .12s ease!important}
 .t26-document-viewer #paper .v19-doc-block:is(:hover,:focus-within,.is-selected) .t29-block-icons{opacity:1!important}
 .t26-document-viewer #paper .t29-icon-btn{min-width:29px!important;min-height:29px!important;width:29px!important;height:29px!important}
 .t26-document-viewer #paper .t29-icon-btn:is(:focus-visible,:hover){outline:2px solid #7dd1bb!important;opacity:1!important}
 /* If the user closes the full-screen viewer, fallback desktop page is still document-first. */
 body.doc-page .t26-document-route>.hero,
 body.doc-page .t26-document-route>.t26-desktop-mode-section,
 body.doc-page .t26-document-route>.t29-desktop-result,
 body.doc-page .t26-document-route>.t26-desktop-assessment-bar,
 body.doc-page .t26-document-route .doc-layout>.listpane,
 body.doc-page .t26-document-route .doc-layout>.property{display:none!important}
 body.doc-page .t26-document-route .doc-layout{display:block!important;grid-template-columns:minmax(0,1fr)!important;max-width:100%!important}
 body.doc-page .t26-document-route .document-main{width:100%!important;max-width:100%!important;min-width:0!important}
 body.doc-page .t26-document-route .doc-canvas-wrap{height:auto!important;max-height:none!important;min-height:60vh!important;padding:14px!important;overflow:visible!important}
 body.doc-page .t26-document-route .document-main #paper{width:794px!important;max-width:100%!important;margin:0 auto!important}
 body.doc-page .t26-document-route{width:100%!important;max-width:none!important}
}
@media(max-width:900px){
 .t30-viewer-switch{display:none!important}
 .t30-logo-trigger{min-height:34px}
 .t30-seal-edit{transform:scale(.88)}
}
@media print{
 .t30-logo-trigger{display:flex!important;border:0!important;background:none!important;box-shadow:none!important;padding:0!important}
 .t30-logo-trigger img{max-height:62px!important}
 .t30-seal-edit,.t30-micro-edit,.t30-hidden-upload,.t30-desktop-quickbar,.t30-advanced-tools,.t30-identity-field,.t30-viewer-switch,.t29-block-icons,.t29-ai-inline{display:none!important}
 .t30-identity-inline [data-t30-identity-value]{display:inline!important}
}

/* In-document utilities remain icon-only for rows, columns, graphics, and signatures. */
.t30-inline-table-tools{display:flex;align-items:center;justify-content:flex-end;gap:5px;margin:5px 0}
.t30-inline-icon{width:29px!important;height:29px!important;min-height:29px!important;min-width:29px!important;padding:0!important;border:1px solid #cbded7!important;border-radius:8px!important;background:#f3faf7!important;color:#1b6552!important;font:750 14px/1 system-ui!important;box-shadow:none!important}
.t30-inline-icon:is(:hover,:focus-visible){background:#dff6ec!important;border-color:#7dcdb2!important}
@media print{.t30-inline-icon,.t30-inline-table-tools{display:none!important}body:has(#paper) #paper button.t30-logo-trigger{display:flex!important}body:has(#paper) #paper button.t30-logo-empty{visibility:hidden!important}}
