.type-hub,.type-history{max-width:980px;margin:26px auto;padding:28px;background:#fff;border:1px solid #eadacc;border-radius:8px;color:#142b4b}
.type-hub h1,.type-history h1{margin:0 0 5px;color:#ed4f0b}.type-hub header p{margin:0 0 24px}
.type-create{display:flex;gap:12px;align-items:end;margin-bottom:14px}.type-create label{flex:1}.type-create input,.type-titlebar input,.type-share-form input,.type-share-form select{font:inherit}
.type-create input,.type-share-form input,.type-share-form select,#type-invite-result input{display:block;width:100%;padding:10px;border:1px solid #c8ccd2;border-radius:5px}
.type-create button,.type-import,.type-share-form button,.type-history button,#type-create-invite{display:inline-block;background:#ed4f0b;color:#fff;border:0;border-radius:5px;padding:11px 17px;cursor:pointer;font:inherit}
.type-import{position:relative;cursor:pointer}.type-import input{position:absolute;inset:0;opacity:0;cursor:pointer}
.type-document{display:flex;justify-content:space-between;gap:10px;padding:18px;border:1px solid #ddd;border-radius:5px;margin:9px 0;text-decoration:none;color:#142b4b}.type-document:hover{border-color:#ed4f0b;background:#fff8f3}.type-document span{color:#64748b}
.type-app{background:#e7e9ec;color:#192638;min-height:75vh;border:1px solid #cfd4da;display:flex;flex-direction:column;margin:-10px -12px 0}
.type-titlebar{display:flex;align-items:center;gap:12px;padding:10px 16px;background:#fff;border-bottom:1px solid #d7dce2}.type-titlebar input{flex:1;min-width:0;border:0;font-size:19px;font-weight:700;color:#142b4b}.type-titlebar input:focus{outline:2px solid #ed4f0b}.type-titlebar button{border:1px solid #ed4f0b;background:#ed4f0b;color:#fff;border-radius:4px;padding:8px 12px;cursor:pointer}.type-titlebar #type-share{background:#fff;color:#ed4f0b}.type-back{white-space:nowrap}.type-titlebar #type-status{font-size:13px;color:#526173;white-space:nowrap}
.type-tabs{display:flex;gap:3px;padding:0 14px;background:#fff;overflow-x:auto;border-bottom:1px solid #d7dce2}.type-tab{border:0;border-bottom:3px solid transparent;background:transparent;color:#26374c;padding:11px 13px;font:inherit;cursor:pointer;white-space:nowrap}.type-tab.active{color:#ed4f0b;border-color:#ed4f0b}
.type-ribbon{background:#fff;display:flex;gap:6px;flex-wrap:wrap;align-items:center;min-height:69px;padding:8px 16px;border-bottom:1px solid #d7dce2}.type-ribbon button{background:#fff;color:#26374c;border:1px solid #d7dce2;border-radius:4px;padding:8px 10px;font:inherit;cursor:pointer}.type-ribbon button:hover{background:#fff1e8;border-color:#ed4f0b}.type-ribbon button:disabled{opacity:.45;cursor:not-allowed}
.type-workspace{flex:1;overflow:auto;padding:28px 12px}.type-page{background:white;color:#111;width:min(794px,100%);min-height:1123px;margin:auto;box-shadow:0 3px 15px #24334930;padding:80px 75px;box-sizing:border-box}.type-page #type-editor{height:auto;border:0;font-family:Arial,sans-serif;font-size:12pt}.type-page .ql-container{border:0;font-size:12pt}.type-page .ql-editor{padding:0;min-height:940px;line-height:1.4;overflow:visible}.type-page .ql-editor p{margin:0}.type-footer{background:#fff;border-top:1px solid #d7dce2;padding:8px 16px;display:flex;justify-content:space-between;font-size:13px}
#type-share-dialog{width:min(500px,95vw);border:1px solid #d7dce2;border-radius:7px;box-shadow:0 10px 50px #0005;color:#142b4b;padding:23px}#type-share-dialog::backdrop{background:#0008}.type-close{float:right;border:0;background:none;font-size:24px;cursor:pointer}.type-share-form{display:flex;gap:8px}.type-share-form input{flex:1}.type-share-form select{width:125px}.type-share-form button{padding:8px 12px}#type-share-list{padding:0;list-style:none}#type-share-list li{display:flex;justify-content:space-between;padding:9px 0;border-bottom:1px solid #ddd}#type-share-list button{background:none;border:0;color:#c3380a;cursor:pointer}#type-invite-result input{margin-top:6px}
.type-history ol{padding-left:25px}.type-history li{padding:12px;border-bottom:1px solid #ddd}.type-history li a{font-weight:bold}.type-history li span{display:block;color:#526173;font-size:14px}.type-history .docs-diff{background:#f5f5f5;color:#162436;padding:20px;overflow:auto;line-height:1.7}.type-history .docs-diff-added{background:#d9f8e4;display:block}.type-history .docs-diff-removed{background:#ffe1df;display:block}.type-history .docs-diff-context{display:block}
@media(max-width:700px){.type-create,.type-document,.type-titlebar,.type-share-form{flex-wrap:wrap}.type-page{padding:30px 22px;min-height:800px}.type-page .ql-editor{min-height:700px}.type-titlebar input{order:2;flex-basis:100%}.type-titlebar #type-status{margin-left:auto}}

/* Document workspace */
.type-app{min-height:calc(100vh - 160px);margin:-10px -12px 0;background:#e9ebef;border-color:#c8ced8;font-family:Arial,Helvetica,sans-serif}
.type-titlebar{min-height:58px;gap:10px;padding:8px 18px;background:#f9fafc;border-bottom-color:#d7dce4}
.type-titlebar .type-back{display:inline-flex;align-items:center;gap:4px;text-decoration:none;color:#39506d;font-size:13px;font-weight:600;padding:7px 8px;border-radius:5px;white-space:nowrap}
.type-titlebar .type-back:hover{background:#edf1f6;color:#1f3857}
.type-titlebar svg{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.type-titlebar .type-document-icon{width:25px;height:25px;color:#d7490c}
.type-titlebar input{font-size:17px;font-weight:600;letter-spacing:-.01em;background:transparent}
.type-titlebar input:focus{outline:none;box-shadow:inset 0 -2px #dc5016}
.type-titlebar #type-status{display:inline-flex;align-items:center;gap:6px;color:#596579;font-size:12px}
.type-titlebar #type-status:before{content:"";width:6px;height:6px;border-radius:50%;background:#3b9b64}
.type-titlebar button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:35px;padding:6px 12px;font-size:13px;font-weight:700}
.type-titlebar #type-share{border-color:#ccd4df;color:#29415f;background:#fff}
.type-titlebar #type-share:hover{background:#f3f5f8}
.type-titlebar #type-save:hover{background:#bf3f0b}
.type-tabs{min-height:43px;gap:4px;padding:0 15px;background:#fff;border-bottom:1px solid #d8dee7}
.type-tab{padding:10px 14px 8px;border-bottom-width:3px;font-size:13px;font-weight:600;color:#3b4c64}
.type-tab:first-child{color:#bd450e}
.type-tab:hover{background:#f4f6f9;color:#c4460d}
.type-tab.active{background:#fff7f1;color:#b9440b;border-color:#e65311}
.type-ribbon{min-height:104px;flex-wrap:nowrap;align-items:stretch;gap:0;overflow-x:auto;padding:7px 9px 4px;background:#fafbfc;border-bottom:1px solid #cbd2dc;box-shadow:0 3px 9px #1b2a3d12}
.type-tool-group{display:flex;flex-direction:column;justify-content:space-between;flex:none;min-width:max-content;padding:0 10px;border-right:1px solid #d7dde5}
.type-tool-group:last-child{border-right:0}
.type-tool-group-items{display:flex;align-items:flex-start;gap:2px;min-height:65px}
.type-tool-group-label{text-align:center;color:#667387;font-size:11px;line-height:17px}
.type-ribbon .type-tool{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:4px;min-width:48px;min-height:59px;max-width:80px;padding:5px 5px 3px;border:1px solid transparent;border-radius:5px;background:transparent;color:#283c58;font-size:11px;line-height:1.12;text-align:center;white-space:normal}
.type-ribbon .type-tool:hover:not(:disabled),.type-ribbon .type-tool:focus-visible{border-color:#e4c2b2;background:#fff3eb;color:#b43e0a}
.type-ribbon .type-tool:active{background:#f5dccd}
.type-ribbon .type-tool:disabled{opacity:.38}
.type-tool-icon{display:block;width:23px;height:23px;flex:none}
.type-ribbon .type-tool[data-action="bold"],.type-ribbon .type-tool[data-action="italic"],.type-ribbon .type-tool[data-action="underline"]{min-width:45px}
.type-presence-bar{display:flex;align-items:center;flex-wrap:wrap;gap:9px;padding:8px 18px;background:#fff;border-bottom:1px solid #d5dce5;color:#64738a;font:12px Arial,Helvetica,sans-serif;min-height:38px}
.type-presence-bar>span:first-child{font-weight:600;color:#42536d}
#type-people{display:flex;flex-wrap:wrap;gap:7px 16px;list-style:none;margin:0;padding:0}
#type-people li{display:flex;align-items:center;gap:6px;color:#344762}
.type-person-colour{width:10px;height:10px;border-radius:50%;flex:none}
#type-presence-status{margin-left:auto;font-size:11px}
.type-workspace{background:#e9ebef;padding:36px 14px 48px}
.type-page{width:min(816px,100%);min-height:1056px;padding:80px 80px;border:1px solid #d4d8df;box-shadow:0 4px 18px #26344920,0 1px 3px #26344912}
.type-page .ql-editor{font-family:Aptos,Calibri,Arial,sans-serif;font-size:11pt;line-height:1.45}
.type-footer{min-height:35px;align-items:center;border-top-color:#cbd2dc;color:#4c5d73;font-size:12px}
.type-footer a{color:#425e81;text-decoration:none}.type-footer a:hover{text-decoration:underline}
@media(max-width:700px){
  .type-titlebar{padding:9px;gap:5px}.type-titlebar .type-back span{display:none}.type-titlebar input{order:2;flex-basis:100%;padding:6px 4px}
  .type-titlebar #type-status{margin-left:auto}.type-titlebar button{font-size:11px;padding:6px 8px}.type-titlebar button svg{width:15px;height:15px}
  .type-tabs{padding:0 5px}.type-tab{padding:10px 9px 8px}.type-ribbon{min-height:93px}.type-tool-group{padding:0 5px}
  .type-workspace{padding:15px 7px}.type-page{min-height:800px;padding:36px 24px}.type-page .ql-editor{min-height:700px}
}

/* Typespace's document start screen. */
.type-start{display:grid;grid-template-columns:170px minmax(0,1fr);min-height:calc(100vh - 190px);margin:-10px -12px 0;background:#f5f6f8;color:#202b3b;font:14px/1.45 Arial,Helvetica,sans-serif;border:1px solid #dbe0e7}
.type-start [hidden],.type-app [hidden]{display:none!important}
.type-start button,.type-start input{font:inherit}
.type-start-sidebar{display:flex;flex-direction:column;background:#e94b0c;color:#fff;padding:28px 0 18px}
.type-start-brand{display:flex;align-items:center;gap:9px;padding:0 19px 29px;font-size:18px;letter-spacing:-.3px}
.type-start-sidebar nav{display:grid}
.type-start-sidebar nav>a,.type-start-sidebar nav>button{display:flex;flex-direction:column;align-items:center;gap:8px;padding:19px 12px;border:0;color:#fff;background:transparent;text-decoration:none;cursor:pointer;font-size:14px}
.type-start-sidebar nav .active{background:#b93608;border-left:4px solid #ffe1c7;padding-left:8px}
.type-start-sidebar nav>a:hover,.type-start-sidebar nav>button:hover{background:#cc3c08}
.type-start-back{margin:40px 17px 0;padding-top:15px;border-top:1px solid #ffffff55;color:#fff4eb;text-decoration:none;font-size:12px}
.type-start-main{padding:29px clamp(22px,4vw,62px) 35px;min-width:0}
.type-start-main>header{margin-bottom:25px}.type-start-main h1{margin:0 0 5px;font-size:25px;font-weight:600;color:#253449}.type-start-main>header p{margin:0;color:#637083}
.type-start h2{font-size:17px;font-weight:600;margin:0 0 17px;color:#253449}
.type-start-new{padding:7px 0 23px;border-bottom:1px solid #d8dfe8;margin-bottom:28px}
.type-start-cards{display:flex;gap:18px;align-items:stretch}
.type-template,.type-open-card{display:flex;flex-direction:column;align-items:center;justify-content:center;width:180px;min-height:192px;gap:13px;padding:17px 18px;border:1px solid transparent;border-radius:5px;background:transparent;color:#26364c;text-align:center;cursor:pointer}
.type-template:hover,.type-open-card:hover{border-color:#d5dbe4;background:#e9edf3}
.type-template:focus-visible,.type-open-card:focus-visible{outline:2px solid #c4460d;outline-offset:2px}
.type-template strong,.type-open-card strong{font-size:13px;font-weight:500}
.type-paper-preview{width:81px;height:108px;background:#fff;border:1px solid #bbc3ce;box-shadow:0 2px 5px #23314a14}
.type-open-card{width:220px;color:#294e7a;background:#eef1f6;border:1px solid #dde3ec}
.type-open-card>span{font-size:12px;color:#637083;max-width:170px}.type-open-card .icon{margin:9px 0 8px}
.type-start #type-import-status{margin:12px 0 0;color:#49627f;min-height:0}.type-start #type-import-status:empty{display:none}
.type-recent-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:17px}.type-recent-heading h2{margin:0;font-size:20px}
.type-document-search{display:flex;align-items:center;gap:9px;max-width:340px;flex:1;background:#fff;border:1px solid #bdc8d6;border-radius:4px;padding:0 11px;color:#657891}
.type-document-search input{width:100%;min-width:0;background:transparent;color:#26364c;border:0;outline:0;padding:10px 0}
.type-document-search:focus-within{outline:2px solid #ba440d;outline-offset:1px}
.type-list-tabs{display:flex;gap:23px;border-bottom:1px solid #d0d8e3}
.type-list-tabs button{border:0;border-bottom:3px solid transparent;background:transparent;padding:8px 1px 11px;color:#596a80;cursor:pointer;font-weight:500}
.type-list-tabs button.active{border-bottom-color:#c34910;color:#233b5e}
.type-doc-table{overflow-x:auto}.type-doc-table table{width:100%;border-collapse:collapse;text-align:left;font-size:13px}.type-doc-table th{font-size:12px;font-weight:500;color:#66758a;padding:14px 12px 11px}.type-doc-table td{border-top:1px solid #dce2e9;padding:8px 12px;color:#5b6b80;white-space:nowrap}.type-doc-table th:first-child,.type-doc-table td:first-child{padding-left:0;width:49%;white-space:normal}
.type-doc-table tbody tr:hover{background:#eaf0f6}.type-doc-name{display:flex;align-items:center;gap:12px;text-decoration:none;color:#26364c;min-height:52px}.type-doc-name strong{font-size:14px;font-weight:600;display:block;overflow-wrap:anywhere}.type-doc-name small{display:block;color:#6d7c8e;margin-top:4px;font-size:11px}.type-file-badge{display:grid;place-items:center;width:39px;height:43px;flex:none;border-radius:4px;background:#fff;color:#bd490e;border:1px solid #d6dde6}.type-permission{display:inline-block;font-size:11px;padding:4px 8px;border-radius:4px;background:#e4eaf2;color:#3b5678}
.type-doc-empty{display:flex;flex-direction:column;align-items:center;text-align:center;padding:39px 16px 30px;color:#75839a}.type-doc-empty strong{color:#41516a;font-size:16px;font-weight:500;margin-top:13px}.type-doc-empty p{margin:7px 0 0;font-size:13px}
.type-format-note{font-size:12px;color:#6d7c8e;margin:25px 0 20px}
.type-start .type-admin-revoke{border-top:1px solid #d8dfe8;padding-top:17px;color:#596a80;font-size:12px}.type-admin-revoke summary{display:flex;align-items:center;gap:7px;cursor:pointer;list-style:none}.type-admin-revoke summary:after{content:'⌄';margin-left:5px}.type-admin-revoke form{display:flex;align-items:flex-end;gap:12px;padding:17px 0 0}.type-admin-revoke label{display:grid;gap:5px;flex:1}.type-admin-revoke input{padding:9px;width:100%;min-width:0;border:1px solid #c5ceda;border-radius:4px;background:#fff;color:#26364c}.type-admin-revoke button{border:1px solid #bb6450;border-radius:4px;background:#fff;color:#9e3f2a;padding:9px 13px;cursor:pointer}
#type-new-dialog{width:min(430px,calc(100vw - 30px));border:1px solid #cfd7e2;border-radius:8px;box-shadow:0 16px 60px #13254144;padding:25px;color:#26364c;font:14px Arial,Helvetica,sans-serif}#type-new-dialog::backdrop{background:#13254170}#type-new-dialog h2{margin:0 0 22px;font-size:21px}#type-new-dialog label{display:grid;gap:8px}#type-new-dialog input{width:100%;padding:11px;border:1px solid #aebccc;border-radius:4px;font:inherit}#type-new-dialog form>div{display:flex;justify-content:flex-end;gap:9px;margin-top:23px}#type-new-dialog button{padding:9px 13px;border:1px solid #bdc8d6;border-radius:4px;background:#fff;color:#334b69;cursor:pointer;font:inherit}#type-new-dialog .type-primary{color:#fff;background:#ce4d13;border-color:#ce4d13}
@media(max-width:760px){.type-start{grid-template-columns:1fr;margin:0;min-height:0}.type-start-sidebar{padding:12px 14px;flex-direction:row;align-items:center;gap:14px}.type-start-brand{padding:0;font-size:15px}.type-start-brand .icon{width:23px}.type-start-sidebar nav{display:flex;margin-left:auto}.type-start-sidebar nav>a,.type-start-sidebar nav>button{padding:8px;gap:4px;font-size:11px;border:0;border-radius:4px}.type-start-sidebar nav .icon{width:20px;height:20px}.type-start-sidebar nav .active{padding:8px;border:0}.type-start-back{display:none}.type-start-main{padding:22px 17px}.type-start-main h1{font-size:23px}.type-start-cards{gap:10px}.type-template,.type-open-card{width:50%;min-height:179px;padding:12px}.type-recent-heading{align-items:flex-start;flex-direction:column;gap:12px}.type-document-search{max-width:none;width:100%}.type-doc-table th:nth-child(2),.type-doc-table td:nth-child(2){display:none}.type-doc-table td{font-size:11px;padding:8px}.type-doc-table th:first-child,.type-doc-table td:first-child{min-width:180px}.type-doc-name strong{font-size:13px}.type-admin-revoke form{flex-direction:column;align-items:stretch}.type-start .type-admin-revoke label{width:100%}}

/* World typography and the document start screen. */
.type-start,.type-app,#type-new-dialog,.type-presence-bar{font-family:var(--world-seurat),'Trebuchet MS',sans-serif}
.type-page #type-editor,.type-page .ql-editor,.type-page .ql-container{font-family:var(--world-seurat),'Trebuchet MS',sans-serif}
.type-start{max-width:1360px;margin:20px auto 30px;min-height:610px;grid-template-columns:185px minmax(0,1fr);background:#fffdf9;border:1px solid #eadbcd;border-radius:9px;overflow:hidden;font-size:14px;line-height:1.6;box-shadow:0 3px 18px #71401c0a}
.type-start-sidebar{background:#ef4c0c;padding-top:25px}
.type-start-brand{padding:0 20px 26px;font-size:18px;gap:9px;letter-spacing:0}
.type-start-sidebar nav>a,.type-start-sidebar nav>button{flex-direction:row;justify-content:flex-start;gap:13px;padding:16px 23px;font-size:15px;line-height:1.5}
.type-start-sidebar nav .active{padding-left:19px;background:#c63b08;border-left-color:#ffe6cf}
.type-start-sidebar nav>a:hover,.type-start-sidebar nav>button:hover{background:#d74108}
.type-start-back{margin-top:auto;padding-top:18px;line-height:1.5}
.type-start-main{padding:30px clamp(22px,3vw,44px)}
.type-start-main>header{margin-bottom:25px}
.type-start-main h1{font-family:var(--world-seurat),'Trebuchet MS',sans-serif;font-size:30px;font-weight:700;color:var(--navy);margin-bottom:7px}
.type-start-main>header p{font-size:14px;color:#626f7c}
.type-start-new{padding-bottom:26px;margin-bottom:27px;border-color:#e8ddd3}
.type-start h2{font-size:17px;color:var(--navy);margin-bottom:14px}
.type-start-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.type-template,.type-open-card{width:100%;min-height:160px;display:flex;flex-direction:row;justify-content:flex-start;align-items:center;text-align:left;gap:23px;padding:22px;border:1px solid #e7d7c9;border-radius:7px;background:#fff;color:var(--navy);box-shadow:0 2px 5px #69401f05;transition:border-color .15s,background .15s}
.type-template:hover,.type-open-card:hover{border-color:#f19165;background:#fff7f0;box-shadow:0 3px 10px #9b3a0f0c}
.type-paper-preview{width:70px;height:95px;flex:none;border-color:#c8c4bd;box-shadow:0 3px 6px #45342414}
.type-open-icon{display:grid;place-items:center;flex:none;width:70px;height:82px;background:#fff0e5;color:#d7480d;border-radius:7px}
.type-open-card .icon{margin:0}
.type-action-label{display:flex;flex-direction:column;gap:8px}
.type-action-label strong{font-size:16px;font-weight:700;line-height:1.5}
.type-action-label>span{font-size:12px;color:#647181;line-height:1.65}
.type-recent-heading h2{font-size:21px;margin:0}
.type-document-search{border-color:#dacdbf;background:#fff;max-width:320px;border-radius:5px}
.type-document-search input{font-family:inherit;font-size:13px;padding:10px 0}
.type-list-tabs{border-color:#e5d8cb;gap:26px}
.type-list-tabs button{font-size:14px;padding:9px 0 11px;color:#627080}
.type-list-tabs button.active{color:#bb3e08;border-color:#ed4b0b}
.type-doc-table th{font-family:inherit;color:#78808b;padding-top:17px}
.type-doc-table td{border-color:#eee4db;padding-top:11px;padding-bottom:11px}
.type-doc-table tbody tr:hover{background:#fff5ed}
.type-doc-name strong{font-size:14px;line-height:1.55}
.type-permission{background:#f5e9dd;color:#78523b}
.type-doc-empty{display:grid;grid-template-columns:42px minmax(0,1fr);grid-template-rows:auto auto;column-gap:16px;align-items:center;text-align:left;margin:20px 0 4px;padding:26px;border:1px dashed #dfcbbb;border-radius:7px;background:#fff9f2;color:#b96a38}
.type-doc-empty>.icon{grid-row:1/3}
.type-doc-empty strong{font-size:16px;font-weight:700;line-height:1.5;margin:0;color:#684d39}
.type-doc-empty p{font-size:13px;line-height:1.7;margin:5px 0 0;color:#817060}
.type-format-note{font-size:12px;line-height:1.8;margin:24px 0 20px;color:#7b7b7a}
.type-start .type-admin-revoke{border-color:#eaded1;padding-top:15px}
.type-titlebar input,.type-tabs,.type-ribbon,.type-footer{font-family:inherit}
.type-page .ql-editor{font-size:12pt;line-height:1.6}
#type-new-dialog{font-family:var(--world-seurat),'Trebuchet MS',sans-serif}

/* Document owners manage access without leaving the editor. */
#type-access-notice:not([hidden]){padding:10px 18px;border-bottom:1px solid #e6c3a4;background:#fff3df;color:#51341e;font-size:14px}#type-access-notice a{color:#9f3611;text-decoration:underline}
#type-share-dialog{width:min(620px,calc(100vw - 28px));max-height:calc(100dvh - 40px);overflow:auto;padding:26px;font-family:var(--world-seurat),'Trebuchet MS',sans-serif;background:#fffdf9;color:#172e49;border-color:#ead7c6}
#type-share-dialog h2{margin:0 30px 12px 0;font-size:23px}#type-share-dialog h3{font-size:17px;margin:24px 0 10px}#type-share-dialog p{line-height:1.6;font-size:14px}
#type-share-dialog label{display:grid;gap:6px;font-size:13px}#type-share-dialog input,#type-share-dialog select,#type-share-dialog button{font:inherit}
#type-share-dialog input,#type-share-dialog select{min-width:0;padding:9px 10px;border:1px solid #cdbdaf;border-radius:5px;background:white;color:#172e49}
#type-share-dialog .type-share-form{display:grid;grid-template-columns:minmax(0,1fr) 120px auto;gap:10px;align-items:end}#type-share-dialog .type-share-form select{width:100%}
#type-share-dialog button:not(.type-close){border:1px solid #dfc5b2;padding:9px 12px;border-radius:5px;cursor:pointer;color:#963513;background:#fff}
#type-share-dialog .type-share-form>button,#type-share-dialog #type-create-invite{background:#e84b08;color:white;border-color:#e84b08}
#type-share-dialog button:disabled{opacity:.55;cursor:wait}.type-share-owner,#type-share-list li{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 0;border-bottom:1px solid #efdfd1}
.type-share-owner>span{font-size:13px;color:#627083}#type-share-list strong{overflow-wrap:anywhere}.type-share-controls{display:flex;gap:8px;align-items:center;flex-shrink:0}
#type-share-dialog .type-remove-share{color:#a33219;border-color:transparent;background:transparent}#type-share-status:empty{display:none}#type-share-status{padding:8px 10px;background:#fff1e6;border-radius:5px}
.type-invite-permission{margin-bottom:12px;max-width:180px}#type-invite-result input{box-sizing:border-box;font-size:13px}#type-share-dialog [hidden]{display:none}

/* Names remain next to each collaborator's caret, with text visible on hover. */
.type-app .ql-cursor:not(.hidden) .ql-cursor-flag{opacity:1!important;visibility:visible!important;pointer-events:none;transition:opacity 120ms ease!important;z-index:3;user-select:none;border-radius:3px;box-shadow:0 1px 3px #0002;font:12px var(--world-seurat),'Trebuchet MS',sans-serif;line-height:18px}
.type-app .ql-cursor:not(.hidden) .ql-cursor-flag.type-cursor-obscured{opacity:.2!important}
.type-app .ql-cursor .ql-cursor-name{max-width:180px;overflow:hidden;text-overflow:ellipsis;vertical-align:middle}
.type-edit-toolbar{display:flex;align-items:end;gap:14px;margin:20px 0}.type-edit-toolbar label{display:grid;gap:6px}.type-edit-toolbar input{padding:9px 12px;border:1px solid #dfc9b7;border-radius:5px;font:inherit;background:#fff;color:inherit}.type-edit-toolbar button,.type-edit-pager button{padding:9px 12px;border:1px solid #dfc9b7;border-radius:5px;background:white;color:#a83b0c;font:inherit;cursor:pointer}.type-edit-toolbar>a{margin-left:auto}
.type-edit-browser{display:grid;grid-template-columns:310px minmax(0,1fr);gap:22px}.type-edit-browser>section{min-width:0}#type-edit-list{list-style:none;margin:0;padding:0;max-height:65vh;overflow:auto;border:1px solid #ead9ca;border-radius:6px}#type-edit-list button{display:grid;gap:5px;border:0;border-bottom:1px solid #efdfd1;width:100%;padding:13px;text-align:left;font:inherit;background:white;color:#19314c;cursor:pointer}#type-edit-list button.active{background:#fff0e4;box-shadow:inset 3px 0 #ed4f0b}#type-edit-list strong{font-size:14px}#type-edit-list span,#type-edit-list time{font-size:12px;color:#657389}.type-edit-pager{display:flex;align-items:center;justify-content:space-between;gap:7px;margin-top:10px;font-size:11px}.type-edit-pager button{font-size:11px;padding:6px}.type-edit-pager button:disabled{opacity:.4;cursor:default}
#type-edit-detail{padding:20px;background:white;border:1px solid #ead9ca;border-radius:6px;align-self:start;position:sticky;top:16px}#type-edit-detail h2{font-size:22px;margin:0 0 9px}.type-edit-meta{font-size:12px;color:#647185;overflow-wrap:anywhere}.type-edit-stats{display:flex;gap:18px;margin:20px 0;font-size:13px}.type-edit-diff{border:1px solid #e6d9cd;border-radius:5px;overflow:auto;max-height:55vh}.type-edit-diff pre{margin:0;padding:10px 13px;white-space:pre-wrap;overflow-wrap:anywhere;font:13px/1.6 var(--world-seurat),'Trebuchet MS',sans-serif}.type-edit-context{background:#faf8f5;color:#6a7582}.type-edit-added{background:#e6f6e9;color:#175d2d}.type-edit-removed{background:#fdeaea;color:#9b2727}
@media(max-width:760px){.type-edit-browser{grid-template-columns:1fr}#type-edit-list{max-height:280px}.type-edit-toolbar{flex-wrap:wrap}.type-edit-toolbar>a{margin-left:0}#type-edit-detail{position:static;padding:14px}.type-edit-toolbar label{min-width:0;flex:1}.type-edit-toolbar input{width:100%;min-width:0}}
@media(max-width:560px){#type-share-dialog{padding:18px}#type-share-dialog .type-share-form{grid-template-columns:minmax(0,1fr) 115px}#type-share-dialog .type-share-form>button{grid-column:1/-1}.type-share-controls{gap:4px}#type-share-list li{flex-wrap:wrap}#type-share-list strong{flex:1 0 100%}}
@media(max-width:1000px){.type-start{grid-template-columns:160px minmax(0,1fr)}.type-template,.type-open-card{gap:14px;padding:16px}.type-paper-preview{width:54px;height:75px}.type-open-icon{width:54px;height:67px}.type-action-label strong{font-size:14px}.type-start-brand{padding-left:15px;font-size:16px}.type-start-sidebar nav>a,.type-start-sidebar nav>button{padding-left:18px}.type-start-sidebar nav .active{padding-left:14px}}
@media(max-width:760px){.type-start{grid-template-columns:1fr;margin:10px 0 20px;min-height:0}.type-start-sidebar{padding:12px 14px;gap:12px}.type-start-brand{padding:0;font-size:16px}.type-start-sidebar nav>a,.type-start-sidebar nav>button,.type-start-sidebar nav .active{flex-direction:column;gap:3px;padding:7px 8px;font-size:11px;border:0}.type-start-main{padding:23px 17px}.type-start-cards{grid-template-columns:1fr;gap:11px}.type-template,.type-open-card{width:100%;min-height:113px;gap:22px;padding:16px 22px}.type-paper-preview{width:50px;height:70px}.type-open-icon{width:50px;height:60px}.type-start-main h1{font-size:27px}.type-action-label strong{font-size:15px}.type-recent-heading{gap:12px}.type-document-search{max-width:none}.type-doc-empty{padding:20px 16px;gap:8px 13px}.type-doc-empty strong{font-size:15px}.type-doc-table td{font-size:11px}.type-titlebar input{font-size:16px}}

/* Saved revisions and document comparisons. */
.type-history.type-revisions{max-width:1200px;margin:24px auto 38px;padding:27px 30px;background:#fffdf9;font-family:var(--world-seurat),'Trebuchet MS',sans-serif;border-color:#e8d7c8}
.type-history-breadcrumb{display:flex;align-items:center;flex-wrap:wrap;gap:8px;color:#7b7069;font-size:12px;margin-bottom:24px}.type-history-breadcrumb a{color:#b54110;text-decoration:none;overflow-wrap:anywhere}.type-history-breadcrumb a:hover{text-decoration:underline}
.type-revisions>header{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:25px}.type-revisions>header h1{font:700 29px/1.4 var(--world-seurat),'Trebuchet MS',sans-serif;color:var(--navy);margin:0 0 6px}.type-revisions>header p{color:#6f7379;font-size:13px;margin:0}
.type-history-button,.type-compare-form button{display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none;color:#ba400b;background:#fff;border:1px solid #e1c8b5;border-radius:5px;padding:9px 13px;font:inherit;font-size:13px;white-space:nowrap}.type-history-button:hover{background:#fff2e7;border-color:#e88350}
.type-compare-form{display:flex;flex-wrap:wrap;gap:14px;align-items:flex-end;padding:18px;background:#faf3eb;border:1px solid #ead8c8;border-radius:7px;margin-bottom:24px}.type-compare-form label{display:grid;gap:7px;font-size:12px;color:#6b5949}.type-compare-form input{width:125px;min-height:40px;background:#fff;border:1px solid #d9c9bb;border-radius:4px;color:var(--navy);padding:8px 10px;font:inherit;font-size:14px}.type-compare-form>span{align-self:center;margin-top:19px;color:#a47958}.type-compare-form button{background:#e74a0d;color:#fff;border-color:#e74a0d;min-height:40px;padding:8px 13px}.type-compare-form button:hover{background:#c73d08}.type-compare-form small{width:100%;font-size:11px;color:#857467;margin-top:-3px}
.type-revisions .type-revision-list{padding:0;margin:0;list-style:none;border:1px solid #e9ddd3;border-radius:7px;overflow:hidden;background:#fff}
.type-revisions .type-revision{display:flex;align-items:center;gap:15px;padding:18px;border-bottom:1px solid #eee5dd}.type-revisions .type-revision:last-child{border-bottom:0}
.type-revisions .type-revision-dot{width:10px;height:10px;border:2px solid #cf773f;border-radius:50%;background:#fff4e9;flex:none}
.type-revision-main{min-width:0;flex:1}.type-revisions .type-revision-title{font-size:14px;font-weight:700;color:#203d60;text-decoration:none;overflow-wrap:anywhere}.type-revision-title:hover{text-decoration:underline}
.type-revisions .type-latest{display:inline-block;font-size:10px;color:#33733e;background:#e9f3e6;border:1px solid #cbddc6;border-radius:4px;padding:2px 6px;margin-left:9px;vertical-align:middle}
.type-revision-meta{display:flex;flex-wrap:wrap;align-items:center;gap:7px 14px;margin-top:8px;color:#77808a;font-size:11px}.type-revision-meta strong{font-weight:500;color:#725846}.type-revisions .type-revision-meta span{font-size:11px;color:inherit}.type-revision-meta code{font:11px Consolas,monospace;border:1px solid #eadfd5;background:#f9f4ee;padding:2px 6px;border-radius:4px;color:#81644d}
.type-revision-actions{display:flex;gap:7px;flex:none}.type-revisions .type-revision-actions a{display:inline-flex;align-items:center;justify-content:center;gap:5px;border:1px solid #e8d9ca;border-radius:5px;padding:7px 9px;font-size:12px;font-weight:500;color:#b04b19;text-decoration:none}.type-revision-actions a:hover{background:#fff3e9}
.type-history-pagination{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:15px;margin-top:22px;padding-top:17px;border-top:1px solid #eaded3;font-size:12px;color:#7e7872}.type-history-pagination a{color:#b64a17;text-decoration:none}.type-history-pagination a:hover{text-decoration:underline}
.type-compare-meta{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:0 0 24px}.type-compare-meta>div{display:flex;flex-direction:column;gap:7px;padding:17px;border:1px solid #e6d9cc;border-radius:6px;background:#fff}.type-compare-meta small{font-size:11px;color:#a36f44;text-transform:uppercase;letter-spacing:.04em}.type-compare-meta strong{font-size:14px;color:#294364}.type-compare-meta span{font-size:11px;color:#7a7b7d}.type-compare-meta code{font:11px Consolas,monospace;color:#8a796c}
.type-diff-panel{border:1px solid #e2d7cd;border-radius:7px;background:#fff;overflow:hidden}.type-diff-panel>header{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;padding:14px 17px;border-bottom:1px solid #e8ddd4;background:#faf6f1}.type-diff-panel h2{margin:0;font-size:16px;font-weight:700}.type-diff-panel>header>div{display:flex;gap:14px;font-size:12px}.type-diff-added-count{color:#28723b}.type-diff-removed-count{color:#a34037}.type-diff-scroll{overflow:auto;max-height:70vh}.type-diff-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:13px;line-height:1.7}.type-diff-table th{padding:8px 9px;background:#fffdf9;border-bottom:1px solid #eee4da;text-align:left;color:#978573;font-size:10px;font-weight:500}.type-diff-table th:nth-child(1),.type-diff-table th:nth-child(2){width:55px}.type-diff-table th:nth-child(3){width:28px}.type-diff-table td{padding:4px 9px;vertical-align:top}.type-diff-number{font:11px/2 Consolas,monospace;color:#9c9890;text-align:right;user-select:none;border-right:1px solid #dfdfdb}.type-diff-sign{text-align:center;user-select:none;font-family:Consolas,monospace}.type-diff-text{white-space:pre-wrap;overflow-wrap:anywhere;color:#34455a}.type-diff-added{background:#e8f6eb}.type-diff-added .type-diff-text,.type-diff-added .type-diff-sign{color:#24613a}.type-diff-removed{background:#fdebea}.type-diff-removed .type-diff-text,.type-diff-removed .type-diff-sign{color:#8f3830}.type-diff-hunk td{background:#eef2f6;color:#69809b;font:11px/1.6 Consolas,monospace;padding:8px 12px;border-top:1px solid #dbe3eb;border-bottom:1px solid #dbe3eb}.type-diff-empty{padding:23px 19px;color:#737c86;margin:0;font-size:13px}.type-diff-caption{margin:0;padding:13px 17px;border-top:1px solid #eee4da;color:#8c8075;font-size:11px;line-height:1.7}.type-diff-notice{padding:13px 17px;margin:0;background:#fff3d8;color:#84641f;font-size:12px}
.type-version-tools{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:20px}.type-version-tools>a,.type-version-tools button{display:inline-flex;align-items:center;gap:7px;background:#fff;border:1px solid #dfc9b7;border-radius:5px;color:#b54410;padding:8px 12px;font:inherit;font-size:12px;text-decoration:none}.type-version-tools form{margin-left:auto}.type-version-tools button{background:#fff3e5;border-color:#d9b087;color:#9b5019;cursor:pointer}.type-version-tools small{flex-basis:100%;text-align:right;font-size:11px;color:#8c7d6e}
@media(max-width:760px){.type-history.type-revisions{padding:20px 15px;margin:12px 0 25px}.type-revisions>header{align-items:flex-start;flex-direction:column}.type-revisions>header h1{font-size:25px}.type-compare-form{gap:10px;padding:13px}.type-compare-form label{flex:1}.type-compare-form input{width:100%}.type-compare-form>span{display:none}.type-compare-form button{width:100%}.type-revisions .type-revision{padding:15px 12px;gap:9px;flex-wrap:wrap}.type-revision-main{flex-basis:calc(100% - 25px)}.type-revision-actions{margin-left:19px}.type-compare-meta{grid-template-columns:1fr}.type-diff-table th:nth-child(1),.type-diff-table th:nth-child(2){width:36px}.type-diff-table th:nth-child(3){width:21px}.type-diff-table td{padding:4px}.type-diff-table th{padding:7px 4px;font-size:9px}.type-version-tools form{margin-left:0}.type-version-tools small{text-align:left}.type-diff-table{font-size:12px}}
