.document-viewer{width:calc(100vw - 28px);max-width:1680px;height:calc(100dvh - 28px);max-height:none;padding:0;border:1px solid #dbe3ee;border-radius:16px;color:#17314f;box-shadow:0 24px 100px #122a4666;overflow:hidden}.document-viewer::backdrop{background:#071a35b3}.dv-header{padding:18px 22px;border-bottom:1px solid #dbe3ee;display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fff;height:100px;box-sizing:border-box}.dv-header h2{font-size:20px;margin:4px 0;max-width:70vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dv-header small{color:#62758b}.dv-header>div:last-child{display:flex;gap:8px}.dv-layout{display:grid;grid-template-columns:minmax(0,1fr) 355px;height:calc(100% - 100px)}.dv-left{display:flex;flex-direction:column;min-width:0;min-height:0;background:#e9eef5}.dv-tools{display:flex;flex-wrap:wrap;align-items:center;gap:7px;padding:10px;background:#f9fbfd;border-bottom:1px solid #d9e2ed}.dv-tools[hidden],.dv-mark-tools[hidden],.dv-paper[hidden],.dv-office[hidden],.dv-loading[hidden],.dv-right[hidden]{display:none}.dv-tools label{display:flex;align-items:center;gap:5px;font-size:12px;margin:0}.dv-tools input{width:65px;padding:6px;margin:0}.dv-tools select{padding:7px;width:auto;font-size:12px}.dv-mark-tools{display:flex;gap:5px}.dv-mark-tools [aria-pressed=true]{background:#17314f;color:#fff}.dv-stage{overflow:auto;flex:1;padding:20px;position:relative;min-height:0}.dv-paper{position:relative;margin:0 auto;box-shadow:0 2px 18px #18324d22;background:white}.dv-paper canvas{display:block}.dv-markers{position:absolute;inset:0;pointer-events:none}.dv-markers.marking{pointer-events:auto;cursor:crosshair;touch-action:none}.dv-marker{position:absolute;pointer-events:auto;background:#f3772440;border:2px solid #ed6f1b;cursor:pointer;padding:0;color:#fff;z-index:2;box-sizing:border-box}.dv-marker.pin{width:26px;height:26px;transform:translate(-50%,-50%);border-radius:50%;background:#e96e1b}.dv-marker.rect>span{position:absolute;left:-2px;top:-24px;background:#e96e1b;border-radius:5px 5px 0 0;padding:2px 6px;font-size:12px}.dv-marker.resolved{border-color:#17815a;background:#17815a44}.dv-marker.resolved.pin,.dv-marker.resolved>span{background:#17815a}.dv-marker.selected{outline:3px solid #2151a2;outline-offset:3px}.dv-marker.draft{border-style:dashed;pointer-events:none}.dv-hint{padding:9px 14px;margin:0;background:#f9fbfd;font-size:11px;color:#60758a;border-top:1px solid #d9e2ed}.dv-loading{text-align:center;margin:50px 15px;color:#586f88}.dv-right{background:white;overflow-y:auto;border-left:1px solid #dbe3ee;padding:16px}.dv-side-head{display:flex;align-items:center;justify-content:space-between;gap:5px}.dv-side-head h3{font-size:15px;margin:0}.dv-summary{background:#edf3fa;padding:10px;border-radius:8px;font-size:12px;margin:12px 0}.dv-compose{border-bottom:1px solid #dbe3ee;padding-bottom:14px;margin-bottom:14px}.dv-compose h4{margin:4px 0 8px}.dv-right label{display:block;font-size:12px;font-weight:600;margin:10px 0}.dv-right input,.dv-right textarea,.dv-right select{width:100%;box-sizing:border-box;font:inherit;border:1px solid #cbd6e3;border-radius:7px;padding:9px;background:white;color:#18334f;margin-top:5px}.dv-right textarea{resize:vertical}.dv-note,.dv-anchor{font-size:11px;line-height:1.6;color:#61758a}.dv-anchor{color:#b25c19;background:#fff4e9;padding:8px;border-radius:6px}.dv-compose-buttons{display:flex;gap:5px;flex-wrap:wrap}.dv-compose-buttons .btn{font-size:12px;padding:9px 12px}.dv-review{border:1px solid #dbe3ee;border-radius:10px;padding:12px;margin-top:12px;font-size:12px}.dv-review.selected{border-color:#ec741e;box-shadow:0 0 0 2px #ec741e22}.dv-review-title{display:flex;flex-direction:column;align-items:flex-start;gap:7px;text-align:left;background:none;border:0;padding:0;width:100%;color:#18334f;cursor:pointer}.dv-state{font-size:10px;border-radius:12px;padding:3px 8px;background:#fff0df;color:#a9560f}.dv-state.resolved{background:#def4e9;color:#176e50}.dv-state.in_progress{background:#e3edff;color:#315ea2}.dv-prose{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6}.dv-review small{display:block;color:#6a7c8f;font-size:10px}.dv-assignee{background:#f6f8fb;padding:7px}.dv-review details{margin-top:10px}.dv-review summary{cursor:pointer;font-size:11px}.dv-history{border-left:2px solid #e0e7f0;margin:10px 0;padding-left:9px;max-height:270px;overflow-y:auto}.dv-history>div{margin-bottom:10px}.dv-history p{margin:4px 0;overflow-wrap:anywhere}.dv-reply-form>div{display:flex;gap:5px;align-items:center}.dv-reply-form select{width:60%;margin:0}.dv-filter select{margin-top:5px}.dv-empty{color:#6a7c8f;font-size:12px}.dv-cad-layout{grid-template-columns:1fr}.dv-cad-layout .dv-stage{padding:0;overflow:hidden}.dv-cad-frame{border:0;width:100%;height:100%;min-height:400px;background:#17212f}.dv-office{background:#fff;padding:25px;min-height:90%;overflow:auto;max-width:100%;box-sizing:border-box}.dv-office pre{white-space:pre-wrap;overflow-wrap:anywhere;font:14px/1.7 system-ui}.dv-office table{border-collapse:collapse;font:12px/1.4 system-ui}.dv-office td{border:1px solid #d3dce7;padding:6px;white-space:pre-wrap}.dv-office h3{border-bottom:2px solid #e97a27;padding-bottom:8px}.dv-office section{margin-bottom:28px}.dv-office .notice{font-size:12px;color:#61758a;background:#f1f5fa;padding:10px}
@media(max-width:850px){.document-viewer{width:100vw;height:100dvh;border-radius:0;max-width:none}.dv-layout{grid-template-columns:1fr;grid-template-rows:55% 45%}.dv-header{padding:12px;height:90px}.dv-header h2{font-size:16px;max-width:65vw}.dv-header .btn{font-size:0}.dv-header .btn svg{width:18px}.dv-layout{height:calc(100% - 90px)}.dv-right{border-left:0;border-top:1px solid #dbe3ee;padding:12px}.dv-cad-layout{grid-template-rows:1fr}.dv-tools{padding:6px;font-size:11px}.dv-tools .btn{padding:6px 9px}.dv-stage{padding:12px}.dv-hint{font-size:10px}.dv-mark-tools{margin-left:auto}}
.dv-format{display:inline-block;font-size:10px;margin-top:5px;padding:2px 7px;background:#eaf1fa;color:#315579;border-radius:5px}.dv-header{height:118px}.dv-header small{display:block;max-width:65vw;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dv-layout{height:calc(100% - 118px)}.dv-office>p{margin:12px 0;line-height:1.7}.dv-office .notice{margin:0 0 14px}.office-tabs{display:flex;gap:5px;overflow:auto;position:sticky;top:0;background:white;padding:5px 0 12px;z-index:3}.office-tabs button{padding:8px 14px;border:1px solid #d0dce9;border-radius:7px;background:#f5f8fc;white-space:nowrap}.office-tabs [aria-selected=true]{background:#17314f;color:white}.office-sheet-scroll{max-height:65vh;overflow:auto}.dv-office .office-sheet{min-width:100%;table-layout:auto}.office-sheet th{position:sticky;top:0;background:#e7eef7;border:1px solid #cad6e6;padding:7px;text-align:center;font-weight:600}.office-sheet tbody th{left:0;z-index:1}.dv-office .office-sheet td{min-width:80px;max-width:380px;overflow-wrap:anywhere;white-space:pre-wrap;color:#17314f;background:white}.office-word{max-width:800px;margin:auto;padding:24px;box-shadow:0 2px 14px #17314f18;line-height:1.7}.office-word p{margin:0 0 10px;white-space:pre-wrap}.office-word img{display:block;max-width:100%;height:auto;margin:12px 0}.office-word table{width:100%;margin:15px 0}.office-word .office-heading{font-size:22px;font-weight:700}.office-slide{position:relative;background:white;box-shadow:0 2px 14px #17314f22;min-width:520px;overflow:hidden;container-type:inline-size}.office-shape{box-sizing:border-box;padding:5px;overflow:hidden;overflow-wrap:anywhere}.office-shape p{margin:0 0 5px}.office-shape img{width:100%;height:100%;object-fit:contain}.dv-password{max-width:420px;padding:24px;margin:40px auto;background:white;border-radius:10px}.dv-password input{margin:14px 0}.dv-cad-frame[hidden]{display:none}@media(max-width:850px){.dv-header{height:118px}.dv-header h2{max-width:55vw}.dv-office{padding:12px}.office-word{padding:12px}.dv-layout{height:calc(100% - 118px)}}
