.workspace-bar{height:52px;margin:0 32px 12px;display:flex;align-items:center;justify-content:space-between;gap:20px}.workspace-doc,.account-actions{display:flex;align-items:center;gap:12px;min-width:0}.workspace-doc{flex:1}.draft-toggle{display:flex;align-items:center;gap:12px;min-width:0;max-width:480px;height:40px;text-align:left;padding:0 8px;border-radius:3px}.draft-toggle #draft-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:600}.draft-toggle #draft-total{font-size:11px;color:var(--muted);padding-left:8px}.stack-mark{width:17px;height:20px;display:block;border:1.5px solid currentColor;border-radius:2px;position:relative;flex:none}.stack-mark:after{content:'';position:absolute;width:11px;height:15px;border:1.5px solid var(--muted);left:-5px;top:3px;border-right:0;border-top:0}.auto-button{height:36px;padding:0 12px;display:flex;align-items:center;gap:8px;border:1px solid var(--control);font-size:11px;font-weight:800;letter-spacing:.05em;border-radius:2px}.auto-spark{font-size:20px;color:var(--red);font-weight:400}.quiet-button{font-size:12px;min-height:36px;padding:8px 10px;border-radius:3px}.profile-button{display:flex;align-items:center;gap:8px;padding:4px 8px;border-radius:5px;min-height:40px;font-size:12px}.avatar{width:32px;height:32px;border-radius:50%;background:var(--ink);color:var(--surface);display:inline-flex;align-items:center;justify-content:center;overflow:hidden;font-size:11px;font-weight:700;flex:none}.avatar img{width:100%;height:100%;object-fit:cover}.avatar.large{width:72px;height:72px;font-size:22px}.avatar.large span{font-size:22px}.account-actions{gap:8px}.workspace-bar+.draft-drawer+main{height:calc(100dvh - 184px)}
.draft-drawer{position:fixed;left:32px;top:156px;width:380px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 200px);z-index:12;padding:20px;background:var(--raised);border:1px solid var(--control);border-radius:8px;box-shadow:0 12px 40px #1112;display:flex;flex-direction:column;gap:16px}.draft-drawer[hidden]{display:none}.drawer-heading{display:flex;align-items:center;justify-content:space-between}.drawer-heading h2{margin:0}.draft-results{max-height:50dvh;overflow:auto}.draft-row{display:flex;align-items:center;border-bottom:1px solid var(--line);padding:4px 0}.draft-row.current{background:var(--ground)}.draft-open{min-width:0;text-align:left;padding:12px 8px;flex:1}.draft-open strong{display:block;font-size:13px;font-weight:600;line-height:1.5;overflow-wrap:anywhere}.draft-open small{display:block;font-size:11px;color:var(--muted);margin-top:6px}.draft-row>.icon{width:36px;color:var(--muted)}.workspace-input{width:100%;min-height:42px;padding:10px 12px;border:1px solid var(--control);background:var(--raised);color:var(--ink);border-radius:4px;font:inherit;font-size:14px}.workspace-input:focus-visible{outline:2px solid var(--red);outline-offset:2px}.profile-portrait{display:flex;align-items:center;gap:16px;margin-bottom:24px}.profile-role{font-size:12px;color:var(--muted);margin-top:-8px}.password-details{padding:16px 0;border-top:1px solid var(--line);margin-top:24px}.password-details summary{font-size:13px;font-weight:600;cursor:pointer;padding:8px 0;margin-bottom:16px}.users-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.users-heading p{color:var(--muted);font-size:12px}.users-list{max-height:45dvh;overflow:auto}.user-row{display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--line);padding:14px 0}.user-info{flex:1;min-width:0}.user-info strong{display:block;font-size:14px;font-weight:600}.user-info small{display:block;font-size:12px;color:var(--muted);margin-top:4px}.user-row>.icon{width:36px}.danger{color:var(--red)}.check-row{display:flex;align-items:center;gap:10px;font-size:13px;min-height:40px}.check-row input{width:18px;height:18px;accent-color:var(--ink)}.clear-section{margin-right:auto;color:var(--muted)}.editor-footer{gap:8px}.editor-footer>span{max-width:120px}.empty-field{color:var(--muted);font-size:13px}.review-mark{display:block;color:var(--red);font-size:11px;margin-top:4px}.eml-drop{min-height:230px;display:flex;align-items:center;justify-content:center;flex-direction:column;border:1px dashed var(--control);background:var(--ground);padding:24px;cursor:pointer;border-radius:8px;transition:background .2s cubic-bezier(.2,.7,.2,1)}.eml-drop.over,.eml-drop:hover{background:var(--redwash);border-color:var(--red)}.eml-drop h3{font-size:24px;letter-spacing:-.7px;margin:20px 0 0}.eml-drop p{font-size:13px;color:var(--muted)}.eml-mark{font-size:32px;letter-spacing:-2px;font-weight:800;color:var(--red)}.import-result{font-size:24px;font-weight:700;letter-spacing:-.7px}.import-warnings{font-size:13px;line-height:1.8;max-height:230px;overflow:auto}.auto-overlay{position:fixed;inset:0;z-index:100;background:light-dark(#eaece844,#15181966);backdrop-filter:blur(16px) saturate(1.35);-webkit-backdrop-filter:blur(16px) saturate(1.35);display:grid;place-items:center;padding:24px}.liquid-panel{width:440px;max-width:100%;padding:40px;background:color-mix(in srgb,var(--raised) 74%,transparent);border:1px solid color-mix(in srgb,var(--raised) 80%,transparent);border-radius:24px;box-shadow:inset 0 1px 0 #ffffff88,0 24px 80px #1112;backdrop-filter:blur(28px);-webkit-backdrop-filter:blur(28px)}.liquid-panel h2{font-size:28px;line-height:1.2;font-weight:700;letter-spacing:-1px;margin:24px 0 16px}.liquid-panel>p{min-height:40px;font-size:13px;line-height:1.6;color:var(--muted)}.liquid-symbol{display:flex;gap:8px}.liquid-symbol i{width:20px;height:20px;border-radius:50%;background:var(--red);animation:auto-dot 1.4s cubic-bezier(.4,0,.2,1) infinite alternate}.liquid-symbol i:nth-child(2){animation-delay:.35s}.auto-progress{height:5px;background:var(--control);border-radius:10px;overflow:hidden;margin-top:24px}.auto-progress span{height:100%;display:block;width:0;background:var(--red);border-radius:inherit;transition:width .3s cubic-bezier(.2,.7,.2,1)}.auto-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:16px;font-size:12px;font-variant-numeric:tabular-nums}@keyframes auto-dot{to{transform:translateY(-6px);opacity:.55}}
/* The rail and thumb are DOM elements. The native scrollbar is hidden everywhere. */
*{scrollbar-width:none!important}::-webkit-scrollbar{display:none!important;width:0!important;height:0!important}.custom-scroll-shell{position:relative;min-height:0;min-width:0}.scroll-flex{flex:1;overflow:hidden;display:flex;flex-direction:column}.scroll-flex>#tender-list,.scroll-flex>#edit-area{height:100%;flex:1;min-height:0;overflow:auto}.custom-scroll-target{padding-right:16px}.custom-scroll{position:absolute;right:3px;top:8px;bottom:8px;width:10px;z-index:4;border-radius:6px;touch-action:none;cursor:pointer;background:transparent;transition:background .2s cubic-bezier(.2,.7,.2,1)}.custom-scroll[hidden]{display:none}.custom-scroll:focus-visible{outline:2px solid var(--red);outline-offset:1px}.custom-scroll-thumb{display:block;position:absolute;right:3px;width:4px;min-height:30px;border-radius:8px;background:color-mix(in srgb,var(--ink) 35%,transparent);pointer-events:auto;transition:background .15s cubic-bezier(.2,.7,.2,1),width .15s cubic-bezier(.2,.7,.2,1)}.custom-scroll:hover,.custom-scroll.dragging{background:color-mix(in srgb,var(--ink) 6%,transparent)}.custom-scroll:hover .custom-scroll-thumb,.custom-scroll.dragging .custom-scroll-thumb{background:var(--red);width:6px;right:2px}.paper{position:relative}.paper>.custom-scroll{--ink:#242421;right:1px;width:9px;top:6px;bottom:6px}.scroll-code{height:44dvh}.scroll-code>.code-area{height:100%;margin:0}.custom-scroll-shell>.rich-input{max-height:300px;overflow:auto}.draft-results.custom-scroll-target,.users-list.custom-scroll-target{padding-right:14px}.draft-drawer>.custom-scroll-shell{min-height:0}.draft-drawer .custom-scroll{right:0}dialog{scrollbar-width:none;overflow:auto}.login-page{min-height:100dvh;display:flex;flex-direction:column}.login-identity{display:flex;align-items:center;justify-content:space-between;padding:32px 48px}.login-identity img{width:180px}.login-identity>span{font-size:12px;color:var(--muted)}.login-layout{margin:auto;display:grid;grid-template-columns:320px 360px;gap:100px;align-items:center;width:auto;height:auto;max-width:calc(100vw - 64px);padding:32px 0}.login-art{display:flex;flex-direction:column;gap:16px;align-items:center;overflow:hidden}.login-art i{width:220px;height:220px;display:block;background:var(--red);border-radius:50%}.login-art span{width:220px;height:64px;display:block;background:var(--red)}.login-form>p{font-size:12px;color:var(--muted);margin:0 0 12px}.login-form h1{font-size:44px;line-height:1.05;letter-spacing:-2px;font-weight:800;margin:0 0 32px}.login-form h1 span{color:var(--red)}.login-form form>label{font-size:12px;display:block;margin-bottom:8px}.login-form input{min-width:0;width:100%;height:46px;padding:12px;border:1px solid var(--control);border-radius:3px;color:var(--ink);background:var(--raised);font-size:14px}.login-form form>input{margin-bottom:20px}.password-field{position:relative}.password-field input{padding-right:76px}.password-field button{position:absolute;right:4px;top:4px;height:38px;padding:0 10px;font-size:11px;color:var(--muted)}.login-form .primary{width:100%;justify-content:space-between;margin-top:12px}.office-entry{display:block;font-size:12px;text-decoration:none;color:var(--muted);margin-top:20px;text-align:center}.login-footer{display:flex;justify-content:space-between;padding:24px 48px;color:var(--muted);font-size:11px}.login-footer span{letter-spacing:1px;font-weight:800}[data-role=viewer] #edit,[data-role=viewer] #add,[data-role=viewer] .tender-actions button:not([data-action=open]),[data-role=viewer] .clear-section{display:none}
@media(max-width:1200px){.workspace-bar{margin-left:24px;margin-right:24px}.workspace-doc,.account-actions{gap:6px}.draft-toggle{max-width:350px}.editor-footer>span{display:none}.draft-drawer{left:24px}.login-layout{gap:60px;grid-template-columns:250px 340px}.login-art i{width:180px;height:180px}.login-art span{width:180px}}
@media(max-width:760px){.workspace-bar{height:48px;margin:0 16px 8px;gap:8px}.workspace-bar+.draft-drawer+main{height:calc(100dvh - 208px)}.workspace-doc{gap:4px}.draft-toggle{max-width:calc(100vw - 200px);padding:0 6px;gap:8px}.draft-toggle #draft-name{font-size:11px}.draft-toggle #draft-total,.account-name,#account-name{display:none}.stack-mark{width:13px;height:16px}.stack-mark:after{width:8px;height:12px}.workspace-doc>.icon{width:32px}.auto-button{padding:0 8px;font-size:10px;gap:4px}.auto-spark{font-size:16px}.profile-button{padding:0 2px;min-height:36px}.avatar{width:28px;height:28px}.account-actions{gap:2px}.account-actions>.icon{width:28px}.quiet-button{padding:8px;font-size:11px}#users-open{font-size:10px;padding:4px}.draft-drawer{top:134px;left:16px;width:358px;max-height:calc(100dvh - 210px);padding:16px}.draft-results{max-height:55dvh}.liquid-panel{padding:28px;border-radius:20px}.liquid-panel h2{font-size:24px}.login-identity{padding:24px}.login-identity img{width:144px}.login-layout{display:block;width:100%;max-width:420px;padding:32px 28px;margin:auto;height:auto}.login-art{display:none}.login-form h1{font-size:40px}.login-footer{padding:24px;font-size:10px;gap:16px}.users-heading{gap:8px}.user-row{gap:8px}.user-row>.icon{width:32px}.user-info small{font-size:11px}.profile-portrait{flex-wrap:wrap}.editor-footer{justify-content:flex-end}.editor-footer .clear-section{margin-right:auto}.editor-footer .edit-actions{margin-left:auto}.custom-scroll{width:12px}.draft-open{padding:12px 6px}.workspace-doc #new-draft{width:28px}}
@media(prefers-reduced-motion:reduce){.liquid-symbol i{animation:none}.auto-progress span,.custom-scroll-thumb{transition:none}}
dialog[open]{display:flex;flex-direction:column;overflow:hidden}.dialog-heading{flex:none}.scroll-modal{flex:1;min-height:0;overflow:hidden}#modal-body.custom-scroll-target{overflow:auto;max-height:calc(85dvh - 120px);padding-right:14px}.custom-scroll-target textarea{scrollbar-width:none}.draft-drawer .custom-scroll-shell{flex:1;min-height:0}.draft-drawer .draft-results{max-height:50dvh}.tender-row .row-text{overflow:hidden}
